| 1016 | // bearable - if not ideal. |
| 1017 | |
| 1018 | struct EndpointConfigKey { |
| 1019 | explicit EndpointConfigKey(const Aws::S3::S3ClientConfiguration& config) |
| 1020 | : region(config.region), |
| 1021 | scheme(config.scheme), |
| 1022 | endpoint_override(config.endpointOverride), |
| 1023 | use_virtual_addressing(config.useVirtualAddressing) {} |
| 1024 | |
| 1025 | Aws::String region; |
| 1026 | Aws::Http::Scheme scheme; |
| 1027 | Aws::String endpoint_override; |
| 1028 | bool use_virtual_addressing; |
| 1029 | |
| 1030 | bool operator==(const EndpointConfigKey& other) const noexcept { |
| 1031 | return region == other.region && scheme == other.scheme && |
| 1032 | endpoint_override == other.endpoint_override && |
| 1033 | use_virtual_addressing == other.use_virtual_addressing; |
| 1034 | } |
| 1035 | }; |
| 1036 | |
| 1037 | } // namespace |
| 1038 | } // namespace arrow::fs |