From 30d08a4304f022c1af7a4729000d8dc2fd5a4b3e Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Thu, 6 Jun 2024 18:10:54 +0000 Subject: [PATCH] This release adds support for creating and updating Glue Data Catalog Views. This release adds support to increase metadata performance on FSx for Lustre file systems beyond the default level provisioned when a file system is created. This can be done by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating it on demand. Adds integration with Secrets Manager for Redshift, Splunk, HttpEndpoint, and Snowflake destinations Adds SoftwareUpdatePreferences to DescribeMaintenanceStartTime and UpdateMaintenanceStartTime, a structure which contains AutomaticUpdatePolicy. Added two new APIs, VerifyDevicePosition and ForecastGeofenceEvents. Added support for putting larger geofences up to 100,000 vertices with Geobuf fields. Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications. Adds support for wireless device to be in Conflict FUOTA Device Status due to a FUOTA Task, so it couldn't be attached to a new one. Doc-only update for SNS. These changes include customer-reported issues and TXC3 updates. This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail, and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member accounts within an AWS organization. --- VERSION | 2 +- .../include/aws/account/AccountClient.h | 84 +- .../aws/account/AccountServiceClientModel.h | 15 + .../model/AcceptPrimaryEmailUpdateRequest.h | 315 +++ .../model/AcceptPrimaryEmailUpdateResult.h | 92 + .../aws/account/model/ContactInformation.h | 64 +- .../aws/account/model/DisableRegionRequest.h | 32 +- .../aws/account/model/EnableRegionRequest.h | 32 +- .../model/GetContactInformationRequest.h | 32 +- .../account/model/GetPrimaryEmailRequest.h | 203 ++ .../aws/account/model/GetPrimaryEmailResult.h | 108 + .../account/model/GetRegionOptStatusRequest.h | 32 +- .../aws/account/model/ListRegionsRequest.h | 32 +- .../account/model/PrimaryEmailUpdateStatus.h | 31 + .../model/PutContactInformationRequest.h | 32 +- .../model/StartPrimaryEmailUpdateRequest.h | 255 ++ .../model/StartPrimaryEmailUpdateResult.h | 92 + .../source/AccountClient.cpp | 84 + .../source/AccountEndpointRules.cpp | 252 +- .../model/AcceptPrimaryEmailUpdateRequest.cpp | 49 + .../model/AcceptPrimaryEmailUpdateResult.cpp | 50 + .../source/model/GetPrimaryEmailRequest.cpp | 35 + .../source/model/GetPrimaryEmailResult.cpp | 48 + .../source/model/PrimaryEmailUpdateStatus.cpp | 72 + .../model/StartPrimaryEmailUpdateRequest.cpp | 42 + .../model/StartPrimaryEmailUpdateResult.cpp | 50 + .../include/aws/firehose/FirehoseClient.h | 4 +- .../HttpEndpointDestinationConfiguration.h | 65 +- .../HttpEndpointDestinationDescription.h | 41 + .../model/HttpEndpointDestinationUpdate.h | 41 + .../include/aws/firehose/model/ParquetSerDe.h | 4 +- .../model/RedshiftDestinationConfiguration.h | 41 + .../model/RedshiftDestinationDescription.h | 41 + .../model/RedshiftDestinationUpdate.h | 41 + .../model/SecretsManagerConfiguration.h | 225 ++ .../model/SnowflakeDestinationConfiguration.h | 35 + .../model/SnowflakeDestinationDescription.h | 35 + .../model/SnowflakeDestinationUpdate.h | 35 + .../model/SplunkDestinationConfiguration.h | 35 + .../model/SplunkDestinationDescription.h | 35 + .../firehose/model/SplunkDestinationUpdate.h | 35 + .../firehose/model/UpdateDestinationRequest.h | 12 +- .../HttpEndpointDestinationConfiguration.cpp | 19 +- .../HttpEndpointDestinationDescription.cpp | 19 +- .../model/HttpEndpointDestinationUpdate.cpp | 19 +- .../RedshiftDestinationConfiguration.cpp | 19 +- .../model/RedshiftDestinationDescription.cpp | 19 +- .../model/RedshiftDestinationUpdate.cpp | 19 +- .../model/SecretsManagerConfiguration.cpp | 91 + .../SnowflakeDestinationConfiguration.cpp | 19 +- .../model/SnowflakeDestinationDescription.cpp | 19 +- .../model/SnowflakeDestinationUpdate.cpp | 19 +- .../model/SplunkDestinationConfiguration.cpp | 19 +- .../model/SplunkDestinationDescription.cpp | 19 +- .../source/model/SplunkDestinationUpdate.cpp | 19 +- .../include/aws/fsx/FSxClient.h | 9 +- .../CreateFileSystemLustreConfiguration.h | 161 +- ...ateFileSystemLustreMetadataConfiguration.h | 172 ++ .../CreateFileSystemOntapConfiguration.h | 8 +- .../aws/fsx/model/CreateFileSystemRequest.h | 220 +- .../model/CreateOntapVolumeConfiguration.h | 150 +- .../CreateStorageVirtualMachineRequest.h | 30 +- .../FileCacheDataRepositoryAssociation.h | 16 +- .../FileSystemLustreMetadataConfiguration.h | 143 + .../fsx/model/LustreFileSystemConfiguration.h | 41 + .../aws/fsx/model/MetadataConfigurationMode.h | 31 + ...nagedActiveDirectoryConfigurationUpdates.h | 206 +- .../UpdateFileSystemLustreConfiguration.h | 53 + ...ateFileSystemLustreMetadataConfiguration.h | 194 ++ .../CreateFileSystemLustreConfiguration.cpp | 19 +- ...eFileSystemLustreMetadataConfiguration.cpp | 77 + .../FileSystemLustreMetadataConfiguration.cpp | 77 + .../model/LustreFileSystemConfiguration.cpp | 19 +- .../model/MetadataConfigurationMode.cpp | 72 + .../UpdateFileSystemLustreConfiguration.cpp | 19 +- ...eFileSystemLustreMetadataConfiguration.cpp | 77 + .../include/aws/glue/model/TableInput.h | 41 + .../aws/glue/model/UpdateTableRequest.h | 63 + .../aws/glue/model/ViewDefinitionInput.h | 232 ++ .../aws/glue/model/ViewRepresentation.h | 52 + .../aws/glue/model/ViewRepresentationInput.h | 280 ++ .../include/aws/glue/model/ViewUpdateAction.h | 33 + .../source/model/TableInput.cpp | 19 +- .../source/model/UpdateTableRequest.cpp | 17 +- .../source/model/ViewDefinitionInput.cpp | 122 + .../source/model/ViewRepresentation.cpp | 15 + .../source/model/ViewRepresentationInput.cpp | 120 + .../source/model/ViewUpdateAction.cpp | 86 + .../aws/iotwireless/model/FuotaDeviceStatus.h | 3 +- .../source/model/FuotaDeviceStatus.cpp | 7 + .../aws/location/LocationServiceClient.h | 65 +- .../LocationServiceServiceClientModel.h | 10 + .../aws/location/model/ApiKeyRestrictions.h | 278 +- .../model/AssociateTrackerConsumerRequest.h | 104 +- .../BatchDeleteDevicePositionHistoryRequest.h | 106 +- .../location/model/BatchDeleteGeofenceError.h | 62 +- .../model/BatchEvaluateGeofencesError.h | 70 +- .../model/BatchGetDevicePositionRequest.h | 90 +- .../model/BatchGetDevicePositionResult.h | 90 +- .../location/model/BatchPutGeofenceError.h | 62 +- .../model/BatchPutGeofenceRequestEntry.h | 130 +- .../location/model/BatchPutGeofenceResult.h | 90 +- .../location/model/BatchPutGeofenceSuccess.h | 86 +- .../model/BatchUpdateDevicePositionError.h | 82 +- .../model/CalculateRouteMatrixRequest.h | 626 ++-- .../model/CalculateRouteMatrixSummary.h | 76 +- .../location/model/CalculateRouteRequest.h | 972 +++---- .../location/model/CalculateRouteSummary.h | 248 +- .../include/aws/location/model/CellSignals.h | 98 + .../model/CreateGeofenceCollectionRequest.h | 136 +- .../model/CreateGeofenceCollectionResult.h | 76 +- .../aws/location/model/CreateKeyRequest.h | 222 +- .../aws/location/model/CreateKeyResult.h | 78 +- .../aws/location/model/CreateMapRequest.h | 154 +- .../aws/location/model/CreateMapResult.h | 86 +- .../location/model/CreatePlaceIndexRequest.h | 180 +- .../location/model/CreatePlaceIndexResult.h | 86 +- .../model/CreateRouteCalculatorResult.h | 90 +- .../aws/location/model/CreateTrackerRequest.h | 626 ++-- .../aws/location/model/CreateTrackerResult.h | 86 +- .../aws/location/model/DeleteKeyRequest.h | 88 +- .../model/DescribeGeofenceCollectionResult.h | 188 +- .../aws/location/model/DescribeKeyResult.h | 290 +- .../aws/location/model/DescribeMapResult.h | 242 +- .../location/model/DescribePlaceIndexResult.h | 348 +-- .../model/DescribeRouteCalculatorResult.h | 192 +- .../location/model/DescribeTrackerResult.h | 478 ++-- .../aws/location/model/DevicePosition.h | 248 +- .../aws/location/model/DevicePositionUpdate.h | 156 +- .../include/aws/location/model/DeviceState.h | 323 +++ .../DisassociateTrackerConsumerRequest.h | 88 +- .../model/ForecastGeofenceEventsDeviceState.h | 108 + .../model/ForecastGeofenceEventsRequest.h | 354 +++ .../model/ForecastGeofenceEventsResult.h | 206 ++ .../aws/location/model/ForecastedEvent.h | 370 +++ .../model/ForecastedGeofenceEventType.h | 32 + .../aws/location/model/GeofenceGeometry.h | 125 +- .../model/GetDevicePositionHistoryRequest.h | 218 +- .../location/model/GetDevicePositionRequest.h | 70 +- .../location/model/GetDevicePositionResult.h | 206 +- .../aws/location/model/GetGeofenceResult.h | 254 +- .../aws/location/model/GetMapGlyphsRequest.h | 112 +- .../aws/location/model/GetMapGlyphsResult.h | 74 +- .../aws/location/model/GetMapSpritesRequest.h | 88 +- .../aws/location/model/GetMapSpritesResult.h | 76 +- .../model/GetMapStyleDescriptorRequest.h | 88 +- .../model/GetMapStyleDescriptorResult.h | 74 +- .../aws/location/model/GetMapTileRequest.h | 138 +- .../aws/location/model/GetMapTileResult.h | 74 +- .../aws/location/model/GetPlaceRequest.h | 272 +- .../aws/location/model/InferredState.h | 178 ++ .../include/aws/location/model/Leg.h | 200 +- .../model/ListDevicePositionsRequest.h | 78 +- .../model/ListDevicePositionsResponseEntry.h | 156 +- .../ListGeofenceCollectionsResponseEntry.h | 88 +- .../model/ListGeofenceResponseEntry.h | 291 +- .../aws/location/model/ListGeofencesRequest.h | 56 +- .../aws/location/model/ListKeysRequest.h | 82 +- .../location/model/ListKeysResponseEntry.h | 166 +- .../location/model/ListMapsResponseEntry.h | 162 +- .../model/ListPlaceIndexesResponseEntry.h | 190 +- .../model/ListRouteCalculatorsResponseEntry.h | 112 +- .../model/ListTrackerConsumersRequest.h | 104 +- .../model/ListTrackersResponseEntry.h | 102 +- .../aws/location/model/LteCellDetails.h | 325 +++ .../include/aws/location/model/LteLocalId.h | 95 + .../location/model/LteNetworkMeasurements.h | 174 ++ .../aws/location/model/MapConfiguration.h | 907 +++--- .../location/model/MapConfigurationUpdate.h | 199 +- .../include/aws/location/model/Place.h | 1070 ++++--- .../aws/location/model/PutGeofenceRequest.h | 130 +- .../aws/location/model/PutGeofenceResult.h | 72 +- .../location/model/SearchForPositionResult.h | 68 +- .../model/SearchForSuggestionsResult.h | 408 +-- .../aws/location/model/SearchForTextResult.h | 112 +- .../SearchPlaceIndexForPositionRequest.h | 220 +- .../model/SearchPlaceIndexForPositionResult.h | 78 +- .../SearchPlaceIndexForPositionSummary.h | 134 +- .../SearchPlaceIndexForSuggestionsRequest.h | 450 +-- .../SearchPlaceIndexForSuggestionsResult.h | 78 +- .../SearchPlaceIndexForSuggestionsSummary.h | 326 +-- .../model/SearchPlaceIndexForTextRequest.h | 450 +-- .../model/SearchPlaceIndexForTextResult.h | 108 +- .../model/SearchPlaceIndexForTextSummary.h | 418 +-- .../include/aws/location/model/SpeedUnit.h | 31 + .../include/aws/location/model/Step.h | 166 +- .../aws/location/model/TruckDimensions.h | 92 +- .../model/UpdateGeofenceCollectionResult.h | 76 +- .../aws/location/model/UpdateKeyRequest.h | 144 +- .../aws/location/model/UpdateMapRequest.h | 90 +- .../aws/location/model/UpdateMapResult.h | 76 +- .../location/model/UpdatePlaceIndexRequest.h | 78 +- .../location/model/UpdatePlaceIndexResult.h | 76 +- .../model/UpdateRouteCalculatorResult.h | 76 +- .../aws/location/model/UpdateTrackerRequest.h | 158 +- .../aws/location/model/UpdateTrackerResult.h | 76 +- .../aws/location/model/ValidationException.h | 90 +- .../location/model/ValidationExceptionField.h | 70 +- .../model/VerifyDevicePositionRequest.h | 173 ++ .../model/VerifyDevicePositionResult.h | 241 ++ .../aws/location/model/WiFiAccessPoint.h | 112 + .../source/LocationServiceClient.cpp | 134 +- .../source/model/ApiKeyRestrictions.cpp | 48 +- .../model/AssociateTrackerConsumerRequest.cpp | 4 +- ...atchDeleteDevicePositionHistoryRequest.cpp | 4 +- .../source/model/BatchDeleteGeofenceError.cpp | 28 +- .../model/BatchEvaluateGeofencesError.cpp | 30 +- .../model/BatchGetDevicePositionRequest.cpp | 4 +- .../model/BatchGetDevicePositionResult.cpp | 16 +- .../source/model/BatchPutGeofenceError.cpp | 28 +- .../model/BatchPutGeofenceRequestEntry.cpp | 34 +- .../source/model/BatchPutGeofenceResult.cpp | 16 +- .../source/model/BatchPutGeofenceSuccess.cpp | 26 +- .../model/BatchUpdateDevicePositionError.cpp | 30 +- .../model/CalculateRouteMatrixRequest.cpp | 54 +- .../model/CalculateRouteMatrixSummary.cpp | 38 +- .../source/model/CalculateRouteRequest.cpp | 98 +- .../source/model/CalculateRouteSummary.cpp | 66 +- .../source/model/CellSignals.cpp | 67 + .../model/CreateGeofenceCollectionRequest.cpp | 16 +- .../model/CreateGeofenceCollectionResult.cpp | 8 +- .../source/model/CreateKeyRequest.cpp | 26 +- .../source/model/CreateKeyResult.cpp | 12 +- .../source/model/CreateMapRequest.cpp | 14 +- .../source/model/CreateMapResult.cpp | 8 +- .../source/model/CreatePlaceIndexRequest.cpp | 16 +- .../source/model/CreatePlaceIndexResult.cpp | 8 +- .../model/CreateRouteCalculatorResult.cpp | 8 +- .../source/model/CreateTrackerRequest.cpp | 46 +- .../source/model/CreateTrackerResult.cpp | 8 +- .../source/model/DeleteKeyRequest.cpp | 4 +- .../DescribeGeofenceCollectionResult.cpp | 28 +- .../source/model/DescribeKeyResult.cpp | 40 +- .../source/model/DescribeMapResult.cpp | 28 +- .../source/model/DescribePlaceIndexResult.cpp | 36 +- .../model/DescribeRouteCalculatorResult.cpp | 24 +- .../source/model/DescribeTrackerResult.cpp | 58 +- .../source/model/DevicePosition.cpp | 84 +- .../source/model/DevicePositionUpdate.cpp | 58 +- .../source/model/DeviceState.cpp | 164 ++ .../DisassociateTrackerConsumerRequest.cpp | 4 +- .../ForecastGeofenceEventsDeviceState.cpp | 84 + .../model/ForecastGeofenceEventsRequest.cpp | 73 + .../model/ForecastGeofenceEventsResult.cpp | 73 + .../source/model/ForecastedEvent.cpp | 161 ++ .../model/ForecastedGeofenceEventType.cpp | 79 + .../source/model/GeofenceGeometry.cpp | 44 +- .../model/GetDevicePositionHistoryRequest.cpp | 28 +- .../source/model/GetDevicePositionRequest.cpp | 4 +- .../source/model/GetDevicePositionResult.cpp | 32 +- .../source/model/GetGeofenceResult.cpp | 30 +- .../source/model/GetMapGlyphsRequest.cpp | 4 +- .../source/model/GetMapGlyphsResult.cpp | 16 +- .../source/model/GetMapSpritesRequest.cpp | 4 +- .../source/model/GetMapSpritesResult.cpp | 16 +- .../model/GetMapStyleDescriptorRequest.cpp | 4 +- .../model/GetMapStyleDescriptorResult.cpp | 16 +- .../source/model/GetMapTileRequest.cpp | 4 +- .../source/model/GetMapTileResult.cpp | 16 +- .../source/model/GetPlaceRequest.cpp | 16 +- .../source/model/InferredState.cpp | 116 + .../aws-cpp-sdk-location/source/model/Leg.cpp | 82 +- .../model/ListDevicePositionsRequest.cpp | 16 +- .../ListDevicePositionsResponseEntry.cpp | 58 +- .../ListGeofenceCollectionsResponseEntry.cpp | 26 +- .../model/ListGeofenceResponseEntry.cpp | 78 +- .../source/model/ListGeofencesRequest.cpp | 12 +- .../source/model/ListKeysRequest.cpp | 16 +- .../source/model/ListKeysResponseEntry.cpp | 56 +- .../source/model/ListMapsResponseEntry.cpp | 54 +- .../model/ListPlaceIndexesResponseEntry.cpp | 54 +- .../ListRouteCalculatorsResponseEntry.cpp | 30 +- .../model/ListTrackerConsumersRequest.cpp | 4 +- .../model/ListTrackersResponseEntry.cpp | 30 +- .../source/model/LteCellDetails.cpp | 218 ++ .../source/model/LteLocalId.cpp | 78 + .../source/model/LteNetworkMeasurements.cpp | 129 + .../source/model/MapConfiguration.cpp | 48 +- .../source/model/MapConfigurationUpdate.cpp | 34 +- .../source/model/Place.cpp | 246 +- .../source/model/PutGeofenceRequest.cpp | 16 +- .../source/model/PutGeofenceResult.cpp | 8 +- .../source/model/SearchForPositionResult.cpp | 24 +- .../model/SearchForSuggestionsResult.cpp | 64 +- .../source/model/SearchForTextResult.cpp | 48 +- .../SearchPlaceIndexForPositionRequest.cpp | 24 +- .../SearchPlaceIndexForPositionResult.cpp | 12 +- .../SearchPlaceIndexForPositionSummary.cpp | 72 +- .../SearchPlaceIndexForSuggestionsRequest.cpp | 44 +- .../SearchPlaceIndexForSuggestionsResult.cpp | 12 +- .../SearchPlaceIndexForSuggestionsSummary.cpp | 114 +- .../model/SearchPlaceIndexForTextRequest.cpp | 44 +- .../model/SearchPlaceIndexForTextResult.cpp | 12 +- .../model/SearchPlaceIndexForTextSummary.cpp | 120 +- .../source/model/SpeedUnit.cpp | 72 + .../source/model/Step.cpp | 86 +- .../source/model/TruckDimensions.cpp | 56 +- .../model/UpdateGeofenceCollectionResult.cpp | 8 +- .../source/model/UpdateKeyRequest.cpp | 14 +- .../source/model/UpdateMapRequest.cpp | 12 +- .../source/model/UpdateMapResult.cpp | 8 +- .../source/model/UpdatePlaceIndexRequest.cpp | 12 +- .../source/model/UpdatePlaceIndexResult.cpp | 8 +- .../model/UpdateRouteCalculatorResult.cpp | 8 +- .../source/model/UpdateTrackerRequest.cpp | 18 +- .../source/model/UpdateTrackerResult.cpp | 8 +- .../source/model/ValidationException.cpp | 50 +- .../source/model/ValidationExceptionField.cpp | 28 +- .../model/VerifyDevicePositionRequest.cpp | 43 + .../model/VerifyDevicePositionResult.cpp | 74 + .../source/model/WiFiAccessPoint.cpp | 76 + .../include/aws/sns/SNSClient.h | 31 +- .../aws/sns/model/CreateTopicRequest.h | 52 +- .../model/GetSubscriptionAttributesResult.h | 156 +- .../include/aws/sns/model/PublishRequest.h | 40 +- .../model/SetSubscriptionAttributesRequest.h | 104 +- .../include/aws/sns/model/SubscribeRequest.h | 182 +- .../include/aws/sqs/SQSClient.h | 32 +- .../aws/sqs/model/CreateQueueRequest.h | 24 +- .../aws/sqs/model/SendMessageRequest.h | 136 +- .../aws/storagegateway/StorageGatewayClient.h | 43 +- .../model/AutomaticUpdatePolicy.h | 31 + .../DescribeMaintenanceStartTimeResult.h | 69 +- .../model/DescribeSMBSettingsResult.h | 100 +- .../model/SoftwareUpdatePreferences.h | 97 + .../model/UpdateGatewayInformationRequest.h | 36 +- .../model/UpdateMaintenanceStartTimeRequest.h | 94 +- .../model/UpdateSMBSecurityStrategyRequest.h | 168 +- .../source/model/AutomaticUpdatePolicy.cpp | 72 + .../DescribeMaintenanceStartTimeResult.cpp | 6 + .../model/SoftwareUpdatePreferences.cpp | 60 + .../UpdateMaintenanceStartTimeRequest.cpp | 9 +- .../include/aws/core/VersionConfig.h | 4 +- .../account-2021-02-01.normal.json | 166 +- .../firehose-2015-08-04.normal.json | 102 +- .../fsx-2018-03-01.normal.json | 109 +- .../glue-2017-03-31.normal.json | 79 + .../iotwireless-2020-11-22.normal.json | 4 +- .../location-2020-11-19.normal.json | 2519 ++++++++++------- .../sns-2010-03-31.normal.json | 16 +- .../sqs-2012-11-05.normal.json | 7 +- .../storagegateway-2013-06-30.normal.json | 59 +- .../account-2021-02-01.endpoint-rule-set.json | 40 +- 343 files changed, 23012 insertions(+), 12762 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateRequest.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateResult.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailRequest.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailResult.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/PrimaryEmailUpdateStatus.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateRequest.h create mode 100644 generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateResult.h create mode 100644 generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailResult.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/PrimaryEmailUpdateStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateResult.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SecretsManagerConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/SecretsManagerConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreMetadataConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileSystemLustreMetadataConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/MetadataConfigurationMode.h create mode 100644 generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreMetadataConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreMetadataConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-fsx/source/model/FileSystemLustreMetadataConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-fsx/source/model/MetadataConfigurationMode.cpp create mode 100644 generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreMetadataConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewDefinitionInput.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentationInput.h create mode 100644 generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewUpdateAction.h create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ViewDefinitionInput.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentationInput.cpp create mode 100644 generated/src/aws-cpp-sdk-glue/source/model/ViewUpdateAction.cpp create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/CellSignals.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/DeviceState.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsDeviceState.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsRequest.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsResult.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedEvent.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedGeofenceEventType.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/InferredState.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/LteCellDetails.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/LteLocalId.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/LteNetworkMeasurements.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/SpeedUnit.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionRequest.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionResult.h create mode 100644 generated/src/aws-cpp-sdk-location/include/aws/location/model/WiFiAccessPoint.h create mode 100644 generated/src/aws-cpp-sdk-location/source/model/CellSignals.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/DeviceState.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsDeviceState.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/ForecastedEvent.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/ForecastedGeofenceEventType.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/InferredState.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/LteCellDetails.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/LteLocalId.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/LteNetworkMeasurements.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/SpeedUnit.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionResult.cpp create mode 100644 generated/src/aws-cpp-sdk-location/source/model/WiFiAccessPoint.cpp create mode 100644 generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/AutomaticUpdatePolicy.h create mode 100644 generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/SoftwareUpdatePreferences.h create mode 100644 generated/src/aws-cpp-sdk-storagegateway/source/model/AutomaticUpdatePolicy.cpp create mode 100644 generated/src/aws-cpp-sdk-storagegateway/source/model/SoftwareUpdatePreferences.cpp diff --git a/VERSION b/VERSION index 2dd7bba7572..25da811c69b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.343 \ No newline at end of file +1.11.344 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/AccountClient.h b/generated/src/aws-cpp-sdk-account/include/aws/account/AccountClient.h index 909f211da22..16eb58c5895 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/AccountClient.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/AccountClient.h @@ -76,6 +76,33 @@ namespace Account /* End of legacy constructors due deprecation */ virtual ~AccountClient(); + /** + *

Accepts the request that originated from StartPrimaryEmailUpdate to + * update the primary email address (also known as the root user email address) for + * the specified account.

See Also:

AWS + * API Reference

+ */ + virtual Model::AcceptPrimaryEmailUpdateOutcome AcceptPrimaryEmailUpdate(const Model::AcceptPrimaryEmailUpdateRequest& request) const; + + /** + * A Callable wrapper for AcceptPrimaryEmailUpdate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AcceptPrimaryEmailUpdateOutcomeCallable AcceptPrimaryEmailUpdateCallable(const AcceptPrimaryEmailUpdateRequestT& request) const + { + return SubmitCallable(&AccountClient::AcceptPrimaryEmailUpdate, request); + } + + /** + * An Async wrapper for AcceptPrimaryEmailUpdate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AcceptPrimaryEmailUpdateAsync(const AcceptPrimaryEmailUpdateRequestT& request, const AcceptPrimaryEmailUpdateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&AccountClient::AcceptPrimaryEmailUpdate, request, handler, context); + } + /** *

Deletes the specified alternate contact from an Amazon Web Services * account.

For complete details about how to use the alternate contact @@ -112,8 +139,9 @@ namespace Account } /** - *

Disables (opts-out) a particular Region for an account.

See - * Also:

Disables (opts-out) a particular Region for an account.

The act + * of disabling a Region will remove all IAM access to any resources that reside in + * that Region.

See Also:

AWS * API Reference

*/ @@ -227,6 +255,32 @@ namespace Account return SubmitAsync(&AccountClient::GetContactInformation, request, handler, context); } + /** + *

Retrieves the primary email address for the specified account.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::GetPrimaryEmailOutcome GetPrimaryEmail(const Model::GetPrimaryEmailRequest& request) const; + + /** + * A Callable wrapper for GetPrimaryEmail that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetPrimaryEmailOutcomeCallable GetPrimaryEmailCallable(const GetPrimaryEmailRequestT& request) const + { + return SubmitCallable(&AccountClient::GetPrimaryEmail, request); + } + + /** + * An Async wrapper for GetPrimaryEmail that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetPrimaryEmailAsync(const GetPrimaryEmailRequestT& request, const GetPrimaryEmailResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&AccountClient::GetPrimaryEmail, request, handler, context); + } + /** *

Retrieves the opt-in status of a particular Region.

See Also:

* Starts the process to update the primary email address for the specified + * account.

See Also:

AWS + * API Reference

+ */ + virtual Model::StartPrimaryEmailUpdateOutcome StartPrimaryEmailUpdate(const Model::StartPrimaryEmailUpdateRequest& request) const; + + /** + * A Callable wrapper for StartPrimaryEmailUpdate that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartPrimaryEmailUpdateOutcomeCallable StartPrimaryEmailUpdateCallable(const StartPrimaryEmailUpdateRequestT& request) const + { + return SubmitCallable(&AccountClient::StartPrimaryEmailUpdate, request); + } + + /** + * An Async wrapper for StartPrimaryEmailUpdate that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartPrimaryEmailUpdateAsync(const StartPrimaryEmailUpdateRequestT& request, const StartPrimaryEmailUpdateResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&AccountClient::StartPrimaryEmailUpdate, request, handler, context); + } + void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/AccountServiceClientModel.h b/generated/src/aws-cpp-sdk-account/include/aws/account/AccountServiceClientModel.h index 74d7b379cd7..9bcd346aec3 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/AccountServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/AccountServiceClientModel.h @@ -18,10 +18,13 @@ /* End of generic header includes */ /* Service model headers required in AccountClient header */ +#include #include #include +#include #include #include +#include #include /* End of service model headers required in AccountClient header */ @@ -63,54 +66,66 @@ namespace Aws namespace Model { /* Service model forward declarations required in AccountClient header */ + class AcceptPrimaryEmailUpdateRequest; class DeleteAlternateContactRequest; class DisableRegionRequest; class EnableRegionRequest; class GetAlternateContactRequest; class GetContactInformationRequest; + class GetPrimaryEmailRequest; class GetRegionOptStatusRequest; class ListRegionsRequest; class PutAlternateContactRequest; class PutContactInformationRequest; + class StartPrimaryEmailUpdateRequest; /* End of service model forward declarations required in AccountClient header */ /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome AcceptPrimaryEmailUpdateOutcome; typedef Aws::Utils::Outcome DeleteAlternateContactOutcome; typedef Aws::Utils::Outcome DisableRegionOutcome; typedef Aws::Utils::Outcome EnableRegionOutcome; typedef Aws::Utils::Outcome GetAlternateContactOutcome; typedef Aws::Utils::Outcome GetContactInformationOutcome; + typedef Aws::Utils::Outcome GetPrimaryEmailOutcome; typedef Aws::Utils::Outcome GetRegionOptStatusOutcome; typedef Aws::Utils::Outcome ListRegionsOutcome; typedef Aws::Utils::Outcome PutAlternateContactOutcome; typedef Aws::Utils::Outcome PutContactInformationOutcome; + typedef Aws::Utils::Outcome StartPrimaryEmailUpdateOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ + typedef std::future AcceptPrimaryEmailUpdateOutcomeCallable; typedef std::future DeleteAlternateContactOutcomeCallable; typedef std::future DisableRegionOutcomeCallable; typedef std::future EnableRegionOutcomeCallable; typedef std::future GetAlternateContactOutcomeCallable; typedef std::future GetContactInformationOutcomeCallable; + typedef std::future GetPrimaryEmailOutcomeCallable; typedef std::future GetRegionOptStatusOutcomeCallable; typedef std::future ListRegionsOutcomeCallable; typedef std::future PutAlternateContactOutcomeCallable; typedef std::future PutContactInformationOutcomeCallable; + typedef std::future StartPrimaryEmailUpdateOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model class AccountClient; /* Service model async handlers definitions */ + typedef std::function&) > AcceptPrimaryEmailUpdateResponseReceivedHandler; typedef std::function&) > DeleteAlternateContactResponseReceivedHandler; typedef std::function&) > DisableRegionResponseReceivedHandler; typedef std::function&) > EnableRegionResponseReceivedHandler; typedef std::function&) > GetAlternateContactResponseReceivedHandler; typedef std::function&) > GetContactInformationResponseReceivedHandler; + typedef std::function&) > GetPrimaryEmailResponseReceivedHandler; typedef std::function&) > GetRegionOptStatusResponseReceivedHandler; typedef std::function&) > ListRegionsResponseReceivedHandler; typedef std::function&) > PutAlternateContactResponseReceivedHandler; typedef std::function&) > PutContactInformationResponseReceivedHandler; + typedef std::function&) > StartPrimaryEmailUpdateResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace Account } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateRequest.h new file mode 100644 index 00000000000..1d9e90300b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateRequest.h @@ -0,0 +1,315 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Account +{ +namespace Model +{ + + /** + */ + class AcceptPrimaryEmailUpdateRequest : public AccountRequest + { + public: + AWS_ACCOUNT_API AcceptPrimaryEmailUpdateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "AcceptPrimaryEmailUpdate"; } + + AWS_ACCOUNT_API Aws::String SerializePayload() const override; + + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline const Aws::String& GetOtp() const{ return m_otp; } + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline bool OtpHasBeenSet() const { return m_otpHasBeenSet; } + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetOtp(const Aws::String& value) { m_otpHasBeenSet = true; m_otp = value; } + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetOtp(Aws::String&& value) { m_otpHasBeenSet = true; m_otp = std::move(value); } + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetOtp(const char* value) { m_otpHasBeenSet = true; m_otp.assign(value); } + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithOtp(const Aws::String& value) { SetOtp(value); return *this;} + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithOtp(Aws::String&& value) { SetOtp(std::move(value)); return *this;} + + /** + *

The OTP code sent to the PrimaryEmail specified on the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithOtp(const char* value) { SetOtp(value); return *this;} + + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline const Aws::String& GetPrimaryEmail() const{ return m_primaryEmail; } + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline bool PrimaryEmailHasBeenSet() const { return m_primaryEmailHasBeenSet; } + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetPrimaryEmail(const Aws::String& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = value; } + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetPrimaryEmail(Aws::String&& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = std::move(value); } + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline void SetPrimaryEmail(const char* value) { m_primaryEmailHasBeenSet = true; m_primaryEmail.assign(value); } + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithPrimaryEmail(const Aws::String& value) { SetPrimaryEmail(value); return *this;} + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithPrimaryEmail(Aws::String&& value) { SetPrimaryEmail(std::move(value)); return *this;} + + /** + *

The new primary email address for use with the specified account. This must + * match the PrimaryEmail from the + * StartPrimaryEmailUpdate API call.

+ */ + inline AcceptPrimaryEmailUpdateRequest& WithPrimaryEmail(const char* value) { SetPrimaryEmail(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + Aws::String m_otp; + bool m_otpHasBeenSet = false; + + Aws::String m_primaryEmail; + bool m_primaryEmailHasBeenSet = false; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateResult.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateResult.h new file mode 100644 index 00000000000..476f1bfabcd --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/AcceptPrimaryEmailUpdateResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Account +{ +namespace Model +{ + class AcceptPrimaryEmailUpdateResult + { + public: + AWS_ACCOUNT_API AcceptPrimaryEmailUpdateResult(); + AWS_ACCOUNT_API AcceptPrimaryEmailUpdateResult(const Aws::AmazonWebServiceResult& result); + AWS_ACCOUNT_API AcceptPrimaryEmailUpdateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

Retrieves the status of the accepted primary email update request.

+ */ + inline const PrimaryEmailUpdateStatus& GetStatus() const{ return m_status; } + + /** + *

Retrieves the status of the accepted primary email update request.

+ */ + inline void SetStatus(const PrimaryEmailUpdateStatus& value) { m_status = value; } + + /** + *

Retrieves the status of the accepted primary email update request.

+ */ + inline void SetStatus(PrimaryEmailUpdateStatus&& value) { m_status = std::move(value); } + + /** + *

Retrieves the status of the accepted primary email update request.

+ */ + inline AcceptPrimaryEmailUpdateResult& WithStatus(const PrimaryEmailUpdateStatus& value) { SetStatus(value); return *this;} + + /** + *

Retrieves the status of the accepted primary email update request.

+ */ + inline AcceptPrimaryEmailUpdateResult& WithStatus(PrimaryEmailUpdateStatus&& value) { SetStatus(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline AcceptPrimaryEmailUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AcceptPrimaryEmailUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AcceptPrimaryEmailUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + PrimaryEmailUpdateStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/ContactInformation.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/ContactInformation.h index 7b7765c48c3..74c9694a7c6 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/ContactInformation.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/ContactInformation.h @@ -465,50 +465,82 @@ namespace Model /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline const Aws::String& GetStateOrRegion() const{ return m_stateOrRegion; } /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; } /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline void SetStateOrRegion(const Aws::String& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = value; } /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline void SetStateOrRegion(Aws::String&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::move(value); } /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline void SetStateOrRegion(const char* value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion.assign(value); } /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline ContactInformation& WithStateOrRegion(const Aws::String& value) { SetStateOrRegion(value); return *this;} /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline ContactInformation& WithStateOrRegion(Aws::String&& value) { SetStateOrRegion(std::move(value)); return *this;} /** - *

The state or region of the primary contact address. This field is required in - * selected countries.

+ *

The state or region of the primary contact address. If the mailing address is + * within the United States (US), the value in this field can be either a two + * character state code (for example, NJ) or the full state name (for + * example, New Jersey). This field is required in the following + * countries: US, CA, GB, DE, + * JP, IN, and BR.

*/ inline ContactInformation& WithStateOrRegion(const char* value) { SetStateOrRegion(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/DisableRegionRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/DisableRegionRequest.h index 607f39a96fe..cb89569337a 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/DisableRegionRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/DisableRegionRequest.h @@ -40,8 +40,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -64,8 +64,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -88,8 +88,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -112,8 +112,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -136,8 +136,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -160,8 +160,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -184,8 +184,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -208,8 +208,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/EnableRegionRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/EnableRegionRequest.h index bc02ba840af..0521fa414ef 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/EnableRegionRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/EnableRegionRequest.h @@ -40,8 +40,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -64,8 +64,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -88,8 +88,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -112,8 +112,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -136,8 +136,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -160,8 +160,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -184,8 +184,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -208,8 +208,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetContactInformationRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetContactInformationRequest.h index d3f95a6af4b..0366548336e 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetContactInformationRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetContactInformationRequest.h @@ -40,8 +40,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -64,8 +64,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -88,8 +88,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -112,8 +112,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -136,8 +136,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -160,8 +160,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -184,8 +184,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -208,8 +208,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailRequest.h new file mode 100644 index 00000000000..2d81af25aa4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailRequest.h @@ -0,0 +1,203 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Account +{ +namespace Model +{ + + /** + */ + class GetPrimaryEmailRequest : public AccountRequest + { + public: + AWS_ACCOUNT_API GetPrimaryEmailRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetPrimaryEmail"; } + + AWS_ACCOUNT_API Aws::String SerializePayload() const override; + + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline GetPrimaryEmailRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline GetPrimaryEmailRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline GetPrimaryEmailRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailResult.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailResult.h new file mode 100644 index 00000000000..5309abe4f2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetPrimaryEmailResult.h @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Account +{ +namespace Model +{ + class GetPrimaryEmailResult + { + public: + AWS_ACCOUNT_API GetPrimaryEmailResult(); + AWS_ACCOUNT_API GetPrimaryEmailResult(const Aws::AmazonWebServiceResult& result); + AWS_ACCOUNT_API GetPrimaryEmailResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline const Aws::String& GetPrimaryEmail() const{ return m_primaryEmail; } + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline void SetPrimaryEmail(const Aws::String& value) { m_primaryEmail = value; } + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline void SetPrimaryEmail(Aws::String&& value) { m_primaryEmail = std::move(value); } + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline void SetPrimaryEmail(const char* value) { m_primaryEmail.assign(value); } + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline GetPrimaryEmailResult& WithPrimaryEmail(const Aws::String& value) { SetPrimaryEmail(value); return *this;} + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline GetPrimaryEmailResult& WithPrimaryEmail(Aws::String&& value) { SetPrimaryEmail(std::move(value)); return *this;} + + /** + *

Retrieves the primary email address associated with the specified + * account.

+ */ + inline GetPrimaryEmailResult& WithPrimaryEmail(const char* value) { SetPrimaryEmail(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetPrimaryEmailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetPrimaryEmailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetPrimaryEmailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_primaryEmail; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetRegionOptStatusRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetRegionOptStatusRequest.h index 80e1dfcf93e..3a3a9186829 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetRegionOptStatusRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/GetRegionOptStatusRequest.h @@ -40,8 +40,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -64,8 +64,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -88,8 +88,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -112,8 +112,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -136,8 +136,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -160,8 +160,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -184,8 +184,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -208,8 +208,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/ListRegionsRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/ListRegionsRequest.h index c8f65cbb759..79031556441 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/ListRegionsRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/ListRegionsRequest.h @@ -42,8 +42,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -66,8 +66,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -90,8 +90,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -114,8 +114,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -138,8 +138,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -162,8 +162,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -186,8 +186,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -210,8 +210,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/PrimaryEmailUpdateStatus.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/PrimaryEmailUpdateStatus.h new file mode 100644 index 00000000000..14d7192ef94 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/PrimaryEmailUpdateStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Account +{ +namespace Model +{ + enum class PrimaryEmailUpdateStatus + { + NOT_SET, + PENDING, + ACCEPTED + }; + +namespace PrimaryEmailUpdateStatusMapper +{ +AWS_ACCOUNT_API PrimaryEmailUpdateStatus GetPrimaryEmailUpdateStatusForName(const Aws::String& name); + +AWS_ACCOUNT_API Aws::String GetNameForPrimaryEmailUpdateStatus(PrimaryEmailUpdateStatus value); +} // namespace PrimaryEmailUpdateStatusMapper +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/PutContactInformationRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/PutContactInformationRequest.h index 046fc7b1d0a..2985dbd0374 100644 --- a/generated/src/aws-cpp-sdk-account/include/aws/account/model/PutContactInformationRequest.h +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/PutContactInformationRequest.h @@ -41,8 +41,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -65,8 +65,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -89,8 +89,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -113,8 +113,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -137,8 +137,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -161,8 +161,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -185,8 +185,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted @@ -209,8 +209,8 @@ namespace Model * the organization's * management account or a delegated administrator account. The specified - * account ID must also be a member account in the same organization. The - * organization must have all * features enabled, and the organization must have trusted diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateRequest.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateRequest.h new file mode 100644 index 00000000000..0b5738c288e --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateRequest.h @@ -0,0 +1,255 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Account +{ +namespace Model +{ + + /** + */ + class StartPrimaryEmailUpdateRequest : public AccountRequest + { + public: + AWS_ACCOUNT_API StartPrimaryEmailUpdateRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartPrimaryEmailUpdate"; } + + AWS_ACCOUNT_API Aws::String SerializePayload() const override; + + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline const Aws::String& GetAccountId() const{ return m_accountId; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline StartPrimaryEmailUpdateRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline StartPrimaryEmailUpdateRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} + + /** + *

Specifies the 12-digit account ID number of the Amazon Web Services account + * that you want to access or modify with this operation. To use this parameter, + * the caller must be an identity in the organization's + * management account or a delegated administrator account. The specified + * account ID must be a member account in the same organization. The organization + * must have all + * features enabled, and the organization must have trusted + * access enabled for the Account Management service, and optionally a delegated + * admin account assigned.

This operation can only be called from the + * management account or the delegated administrator account of an organization for + * a member account.

The management account can't specify its own + * AccountId.

+ */ + inline StartPrimaryEmailUpdateRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;} + + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline const Aws::String& GetPrimaryEmail() const{ return m_primaryEmail; } + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline bool PrimaryEmailHasBeenSet() const { return m_primaryEmailHasBeenSet; } + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline void SetPrimaryEmail(const Aws::String& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = value; } + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline void SetPrimaryEmail(Aws::String&& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = std::move(value); } + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline void SetPrimaryEmail(const char* value) { m_primaryEmailHasBeenSet = true; m_primaryEmail.assign(value); } + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline StartPrimaryEmailUpdateRequest& WithPrimaryEmail(const Aws::String& value) { SetPrimaryEmail(value); return *this;} + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline StartPrimaryEmailUpdateRequest& WithPrimaryEmail(Aws::String&& value) { SetPrimaryEmail(std::move(value)); return *this;} + + /** + *

The new primary email address (also known as the root user email address) to + * use in the specified account.

+ */ + inline StartPrimaryEmailUpdateRequest& WithPrimaryEmail(const char* value) { SetPrimaryEmail(value); return *this;} + + private: + + Aws::String m_accountId; + bool m_accountIdHasBeenSet = false; + + Aws::String m_primaryEmail; + bool m_primaryEmailHasBeenSet = false; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateResult.h b/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateResult.h new file mode 100644 index 00000000000..166ad050453 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/include/aws/account/model/StartPrimaryEmailUpdateResult.h @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Account +{ +namespace Model +{ + class StartPrimaryEmailUpdateResult + { + public: + AWS_ACCOUNT_API StartPrimaryEmailUpdateResult(); + AWS_ACCOUNT_API StartPrimaryEmailUpdateResult(const Aws::AmazonWebServiceResult& result); + AWS_ACCOUNT_API StartPrimaryEmailUpdateResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The status of the primary email update request.

+ */ + inline const PrimaryEmailUpdateStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the primary email update request.

+ */ + inline void SetStatus(const PrimaryEmailUpdateStatus& value) { m_status = value; } + + /** + *

The status of the primary email update request.

+ */ + inline void SetStatus(PrimaryEmailUpdateStatus&& value) { m_status = std::move(value); } + + /** + *

The status of the primary email update request.

+ */ + inline StartPrimaryEmailUpdateResult& WithStatus(const PrimaryEmailUpdateStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the primary email update request.

+ */ + inline StartPrimaryEmailUpdateResult& WithStatus(PrimaryEmailUpdateStatus&& value) { SetStatus(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline StartPrimaryEmailUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline StartPrimaryEmailUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline StartPrimaryEmailUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + PrimaryEmailUpdateStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/source/AccountClient.cpp b/generated/src/aws-cpp-sdk-account/source/AccountClient.cpp index 2ab593cc1e3..035f0d99d1a 100644 --- a/generated/src/aws-cpp-sdk-account/source/AccountClient.cpp +++ b/generated/src/aws-cpp-sdk-account/source/AccountClient.cpp @@ -21,15 +21,18 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include #include +#include #include @@ -171,6 +174,33 @@ void AccountClient::OverrideEndpoint(const Aws::String& endpoint) m_endpointProvider->OverrideEndpoint(endpoint); } +AcceptPrimaryEmailUpdateOutcome AccountClient::AcceptPrimaryEmailUpdate(const AcceptPrimaryEmailUpdateRequest& request) const +{ + AWS_OPERATION_GUARD(AcceptPrimaryEmailUpdate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AcceptPrimaryEmailUpdate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AcceptPrimaryEmailUpdate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AcceptPrimaryEmailUpdate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AcceptPrimaryEmailUpdate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> AcceptPrimaryEmailUpdateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, AcceptPrimaryEmailUpdate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/acceptPrimaryEmailUpdate"); + return AcceptPrimaryEmailUpdateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteAlternateContactOutcome AccountClient::DeleteAlternateContact(const DeleteAlternateContactRequest& request) const { AWS_OPERATION_GUARD(DeleteAlternateContact); @@ -306,6 +336,33 @@ GetContactInformationOutcome AccountClient::GetContactInformation(const GetConta {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetPrimaryEmailOutcome AccountClient::GetPrimaryEmail(const GetPrimaryEmailRequest& request) const +{ + AWS_OPERATION_GUARD(GetPrimaryEmail); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetPrimaryEmail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetPrimaryEmail, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetPrimaryEmail, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetPrimaryEmail", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetPrimaryEmailOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetPrimaryEmail, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/getPrimaryEmail"); + return GetPrimaryEmailOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetRegionOptStatusOutcome AccountClient::GetRegionOptStatus(const GetRegionOptStatusRequest& request) const { AWS_OPERATION_GUARD(GetRegionOptStatus); @@ -414,3 +471,30 @@ PutContactInformationOutcome AccountClient::PutContactInformation(const PutConta {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StartPrimaryEmailUpdateOutcome AccountClient::StartPrimaryEmailUpdate(const StartPrimaryEmailUpdateRequest& request) const +{ + AWS_OPERATION_GUARD(StartPrimaryEmailUpdate); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartPrimaryEmailUpdate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartPrimaryEmailUpdate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartPrimaryEmailUpdate, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartPrimaryEmailUpdate", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartPrimaryEmailUpdateOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartPrimaryEmailUpdate, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/startPrimaryEmailUpdate"); + return StartPrimaryEmailUpdateOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp b/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp index 5944d0a2274..ac67cecb6df 100644 --- a/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp @@ -51,141 +51,141 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', ',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', 'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t', -'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', -'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"', -'a','w','s','"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', -'P','S','"','}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','a','c','c','o','u','n','t','.','u','s','-','e','a','s','t','-','1','.','a','m','a','z','o', -'n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"', -'a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i', -'g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','a','c','c','o','u', -'n','t','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e', -'a','s','t','-','1','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', -'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', 't','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a', 'l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t', 'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', 'i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s', -'-','c','n','"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', -'P','S','"','}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','a','c','c','o','u','n','t','.','c','n','-','n','o','r','t','h','w','e','s','t','-','1','.', -'a','m','a','z','o','n','a','w','s','.','c','o','m','.','c','n','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n', -'a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e', -'"',':','"','a','c','c','o','u','n','t','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o', -'n','"',':','"','c','n','-','n','o','r','t','h','w','e','s','t','-','1','"','}',']','}',',','"','h', -'e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o', -'i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c', -'k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o', -'n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']', -'}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', +'"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', +'}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', +'e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a', +'c','c','o','u','n','t','.','u','s','-','e','a','s','t','-','1','.','a','m','a','z','o','n','a','w', +'s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t', +'h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4', +'"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','a','c','c','o','u','n','t','"', +',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e','a','s','t', +'-','1','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', +'e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s','-','c','n', +'"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', +'}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', +'e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a', +'c','c','o','u','n','t','.','c','n','-','n','o','r','t','h','w','e','s','t','-','1','.','a','m','a', +'z','o','n','a','w','s','.','c','o','m','.','c','n','"',',','"','p','r','o','p','e','r','t','i','e', +'s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e', +'"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"', +'a','c','c','o','u','n','t','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':', +'"','c','n','-','n','o','r','t','h','w','e','s','t','-','1','"','}',']','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', +',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', +'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', +'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', +'t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'a','c','c','o','u','n','t','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', +'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', +',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', +'d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', +'"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e', +'n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', +'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r', +' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', +'}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', +'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A', 't','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', -'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', -'t','p','s',':','/','/','a','c','c','o','u','n','t','-','f','i','p','s','.','{','R','e','g','i','o', -'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', -'t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', -'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n', -'d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ', +'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I', +'P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','-', +'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', +'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', +'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ', 'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', -'o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"', -'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I', -'P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"', -']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e', -'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', -'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','c', -'c','o','u','n','t','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', -'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', -'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', -'"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']', -'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', -',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', -'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', -',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', +'o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a', +'c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', +'l','"',':','"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', +'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b', +'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', +'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"', +',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', +'/','/','a','c','c','o','u','n','t','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', 'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ', -'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', -'u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':', -'"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', -'p','s',':','/','/','a','c','c','o','u','n','t','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', 'o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o', 'n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"', ':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateRequest.cpp b/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateRequest.cpp new file mode 100644 index 00000000000..f1844f378bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateRequest.cpp @@ -0,0 +1,49 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AcceptPrimaryEmailUpdateRequest::AcceptPrimaryEmailUpdateRequest() : + m_accountIdHasBeenSet(false), + m_otpHasBeenSet(false), + m_primaryEmailHasBeenSet(false) +{ +} + +Aws::String AcceptPrimaryEmailUpdateRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_otpHasBeenSet) + { + payload.WithString("Otp", m_otp); + + } + + if(m_primaryEmailHasBeenSet) + { + payload.WithString("PrimaryEmail", m_primaryEmail); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateResult.cpp b/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateResult.cpp new file mode 100644 index 00000000000..482ba9d7211 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/AcceptPrimaryEmailUpdateResult.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AcceptPrimaryEmailUpdateResult::AcceptPrimaryEmailUpdateResult() : + m_status(PrimaryEmailUpdateStatus::NOT_SET) +{ +} + +AcceptPrimaryEmailUpdateResult::AcceptPrimaryEmailUpdateResult(const Aws::AmazonWebServiceResult& result) : + m_status(PrimaryEmailUpdateStatus::NOT_SET) +{ + *this = result; +} + +AcceptPrimaryEmailUpdateResult& AcceptPrimaryEmailUpdateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Status")) + { + m_status = PrimaryEmailUpdateStatusMapper::GetPrimaryEmailUpdateStatusForName(jsonValue.GetString("Status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailRequest.cpp b/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailRequest.cpp new file mode 100644 index 00000000000..84f0d50d3db --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailRequest.cpp @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetPrimaryEmailRequest::GetPrimaryEmailRequest() : + m_accountIdHasBeenSet(false) +{ +} + +Aws::String GetPrimaryEmailRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailResult.cpp b/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailResult.cpp new file mode 100644 index 00000000000..85ccd7230d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/GetPrimaryEmailResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetPrimaryEmailResult::GetPrimaryEmailResult() +{ +} + +GetPrimaryEmailResult::GetPrimaryEmailResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetPrimaryEmailResult& GetPrimaryEmailResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("PrimaryEmail")) + { + m_primaryEmail = jsonValue.GetString("PrimaryEmail"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-account/source/model/PrimaryEmailUpdateStatus.cpp b/generated/src/aws-cpp-sdk-account/source/model/PrimaryEmailUpdateStatus.cpp new file mode 100644 index 00000000000..23a134ff020 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/PrimaryEmailUpdateStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Account + { + namespace Model + { + namespace PrimaryEmailUpdateStatusMapper + { + + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + static const int ACCEPTED_HASH = HashingUtils::HashString("ACCEPTED"); + + + PrimaryEmailUpdateStatus GetPrimaryEmailUpdateStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PENDING_HASH) + { + return PrimaryEmailUpdateStatus::PENDING; + } + else if (hashCode == ACCEPTED_HASH) + { + return PrimaryEmailUpdateStatus::ACCEPTED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PrimaryEmailUpdateStatus::NOT_SET; + } + + Aws::String GetNameForPrimaryEmailUpdateStatus(PrimaryEmailUpdateStatus enumValue) + { + switch(enumValue) + { + case PrimaryEmailUpdateStatus::NOT_SET: + return {}; + case PrimaryEmailUpdateStatus::PENDING: + return "PENDING"; + case PrimaryEmailUpdateStatus::ACCEPTED: + return "ACCEPTED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PrimaryEmailUpdateStatusMapper + } // namespace Model + } // namespace Account +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateRequest.cpp b/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateRequest.cpp new file mode 100644 index 00000000000..1124800e378 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartPrimaryEmailUpdateRequest::StartPrimaryEmailUpdateRequest() : + m_accountIdHasBeenSet(false), + m_primaryEmailHasBeenSet(false) +{ +} + +Aws::String StartPrimaryEmailUpdateRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_accountIdHasBeenSet) + { + payload.WithString("AccountId", m_accountId); + + } + + if(m_primaryEmailHasBeenSet) + { + payload.WithString("PrimaryEmail", m_primaryEmail); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateResult.cpp b/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateResult.cpp new file mode 100644 index 00000000000..21c20662c78 --- /dev/null +++ b/generated/src/aws-cpp-sdk-account/source/model/StartPrimaryEmailUpdateResult.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Account::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartPrimaryEmailUpdateResult::StartPrimaryEmailUpdateResult() : + m_status(PrimaryEmailUpdateStatus::NOT_SET) +{ +} + +StartPrimaryEmailUpdateResult::StartPrimaryEmailUpdateResult(const Aws::AmazonWebServiceResult& result) : + m_status(PrimaryEmailUpdateStatus::NOT_SET) +{ + *this = result; +} + +StartPrimaryEmailUpdateResult& StartPrimaryEmailUpdateResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Status")) + { + m_status = PrimaryEmailUpdateStatusMapper::GetPrimaryEmailUpdateStatusForName(jsonValue.GetString("Status")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h index 3a833ef180b..ce164f4f73d 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/FirehoseClient.h @@ -20,7 +20,7 @@ namespace Firehose * previously known as Amazon Kinesis Data Firehose.

Amazon Data * Firehose is a fully managed service that delivers real-time streaming data to * destinations such as Amazon Simple Storage Service (Amazon S3), Amazon - * OpenSearch Service, Amazon Redshift, Splunk, and various other supportd + * OpenSearch Service, Amazon Redshift, Splunk, and various other supported * destinations.

*/ class AWS_FIREHOSE_API FirehoseClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods @@ -471,7 +471,7 @@ namespace Firehose * old CMK for retirement. If the new CMK is of type * CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to * use the new CMK to encrypt and decrypt data and to manage the grant.

For - * the KMS grant creation to be successful, Firehose APIs + * the KMS grant creation to be successful, the Firehose API operations * StartDeliveryStreamEncryption and CreateDeliveryStream * should not be called with session credentials that are more than 6 hours * old.

If a delivery stream already has encryption enabled and then you diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationConfiguration.h index cd296caa9f7..25cb24f0d64 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationConfiguration.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -152,38 +153,38 @@ namespace Model /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline const HttpEndpointRequestConfiguration& GetRequestConfiguration() const{ return m_requestConfiguration; } /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline bool RequestConfigurationHasBeenSet() const { return m_requestConfigurationHasBeenSet; } /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline void SetRequestConfiguration(const HttpEndpointRequestConfiguration& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = value; } /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline void SetRequestConfiguration(HttpEndpointRequestConfiguration&& value) { m_requestConfigurationHasBeenSet = true; m_requestConfiguration = std::move(value); } /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline HttpEndpointDestinationConfiguration& WithRequestConfiguration(const HttpEndpointRequestConfiguration& value) { SetRequestConfiguration(value); return *this;} /** - *

The configuration of the requeste sent to the HTTP endpoint specified as the - * destination.

+ *

The configuration of the request sent to the HTTP endpoint that is specified + * as the destination.

*/ inline HttpEndpointDestinationConfiguration& WithRequestConfiguration(HttpEndpointRequestConfiguration&& value) { SetRequestConfiguration(std::move(value)); return *this;} @@ -366,6 +367,43 @@ namespace Model inline HttpEndpointDestinationConfiguration& WithS3Configuration(S3DestinationConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationConfiguration& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: HttpEndpointConfiguration m_endpointConfiguration; @@ -394,6 +432,9 @@ namespace Model S3DestinationConfiguration m_s3Configuration; bool m_s3ConfigurationHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationDescription.h index f4fc300ce3f..5ec46b6d90e 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationDescription.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -371,6 +372,43 @@ namespace Model inline HttpEndpointDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationDescription& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: HttpEndpointDescription m_endpointConfiguration; @@ -399,6 +437,9 @@ namespace Model S3DestinationDescription m_s3DestinationDescription; bool m_s3DestinationDescriptionHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationUpdate.h index 61cac865a6b..173499fcc95 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationUpdate.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/HttpEndpointDestinationUpdate.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -372,6 +373,43 @@ namespace Model inline HttpEndpointDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationUpdate& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for HTTP Endpoint + * destination.

+ */ + inline HttpEndpointDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: HttpEndpointConfiguration m_endpointConfiguration; @@ -400,6 +438,9 @@ namespace Model S3DestinationUpdate m_s3Update; bool m_s3UpdateHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/ParquetSerDe.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/ParquetSerDe.h index b5e0270a7b4..03a1f45eeaf 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/ParquetSerDe.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/ParquetSerDe.h @@ -27,8 +27,8 @@ namespace Model /** *

A serializer to use for converting data to the Parquet format before storing * it in Amazon S3. For more information, see Apache - * Parquet.

See Also:

Apache Parquet.

See + * Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationConfiguration.h index fefe13b4f29..2e6a3213478 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationConfiguration.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -502,6 +503,43 @@ namespace Model */ inline RedshiftDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationConfiguration& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_roleARN; @@ -536,6 +574,9 @@ namespace Model CloudWatchLoggingOptions m_cloudWatchLoggingOptions; bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationDescription.h index 25970639a15..da25ff6b38c 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationDescription.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -412,6 +413,43 @@ namespace Model */ inline RedshiftDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationDescription& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_roleARN; @@ -443,6 +481,9 @@ namespace Model CloudWatchLoggingOptions m_cloudWatchLoggingOptions; bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationUpdate.h index ba31d46bf73..ec609d3cbea 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationUpdate.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/RedshiftDestinationUpdate.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -490,6 +491,43 @@ namespace Model */ inline RedshiftDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationUpdate& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Amazon Redshift. + *

+ */ + inline RedshiftDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_roleARN; @@ -524,6 +562,9 @@ namespace Model CloudWatchLoggingOptions m_cloudWatchLoggingOptions; bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SecretsManagerConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SecretsManagerConfiguration.h new file mode 100644 index 00000000000..87138284f1d --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SecretsManagerConfiguration.h @@ -0,0 +1,225 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Firehose +{ +namespace Model +{ + + /** + *

The structure that defines how Firehose accesses the secret.

See + * Also:

AWS + * API Reference

+ */ + class SecretsManagerConfiguration + { + public: + AWS_FIREHOSE_API SecretsManagerConfiguration(); + AWS_FIREHOSE_API SecretsManagerConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_FIREHOSE_API SecretsManagerConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline const Aws::String& GetSecretARN() const{ return m_secretARN; } + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline bool SecretARNHasBeenSet() const { return m_secretARNHasBeenSet; } + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline void SetSecretARN(const Aws::String& value) { m_secretARNHasBeenSet = true; m_secretARN = value; } + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline void SetSecretARN(Aws::String&& value) { m_secretARNHasBeenSet = true; m_secretARN = std::move(value); } + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline void SetSecretARN(const char* value) { m_secretARNHasBeenSet = true; m_secretARN.assign(value); } + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline SecretsManagerConfiguration& WithSecretARN(const Aws::String& value) { SetSecretARN(value); return *this;} + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline SecretsManagerConfiguration& WithSecretARN(Aws::String&& value) { SetSecretARN(std::move(value)); return *this;} + + /** + *

The ARN of the secret that stores your credentials. It must be in the same + * region as the Firehose stream and the role. The secret ARN can reside in a + * different account than the delivery stream and role as Firehose supports + * cross-account secret access. This parameter is required when Enabled is + * set to True.

+ */ + inline SecretsManagerConfiguration& WithSecretARN(const char* value) { SetSecretARN(value); return *this;} + + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline const Aws::String& GetRoleARN() const{ return m_roleARN; } + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline SecretsManagerConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline SecretsManagerConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} + + /** + *

Specifies the role that Firehose assumes when calling the Secrets Manager + * API operation. When you provide the role, it overrides any destination specific + * role defined in the destination configuration. If you do not provide the then we + * use the destination specific role. This parameter is required for Splunk.

+ */ + inline SecretsManagerConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} + + + /** + *

Specifies whether you want to use the the secrets manager feature. When set + * as True the secrets manager configuration overwrites the existing + * secrets in the destination configuration. When it's set to False + * Firehose falls back to the credentials in the destination configuration.

+ */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + *

Specifies whether you want to use the the secrets manager feature. When set + * as True the secrets manager configuration overwrites the existing + * secrets in the destination configuration. When it's set to False + * Firehose falls back to the credentials in the destination configuration.

+ */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + *

Specifies whether you want to use the the secrets manager feature. When set + * as True the secrets manager configuration overwrites the existing + * secrets in the destination configuration. When it's set to False + * Firehose falls back to the credentials in the destination configuration.

+ */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + *

Specifies whether you want to use the the secrets manager feature. When set + * as True the secrets manager configuration overwrites the existing + * secrets in the destination configuration. When it's set to False + * Firehose falls back to the credentials in the destination configuration.

+ */ + inline SecretsManagerConfiguration& WithEnabled(bool value) { SetEnabled(value); return *this;} + + private: + + Aws::String m_secretARN; + bool m_secretARNHasBeenSet = false; + + Aws::String m_roleARN; + bool m_roleARNHasBeenSet = false; + + bool m_enabled; + bool m_enabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h index 1110aa4bec9..1b0d278a98c 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -802,6 +803,37 @@ namespace Model inline SnowflakeDestinationConfiguration& WithS3Configuration(S3DestinationConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline SnowflakeDestinationConfiguration& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline SnowflakeDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_accountUrl; @@ -857,6 +889,9 @@ namespace Model S3DestinationConfiguration m_s3Configuration; bool m_s3ConfigurationHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h index 3cb5a31cde9..22263edd4bc 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -672,6 +673,37 @@ namespace Model inline SnowflakeDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline SnowflakeDestinationDescription& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Snowflake.

+ */ + inline SnowflakeDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_accountUrl; @@ -721,6 +753,9 @@ namespace Model S3DestinationDescription m_s3DestinationDescription; bool m_s3DestinationDescriptionHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h index f723c90da77..d226c7d3a69 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -830,6 +831,37 @@ namespace Model inline SnowflakeDestinationUpdate& WithS3Update(S3DestinationUpdate&& value) { SetS3Update(std::move(value)); return *this;} + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

Describes the Secrets Manager configuration in Snowflake.

+ */ + inline SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_accountUrl; @@ -882,6 +914,9 @@ namespace Model S3DestinationUpdate m_s3Update; bool m_s3UpdateHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationConfiguration.h index 2e335f2c82b..381892b4425 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationConfiguration.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -446,6 +447,37 @@ namespace Model */ inline SplunkDestinationConfiguration& WithBufferingHints(SplunkBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationConfiguration& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_hECEndpoint; @@ -477,6 +509,9 @@ namespace Model SplunkBufferingHints m_bufferingHints; bool m_bufferingHintsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationDescription.h index 91198c929ca..ec5912be49c 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationDescription.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -433,6 +434,37 @@ namespace Model */ inline SplunkDestinationDescription& WithBufferingHints(SplunkBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationDescription& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_hECEndpoint; @@ -464,6 +496,9 @@ namespace Model SplunkBufferingHints m_bufferingHints; bool m_bufferingHintsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationUpdate.h index a8a47d62248..9bfdec6f086 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationUpdate.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SplunkDestinationUpdate.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -446,6 +447,37 @@ namespace Model */ inline SplunkDestinationUpdate& WithBufferingHints(SplunkBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline const SecretsManagerConfiguration& GetSecretsManagerConfiguration() const{ return m_secretsManagerConfiguration; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline bool SecretsManagerConfigurationHasBeenSet() const { return m_secretsManagerConfigurationHasBeenSet; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = value; } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline void SetSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { m_secretsManagerConfigurationHasBeenSet = true; m_secretsManagerConfiguration = std::move(value); } + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationUpdate& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} + + /** + *

The configuration that defines how you access secrets for Splunk.

+ */ + inline SplunkDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} + private: Aws::String m_hECEndpoint; @@ -477,6 +509,9 @@ namespace Model SplunkBufferingHints m_bufferingHints; bool m_bufferingHintsHasBeenSet = false; + + SecretsManagerConfiguration m_secretsManagerConfiguration; + bool m_secretsManagerConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h index a3b0b2c23df..943dfe70c5f 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h @@ -429,32 +429,32 @@ namespace Model /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline const SnowflakeDestinationUpdate& GetSnowflakeDestinationUpdate() const{ return m_snowflakeDestinationUpdate; } /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline bool SnowflakeDestinationUpdateHasBeenSet() const { return m_snowflakeDestinationUpdateHasBeenSet; } /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline void SetSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate& value) { m_snowflakeDestinationUpdateHasBeenSet = true; m_snowflakeDestinationUpdate = value; } /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline void SetSnowflakeDestinationUpdate(SnowflakeDestinationUpdate&& value) { m_snowflakeDestinationUpdateHasBeenSet = true; m_snowflakeDestinationUpdate = std::move(value); } /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline UpdateDestinationRequest& WithSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate& value) { SetSnowflakeDestinationUpdate(value); return *this;} /** - *

Update to the Snowflake destination condiguration settings

+ *

Update to the Snowflake destination configuration settings.

*/ inline UpdateDestinationRequest& WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdate&& value) { SetSnowflakeDestinationUpdate(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationConfiguration.cpp index a185ab2ead3..4cb2415c38a 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationConfiguration.cpp @@ -28,7 +28,8 @@ HttpEndpointDestinationConfiguration::HttpEndpointDestinationConfiguration() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3ConfigurationHasBeenSet(false) + m_s3ConfigurationHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -42,7 +43,8 @@ HttpEndpointDestinationConfiguration::HttpEndpointDestinationConfiguration(JsonV m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3ConfigurationHasBeenSet(false) + m_s3ConfigurationHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -112,6 +114,13 @@ HttpEndpointDestinationConfiguration& HttpEndpointDestinationConfiguration::oper m_s3ConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -172,6 +181,12 @@ JsonValue HttpEndpointDestinationConfiguration::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationDescription.cpp index 80d76b323ce..676b7b27b21 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationDescription.cpp @@ -28,7 +28,8 @@ HttpEndpointDestinationDescription::HttpEndpointDestinationDescription() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3DestinationDescriptionHasBeenSet(false) + m_s3DestinationDescriptionHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -42,7 +43,8 @@ HttpEndpointDestinationDescription::HttpEndpointDestinationDescription(JsonView m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3DestinationDescriptionHasBeenSet(false) + m_s3DestinationDescriptionHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -112,6 +114,13 @@ HttpEndpointDestinationDescription& HttpEndpointDestinationDescription::operator m_s3DestinationDescriptionHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -172,6 +181,12 @@ JsonValue HttpEndpointDestinationDescription::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationUpdate.cpp index e715891f477..ad672533d4d 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/HttpEndpointDestinationUpdate.cpp @@ -28,7 +28,8 @@ HttpEndpointDestinationUpdate::HttpEndpointDestinationUpdate() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3UpdateHasBeenSet(false) + m_s3UpdateHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -42,7 +43,8 @@ HttpEndpointDestinationUpdate::HttpEndpointDestinationUpdate(JsonView jsonValue) m_retryOptionsHasBeenSet(false), m_s3BackupMode(HttpEndpointS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3UpdateHasBeenSet(false) + m_s3UpdateHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -112,6 +114,13 @@ HttpEndpointDestinationUpdate& HttpEndpointDestinationUpdate::operator =(JsonVie m_s3UpdateHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -172,6 +181,12 @@ JsonValue HttpEndpointDestinationUpdate::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationConfiguration.cpp index eac33797875..527cb6ae8b0 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationConfiguration.cpp @@ -30,7 +30,8 @@ RedshiftDestinationConfiguration::RedshiftDestinationConfiguration() : m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupConfigurationHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -46,7 +47,8 @@ RedshiftDestinationConfiguration::RedshiftDestinationConfiguration(JsonView json m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupConfigurationHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -130,6 +132,13 @@ RedshiftDestinationConfiguration& RedshiftDestinationConfiguration::operator =(J m_cloudWatchLoggingOptionsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -202,6 +211,12 @@ JsonValue RedshiftDestinationConfiguration::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationDescription.cpp index 96e4e2c403b..1a285dd506e 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationDescription.cpp @@ -29,7 +29,8 @@ RedshiftDestinationDescription::RedshiftDestinationDescription() : m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupDescriptionHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -44,7 +45,8 @@ RedshiftDestinationDescription::RedshiftDestinationDescription(JsonView jsonValu m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupDescriptionHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -121,6 +123,13 @@ RedshiftDestinationDescription& RedshiftDestinationDescription::operator =(JsonV m_cloudWatchLoggingOptionsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -187,6 +196,12 @@ JsonValue RedshiftDestinationDescription::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationUpdate.cpp index 566e92b7d94..4c9724a6f6c 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/RedshiftDestinationUpdate.cpp @@ -30,7 +30,8 @@ RedshiftDestinationUpdate::RedshiftDestinationUpdate() : m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupUpdateHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -46,7 +47,8 @@ RedshiftDestinationUpdate::RedshiftDestinationUpdate(JsonView jsonValue) : m_s3BackupMode(RedshiftS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3BackupUpdateHasBeenSet(false), - m_cloudWatchLoggingOptionsHasBeenSet(false) + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -130,6 +132,13 @@ RedshiftDestinationUpdate& RedshiftDestinationUpdate::operator =(JsonView jsonVa m_cloudWatchLoggingOptionsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -202,6 +211,12 @@ JsonValue RedshiftDestinationUpdate::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SecretsManagerConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SecretsManagerConfiguration.cpp new file mode 100644 index 00000000000..6403f834f48 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SecretsManagerConfiguration.cpp @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Firehose +{ +namespace Model +{ + +SecretsManagerConfiguration::SecretsManagerConfiguration() : + m_secretARNHasBeenSet(false), + m_roleARNHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ +} + +SecretsManagerConfiguration::SecretsManagerConfiguration(JsonView jsonValue) : + m_secretARNHasBeenSet(false), + m_roleARNHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ + *this = jsonValue; +} + +SecretsManagerConfiguration& SecretsManagerConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SecretARN")) + { + m_secretARN = jsonValue.GetString("SecretARN"); + + m_secretARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("RoleARN")) + { + m_roleARN = jsonValue.GetString("RoleARN"); + + m_roleARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("Enabled")) + { + m_enabled = jsonValue.GetBool("Enabled"); + + m_enabledHasBeenSet = true; + } + + return *this; +} + +JsonValue SecretsManagerConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_secretARNHasBeenSet) + { + payload.WithString("SecretARN", m_secretARN); + + } + + if(m_roleARNHasBeenSet) + { + payload.WithString("RoleARN", m_roleARN); + + } + + if(m_enabledHasBeenSet) + { + payload.WithBool("Enabled", m_enabled); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp index 580a507a756..b5271d8a420 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp @@ -38,7 +38,8 @@ SnowflakeDestinationConfiguration::SnowflakeDestinationConfiguration() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3ConfigurationHasBeenSet(false) + m_s3ConfigurationHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -62,7 +63,8 @@ SnowflakeDestinationConfiguration::SnowflakeDestinationConfiguration(JsonView js m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3ConfigurationHasBeenSet(false) + m_s3ConfigurationHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -195,6 +197,13 @@ SnowflakeDestinationConfiguration& SnowflakeDestinationConfiguration::operator = m_s3ConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -308,6 +317,12 @@ JsonValue SnowflakeDestinationConfiguration::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp index ebfdf49073d..a4aef65b6e7 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp @@ -36,7 +36,8 @@ SnowflakeDestinationDescription::SnowflakeDestinationDescription() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3DestinationDescriptionHasBeenSet(false) + m_s3DestinationDescriptionHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -58,7 +59,8 @@ SnowflakeDestinationDescription::SnowflakeDestinationDescription(JsonView jsonVa m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3DestinationDescriptionHasBeenSet(false) + m_s3DestinationDescriptionHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -177,6 +179,13 @@ SnowflakeDestinationDescription& SnowflakeDestinationDescription::operator =(Jso m_s3DestinationDescriptionHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -278,6 +287,12 @@ JsonValue SnowflakeDestinationDescription::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp index 8d63cccad85..907aa247179 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp @@ -37,7 +37,8 @@ SnowflakeDestinationUpdate::SnowflakeDestinationUpdate() : m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3UpdateHasBeenSet(false) + m_s3UpdateHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -60,7 +61,8 @@ SnowflakeDestinationUpdate::SnowflakeDestinationUpdate(JsonView jsonValue) : m_retryOptionsHasBeenSet(false), m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), - m_s3UpdateHasBeenSet(false) + m_s3UpdateHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -186,6 +188,13 @@ SnowflakeDestinationUpdate& SnowflakeDestinationUpdate::operator =(JsonView json m_s3UpdateHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -293,6 +302,12 @@ JsonValue SnowflakeDestinationUpdate::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationConfiguration.cpp index 6d3337773a5..27cc9b015f7 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationConfiguration.cpp @@ -31,7 +31,8 @@ SplunkDestinationConfiguration::SplunkDestinationConfiguration() : m_s3ConfigurationHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -48,7 +49,8 @@ SplunkDestinationConfiguration::SplunkDestinationConfiguration(JsonView jsonValu m_s3ConfigurationHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -125,6 +127,13 @@ SplunkDestinationConfiguration& SplunkDestinationConfiguration::operator =(JsonV m_bufferingHintsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -190,6 +199,12 @@ JsonValue SplunkDestinationConfiguration::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationDescription.cpp index 37212822510..fe617c724c0 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationDescription.cpp @@ -31,7 +31,8 @@ SplunkDestinationDescription::SplunkDestinationDescription() : m_s3DestinationDescriptionHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -48,7 +49,8 @@ SplunkDestinationDescription::SplunkDestinationDescription(JsonView jsonValue) : m_s3DestinationDescriptionHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -125,6 +127,13 @@ SplunkDestinationDescription& SplunkDestinationDescription::operator =(JsonView m_bufferingHintsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -190,6 +199,12 @@ JsonValue SplunkDestinationDescription::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationUpdate.cpp index eebf774c1d6..f7c260a7ccb 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SplunkDestinationUpdate.cpp @@ -31,7 +31,8 @@ SplunkDestinationUpdate::SplunkDestinationUpdate() : m_s3UpdateHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { } @@ -48,7 +49,8 @@ SplunkDestinationUpdate::SplunkDestinationUpdate(JsonView jsonValue) : m_s3UpdateHasBeenSet(false), m_processingConfigurationHasBeenSet(false), m_cloudWatchLoggingOptionsHasBeenSet(false), - m_bufferingHintsHasBeenSet(false) + m_bufferingHintsHasBeenSet(false), + m_secretsManagerConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -125,6 +127,13 @@ SplunkDestinationUpdate& SplunkDestinationUpdate::operator =(JsonView jsonValue) m_bufferingHintsHasBeenSet = true; } + if(jsonValue.ValueExists("SecretsManagerConfiguration")) + { + m_secretsManagerConfiguration = jsonValue.GetObject("SecretsManagerConfiguration"); + + m_secretsManagerConfigurationHasBeenSet = true; + } + return *this; } @@ -190,6 +199,12 @@ JsonValue SplunkDestinationUpdate::Jsonize() const } + if(m_secretsManagerConfigurationHasBeenSet) + { + payload.WithObject("SecretsManagerConfiguration", m_secretsManagerConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/FSxClient.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/FSxClient.h index 3accb38210b..7326d9be756 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/FSxClient.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/FSxClient.h @@ -436,7 +436,7 @@ namespace FSx * parameters don't match, this call returns * IncompatibleParameterError. If a file system with the specified * client request token doesn't exist, CreateFileSystem does the - * following:

  • Creates a new, empty Amazon FSx file system with an + * following:

    • Creates a new, empty Amazon FSx file system with an * assigned ID, and an initial lifecycle state of CREATING.

    • *
    • Returns the description of the file system in JSON format.

    • *

    The CreateFileSystem call returns while the file @@ -742,15 +742,15 @@ namespace FSx * deleted.

    To delete an Amazon FSx for NetApp ONTAP file system, first * delete all the volumes and storage virtual machines (SVMs) on the file system. * Then provide a FileSystemId value to the - * DeleFileSystem operation.

    By default, when you delete an + * DeleteFileSystem operation.

    By default, when you delete an * Amazon FSx for Windows File Server file system, a final backup is created upon * deletion. This final backup isn't subject to the file system's retention policy, * and must be manually deleted.

    To delete an Amazon FSx for Lustre file * system, first unmount * it from every connected Amazon EC2 instance, then provide a - * FileSystemId value to the DeleFileSystem operation. By - * default, Amazon FSx will not take a final backup when the + * FileSystemId value to the DeleteFileSystem operation. + * By default, Amazon FSx will not take a final backup when the * DeleteFileSystem operation is invoked. On file systems not linked * to an Amazon S3 bucket, set SkipFinalBackup to false * to take a final backup of the file system you are deleting. Backups cannot be @@ -1532,6 +1532,7 @@ namespace FSx * DataCompressionType

  • * LogConfiguration

  • * LustreRootSquashConfiguration

  • + * MetadataConfiguration

  • * PerUnitStorageThroughput

  • * StorageCapacity

  • * WeeklyMaintenanceStartTime

For FSx for ONTAP diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreConfiguration.h index 08a51aa9c12..d1ef8cbae99 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreConfiguration.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreConfiguration.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -432,22 +433,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline const LustreDeploymentType& GetDeploymentType() const{ return m_deploymentType; } @@ -464,22 +467,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; } @@ -496,22 +501,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline void SetDeploymentType(const LustreDeploymentType& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = value; } @@ -528,22 +535,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline void SetDeploymentType(LustreDeploymentType&& value) { m_deploymentTypeHasBeenSet = true; m_deploymentType = std::move(value); } @@ -560,22 +569,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline CreateFileSystemLustreConfiguration& WithDeploymentType(const LustreDeploymentType& value) { SetDeploymentType(value); return *this;} @@ -592,22 +603,24 @@ namespace Model * available.

Choose PERSISTENT_2 for longer-term storage and * for latency-sensitive workloads that require the highest levels of * IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers - * higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). - * PERSISTENT_2 is available in a limited number of Amazon Web - * Services Regions. For more information, and an up-to-date list of Amazon Web - * Services Regions in which PERSISTENT_2 is available, see PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can + * optionally specify a metadata configuration mode for PERSISTENT_2 + * which supports increasing metadata performance. PERSISTENT_2 is + * available in a limited number of Amazon Web Services Regions. For more + * information, and an up-to-date list of Amazon Web Services Regions in which + * PERSISTENT_2 is available, see File * system deployment options for FSx for Lustre in the Amazon FSx for Lustre * User Guide.

If you choose PERSISTENT_2, and you * set FileSystemTypeVersion to 2.10, the * CreateFileSystem operation fails.

Encryption of data * in transit is automatically turned on when you access SCRATCH_2, - * PERSISTENT_1 and PERSISTENT_2 file systems from Amazon - * EC2 instances that support automatic encryption in the Amazon Web Services - * Regions where they are available. For more information about encryption in - * transit for FSx for Lustre file systems, see PERSISTENT_1, and PERSISTENT_2 file systems from + * Amazon EC2 instances that support automatic encryption in the Amazon Web + * Services Regions where they are available. For more information about encryption + * in transit for FSx for Lustre file systems, see Encrypting - * data in transit in the Amazon FSx for Lustre User Guide.

+ * data in transit in the Amazon FSx for Lustre User Guide.

*

(Default = SCRATCH_1)

*/ inline CreateFileSystemLustreConfiguration& WithDeploymentType(LustreDeploymentType&& value) { SetDeploymentType(std::move(value)); return *this;} @@ -1179,6 +1192,43 @@ namespace Model */ inline CreateFileSystemLustreConfiguration& WithRootSquashConfiguration(LustreRootSquashConfiguration&& value) { SetRootSquashConfiguration(std::move(value)); return *this;} + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline const CreateFileSystemLustreMetadataConfiguration& GetMetadataConfiguration() const{ return m_metadataConfiguration; } + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; } + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline void SetMetadataConfiguration(const CreateFileSystemLustreMetadataConfiguration& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = value; } + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline void SetMetadataConfiguration(CreateFileSystemLustreMetadataConfiguration&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::move(value); } + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline CreateFileSystemLustreConfiguration& WithMetadataConfiguration(const CreateFileSystemLustreMetadataConfiguration& value) { SetMetadataConfiguration(value); return *this;} + + /** + *

The Lustre metadata performance configuration for the creation of an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

+ */ + inline CreateFileSystemLustreConfiguration& WithMetadataConfiguration(CreateFileSystemLustreMetadataConfiguration&& value) { SetMetadataConfiguration(std::move(value)); return *this;} + private: Aws::String m_weeklyMaintenanceStartTime; @@ -1222,6 +1272,9 @@ namespace Model LustreRootSquashConfiguration m_rootSquashConfiguration; bool m_rootSquashConfigurationHasBeenSet = false; + + CreateFileSystemLustreMetadataConfiguration m_metadataConfiguration; + bool m_metadataConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreMetadataConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreMetadataConfiguration.h new file mode 100644 index 00000000000..b7bbbbdc132 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemLustreMetadataConfiguration.h @@ -0,0 +1,172 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace FSx +{ +namespace Model +{ + + /** + *

The Lustre metadata performance configuration for the creation of an Amazon + * FSx for Lustre file system using a PERSISTENT_2 deployment type. + * The configuration uses a Metadata IOPS value to set the maximum rate of metadata + * disk IOPS supported by the file system.

After creation, the file system + * supports increasing metadata performance. For more information on Metadata IOPS, + * see Lustre + * metadata performance configuration in the Amazon FSx for Lustre User + * Guide.

See Also:

AWS + * API Reference

+ */ + class CreateFileSystemLustreMetadataConfiguration + { + public: + AWS_FSX_API CreateFileSystemLustreMetadataConfiguration(); + AWS_FSX_API CreateFileSystemLustreMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API CreateFileSystemLustreMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

(USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for the file system. This parameter sets the maximum rate of metadata + * disk IOPS supported by the file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

Iops + * doesn’t have a default value. If you're using USER_PROVISIONED mode, you can + * choose to specify a valid value. If you're using AUTOMATIC mode, you cannot + * specify a value because FSx for Lustre automatically sets the value based on + * your file system storage capacity.

+ */ + inline int GetIops() const{ return m_iops; } + + /** + *

(USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for the file system. This parameter sets the maximum rate of metadata + * disk IOPS supported by the file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

Iops + * doesn’t have a default value. If you're using USER_PROVISIONED mode, you can + * choose to specify a valid value. If you're using AUTOMATIC mode, you cannot + * specify a value because FSx for Lustre automatically sets the value based on + * your file system storage capacity.

+ */ + inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } + + /** + *

(USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for the file system. This parameter sets the maximum rate of metadata + * disk IOPS supported by the file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

Iops + * doesn’t have a default value. If you're using USER_PROVISIONED mode, you can + * choose to specify a valid value. If you're using AUTOMATIC mode, you cannot + * specify a value because FSx for Lustre automatically sets the value based on + * your file system storage capacity.

+ */ + inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } + + /** + *

(USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for the file system. This parameter sets the maximum rate of metadata + * disk IOPS supported by the file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

Iops + * doesn’t have a default value. If you're using USER_PROVISIONED mode, you can + * choose to specify a valid value. If you're using AUTOMATIC mode, you cannot + * specify a value because FSx for Lustre automatically sets the value based on + * your file system storage capacity.

+ */ + inline CreateFileSystemLustreMetadataConfiguration& WithIops(int value) { SetIops(value); return *this;} + + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline const MetadataConfigurationMode& GetMode() const{ return m_mode; } + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline void SetMode(const MetadataConfigurationMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline void SetMode(MetadataConfigurationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline CreateFileSystemLustreMetadataConfiguration& WithMode(const MetadataConfigurationMode& value) { SetMode(value); return *this;} + + /** + *

The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

    + *
  • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales + * the number of Metadata IOPS for your file system based on your file system + * storage capacity.

  • In USER_PROVISIONED mode, you specify the + * number of Metadata IOPS to provision for your file system.

+ */ + inline CreateFileSystemLustreMetadataConfiguration& WithMode(MetadataConfigurationMode&& value) { SetMode(std::move(value)); return *this;} + + private: + + int m_iops; + bool m_iopsHasBeenSet = false; + + MetadataConfigurationMode m_mode; + bool m_modeHasBeenSet = false; + }; + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h index ce3e75429a8..c9b077af389 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h @@ -619,7 +619,7 @@ namespace Model * pairs. The value of this property affects the values of * StorageCapacity, Iops, and * ThroughputCapacity. For more information, see High-availability + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs">High-availability * (HA) pairs in the FSx for ONTAP user guide.

Amazon FSx responds with * an HTTP status code 400 (Bad Request) for the following conditions:

    *
  • The value of HAPairs is less than 1 or greater than 12.

    @@ -636,7 +636,7 @@ namespace Model * pairs. The value of this property affects the values of * StorageCapacity, Iops, and * ThroughputCapacity. For more information, see High-availability + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs">High-availability * (HA) pairs in the FSx for ONTAP user guide.

    Amazon FSx responds with * an HTTP status code 400 (Bad Request) for the following conditions:

      *
    • The value of HAPairs is less than 1 or greater than 12.

      @@ -653,7 +653,7 @@ namespace Model * pairs. The value of this property affects the values of * StorageCapacity, Iops, and * ThroughputCapacity. For more information, see High-availability + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs">High-availability * (HA) pairs in the FSx for ONTAP user guide.

      Amazon FSx responds with * an HTTP status code 400 (Bad Request) for the following conditions:

        *
      • The value of HAPairs is less than 1 or greater than 12.

        @@ -670,7 +670,7 @@ namespace Model * pairs. The value of this property affects the values of * StorageCapacity, Iops, and * ThroughputCapacity. For more information, see High-availability + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/administering-file-systems.html#HA-pairs">High-availability * (HA) pairs in the FSx for ONTAP user guide.

        Amazon FSx responds with * an HTTP status code 400 (Bad Request) for the following conditions:

          *
        • The value of HAPairs is less than 1 or greater than 12.

          diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemRequest.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemRequest.h index b536d7c7ebe..37d535f4a2c 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemRequest.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemRequest.h @@ -152,7 +152,7 @@ namespace Model * gibibytes (GiB).

          FSx for Lustre file systems - The amount of * storage capacity that you can configure depends on the value that you set for * StorageType and the Lustre DeploymentType, as - * follows:

          • For SCRATCH_2, PERSISTENT_2 + * follows:

            • For SCRATCH_2, PERSISTENT_2, * and PERSISTENT_1 deployment types using SSD storage type, the valid * values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

            • For * PERSISTENT_1 HDD file systems, valid values are increments of 6000 @@ -178,7 +178,7 @@ namespace Model * gibibytes (GiB).

              FSx for Lustre file systems - The amount of * storage capacity that you can configure depends on the value that you set for * StorageType and the Lustre DeploymentType, as - * follows:

              • For SCRATCH_2, PERSISTENT_2 + * follows:

                • For SCRATCH_2, PERSISTENT_2, * and PERSISTENT_1 deployment types using SSD storage type, the valid * values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

                • For * PERSISTENT_1 HDD file systems, valid values are increments of 6000 @@ -204,7 +204,7 @@ namespace Model * gibibytes (GiB).

                  FSx for Lustre file systems - The amount of * storage capacity that you can configure depends on the value that you set for * StorageType and the Lustre DeploymentType, as - * follows:

                  • For SCRATCH_2, PERSISTENT_2 + * follows:

                    • For SCRATCH_2, PERSISTENT_2, * and PERSISTENT_1 deployment types using SSD storage type, the valid * values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

                    • For * PERSISTENT_1 HDD file systems, valid values are increments of 6000 @@ -230,7 +230,7 @@ namespace Model * gibibytes (GiB).

                      FSx for Lustre file systems - The amount of * storage capacity that you can configure depends on the value that you set for * StorageType and the Lustre DeploymentType, as - * follows:

                      • For SCRATCH_2, PERSISTENT_2 + * follows:

                        • For SCRATCH_2, PERSISTENT_2, * and PERSISTENT_1 deployment types using SSD storage type, the valid * values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

                        • For * PERSISTENT_1 HDD file systems, valid values are increments of 6000 @@ -260,7 +260,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

                        Default value is SSD. For more + * types.

                      Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -278,7 +278,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

                    Default value is SSD. For more + * types.

                  Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -296,7 +296,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

                Default value is SSD. For more + * types.

              Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -314,7 +314,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

            Default value is SSD. For more + * types.

          Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -332,7 +332,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

        Default value is SSD. For more + * types.

      Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -350,7 +350,7 @@ namespace Model * HDD to use hard disk drive storage. HDD is supported on * SINGLE_AZ_2 and MULTI_AZ_1 Windows file system * deployment types, and on PERSISTENT_1 Lustre file system deployment - * types.

    Default value is SSD. For more + * types.

Default value is SSD. For more * information, see * Storage type options in the FSx for Windows File Server User Guide @@ -765,130 +765,138 @@ namespace Model /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline const Aws::String& GetFileSystemTypeVersion() const{ return m_fileSystemTypeVersion; } /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline bool FileSystemTypeVersionHasBeenSet() const { return m_fileSystemTypeVersionHasBeenSet; } /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline void SetFileSystemTypeVersion(const Aws::String& value) { m_fileSystemTypeVersionHasBeenSet = true; m_fileSystemTypeVersion = value; } /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline void SetFileSystemTypeVersion(Aws::String&& value) { m_fileSystemTypeVersionHasBeenSet = true; m_fileSystemTypeVersion = std::move(value); } /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline void SetFileSystemTypeVersion(const char* value) { m_fileSystemTypeVersionHasBeenSet = true; m_fileSystemTypeVersion.assign(value); } /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline CreateFileSystemRequest& WithFileSystemTypeVersion(const Aws::String& value) { SetFileSystemTypeVersion(value); return *this;} /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline CreateFileSystemRequest& WithFileSystemTypeVersion(Aws::String&& value) { SetFileSystemTypeVersion(std::move(value)); return *this;} /** - *

(Optional) For FSx for Lustre file systems, sets the Lustre version for the - * file system that you're creating. Valid values are 2.10, - * 2.12, and 2.15:

  • 2.10 is supported by - * the Scratch and Persistent_1 Lustre deployment types.

  • 2.12 and - * 2.15 are supported by all Lustre deployment types. 2.12 or - * 2.15 is required when setting FSx for Lustre - * DeploymentType to PERSISTENT_2.

- *

Default value = 2.10, except when DeploymentType is - * set to PERSISTENT_2, then the default is 2.12.

- *

If you set FileSystemTypeVersion to 2.10 for - * a PERSISTENT_2 Lustre deployment type, the - * CreateFileSystem operation fails.

+ *

For FSx for Lustre file systems, sets the Lustre version for the file system + * that you're creating. Valid values are 2.10, 2.12, and + * 2.15:

  • 2.10 is supported by the + * Scratch and Persistent_1 Lustre deployment types.

  • + * 2.12 is supported by all Lustre deployment types, except for + * PERSISTENT_2 with a metadata configuration mode.

  • + * 2.15 is supported by all Lustre deployment types and is recommended + * for all new file systems.

Default value is 2.10, + * except for the following deployments:

  • Default value is + * 2.12 when DeploymentType is set to + * PERSISTENT_2 without a metadata configuration mode.

  • + *

    Default value is 2.15 when DeploymentType is set to + * PERSISTENT_2 with a metadata configuration mode.

*/ inline CreateFileSystemRequest& WithFileSystemTypeVersion(const char* value) { SetFileSystemTypeVersion(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateOntapVolumeConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateOntapVolumeConfiguration.h index 6650695e2db..67fe258390a 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateOntapVolumeConfiguration.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateOntapVolumeConfiguration.h @@ -105,21 +105,18 @@ namespace Model *

Specifies the security style for the volume. If a volume's security style is * not specified, it is automatically set to the root volume's security style. The * security style determines the type of permissions that FSx for ONTAP uses to - * control data access. For more information, see Volume - * security style in the Amazon FSx for NetApp ONTAP User Guide. Specify - * one of the following values:

For more * information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-types">Volume * types in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline CreateOntapVolumeConfiguration& WithOntapVolumeType(InputOntapVolumeType&& value) { SetOntapVolumeType(std::move(value)); return *this;} @@ -635,7 +617,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline const VolumeStyle& GetVolumeStyle() const{ return m_volumeStyle; } @@ -644,7 +626,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline bool VolumeStyleHasBeenSet() const { return m_volumeStyleHasBeenSet; } @@ -653,7 +635,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline void SetVolumeStyle(const VolumeStyle& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = value; } @@ -662,7 +644,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline void SetVolumeStyle(VolumeStyle&& value) { m_volumeStyleHasBeenSet = true; m_volumeStyle = std::move(value); } @@ -671,7 +653,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline CreateOntapVolumeConfiguration& WithVolumeStyle(const VolumeStyle& value) { SetVolumeStyle(value); return *this;} @@ -680,7 +662,7 @@ namespace Model *

Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles * of volumes that you can use for different purposes, FlexVol and FlexGroup * volumes. For more information, see Volume + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-volumes.html#volume-styles">Volume * styles in the Amazon FSx for NetApp ONTAP User Guide.

*/ inline CreateOntapVolumeConfiguration& WithVolumeStyle(VolumeStyle&& value) { SetVolumeStyle(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateStorageVirtualMachineRequest.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateStorageVirtualMachineRequest.h index 953511bd744..363ca4d1ae0 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateStorageVirtualMachineRequest.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateStorageVirtualMachineRequest.h @@ -271,8 +271,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

*
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline const StorageVirtualMachineRootVolumeSecurityStyle& GetRootVolumeSecurityStyle() const{ return m_rootVolumeSecurityStyle; } @@ -286,8 +287,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

    *
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline bool RootVolumeSecurityStyleHasBeenSet() const { return m_rootVolumeSecurityStyleHasBeenSet; } @@ -301,8 +303,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

    *
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline void SetRootVolumeSecurityStyle(const StorageVirtualMachineRootVolumeSecurityStyle& value) { m_rootVolumeSecurityStyleHasBeenSet = true; m_rootVolumeSecurityStyle = value; } @@ -316,8 +319,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

    *
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline void SetRootVolumeSecurityStyle(StorageVirtualMachineRootVolumeSecurityStyle&& value) { m_rootVolumeSecurityStyleHasBeenSet = true; m_rootVolumeSecurityStyle = std::move(value); } @@ -331,8 +335,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

    *
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline CreateStorageVirtualMachineRequest& WithRootVolumeSecurityStyle(const StorageVirtualMachineRootVolumeSecurityStyle& value) { SetRootVolumeSecurityStyle(value); return *this;} @@ -346,8 +351,9 @@ namespace Model * accessing the data uses a Microsoft Windows user as the service account.

    *
  • MIXED This is an advanced setting. For more * information, see Volume security - * style in the Amazon FSx for NetApp ONTAP User Guide.

  • + * href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/volume-security-style.html">Volume + * security style in the Amazon FSx for NetApp ONTAP User Guide.

    + *

    */ inline CreateStorageVirtualMachineRequest& WithRootVolumeSecurityStyle(StorageVirtualMachineRootVolumeSecurityStyle&& value) { SetRootVolumeSecurityStyle(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheDataRepositoryAssociation.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheDataRepositoryAssociation.h index c62905b4a3c..fc9866aaac6 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheDataRepositoryAssociation.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheDataRepositoryAssociation.h @@ -186,7 +186,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

    *
    • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

    • *

      If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -203,7 +203,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

      *
      • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

      • *

        If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -220,7 +220,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

        *
        • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

        • *

          If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -237,7 +237,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

          *
          • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

          • *

            If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -254,7 +254,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

            *
            • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

            • *

              If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -271,7 +271,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

              *
              • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

              • *

                If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -288,7 +288,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

                *
                • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

                • *

                  If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format @@ -305,7 +305,7 @@ namespace Model * repository that links to the cache. The path can be in one of two formats:

                  *
                  • If you are not using the DataRepositorySubdirectories * parameter, the path is to an NFS Export directory (or one of its subdirectories) - * in the format nsf://nfs-domain-name/exportpath. You can therefore + * in the format nfs://nfs-domain-name/exportpath. You can therefore * link a single NFS Export to a single data repository association.

                  • *

                    If you are using the DataRepositorySubdirectories parameter, the * path is the domain name of the NFS file system in the format diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileSystemLustreMetadataConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileSystemLustreMetadataConfiguration.h new file mode 100644 index 00000000000..c6725b9a544 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileSystemLustreMetadataConfiguration.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace FSx +{ +namespace Model +{ + + /** + *

                    The Lustre metadata performance configuration of an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. The configuration + * enables the file system to support increasing metadata + * performance.

                    See Also:

                    AWS + * API Reference

                    + */ + class FileSystemLustreMetadataConfiguration + { + public: + AWS_FSX_API FileSystemLustreMetadataConfiguration(); + AWS_FSX_API FileSystemLustreMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API FileSystemLustreMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                    The number of Metadata IOPS provisioned for the file system. Valid values are + * 1500, 3000, 6000, 12000, and + * multiples of 12000 up to a maximum of 192000.

                    + */ + inline int GetIops() const{ return m_iops; } + + /** + *

                    The number of Metadata IOPS provisioned for the file system. Valid values are + * 1500, 3000, 6000, 12000, and + * multiples of 12000 up to a maximum of 192000.

                    + */ + inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } + + /** + *

                    The number of Metadata IOPS provisioned for the file system. Valid values are + * 1500, 3000, 6000, 12000, and + * multiples of 12000 up to a maximum of 192000.

                    + */ + inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } + + /** + *

                    The number of Metadata IOPS provisioned for the file system. Valid values are + * 1500, 3000, 6000, 12000, and + * multiples of 12000 up to a maximum of 192000.

                    + */ + inline FileSystemLustreMetadataConfiguration& WithIops(int value) { SetIops(value); return *this;} + + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline const MetadataConfigurationMode& GetMode() const{ return m_mode; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline void SetMode(const MetadataConfigurationMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline void SetMode(MetadataConfigurationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline FileSystemLustreMetadataConfiguration& WithMode(const MetadataConfigurationMode& value) { SetMode(value); return *this;} + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for the file + * system.

                    • In AUTOMATIC mode, FSx for Lustre automatically + * provisions and scales the number of Metadata IOPS on your file system based on + * your file system storage capacity.

                    • In USER_PROVISIONED mode, + * you can choose to specify the number of Metadata IOPS to provision for your file + * system.

                    + */ + inline FileSystemLustreMetadataConfiguration& WithMode(MetadataConfigurationMode&& value) { SetMode(std::move(value)); return *this;} + + private: + + int m_iops; + bool m_iopsHasBeenSet = false; + + MetadataConfigurationMode m_mode; + bool m_modeHasBeenSet = false; + }; + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/LustreFileSystemConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/LustreFileSystemConfiguration.h index 01bff990065..2e31649d250 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/LustreFileSystemConfiguration.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/LustreFileSystemConfiguration.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -653,6 +654,43 @@ namespace Model */ inline LustreFileSystemConfiguration& WithRootSquashConfiguration(LustreRootSquashConfiguration&& value) { SetRootSquashConfiguration(std::move(value)); return *this;} + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline const FileSystemLustreMetadataConfiguration& GetMetadataConfiguration() const{ return m_metadataConfiguration; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline void SetMetadataConfiguration(const FileSystemLustreMetadataConfiguration& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = value; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline void SetMetadataConfiguration(FileSystemLustreMetadataConfiguration&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::move(value); } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline LustreFileSystemConfiguration& WithMetadataConfiguration(const FileSystemLustreMetadataConfiguration& value) { SetMetadataConfiguration(value); return *this;} + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type.

                    + */ + inline LustreFileSystemConfiguration& WithMetadataConfiguration(FileSystemLustreMetadataConfiguration&& value) { SetMetadataConfiguration(std::move(value)); return *this;} + private: Aws::String m_weeklyMaintenanceStartTime; @@ -690,6 +728,9 @@ namespace Model LustreRootSquashConfiguration m_rootSquashConfiguration; bool m_rootSquashConfigurationHasBeenSet = false; + + FileSystemLustreMetadataConfiguration m_metadataConfiguration; + bool m_metadataConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/MetadataConfigurationMode.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/MetadataConfigurationMode.h new file mode 100644 index 00000000000..21c9edd282f --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/MetadataConfigurationMode.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace FSx +{ +namespace Model +{ + enum class MetadataConfigurationMode + { + NOT_SET, + AUTOMATIC, + USER_PROVISIONED + }; + +namespace MetadataConfigurationModeMapper +{ +AWS_FSX_API MetadataConfigurationMode GetMetadataConfigurationModeForName(const Aws::String& name); + +AWS_FSX_API Aws::String GetNameForMetadataConfigurationMode(MetadataConfigurationMode value); +} // namespace MetadataConfigurationModeMapper +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/SelfManagedActiveDirectoryConfigurationUpdates.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/SelfManagedActiveDirectoryConfigurationUpdates.h index b927928324e..6394960ef1a 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/SelfManagedActiveDirectoryConfigurationUpdates.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/SelfManagedActiveDirectoryConfigurationUpdates.h @@ -26,8 +26,8 @@ namespace Model /** *

                    Specifies changes you are making to the self-managed Microsoft Active - * Directory (AD) configuration to which an FSx for Windows File Server file system - * or an FSx for ONTAP SVM is joined.

                    See Also:

                    See Also:

                    AWS * API Reference

                    */ @@ -42,332 +42,340 @@ namespace Model /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline const Aws::String& GetUserName() const{ return m_userName; } /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; } /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; } /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); } /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); } /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(const Aws::String& value) { SetUserName(value); return *this;} /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;} /** *

                    Specifies the updated user name for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    This account must have the permissions required to join computers - * to the domain in the organizational unit provided in - * OrganizationalUnitDistinguishedName.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    This account must have the + * permissions required to join computers to the domain in the organizational unit + * provided in OrganizationalUnitDistinguishedName.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithUserName(const char* value) { SetUserName(value); return *this;} /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline const Aws::String& GetPassword() const{ return m_password; } /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *

                    Specifies the updated password for the service account on your self-managed - * AD domain. Amazon FSx uses this account to join to your self-managed AD - * domain.

                    + * Active Directory domain. Amazon FSx uses this account to join to your + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithPassword(const char* value) { SetPassword(value); return *this;} /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline const Aws::Vector& GetDnsIps() const{ return m_dnsIps; } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline bool DnsIpsHasBeenSet() const { return m_dnsIpsHasBeenSet; } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline void SetDnsIps(const Aws::Vector& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = value; } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline void SetDnsIps(Aws::Vector&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps = std::move(value); } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDnsIps(const Aws::Vector& value) { SetDnsIps(value); return *this;} /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDnsIps(Aws::Vector&& value) { SetDnsIps(std::move(value)); return *this;} /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(const Aws::String& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(Aws::String&& value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(std::move(value)); return *this; } /** *

                    A list of up to three DNS server or domain controller IP addresses in your - * self-managed AD domain.

                    + * self-managed Active Directory domain.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& AddDnsIps(const char* value) { m_dnsIpsHasBeenSet = true; m_dnsIps.push_back(value); return *this; } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** - *

                    Specifies an updated fully qualified domain name of your self-managed AD - * configuration.

                    + *

                    Specifies an updated fully qualified domain name of your self-managed Active + * Directory configuration.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline const Aws::String& GetOrganizationalUnitDistinguishedName() const{ return m_organizationalUnitDistinguishedName; } /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline bool OrganizationalUnitDistinguishedNameHasBeenSet() const { return m_organizationalUnitDistinguishedNameHasBeenSet; } /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline void SetOrganizationalUnitDistinguishedName(const Aws::String& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = value; } /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline void SetOrganizationalUnitDistinguishedName(Aws::String&& value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName = std::move(value); } /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline void SetOrganizationalUnitDistinguishedName(const char* value) { m_organizationalUnitDistinguishedNameHasBeenSet = true; m_organizationalUnitDistinguishedName.assign(value); } /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(const Aws::String& value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(Aws::String&& value) { SetOrganizationalUnitDistinguishedName(std::move(value)); return *this;} /** *

                    Specifies an updated fully qualified distinguished name of the organization - * unit within your self-managed AD.

                    + * unit within your self-managed Active Directory.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithOrganizationalUnitDistinguishedName(const char* value) { SetOrganizationalUnitDistinguishedName(value); return *this;} /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline const Aws::String& GetFileSystemAdministratorsGroup() const{ return m_fileSystemAdministratorsGroup; } /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline bool FileSystemAdministratorsGroupHasBeenSet() const { return m_fileSystemAdministratorsGroupHasBeenSet; } /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline void SetFileSystemAdministratorsGroup(const Aws::String& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = value; } /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline void SetFileSystemAdministratorsGroup(Aws::String&& value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup = std::move(value); } /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline void SetFileSystemAdministratorsGroup(const char* value) { m_fileSystemAdministratorsGroupHasBeenSet = true; m_fileSystemAdministratorsGroup.assign(value); } /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(const Aws::String& value) { SetFileSystemAdministratorsGroup(value); return *this;} /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(Aws::String&& value) { SetFileSystemAdministratorsGroup(std::move(value)); return *this;} /** - *

                    Specifies the updated name of the self-managed AD domain group whose members - * are granted administrative privileges for the Amazon FSx resource.

                    + *

                    For FSx for ONTAP file systems only - Specifies the updated name of the + * self-managed Active Directory domain group whose members are granted + * administrative privileges for the Amazon FSx resource.

                    */ inline SelfManagedActiveDirectoryConfigurationUpdates& WithFileSystemAdministratorsGroup(const char* value) { SetFileSystemAdministratorsGroup(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreConfiguration.h index a5042837b1d..7d41dadca84 100644 --- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreConfiguration.h +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreConfiguration.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -525,6 +526,55 @@ namespace Model */ inline UpdateFileSystemLustreConfiguration& WithPerUnitStorageThroughput(int value) { SetPerUnitStorageThroughput(value); return *this;} + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline const UpdateFileSystemLustreMetadataConfiguration& GetMetadataConfiguration() const{ return m_metadataConfiguration; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline bool MetadataConfigurationHasBeenSet() const { return m_metadataConfigurationHasBeenSet; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline void SetMetadataConfiguration(const UpdateFileSystemLustreMetadataConfiguration& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = value; } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline void SetMetadataConfiguration(UpdateFileSystemLustreMetadataConfiguration&& value) { m_metadataConfigurationHasBeenSet = true; m_metadataConfiguration = std::move(value); } + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline UpdateFileSystemLustreConfiguration& WithMetadataConfiguration(const UpdateFileSystemLustreMetadataConfiguration& value) { SetMetadataConfiguration(value); return *this;} + + /** + *

                    The Lustre metadata performance configuration for an Amazon FSx for Lustre + * file system using a PERSISTENT_2 deployment type. When this + * configuration is enabled, the file system supports increasing metadata + * performance.

                    + */ + inline UpdateFileSystemLustreConfiguration& WithMetadataConfiguration(UpdateFileSystemLustreMetadataConfiguration&& value) { SetMetadataConfiguration(std::move(value)); return *this;} + private: Aws::String m_weeklyMaintenanceStartTime; @@ -550,6 +600,9 @@ namespace Model int m_perUnitStorageThroughput; bool m_perUnitStorageThroughputHasBeenSet = false; + + UpdateFileSystemLustreMetadataConfiguration m_metadataConfiguration; + bool m_metadataConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreMetadataConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreMetadataConfiguration.h new file mode 100644 index 00000000000..85397423f03 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemLustreMetadataConfiguration.h @@ -0,0 +1,194 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace FSx +{ +namespace Model +{ + + /** + *

                    The Lustre metadata performance configuration update for an Amazon FSx for + * Lustre file system using a PERSISTENT_2 deployment type. You can + * request an increase in your file system's Metadata IOPS and/or switch your file + * system's metadata configuration mode. For more information, see Managing + * metadata performance in the Amazon FSx for Lustre User + * Guide.

                    See Also:

                    AWS + * API Reference

                    + */ + class UpdateFileSystemLustreMetadataConfiguration + { + public: + AWS_FSX_API UpdateFileSystemLustreMetadataConfiguration(); + AWS_FSX_API UpdateFileSystemLustreMetadataConfiguration(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API UpdateFileSystemLustreMetadataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for your file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

                    The value you + * provide must be greater than or equal to the current number of Metadata IOPS + * provisioned for the file system.

                    + */ + inline int GetIops() const{ return m_iops; } + + /** + *

                    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for your file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

                    The value you + * provide must be greater than or equal to the current number of Metadata IOPS + * provisioned for the file system.

                    + */ + inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } + + /** + *

                    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for your file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

                    The value you + * provide must be greater than or equal to the current number of Metadata IOPS + * provisioned for the file system.

                    + */ + inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } + + /** + *

                    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to + * provision for your file system. Valid values are 1500, + * 3000, 6000, 12000, and multiples of + * 12000 up to a maximum of 192000.

                    The value you + * provide must be greater than or equal to the current number of Metadata IOPS + * provisioned for the file system.

                    + */ + inline UpdateFileSystemLustreMetadataConfiguration& WithIops(int value) { SetIops(value); return *this;} + + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline const MetadataConfigurationMode& GetMode() const{ return m_mode; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline void SetMode(const MetadataConfigurationMode& value) { m_modeHasBeenSet = true; m_mode = value; } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline void SetMode(MetadataConfigurationMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); } + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline UpdateFileSystemLustreMetadataConfiguration& WithMode(const MetadataConfigurationMode& value) { SetMode(value); return *this;} + + /** + *

                    The metadata configuration mode for provisioning Metadata IOPS for an FSx for + * Lustre file system using a PERSISTENT_2 deployment type.

                      + *
                    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify + * USER_PROVISIONED as the value for this parameter. Then use the Iops + * parameter to provide a Metadata IOPS value that is greater than or equal to the + * current number of Metadata IOPS provisioned for the file system.

                    • + *

                      To switch from USER_PROVISIONED mode, specify AUTOMATIC as the + * value for this parameter, but do not input a value for Iops.

                      If + * you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current + * Metadata IOPS value is greater than the automated default, FSx for Lustre + * rejects the request because downscaling Metadata IOPS is not supported.

                      + *
                    + */ + inline UpdateFileSystemLustreMetadataConfiguration& WithMode(MetadataConfigurationMode&& value) { SetMode(std::move(value)); return *this;} + + private: + + int m_iops; + bool m_iopsHasBeenSet = false; + + MetadataConfigurationMode m_mode; + bool m_modeHasBeenSet = false; + }; + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreConfiguration.cpp index 1892bc624f2..585a8f9f143 100644 --- a/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreConfiguration.cpp @@ -40,7 +40,8 @@ CreateFileSystemLustreConfiguration::CreateFileSystemLustreConfiguration() : m_dataCompressionType(DataCompressionType::NOT_SET), m_dataCompressionTypeHasBeenSet(false), m_logConfigurationHasBeenSet(false), - m_rootSquashConfigurationHasBeenSet(false) + m_rootSquashConfigurationHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { } @@ -66,7 +67,8 @@ CreateFileSystemLustreConfiguration::CreateFileSystemLustreConfiguration(JsonVie m_dataCompressionType(DataCompressionType::NOT_SET), m_dataCompressionTypeHasBeenSet(false), m_logConfigurationHasBeenSet(false), - m_rootSquashConfigurationHasBeenSet(false) + m_rootSquashConfigurationHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -171,6 +173,13 @@ CreateFileSystemLustreConfiguration& CreateFileSystemLustreConfiguration::operat m_rootSquashConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("MetadataConfiguration")) + { + m_metadataConfiguration = jsonValue.GetObject("MetadataConfiguration"); + + m_metadataConfigurationHasBeenSet = true; + } + return *this; } @@ -258,6 +267,12 @@ JsonValue CreateFileSystemLustreConfiguration::Jsonize() const } + if(m_metadataConfigurationHasBeenSet) + { + payload.WithObject("MetadataConfiguration", m_metadataConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreMetadataConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreMetadataConfiguration.cpp new file mode 100644 index 00000000000..7cf438d3870 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/source/model/CreateFileSystemLustreMetadataConfiguration.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace FSx +{ +namespace Model +{ + +CreateFileSystemLustreMetadataConfiguration::CreateFileSystemLustreMetadataConfiguration() : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ +} + +CreateFileSystemLustreMetadataConfiguration::CreateFileSystemLustreMetadataConfiguration(JsonView jsonValue) : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ + *this = jsonValue; +} + +CreateFileSystemLustreMetadataConfiguration& CreateFileSystemLustreMetadataConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Iops")) + { + m_iops = jsonValue.GetInteger("Iops"); + + m_iopsHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mode")) + { + m_mode = MetadataConfigurationModeMapper::GetMetadataConfigurationModeForName(jsonValue.GetString("Mode")); + + m_modeHasBeenSet = true; + } + + return *this; +} + +JsonValue CreateFileSystemLustreMetadataConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_iopsHasBeenSet) + { + payload.WithInteger("Iops", m_iops); + + } + + if(m_modeHasBeenSet) + { + payload.WithString("Mode", MetadataConfigurationModeMapper::GetNameForMetadataConfigurationMode(m_mode)); + } + + return payload; +} + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/FileSystemLustreMetadataConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/FileSystemLustreMetadataConfiguration.cpp new file mode 100644 index 00000000000..d63a93bc2cc --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/source/model/FileSystemLustreMetadataConfiguration.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace FSx +{ +namespace Model +{ + +FileSystemLustreMetadataConfiguration::FileSystemLustreMetadataConfiguration() : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ +} + +FileSystemLustreMetadataConfiguration::FileSystemLustreMetadataConfiguration(JsonView jsonValue) : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ + *this = jsonValue; +} + +FileSystemLustreMetadataConfiguration& FileSystemLustreMetadataConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Iops")) + { + m_iops = jsonValue.GetInteger("Iops"); + + m_iopsHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mode")) + { + m_mode = MetadataConfigurationModeMapper::GetMetadataConfigurationModeForName(jsonValue.GetString("Mode")); + + m_modeHasBeenSet = true; + } + + return *this; +} + +JsonValue FileSystemLustreMetadataConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_iopsHasBeenSet) + { + payload.WithInteger("Iops", m_iops); + + } + + if(m_modeHasBeenSet) + { + payload.WithString("Mode", MetadataConfigurationModeMapper::GetNameForMetadataConfigurationMode(m_mode)); + } + + return payload; +} + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/LustreFileSystemConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/LustreFileSystemConfiguration.cpp index 9619651f03d..c3f9c8bd0e6 100644 --- a/generated/src/aws-cpp-sdk-fsx/source/model/LustreFileSystemConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-fsx/source/model/LustreFileSystemConfiguration.cpp @@ -36,7 +36,8 @@ LustreFileSystemConfiguration::LustreFileSystemConfiguration() : m_dataCompressionType(DataCompressionType::NOT_SET), m_dataCompressionTypeHasBeenSet(false), m_logConfigurationHasBeenSet(false), - m_rootSquashConfigurationHasBeenSet(false) + m_rootSquashConfigurationHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { } @@ -58,7 +59,8 @@ LustreFileSystemConfiguration::LustreFileSystemConfiguration(JsonView jsonValue) m_dataCompressionType(DataCompressionType::NOT_SET), m_dataCompressionTypeHasBeenSet(false), m_logConfigurationHasBeenSet(false), - m_rootSquashConfigurationHasBeenSet(false) + m_rootSquashConfigurationHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -149,6 +151,13 @@ LustreFileSystemConfiguration& LustreFileSystemConfiguration::operator =(JsonVie m_rootSquashConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("MetadataConfiguration")) + { + m_metadataConfiguration = jsonValue.GetObject("MetadataConfiguration"); + + m_metadataConfigurationHasBeenSet = true; + } + return *this; } @@ -225,6 +234,12 @@ JsonValue LustreFileSystemConfiguration::Jsonize() const } + if(m_metadataConfigurationHasBeenSet) + { + payload.WithObject("MetadataConfiguration", m_metadataConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/MetadataConfigurationMode.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/MetadataConfigurationMode.cpp new file mode 100644 index 00000000000..05677d8e915 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/source/model/MetadataConfigurationMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace FSx + { + namespace Model + { + namespace MetadataConfigurationModeMapper + { + + static const int AUTOMATIC_HASH = HashingUtils::HashString("AUTOMATIC"); + static const int USER_PROVISIONED_HASH = HashingUtils::HashString("USER_PROVISIONED"); + + + MetadataConfigurationMode GetMetadataConfigurationModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AUTOMATIC_HASH) + { + return MetadataConfigurationMode::AUTOMATIC; + } + else if (hashCode == USER_PROVISIONED_HASH) + { + return MetadataConfigurationMode::USER_PROVISIONED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return MetadataConfigurationMode::NOT_SET; + } + + Aws::String GetNameForMetadataConfigurationMode(MetadataConfigurationMode enumValue) + { + switch(enumValue) + { + case MetadataConfigurationMode::NOT_SET: + return {}; + case MetadataConfigurationMode::AUTOMATIC: + return "AUTOMATIC"; + case MetadataConfigurationMode::USER_PROVISIONED: + return "USER_PROVISIONED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace MetadataConfigurationModeMapper + } // namespace Model + } // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreConfiguration.cpp index f18ffb33325..8a1bfb12435 100644 --- a/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreConfiguration.cpp @@ -30,7 +30,8 @@ UpdateFileSystemLustreConfiguration::UpdateFileSystemLustreConfiguration() : m_logConfigurationHasBeenSet(false), m_rootSquashConfigurationHasBeenSet(false), m_perUnitStorageThroughput(0), - m_perUnitStorageThroughputHasBeenSet(false) + m_perUnitStorageThroughputHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { } @@ -46,7 +47,8 @@ UpdateFileSystemLustreConfiguration::UpdateFileSystemLustreConfiguration(JsonVie m_logConfigurationHasBeenSet(false), m_rootSquashConfigurationHasBeenSet(false), m_perUnitStorageThroughput(0), - m_perUnitStorageThroughputHasBeenSet(false) + m_perUnitStorageThroughputHasBeenSet(false), + m_metadataConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -109,6 +111,13 @@ UpdateFileSystemLustreConfiguration& UpdateFileSystemLustreConfiguration::operat m_perUnitStorageThroughputHasBeenSet = true; } + if(jsonValue.ValueExists("MetadataConfiguration")) + { + m_metadataConfiguration = jsonValue.GetObject("MetadataConfiguration"); + + m_metadataConfigurationHasBeenSet = true; + } + return *this; } @@ -162,6 +171,12 @@ JsonValue UpdateFileSystemLustreConfiguration::Jsonize() const } + if(m_metadataConfigurationHasBeenSet) + { + payload.WithObject("MetadataConfiguration", m_metadataConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreMetadataConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreMetadataConfiguration.cpp new file mode 100644 index 00000000000..32e5accb8ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemLustreMetadataConfiguration.cpp @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace FSx +{ +namespace Model +{ + +UpdateFileSystemLustreMetadataConfiguration::UpdateFileSystemLustreMetadataConfiguration() : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ +} + +UpdateFileSystemLustreMetadataConfiguration::UpdateFileSystemLustreMetadataConfiguration(JsonView jsonValue) : + m_iops(0), + m_iopsHasBeenSet(false), + m_mode(MetadataConfigurationMode::NOT_SET), + m_modeHasBeenSet(false) +{ + *this = jsonValue; +} + +UpdateFileSystemLustreMetadataConfiguration& UpdateFileSystemLustreMetadataConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Iops")) + { + m_iops = jsonValue.GetInteger("Iops"); + + m_iopsHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mode")) + { + m_mode = MetadataConfigurationModeMapper::GetMetadataConfigurationModeForName(jsonValue.GetString("Mode")); + + m_modeHasBeenSet = true; + } + + return *this; +} + +JsonValue UpdateFileSystemLustreMetadataConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_iopsHasBeenSet) + { + payload.WithInteger("Iops", m_iops); + + } + + if(m_modeHasBeenSet) + { + payload.WithString("Mode", MetadataConfigurationModeMapper::GetNameForMetadataConfigurationMode(m_mode)); + } + + return payload; +} + +} // namespace Model +} // namespace FSx +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableInput.h index 41266cc2ae1..4a1ed8f392a 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableInput.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/TableInput.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include @@ -664,6 +665,43 @@ namespace Model */ inline TableInput& WithTargetTable(TableIdentifier&& value) { SetTargetTable(std::move(value)); return *this;} + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline const ViewDefinitionInput& GetViewDefinition() const{ return m_viewDefinition; } + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline bool ViewDefinitionHasBeenSet() const { return m_viewDefinitionHasBeenSet; } + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline void SetViewDefinition(const ViewDefinitionInput& value) { m_viewDefinitionHasBeenSet = true; m_viewDefinition = value; } + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline void SetViewDefinition(ViewDefinitionInput&& value) { m_viewDefinitionHasBeenSet = true; m_viewDefinition = std::move(value); } + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline TableInput& WithViewDefinition(const ViewDefinitionInput& value) { SetViewDefinition(value); return *this;} + + /** + *

                    A structure that contains all the information that defines the view, + * including the dialect or dialects for the view, and the query.

                    + */ + inline TableInput& WithViewDefinition(ViewDefinitionInput&& value) { SetViewDefinition(std::move(value)); return *this;} + private: Aws::String m_name; @@ -704,6 +742,9 @@ namespace Model TableIdentifier m_targetTable; bool m_targetTableHasBeenSet = false; + + ViewDefinitionInput m_viewDefinition; + bool m_viewDefinitionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableRequest.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableRequest.h index dc07164f929..5d47a76e680 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableRequest.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/UpdateTableRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -280,6 +281,62 @@ namespace Model */ inline UpdateTableRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;} + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline const ViewUpdateAction& GetViewUpdateAction() const{ return m_viewUpdateAction; } + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline bool ViewUpdateActionHasBeenSet() const { return m_viewUpdateActionHasBeenSet; } + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline void SetViewUpdateAction(const ViewUpdateAction& value) { m_viewUpdateActionHasBeenSet = true; m_viewUpdateAction = value; } + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline void SetViewUpdateAction(ViewUpdateAction&& value) { m_viewUpdateActionHasBeenSet = true; m_viewUpdateAction = std::move(value); } + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline UpdateTableRequest& WithViewUpdateAction(const ViewUpdateAction& value) { SetViewUpdateAction(value); return *this;} + + /** + *

                    The operation to be performed when updating the view.

                    + */ + inline UpdateTableRequest& WithViewUpdateAction(ViewUpdateAction&& value) { SetViewUpdateAction(std::move(value)); return *this;} + + + /** + *

                    A flag that can be set to true to ignore matching storage descriptor and + * subobject matching requirements.

                    + */ + inline bool GetForce() const{ return m_force; } + + /** + *

                    A flag that can be set to true to ignore matching storage descriptor and + * subobject matching requirements.

                    + */ + inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; } + + /** + *

                    A flag that can be set to true to ignore matching storage descriptor and + * subobject matching requirements.

                    + */ + inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; } + + /** + *

                    A flag that can be set to true to ignore matching storage descriptor and + * subobject matching requirements.

                    + */ + inline UpdateTableRequest& WithForce(bool value) { SetForce(value); return *this;} + private: Aws::String m_catalogId; @@ -299,6 +356,12 @@ namespace Model Aws::String m_versionId; bool m_versionIdHasBeenSet = false; + + ViewUpdateAction m_viewUpdateAction; + bool m_viewUpdateActionHasBeenSet = false; + + bool m_force; + bool m_forceHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewDefinitionInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewDefinitionInput.h new file mode 100644 index 00000000000..f975fa8668e --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewDefinitionInput.h @@ -0,0 +1,232 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

                    A structure containing details for creating or updating an Glue + * view.

                    See Also:

                    AWS + * API Reference

                    + */ + class ViewDefinitionInput + { + public: + AWS_GLUE_API ViewDefinitionInput(); + AWS_GLUE_API ViewDefinitionInput(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_API ViewDefinitionInput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                    You can set this flag as true to instruct the engine not to push + * user-provided operations into the logical plan of the view during query + * planning. However, setting this flag does not guarantee that the engine will + * comply. Refer to the engine's documentation to understand the guarantees + * provided, if any.

                    + */ + inline bool GetIsProtected() const{ return m_isProtected; } + + /** + *

                    You can set this flag as true to instruct the engine not to push + * user-provided operations into the logical plan of the view during query + * planning. However, setting this flag does not guarantee that the engine will + * comply. Refer to the engine's documentation to understand the guarantees + * provided, if any.

                    + */ + inline bool IsProtectedHasBeenSet() const { return m_isProtectedHasBeenSet; } + + /** + *

                    You can set this flag as true to instruct the engine not to push + * user-provided operations into the logical plan of the view during query + * planning. However, setting this flag does not guarantee that the engine will + * comply. Refer to the engine's documentation to understand the guarantees + * provided, if any.

                    + */ + inline void SetIsProtected(bool value) { m_isProtectedHasBeenSet = true; m_isProtected = value; } + + /** + *

                    You can set this flag as true to instruct the engine not to push + * user-provided operations into the logical plan of the view during query + * planning. However, setting this flag does not guarantee that the engine will + * comply. Refer to the engine's documentation to understand the guarantees + * provided, if any.

                    + */ + inline ViewDefinitionInput& WithIsProtected(bool value) { SetIsProtected(value); return *this;} + + + /** + *

                    The definer of a view in SQL.

                    + */ + inline const Aws::String& GetDefiner() const{ return m_definer; } + + /** + *

                    The definer of a view in SQL.

                    + */ + inline bool DefinerHasBeenSet() const { return m_definerHasBeenSet; } + + /** + *

                    The definer of a view in SQL.

                    + */ + inline void SetDefiner(const Aws::String& value) { m_definerHasBeenSet = true; m_definer = value; } + + /** + *

                    The definer of a view in SQL.

                    + */ + inline void SetDefiner(Aws::String&& value) { m_definerHasBeenSet = true; m_definer = std::move(value); } + + /** + *

                    The definer of a view in SQL.

                    + */ + inline void SetDefiner(const char* value) { m_definerHasBeenSet = true; m_definer.assign(value); } + + /** + *

                    The definer of a view in SQL.

                    + */ + inline ViewDefinitionInput& WithDefiner(const Aws::String& value) { SetDefiner(value); return *this;} + + /** + *

                    The definer of a view in SQL.

                    + */ + inline ViewDefinitionInput& WithDefiner(Aws::String&& value) { SetDefiner(std::move(value)); return *this;} + + /** + *

                    The definer of a view in SQL.

                    + */ + inline ViewDefinitionInput& WithDefiner(const char* value) { SetDefiner(value); return *this;} + + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline const Aws::Vector& GetRepresentations() const{ return m_representations; } + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline bool RepresentationsHasBeenSet() const { return m_representationsHasBeenSet; } + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline void SetRepresentations(const Aws::Vector& value) { m_representationsHasBeenSet = true; m_representations = value; } + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline void SetRepresentations(Aws::Vector&& value) { m_representationsHasBeenSet = true; m_representations = std::move(value); } + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline ViewDefinitionInput& WithRepresentations(const Aws::Vector& value) { SetRepresentations(value); return *this;} + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline ViewDefinitionInput& WithRepresentations(Aws::Vector&& value) { SetRepresentations(std::move(value)); return *this;} + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline ViewDefinitionInput& AddRepresentations(const ViewRepresentationInput& value) { m_representationsHasBeenSet = true; m_representations.push_back(value); return *this; } + + /** + *

                    A list of structures that contains the dialect of the view, and the query + * that defines the view.

                    + */ + inline ViewDefinitionInput& AddRepresentations(ViewRepresentationInput&& value) { m_representationsHasBeenSet = true; m_representations.push_back(std::move(value)); return *this; } + + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline const Aws::Vector& GetSubObjects() const{ return m_subObjects; } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline bool SubObjectsHasBeenSet() const { return m_subObjectsHasBeenSet; } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline void SetSubObjects(const Aws::Vector& value) { m_subObjectsHasBeenSet = true; m_subObjects = value; } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline void SetSubObjects(Aws::Vector&& value) { m_subObjectsHasBeenSet = true; m_subObjects = std::move(value); } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline ViewDefinitionInput& WithSubObjects(const Aws::Vector& value) { SetSubObjects(value); return *this;} + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline ViewDefinitionInput& WithSubObjects(Aws::Vector&& value) { SetSubObjects(std::move(value)); return *this;} + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline ViewDefinitionInput& AddSubObjects(const Aws::String& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline ViewDefinitionInput& AddSubObjects(Aws::String&& value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(std::move(value)); return *this; } + + /** + *

                    A list of base table ARNs that make up the view.

                    + */ + inline ViewDefinitionInput& AddSubObjects(const char* value) { m_subObjectsHasBeenSet = true; m_subObjects.push_back(value); return *this; } + + private: + + bool m_isProtected; + bool m_isProtectedHasBeenSet = false; + + Aws::String m_definer; + bool m_definerHasBeenSet = false; + + Aws::Vector m_representations; + bool m_representationsHasBeenSet = false; + + Aws::Vector m_subObjects; + bool m_subObjectsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentation.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentation.h index 76a8a3b64f1..35ee4718a23 100644 --- a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentation.h +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentation.h @@ -257,6 +257,55 @@ namespace Model inline ViewRepresentation& WithViewExpandedText(const char* value) { SetViewExpandedText(value); return *this;} + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline const Aws::String& GetValidationConnection() const{ return m_validationConnection; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline bool ValidationConnectionHasBeenSet() const { return m_validationConnectionHasBeenSet; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(const Aws::String& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = value; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(Aws::String&& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = std::move(value); } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(const char* value) { m_validationConnectionHasBeenSet = true; m_validationConnection.assign(value); } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentation& WithValidationConnection(const Aws::String& value) { SetValidationConnection(value); return *this;} + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentation& WithValidationConnection(Aws::String&& value) { SetValidationConnection(std::move(value)); return *this;} + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentation& WithValidationConnection(const char* value) { SetValidationConnection(value); return *this;} + + /** *

                    Dialects marked as stale are no longer valid and must be updated before they * can be queried in their respective query engines.

                    @@ -295,6 +344,9 @@ namespace Model Aws::String m_viewExpandedText; bool m_viewExpandedTextHasBeenSet = false; + Aws::String m_validationConnection; + bool m_validationConnectionHasBeenSet = false; + bool m_isStale; bool m_isStaleHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentationInput.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentationInput.h new file mode 100644 index 00000000000..975d6ca65a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewRepresentationInput.h @@ -0,0 +1,280 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Glue +{ +namespace Model +{ + + /** + *

                    A structure containing details of a representation to update or create a Lake + * Formation view.

                    See Also:

                    AWS + * API Reference

                    + */ + class ViewRepresentationInput + { + public: + AWS_GLUE_API ViewRepresentationInput(); + AWS_GLUE_API ViewRepresentationInput(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_API ViewRepresentationInput& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline const ViewDialect& GetDialect() const{ return m_dialect; } + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline bool DialectHasBeenSet() const { return m_dialectHasBeenSet; } + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline void SetDialect(const ViewDialect& value) { m_dialectHasBeenSet = true; m_dialect = value; } + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline void SetDialect(ViewDialect&& value) { m_dialectHasBeenSet = true; m_dialect = std::move(value); } + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline ViewRepresentationInput& WithDialect(const ViewDialect& value) { SetDialect(value); return *this;} + + /** + *

                    A parameter that specifies the engine type of a specific representation.

                    + */ + inline ViewRepresentationInput& WithDialect(ViewDialect&& value) { SetDialect(std::move(value)); return *this;} + + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline const Aws::String& GetDialectVersion() const{ return m_dialectVersion; } + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline bool DialectVersionHasBeenSet() const { return m_dialectVersionHasBeenSet; } + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline void SetDialectVersion(const Aws::String& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = value; } + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline void SetDialectVersion(Aws::String&& value) { m_dialectVersionHasBeenSet = true; m_dialectVersion = std::move(value); } + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline void SetDialectVersion(const char* value) { m_dialectVersionHasBeenSet = true; m_dialectVersion.assign(value); } + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline ViewRepresentationInput& WithDialectVersion(const Aws::String& value) { SetDialectVersion(value); return *this;} + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline ViewRepresentationInput& WithDialectVersion(Aws::String&& value) { SetDialectVersion(std::move(value)); return *this;} + + /** + *

                    A parameter that specifies the version of the engine of a specific + * representation.

                    + */ + inline ViewRepresentationInput& WithDialectVersion(const char* value) { SetDialectVersion(value); return *this;} + + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline const Aws::String& GetViewOriginalText() const{ return m_viewOriginalText; } + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline bool ViewOriginalTextHasBeenSet() const { return m_viewOriginalTextHasBeenSet; } + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline void SetViewOriginalText(const Aws::String& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = value; } + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline void SetViewOriginalText(Aws::String&& value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText = std::move(value); } + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline void SetViewOriginalText(const char* value) { m_viewOriginalTextHasBeenSet = true; m_viewOriginalText.assign(value); } + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline ViewRepresentationInput& WithViewOriginalText(const Aws::String& value) { SetViewOriginalText(value); return *this;} + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline ViewRepresentationInput& WithViewOriginalText(Aws::String&& value) { SetViewOriginalText(std::move(value)); return *this;} + + /** + *

                    A string that represents the original SQL query that describes the view.

                    + */ + inline ViewRepresentationInput& WithViewOriginalText(const char* value) { SetViewOriginalText(value); return *this;} + + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline const Aws::String& GetValidationConnection() const{ return m_validationConnection; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline bool ValidationConnectionHasBeenSet() const { return m_validationConnectionHasBeenSet; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(const Aws::String& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = value; } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(Aws::String&& value) { m_validationConnectionHasBeenSet = true; m_validationConnection = std::move(value); } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline void SetValidationConnection(const char* value) { m_validationConnectionHasBeenSet = true; m_validationConnection.assign(value); } + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentationInput& WithValidationConnection(const Aws::String& value) { SetValidationConnection(value); return *this;} + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentationInput& WithValidationConnection(Aws::String&& value) { SetValidationConnection(std::move(value)); return *this;} + + /** + *

                    The name of the connection to be used to validate the specific representation + * of the view.

                    + */ + inline ViewRepresentationInput& WithValidationConnection(const char* value) { SetValidationConnection(value); return *this;} + + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline const Aws::String& GetViewExpandedText() const{ return m_viewExpandedText; } + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline bool ViewExpandedTextHasBeenSet() const { return m_viewExpandedTextHasBeenSet; } + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline void SetViewExpandedText(const Aws::String& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = value; } + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline void SetViewExpandedText(Aws::String&& value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText = std::move(value); } + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline void SetViewExpandedText(const char* value) { m_viewExpandedTextHasBeenSet = true; m_viewExpandedText.assign(value); } + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline ViewRepresentationInput& WithViewExpandedText(const Aws::String& value) { SetViewExpandedText(value); return *this;} + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline ViewRepresentationInput& WithViewExpandedText(Aws::String&& value) { SetViewExpandedText(std::move(value)); return *this;} + + /** + *

                    A string that represents the SQL query that describes the view with expanded + * resource ARNs

                    + */ + inline ViewRepresentationInput& WithViewExpandedText(const char* value) { SetViewExpandedText(value); return *this;} + + private: + + ViewDialect m_dialect; + bool m_dialectHasBeenSet = false; + + Aws::String m_dialectVersion; + bool m_dialectVersionHasBeenSet = false; + + Aws::String m_viewOriginalText; + bool m_viewOriginalTextHasBeenSet = false; + + Aws::String m_validationConnection; + bool m_validationConnectionHasBeenSet = false; + + Aws::String m_viewExpandedText; + bool m_viewExpandedTextHasBeenSet = false; + }; + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewUpdateAction.h b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewUpdateAction.h new file mode 100644 index 00000000000..ec9e86b6eab --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/include/aws/glue/model/ViewUpdateAction.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + enum class ViewUpdateAction + { + NOT_SET, + ADD, + REPLACE, + ADD_OR_REPLACE, + DROP + }; + +namespace ViewUpdateActionMapper +{ +AWS_GLUE_API ViewUpdateAction GetViewUpdateActionForName(const Aws::String& name); + +AWS_GLUE_API Aws::String GetNameForViewUpdateAction(ViewUpdateAction value); +} // namespace ViewUpdateActionMapper +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/TableInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/TableInput.cpp index 61146cdb65a..b5f4dba2484 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/TableInput.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/TableInput.cpp @@ -32,7 +32,8 @@ TableInput::TableInput() : m_viewExpandedTextHasBeenSet(false), m_tableTypeHasBeenSet(false), m_parametersHasBeenSet(false), - m_targetTableHasBeenSet(false) + m_targetTableHasBeenSet(false), + m_viewDefinitionHasBeenSet(false) { } @@ -50,7 +51,8 @@ TableInput::TableInput(JsonView jsonValue) : m_viewExpandedTextHasBeenSet(false), m_tableTypeHasBeenSet(false), m_parametersHasBeenSet(false), - m_targetTableHasBeenSet(false) + m_targetTableHasBeenSet(false), + m_viewDefinitionHasBeenSet(false) { *this = jsonValue; } @@ -154,6 +156,13 @@ TableInput& TableInput::operator =(JsonView jsonValue) m_targetTableHasBeenSet = true; } + if(jsonValue.ValueExists("ViewDefinition")) + { + m_viewDefinition = jsonValue.GetObject("ViewDefinition"); + + m_viewDefinitionHasBeenSet = true; + } + return *this; } @@ -247,6 +256,12 @@ JsonValue TableInput::Jsonize() const } + if(m_viewDefinitionHasBeenSet) + { + payload.WithObject("ViewDefinition", m_viewDefinition.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableRequest.cpp b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableRequest.cpp index 5279d1617f2..1dfeb85eac3 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableRequest.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/UpdateTableRequest.cpp @@ -19,7 +19,11 @@ UpdateTableRequest::UpdateTableRequest() : m_skipArchive(false), m_skipArchiveHasBeenSet(false), m_transactionIdHasBeenSet(false), - m_versionIdHasBeenSet(false) + m_versionIdHasBeenSet(false), + m_viewUpdateAction(ViewUpdateAction::NOT_SET), + m_viewUpdateActionHasBeenSet(false), + m_force(false), + m_forceHasBeenSet(false) { } @@ -63,6 +67,17 @@ Aws::String UpdateTableRequest::SerializePayload() const } + if(m_viewUpdateActionHasBeenSet) + { + payload.WithString("ViewUpdateAction", ViewUpdateActionMapper::GetNameForViewUpdateAction(m_viewUpdateAction)); + } + + if(m_forceHasBeenSet) + { + payload.WithBool("Force", m_force); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ViewDefinitionInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ViewDefinitionInput.cpp new file mode 100644 index 00000000000..b4175a9f033 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ViewDefinitionInput.cpp @@ -0,0 +1,122 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +ViewDefinitionInput::ViewDefinitionInput() : + m_isProtected(false), + m_isProtectedHasBeenSet(false), + m_definerHasBeenSet(false), + m_representationsHasBeenSet(false), + m_subObjectsHasBeenSet(false) +{ +} + +ViewDefinitionInput::ViewDefinitionInput(JsonView jsonValue) : + m_isProtected(false), + m_isProtectedHasBeenSet(false), + m_definerHasBeenSet(false), + m_representationsHasBeenSet(false), + m_subObjectsHasBeenSet(false) +{ + *this = jsonValue; +} + +ViewDefinitionInput& ViewDefinitionInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("IsProtected")) + { + m_isProtected = jsonValue.GetBool("IsProtected"); + + m_isProtectedHasBeenSet = true; + } + + if(jsonValue.ValueExists("Definer")) + { + m_definer = jsonValue.GetString("Definer"); + + m_definerHasBeenSet = true; + } + + if(jsonValue.ValueExists("Representations")) + { + Aws::Utils::Array representationsJsonList = jsonValue.GetArray("Representations"); + for(unsigned representationsIndex = 0; representationsIndex < representationsJsonList.GetLength(); ++representationsIndex) + { + m_representations.push_back(representationsJsonList[representationsIndex].AsObject()); + } + m_representationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("SubObjects")) + { + Aws::Utils::Array subObjectsJsonList = jsonValue.GetArray("SubObjects"); + for(unsigned subObjectsIndex = 0; subObjectsIndex < subObjectsJsonList.GetLength(); ++subObjectsIndex) + { + m_subObjects.push_back(subObjectsJsonList[subObjectsIndex].AsString()); + } + m_subObjectsHasBeenSet = true; + } + + return *this; +} + +JsonValue ViewDefinitionInput::Jsonize() const +{ + JsonValue payload; + + if(m_isProtectedHasBeenSet) + { + payload.WithBool("IsProtected", m_isProtected); + + } + + if(m_definerHasBeenSet) + { + payload.WithString("Definer", m_definer); + + } + + if(m_representationsHasBeenSet) + { + Aws::Utils::Array representationsJsonList(m_representations.size()); + for(unsigned representationsIndex = 0; representationsIndex < representationsJsonList.GetLength(); ++representationsIndex) + { + representationsJsonList[representationsIndex].AsObject(m_representations[representationsIndex].Jsonize()); + } + payload.WithArray("Representations", std::move(representationsJsonList)); + + } + + if(m_subObjectsHasBeenSet) + { + Aws::Utils::Array subObjectsJsonList(m_subObjects.size()); + for(unsigned subObjectsIndex = 0; subObjectsIndex < subObjectsJsonList.GetLength(); ++subObjectsIndex) + { + subObjectsJsonList[subObjectsIndex].AsString(m_subObjects[subObjectsIndex]); + } + payload.WithArray("SubObjects", std::move(subObjectsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentation.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentation.cpp index 270d171d3c5..0006a019e1b 100644 --- a/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentation.cpp +++ b/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentation.cpp @@ -24,6 +24,7 @@ ViewRepresentation::ViewRepresentation() : m_dialectVersionHasBeenSet(false), m_viewOriginalTextHasBeenSet(false), m_viewExpandedTextHasBeenSet(false), + m_validationConnectionHasBeenSet(false), m_isStale(false), m_isStaleHasBeenSet(false) { @@ -35,6 +36,7 @@ ViewRepresentation::ViewRepresentation(JsonView jsonValue) : m_dialectVersionHasBeenSet(false), m_viewOriginalTextHasBeenSet(false), m_viewExpandedTextHasBeenSet(false), + m_validationConnectionHasBeenSet(false), m_isStale(false), m_isStaleHasBeenSet(false) { @@ -71,6 +73,13 @@ ViewRepresentation& ViewRepresentation::operator =(JsonView jsonValue) m_viewExpandedTextHasBeenSet = true; } + if(jsonValue.ValueExists("ValidationConnection")) + { + m_validationConnection = jsonValue.GetString("ValidationConnection"); + + m_validationConnectionHasBeenSet = true; + } + if(jsonValue.ValueExists("IsStale")) { m_isStale = jsonValue.GetBool("IsStale"); @@ -108,6 +117,12 @@ JsonValue ViewRepresentation::Jsonize() const } + if(m_validationConnectionHasBeenSet) + { + payload.WithString("ValidationConnection", m_validationConnection); + + } + if(m_isStaleHasBeenSet) { payload.WithBool("IsStale", m_isStale); diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentationInput.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentationInput.cpp new file mode 100644 index 00000000000..a2fc2f06b41 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ViewRepresentationInput.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Glue +{ +namespace Model +{ + +ViewRepresentationInput::ViewRepresentationInput() : + m_dialect(ViewDialect::NOT_SET), + m_dialectHasBeenSet(false), + m_dialectVersionHasBeenSet(false), + m_viewOriginalTextHasBeenSet(false), + m_validationConnectionHasBeenSet(false), + m_viewExpandedTextHasBeenSet(false) +{ +} + +ViewRepresentationInput::ViewRepresentationInput(JsonView jsonValue) : + m_dialect(ViewDialect::NOT_SET), + m_dialectHasBeenSet(false), + m_dialectVersionHasBeenSet(false), + m_viewOriginalTextHasBeenSet(false), + m_validationConnectionHasBeenSet(false), + m_viewExpandedTextHasBeenSet(false) +{ + *this = jsonValue; +} + +ViewRepresentationInput& ViewRepresentationInput::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Dialect")) + { + m_dialect = ViewDialectMapper::GetViewDialectForName(jsonValue.GetString("Dialect")); + + m_dialectHasBeenSet = true; + } + + if(jsonValue.ValueExists("DialectVersion")) + { + m_dialectVersion = jsonValue.GetString("DialectVersion"); + + m_dialectVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("ViewOriginalText")) + { + m_viewOriginalText = jsonValue.GetString("ViewOriginalText"); + + m_viewOriginalTextHasBeenSet = true; + } + + if(jsonValue.ValueExists("ValidationConnection")) + { + m_validationConnection = jsonValue.GetString("ValidationConnection"); + + m_validationConnectionHasBeenSet = true; + } + + if(jsonValue.ValueExists("ViewExpandedText")) + { + m_viewExpandedText = jsonValue.GetString("ViewExpandedText"); + + m_viewExpandedTextHasBeenSet = true; + } + + return *this; +} + +JsonValue ViewRepresentationInput::Jsonize() const +{ + JsonValue payload; + + if(m_dialectHasBeenSet) + { + payload.WithString("Dialect", ViewDialectMapper::GetNameForViewDialect(m_dialect)); + } + + if(m_dialectVersionHasBeenSet) + { + payload.WithString("DialectVersion", m_dialectVersion); + + } + + if(m_viewOriginalTextHasBeenSet) + { + payload.WithString("ViewOriginalText", m_viewOriginalText); + + } + + if(m_validationConnectionHasBeenSet) + { + payload.WithString("ValidationConnection", m_validationConnection); + + } + + if(m_viewExpandedTextHasBeenSet) + { + payload.WithString("ViewExpandedText", m_viewExpandedText); + + } + + return payload; +} + +} // namespace Model +} // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-glue/source/model/ViewUpdateAction.cpp b/generated/src/aws-cpp-sdk-glue/source/model/ViewUpdateAction.cpp new file mode 100644 index 00000000000..dfdc87a98e9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-glue/source/model/ViewUpdateAction.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Glue + { + namespace Model + { + namespace ViewUpdateActionMapper + { + + static const int ADD_HASH = HashingUtils::HashString("ADD"); + static const int REPLACE_HASH = HashingUtils::HashString("REPLACE"); + static const int ADD_OR_REPLACE_HASH = HashingUtils::HashString("ADD_OR_REPLACE"); + static const int DROP_HASH = HashingUtils::HashString("DROP"); + + + ViewUpdateAction GetViewUpdateActionForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ADD_HASH) + { + return ViewUpdateAction::ADD; + } + else if (hashCode == REPLACE_HASH) + { + return ViewUpdateAction::REPLACE; + } + else if (hashCode == ADD_OR_REPLACE_HASH) + { + return ViewUpdateAction::ADD_OR_REPLACE; + } + else if (hashCode == DROP_HASH) + { + return ViewUpdateAction::DROP; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ViewUpdateAction::NOT_SET; + } + + Aws::String GetNameForViewUpdateAction(ViewUpdateAction enumValue) + { + switch(enumValue) + { + case ViewUpdateAction::NOT_SET: + return {}; + case ViewUpdateAction::ADD: + return "ADD"; + case ViewUpdateAction::REPLACE: + return "REPLACE"; + case ViewUpdateAction::ADD_OR_REPLACE: + return "ADD_OR_REPLACE"; + case ViewUpdateAction::DROP: + return "DROP"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ViewUpdateActionMapper + } // namespace Model + } // namespace Glue +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/FuotaDeviceStatus.h b/generated/src/aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/FuotaDeviceStatus.h index 8e75e72f277..68c6697e2ea 100644 --- a/generated/src/aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/FuotaDeviceStatus.h +++ b/generated/src/aws-cpp-sdk-iotwireless/include/aws/iotwireless/model/FuotaDeviceStatus.h @@ -26,7 +26,8 @@ namespace Model MissingFrag, MemoryError, MICError, - Successful + Successful, + Device_exist_in_conflict_fuota_task }; namespace FuotaDeviceStatusMapper diff --git a/generated/src/aws-cpp-sdk-iotwireless/source/model/FuotaDeviceStatus.cpp b/generated/src/aws-cpp-sdk-iotwireless/source/model/FuotaDeviceStatus.cpp index 7e8e5939aa9..d78eeae31e9 100644 --- a/generated/src/aws-cpp-sdk-iotwireless/source/model/FuotaDeviceStatus.cpp +++ b/generated/src/aws-cpp-sdk-iotwireless/source/model/FuotaDeviceStatus.cpp @@ -31,6 +31,7 @@ namespace Aws static const int MemoryError_HASH = HashingUtils::HashString("MemoryError"); static const int MICError_HASH = HashingUtils::HashString("MICError"); static const int Successful_HASH = HashingUtils::HashString("Successful"); + static const int Device_exist_in_conflict_fuota_task_HASH = HashingUtils::HashString("Device_exist_in_conflict_fuota_task"); FuotaDeviceStatus GetFuotaDeviceStatusForName(const Aws::String& name) @@ -80,6 +81,10 @@ namespace Aws { return FuotaDeviceStatus::Successful; } + else if (hashCode == Device_exist_in_conflict_fuota_task_HASH) + { + return FuotaDeviceStatus::Device_exist_in_conflict_fuota_task; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -118,6 +123,8 @@ namespace Aws return "MICError"; case FuotaDeviceStatus::Successful: return "Successful"; + case FuotaDeviceStatus::Device_exist_in_conflict_fuota_task: + return "Device_exist_in_conflict_fuota_task"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceClient.h b/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceClient.h index 012e2b496c0..3f885df0f7f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceClient.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceClient.h @@ -926,6 +926,39 @@ namespace LocationService return SubmitAsync(&LocationServiceClient::DisassociateTrackerConsumer, request, handler, context); } + /** + *

                    Evaluates device positions against geofence geometries from a given geofence + * collection. The event forecasts three states for which a device can be in + * relative to a geofence:

                    ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

                    EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

                    IDLE: If a device + * is inside of a geofence, and the device is not moving.

                    See Also:

                    + * AWS + * API Reference

                    + */ + virtual Model::ForecastGeofenceEventsOutcome ForecastGeofenceEvents(const Model::ForecastGeofenceEventsRequest& request) const; + + /** + * A Callable wrapper for ForecastGeofenceEvents that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ForecastGeofenceEventsOutcomeCallable ForecastGeofenceEventsCallable(const ForecastGeofenceEventsRequestT& request) const + { + return SubmitCallable(&LocationServiceClient::ForecastGeofenceEvents, request); + } + + /** + * An Async wrapper for ForecastGeofenceEvents that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ForecastGeofenceEventsAsync(const ForecastGeofenceEventsRequestT& request, const ForecastGeofenceEventsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LocationServiceClient::ForecastGeofenceEvents, request, handler, context); + } + /** *

                    Retrieves a device's most recent position according to its sample time.

                    *

                    Device positions are deleted after 30 days.

                    See @@ -981,8 +1014,9 @@ namespace LocationService } /** - *

                    Retrieves the geofence details from a geofence collection.

                    See - * Also:

                    Retrieves the geofence details from a geofence collection.

                    The + * returned geometry will always match the geometry format used when the geofence + * was created.

                    See Also:

                    AWS * API Reference

                    */ @@ -1746,6 +1780,33 @@ namespace LocationService return SubmitAsync(&LocationServiceClient::UpdateTracker, request, handler, context); } + /** + *

                    Verifies the integrity of the device's position by determining if it was + * reported behind a proxy, and by comparing it to an inferred position estimated + * based on the device's state.

                    See Also:

                    AWS + * API Reference

                    + */ + virtual Model::VerifyDevicePositionOutcome VerifyDevicePosition(const Model::VerifyDevicePositionRequest& request) const; + + /** + * A Callable wrapper for VerifyDevicePosition that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::VerifyDevicePositionOutcomeCallable VerifyDevicePositionCallable(const VerifyDevicePositionRequestT& request) const + { + return SubmitCallable(&LocationServiceClient::VerifyDevicePosition, request); + } + + /** + * An Async wrapper for VerifyDevicePosition that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void VerifyDevicePositionAsync(const VerifyDevicePositionRequestT& request, const VerifyDevicePositionResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&LocationServiceClient::VerifyDevicePosition, request, handler, context); + } + void OverrideEndpoint(const Aws::String& endpoint); std::shared_ptr& accessEndpointProvider(); diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceServiceClientModel.h b/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceServiceClientModel.h index 38ac6cbdc02..5f865832f3b 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/LocationServiceServiceClientModel.h @@ -46,6 +46,7 @@ #include #include #include +#include #include #include #include @@ -76,6 +77,7 @@ #include #include #include +#include /* End of service model headers required in LocationServiceClient header */ namespace Aws @@ -144,6 +146,7 @@ namespace Aws class DescribeRouteCalculatorRequest; class DescribeTrackerRequest; class DisassociateTrackerConsumerRequest; + class ForecastGeofenceEventsRequest; class GetDevicePositionRequest; class GetDevicePositionHistoryRequest; class GetGeofenceRequest; @@ -174,6 +177,7 @@ namespace Aws class UpdatePlaceIndexRequest; class UpdateRouteCalculatorRequest; class UpdateTrackerRequest; + class VerifyDevicePositionRequest; /* End of service model forward declarations required in LocationServiceClient header */ /* Service model Outcome class definitions */ @@ -205,6 +209,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeRouteCalculatorOutcome; typedef Aws::Utils::Outcome DescribeTrackerOutcome; typedef Aws::Utils::Outcome DisassociateTrackerConsumerOutcome; + typedef Aws::Utils::Outcome ForecastGeofenceEventsOutcome; typedef Aws::Utils::Outcome GetDevicePositionOutcome; typedef Aws::Utils::Outcome GetDevicePositionHistoryOutcome; typedef Aws::Utils::Outcome GetGeofenceOutcome; @@ -235,6 +240,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdatePlaceIndexOutcome; typedef Aws::Utils::Outcome UpdateRouteCalculatorOutcome; typedef Aws::Utils::Outcome UpdateTrackerOutcome; + typedef Aws::Utils::Outcome VerifyDevicePositionOutcome; /* End of service model Outcome class definitions */ /* Service model Outcome callable definitions */ @@ -266,6 +272,7 @@ namespace Aws typedef std::future DescribeRouteCalculatorOutcomeCallable; typedef std::future DescribeTrackerOutcomeCallable; typedef std::future DisassociateTrackerConsumerOutcomeCallable; + typedef std::future ForecastGeofenceEventsOutcomeCallable; typedef std::future GetDevicePositionOutcomeCallable; typedef std::future GetDevicePositionHistoryOutcomeCallable; typedef std::future GetGeofenceOutcomeCallable; @@ -296,6 +303,7 @@ namespace Aws typedef std::future UpdatePlaceIndexOutcomeCallable; typedef std::future UpdateRouteCalculatorOutcomeCallable; typedef std::future UpdateTrackerOutcomeCallable; + typedef std::future VerifyDevicePositionOutcomeCallable; /* End of service model Outcome callable definitions */ } // namespace Model @@ -330,6 +338,7 @@ namespace Aws typedef std::function&) > DescribeRouteCalculatorResponseReceivedHandler; typedef std::function&) > DescribeTrackerResponseReceivedHandler; typedef std::function&) > DisassociateTrackerConsumerResponseReceivedHandler; + typedef std::function&) > ForecastGeofenceEventsResponseReceivedHandler; typedef std::function&) > GetDevicePositionResponseReceivedHandler; typedef std::function&) > GetDevicePositionHistoryResponseReceivedHandler; typedef std::function&) > GetGeofenceResponseReceivedHandler; @@ -360,6 +369,7 @@ namespace Aws typedef std::function&) > UpdatePlaceIndexResponseReceivedHandler; typedef std::function&) > UpdateRouteCalculatorResponseReceivedHandler; typedef std::function&) > UpdateTrackerResponseReceivedHandler; + typedef std::function&) > VerifyDevicePositionResponseReceivedHandler; /* End of service model async handlers definitions */ } // namespace LocationService } // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h index 41a1c79f200..d8168527573 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ApiKeyRestrictions.h @@ -256,142 +256,6 @@ namespace Model inline ApiKeyRestrictions& AddAllowActions(const char* value) { m_allowActionsHasBeenSet = true; m_allowActions.push_back(value); return *this; } - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline const Aws::Vector& GetAllowReferers() const{ return m_allowReferers; } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline bool AllowReferersHasBeenSet() const { return m_allowReferersHasBeenSet; } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline void SetAllowReferers(const Aws::Vector& value) { m_allowReferersHasBeenSet = true; m_allowReferers = value; } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline void SetAllowReferers(Aws::Vector&& value) { m_allowReferersHasBeenSet = true; m_allowReferers = std::move(value); } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline ApiKeyRestrictions& WithAllowReferers(const Aws::Vector& value) { SetAllowReferers(value); return *this;} - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline ApiKeyRestrictions& WithAllowReferers(Aws::Vector&& value) { SetAllowReferers(std::move(value)); return *this;} - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline ApiKeyRestrictions& AddAllowReferers(const Aws::String& value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(value); return *this; } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline ApiKeyRestrictions& AddAllowReferers(Aws::String&& value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(std::move(value)); return *this; } - - /** - *

                    An optional list of allowed HTTP referers for which requests must originate - * from. Requests using this API key from other domains will not be allowed.

                    - *

                    Requirements:

                    • Contain only alphanumeric characters (A–Z, - * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                      - *
                    • May contain a percent (%) if followed by 2 hexadecimal digits - * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                    • May - * contain wildcard characters question mark (?) and asterisk (*).

                      Question - * mark (?) will replace any single character (including hexadecimal digits).

                      - *

                      Asterisk (*) will replace any multiple characters (including multiple - * hexadecimal digits).

                    • No spaces allowed. For example, - * https://example.com.

                    - */ - inline ApiKeyRestrictions& AddAllowReferers(const char* value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(value); return *this; } - - /** *

                    A list of allowed resource ARNs that a API key bearer can perform actions * on.

                    • The ARN must be the correct ARN for a map, place, or route @@ -554,16 +418,152 @@ namespace Model */ inline ApiKeyRestrictions& AddAllowResources(const char* value) { m_allowResourcesHasBeenSet = true; m_allowResources.push_back(value); return *this; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline const Aws::Vector& GetAllowReferers() const{ return m_allowReferers; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline bool AllowReferersHasBeenSet() const { return m_allowReferersHasBeenSet; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline void SetAllowReferers(const Aws::Vector& value) { m_allowReferersHasBeenSet = true; m_allowReferers = value; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline void SetAllowReferers(Aws::Vector&& value) { m_allowReferersHasBeenSet = true; m_allowReferers = std::move(value); } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline ApiKeyRestrictions& WithAllowReferers(const Aws::Vector& value) { SetAllowReferers(value); return *this;} + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline ApiKeyRestrictions& WithAllowReferers(Aws::Vector&& value) { SetAllowReferers(std::move(value)); return *this;} + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline ApiKeyRestrictions& AddAllowReferers(const Aws::String& value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(value); return *this; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline ApiKeyRestrictions& AddAllowReferers(Aws::String&& value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(std::move(value)); return *this; } + + /** + *

                      An optional list of allowed HTTP referers for which requests must originate + * from. Requests using this API key from other domains will not be allowed.

                      + *

                      Requirements:

                      • Contain only alphanumeric characters (A–Z, + * a–z, 0–9) or any symbols in this list $\-._+!*`(),;/?:@=&

                        + *
                      • May contain a percent (%) if followed by 2 hexadecimal digits + * (A-F, a-f, 0-9); this is used for URL encoding purposes.

                      • May + * contain wildcard characters question mark (?) and asterisk (*).

                        Question + * mark (?) will replace any single character (including hexadecimal digits).

                        + *

                        Asterisk (*) will replace any multiple characters (including multiple + * hexadecimal digits).

                      • No spaces allowed. For example, + * https://example.com.

                      + */ + inline ApiKeyRestrictions& AddAllowReferers(const char* value) { m_allowReferersHasBeenSet = true; m_allowReferers.push_back(value); return *this; } + private: Aws::Vector m_allowActions; bool m_allowActionsHasBeenSet = false; - Aws::Vector m_allowReferers; - bool m_allowReferersHasBeenSet = false; - Aws::Vector m_allowResources; bool m_allowResourcesHasBeenSet = false; + + Aws::Vector m_allowReferers; + bool m_allowReferersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/AssociateTrackerConsumerRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/AssociateTrackerConsumerRequest.h index 0dde67982b8..18c138b8cbe 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/AssociateTrackerConsumerRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/AssociateTrackerConsumerRequest.h @@ -32,6 +32,55 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline AssociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline AssociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

                      The name of the tracker resource to be associated with a geofence + * collection.

                      + */ + inline AssociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

                      The Amazon Resource Name (ARN) for the geofence collection to be associated * to tracker resource. Used when you need to specify a resource across all Amazon @@ -104,62 +153,13 @@ namespace Model */ inline AssociateTrackerConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;} - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline AssociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline AssociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

                      The name of the tracker resource to be associated with a geofence - * collection.

                      - */ - inline AssociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - private: - Aws::String m_consumerArn; - bool m_consumerArnHasBeenSet = false; - Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; + + Aws::String m_consumerArn; + bool m_consumerArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteDevicePositionHistoryRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteDevicePositionHistoryRequest.h index 530efd376f4..6a38d03ee10 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteDevicePositionHistoryRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteDevicePositionHistoryRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -33,6 +33,55 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

                      The name of the tracker resource to delete the device position history + * from.

                      + */ + inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

                      Devices whose position history you want to delete.

                      • For * example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

                        @@ -96,62 +145,13 @@ namespace Model */ inline BatchDeleteDevicePositionHistoryRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

                        The name of the tracker resource to delete the device position history - * from.

                        - */ - inline BatchDeleteDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - private: - Aws::Vector m_deviceIds; - bool m_deviceIdsHasBeenSet = false; - Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; + + Aws::Vector m_deviceIds; + bool m_deviceIdsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteGeofenceError.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteGeofenceError.h index d629aae867b..8d2c81f97e1 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteGeofenceError.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchDeleteGeofenceError.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,83 +40,83 @@ namespace Model /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline const BatchItemError& GetError() const{ return m_error; } + inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline BatchDeleteGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;} + inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** - *

                        Contains details associated to the batch error.

                        + *

                        The geofence associated with the error message.

                        */ - inline BatchDeleteGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} - + inline BatchDeleteGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

                        The geofence associated with the error message.

                        */ - inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } + inline BatchDeleteGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

                        The geofence associated with the error message.

                        */ - inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } + inline BatchDeleteGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } + inline const BatchItemError& GetError() const{ return m_error; } /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } + inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline BatchDeleteGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} + inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline BatchDeleteGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} + inline BatchDeleteGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;} /** - *

                        The geofence associated with the error message.

                        + *

                        Contains details associated to the batch error.

                        */ - inline BatchDeleteGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + inline BatchDeleteGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} private: - BatchItemError m_error; - bool m_errorHasBeenSet = false; - Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; + + BatchItemError m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchEvaluateGeofencesError.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchEvaluateGeofencesError.h index dc1c5e21470..87c27b0ba68 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchEvaluateGeofencesError.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchEvaluateGeofencesError.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -82,37 +82,6 @@ namespace Model inline BatchEvaluateGeofencesError& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} - /** - *

                        Contains details associated to the batch error.

                        - */ - inline const BatchItemError& GetError() const{ return m_error; } - - /** - *

                        Contains details associated to the batch error.

                        - */ - inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } - - /** - *

                        Contains details associated to the batch error.

                        - */ - inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } - - /** - *

                        Contains details associated to the batch error.

                        - */ - inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } - - /** - *

                        Contains details associated to the batch error.

                        - */ - inline BatchEvaluateGeofencesError& WithError(const BatchItemError& value) { SetError(value); return *this;} - - /** - *

                        Contains details associated to the batch error.

                        - */ - inline BatchEvaluateGeofencesError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} - - /** *

                        Specifies a timestamp for when the error occurred in ISO 8601 @@ -155,16 +124,47 @@ namespace Model */ inline BatchEvaluateGeofencesError& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline const BatchItemError& GetError() const{ return m_error; } + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline BatchEvaluateGeofencesError& WithError(const BatchItemError& value) { SetError(value); return *this;} + + /** + *

                        Contains details associated to the batch error.

                        + */ + inline BatchEvaluateGeofencesError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} + private: Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; - BatchItemError m_error; - bool m_errorHasBeenSet = false; - Aws::Utils::DateTime m_sampleTime; bool m_sampleTimeHasBeenSet = false; + + BatchItemError m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionRequest.h index 061724fbc2c..a87b408f42a 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -33,6 +33,47 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline BatchGetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline BatchGetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

                        The tracker resource retrieving the device position.

                        + */ + inline BatchGetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

                        Devices whose position you want to retrieve.

                        • For example, * for two devices: device-ids=DeviceId1&device-ids=DeviceId2

                          @@ -96,54 +137,13 @@ namespace Model */ inline BatchGetDevicePositionRequest& AddDeviceIds(const char* value) { m_deviceIdsHasBeenSet = true; m_deviceIds.push_back(value); return *this; } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline BatchGetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline BatchGetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

                          The tracker resource retrieving the device position.

                          - */ - inline BatchGetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - private: - Aws::Vector m_deviceIds; - bool m_deviceIdsHasBeenSet = false; - Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; + + Aws::Vector m_deviceIds; + bool m_deviceIdsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionResult.h index 65eb304ea0e..9f46e2536bf 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchGetDevicePositionResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -36,89 +36,89 @@ namespace Model /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline const Aws::Vector& GetDevicePositions() const{ return m_devicePositions; } + inline const Aws::Vector& GetErrors() const{ return m_errors; } /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline void SetDevicePositions(const Aws::Vector& value) { m_devicePositions = value; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline void SetDevicePositions(Aws::Vector&& value) { m_devicePositions = std::move(value); } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline BatchGetDevicePositionResult& WithDevicePositions(const Aws::Vector& value) { SetDevicePositions(value); return *this;} + inline BatchGetDevicePositionResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline BatchGetDevicePositionResult& WithDevicePositions(Aws::Vector&& value) { SetDevicePositions(std::move(value)); return *this;} + inline BatchGetDevicePositionResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline BatchGetDevicePositionResult& AddDevicePositions(const DevicePosition& value) { m_devicePositions.push_back(value); return *this; } + inline BatchGetDevicePositionResult& AddErrors(const BatchGetDevicePositionError& value) { m_errors.push_back(value); return *this; } /** - *

                          Contains device position details such as the device ID, position, and - * timestamps for when the position was received and sampled.

                          + *

                          Contains error details for each device that failed to send its position to + * the tracker resource.

                          */ - inline BatchGetDevicePositionResult& AddDevicePositions(DevicePosition&& value) { m_devicePositions.push_back(std::move(value)); return *this; } + inline BatchGetDevicePositionResult& AddErrors(BatchGetDevicePositionError&& value) { m_errors.push_back(std::move(value)); return *this; } /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline const Aws::Vector& GetDevicePositions() const{ return m_devicePositions; } /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetDevicePositions(const Aws::Vector& value) { m_devicePositions = value; } /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline void SetDevicePositions(Aws::Vector&& value) { m_devicePositions = std::move(value); } /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline BatchGetDevicePositionResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline BatchGetDevicePositionResult& WithDevicePositions(const Aws::Vector& value) { SetDevicePositions(value); return *this;} /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline BatchGetDevicePositionResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline BatchGetDevicePositionResult& WithDevicePositions(Aws::Vector&& value) { SetDevicePositions(std::move(value)); return *this;} /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline BatchGetDevicePositionResult& AddErrors(const BatchGetDevicePositionError& value) { m_errors.push_back(value); return *this; } + inline BatchGetDevicePositionResult& AddDevicePositions(const DevicePosition& value) { m_devicePositions.push_back(value); return *this; } /** - *

                          Contains error details for each device that failed to send its position to - * the tracker resource.

                          + *

                          Contains device position details such as the device ID, position, and + * timestamps for when the position was received and sampled.

                          */ - inline BatchGetDevicePositionResult& AddErrors(BatchGetDevicePositionError&& value) { m_errors.push_back(std::move(value)); return *this; } + inline BatchGetDevicePositionResult& AddDevicePositions(DevicePosition&& value) { m_devicePositions.push_back(std::move(value)); return *this; } @@ -144,10 +144,10 @@ namespace Model private: - Aws::Vector m_devicePositions; - Aws::Vector m_errors; + Aws::Vector m_devicePositions; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceError.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceError.h index 5849ef685e4..c120f381eae 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceError.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceError.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,83 +40,83 @@ namespace Model /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline const BatchItemError& GetError() const{ return m_error; } + inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } + inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline BatchPutGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;} + inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** - *

                          Contains details associated to the batch error.

                          + *

                          The geofence associated with the error message.

                          */ - inline BatchPutGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} - + inline BatchPutGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

                          The geofence associated with the error message.

                          */ - inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } + inline BatchPutGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

                          The geofence associated with the error message.

                          */ - inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } + inline BatchPutGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } + inline const BatchItemError& GetError() const{ return m_error; } /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } + inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline BatchPutGeofenceError& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} + inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline BatchPutGeofenceError& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} + inline BatchPutGeofenceError& WithError(const BatchItemError& value) { SetError(value); return *this;} /** - *

                          The geofence associated with the error message.

                          + *

                          Contains details associated to the batch error.

                          */ - inline BatchPutGeofenceError& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + inline BatchPutGeofenceError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} private: - BatchItemError m_error; - bool m_errorHasBeenSet = false; - Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; + + BatchItemError m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceRequestEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceRequestEntry.h index 6233862f693..5feba0c2592 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceRequestEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceRequestEntry.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -88,6 +88,73 @@ namespace Model inline BatchPutGeofenceRequestEntry& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; } + + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } + + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } + + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } + + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline BatchPutGeofenceRequestEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;} + + /** + *

                          Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                          The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * geobuf format supports a maximum of 100,000 vertices.

                          + */ + inline BatchPutGeofenceRequestEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;} + + /** *

                          Associates one of more properties with the geofence. A property is a * key-value pair stored with the geofence and added to any geofence event @@ -179,71 +246,16 @@ namespace Model */ inline BatchPutGeofenceRequestEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; } - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline BatchPutGeofenceRequestEntry& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;} - - /** - *

                          Contains the details of the position of the geofence. Can be either a polygon - * or a circle. Including both will return a validation error.

                          Each - * - * geofence polygon can have a maximum of 1,000 vertices.

                          - */ - inline BatchPutGeofenceRequestEntry& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;} - private: Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; - Aws::Map m_geofenceProperties; - bool m_geofencePropertiesHasBeenSet = false; - GeofenceGeometry m_geometry; bool m_geometryHasBeenSet = false; + + Aws::Map m_geofenceProperties; + bool m_geofencePropertiesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceResult.h index b14ef321aec..f5a471163da 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -36,89 +36,89 @@ namespace Model /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline const Aws::Vector& GetSuccesses() const{ return m_successes; } /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetSuccesses(const Aws::Vector& value) { m_successes = value; } /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline void SetSuccesses(Aws::Vector&& value) { m_successes = std::move(value); } /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline BatchPutGeofenceResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline BatchPutGeofenceResult& WithSuccesses(const Aws::Vector& value) { SetSuccesses(value); return *this;} /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline BatchPutGeofenceResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline BatchPutGeofenceResult& WithSuccesses(Aws::Vector&& value) { SetSuccesses(std::move(value)); return *this;} /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline BatchPutGeofenceResult& AddErrors(const BatchPutGeofenceError& value) { m_errors.push_back(value); return *this; } + inline BatchPutGeofenceResult& AddSuccesses(const BatchPutGeofenceSuccess& value) { m_successes.push_back(value); return *this; } /** - *

                          Contains additional error details for each geofence that failed to be stored - * in a geofence collection.

                          + *

                          Contains each geofence that was successfully stored in a geofence + * collection.

                          */ - inline BatchPutGeofenceResult& AddErrors(BatchPutGeofenceError&& value) { m_errors.push_back(std::move(value)); return *this; } + inline BatchPutGeofenceResult& AddSuccesses(BatchPutGeofenceSuccess&& value) { m_successes.push_back(std::move(value)); return *this; } /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline const Aws::Vector& GetSuccesses() const{ return m_successes; } + inline const Aws::Vector& GetErrors() const{ return m_errors; } /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline void SetSuccesses(const Aws::Vector& value) { m_successes = value; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline void SetSuccesses(Aws::Vector&& value) { m_successes = std::move(value); } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline BatchPutGeofenceResult& WithSuccesses(const Aws::Vector& value) { SetSuccesses(value); return *this;} + inline BatchPutGeofenceResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline BatchPutGeofenceResult& WithSuccesses(Aws::Vector&& value) { SetSuccesses(std::move(value)); return *this;} + inline BatchPutGeofenceResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline BatchPutGeofenceResult& AddSuccesses(const BatchPutGeofenceSuccess& value) { m_successes.push_back(value); return *this; } + inline BatchPutGeofenceResult& AddErrors(const BatchPutGeofenceError& value) { m_errors.push_back(value); return *this; } /** - *

                          Contains each geofence that was successfully stored in a geofence - * collection.

                          + *

                          Contains additional error details for each geofence that failed to be stored + * in a geofence collection.

                          */ - inline BatchPutGeofenceResult& AddSuccesses(BatchPutGeofenceSuccess&& value) { m_successes.push_back(std::move(value)); return *this; } + inline BatchPutGeofenceResult& AddErrors(BatchPutGeofenceError&& value) { m_errors.push_back(std::move(value)); return *this; } @@ -144,10 +144,10 @@ namespace Model private: - Aws::Vector m_errors; - Aws::Vector m_successes; + Aws::Vector m_errors; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceSuccess.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceSuccess.h index dbd43ece1ae..742f7f4c59d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceSuccess.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchPutGeofenceSuccess.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,87 +40,87 @@ namespace Model /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline BatchPutGeofenceSuccess& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } /** - *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                          + *

                          The geofence successfully stored in a geofence collection.

                          */ - inline BatchPutGeofenceSuccess& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - + inline BatchPutGeofenceSuccess& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

                          The geofence successfully stored in a geofence collection.

                          */ - inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } + inline BatchPutGeofenceSuccess& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

                          The geofence successfully stored in a geofence collection.

                          */ - inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } + inline BatchPutGeofenceSuccess& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline BatchPutGeofenceSuccess& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline BatchPutGeofenceSuccess& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} + inline BatchPutGeofenceSuccess& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

                          The geofence successfully stored in a geofence collection.

                          + *

                          The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                          */ - inline BatchPutGeofenceSuccess& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + inline BatchPutGeofenceSuccess& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -167,12 +167,12 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchUpdateDevicePositionError.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchUpdateDevicePositionError.h index 5bab1214fbd..218b7f42376 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchUpdateDevicePositionError.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/BatchUpdateDevicePositionError.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -81,43 +81,6 @@ namespace Model inline BatchUpdateDevicePositionError& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline const BatchItemError& GetError() const{ return m_error; } - - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } - - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } - - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } - - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline BatchUpdateDevicePositionError& WithError(const BatchItemError& value) { SetError(value); return *this;} - - /** - *

                          Contains details related to the error code such as the error code and error - * message.

                          - */ - inline BatchUpdateDevicePositionError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} - - /** *

                          The timestamp at which the device position was determined. Uses ISO 8601 @@ -160,16 +123,53 @@ namespace Model */ inline BatchUpdateDevicePositionError& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline const BatchItemError& GetError() const{ return m_error; } + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline void SetError(const BatchItemError& value) { m_errorHasBeenSet = true; m_error = value; } + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline void SetError(BatchItemError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline BatchUpdateDevicePositionError& WithError(const BatchItemError& value) { SetError(value); return *this;} + + /** + *

                          Contains details related to the error code such as the error code and error + * message.

                          + */ + inline BatchUpdateDevicePositionError& WithError(BatchItemError&& value) { SetError(std::move(value)); return *this;} + private: Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; - BatchItemError m_error; - bool m_errorHasBeenSet = false; - Aws::Utils::DateTime m_sampleTime; bool m_sampleTimeHasBeenSet = false; + + BatchItemError m_error; + bool m_errorHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixRequest.h index a67addd02e2..932ec398a28 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixRequest.h @@ -7,11 +7,11 @@ #include #include #include -#include #include +#include #include #include -#include +#include #include #include @@ -93,90 +93,6 @@ namespace Model inline CalculateRouteMatrixRequest& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline const CalculateRouteCarModeOptions& GetCarModeOptions() const{ return m_carModeOptions; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline bool CarModeOptionsHasBeenSet() const { return m_carModeOptionsHasBeenSet; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline void SetCarModeOptions(const CalculateRouteCarModeOptions& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = value; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline void SetCarModeOptions(CalculateRouteCarModeOptions&& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = std::move(value); } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline CalculateRouteMatrixRequest& WithCarModeOptions(const CalculateRouteCarModeOptions& value) { SetCarModeOptions(value); return *this;} - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline CalculateRouteMatrixRequest& WithCarModeOptions(CalculateRouteCarModeOptions&& value) { SetCarModeOptions(std::move(value)); return *this;} - - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate the route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Default Value: false

                          Valid Values: false | - * true

                          - */ - inline bool GetDepartNow() const{ return m_departNow; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate the route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Default Value: false

                          Valid Values: false | - * true

                          - */ - inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate the route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Default Value: false

                          Valid Values: false | - * true

                          - */ - inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate the route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Default Value: false

                          Valid Values: false | - * true

                          - */ - inline CalculateRouteMatrixRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;} - - /** *

                          The list of departure (origin) positions for the route matrix. An array of * points, each of which is itself a 2-value array defined in && value) { m_departurePositionsHasBeenSet = true; m_departurePositions.push_back(std::move(value)); return *this; } - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline const Aws::Utils::DateTime& GetDepartureTime() const{ return m_departureTime; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline void SetDepartureTime(const Aws::Utils::DateTime& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline void SetDepartureTime(Aws::Utils::DateTime&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline CalculateRouteMatrixRequest& WithDepartureTime(const Aws::Utils::DateTime& value) { SetDepartureTime(value); return *this;} - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route matrix. You can't set both DepartureTime and - * DepartNow. If neither is set, the best time of day to travel with - * the best traffic conditions is used to calculate the route matrix.

                          - *

                          Setting a departure time in the past returns a 400 - * ValidationException error.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline CalculateRouteMatrixRequest& WithDepartureTime(Aws::Utils::DateTime&& value) { SetDepartureTime(std::move(value)); return *this;} - - /** *

                          The list of destination positions for the route matrix. An array of points, * each of which is itself a 2-value array defined in Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          */ - inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } + inline const TravelMode& GetTravelMode() const{ return m_travelMode; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          */ - inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } + inline bool TravelModeHasBeenSet() const { return m_travelModeHasBeenSet; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          */ - inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } + inline void SetTravelMode(const TravelMode& value) { m_travelModeHasBeenSet = true; m_travelMode = value; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          */ - inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + inline void SetTravelMode(TravelMode&& value) { m_travelModeHasBeenSet = true; m_travelMode = std::move(value); } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          */ - inline CalculateRouteMatrixRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + inline CalculateRouteMatrixRequest& WithTravelMode(const TravelMode& value) { SetTravelMode(value); return *this;} /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          - */ - inline CalculateRouteMatrixRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + *

                          Specifies the mode of transport when calculating a route. Used in estimating + * the speed of travel and road compatibility.

                          The TravelMode + * you specify also determines how you specify route preferences:

                          • + *

                            If traveling by Car use the CarModeOptions + * parameter.

                          • If traveling by Truck use the + * TruckModeOptions parameter.

                          + * Bicycle or Motorcycle are only valid when using + * Grab as a data provider, and only within Southeast Asia.

                          + * Truck is not available for Grab.

                          For more information about + * using Grab as a data provider, see GrabMaps + * in the Amazon Location Service Developer Guide.

                          Default + * Value: Car

                          + */ + inline CalculateRouteMatrixRequest& WithTravelMode(TravelMode&& value) { SetTravelMode(std::move(value)); return *this;} /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline const Aws::String& GetKey() const{ return m_key; } + inline const Aws::Utils::DateTime& GetDepartureTime() const{ return m_departureTime; } /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; } /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetDepartureTime(const Aws::Utils::DateTime& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; } /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetDepartureTime(Aws::Utils::DateTime&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); } /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline CalculateRouteMatrixRequest& WithDepartureTime(const Aws::Utils::DateTime& value) { SetDepartureTime(value); return *this;} /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Setting a departure time in the past returns a 400 + * ValidationException error.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline CalculateRouteMatrixRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline CalculateRouteMatrixRequest& WithDepartureTime(Aws::Utils::DateTime&& value) { SetDepartureTime(std::move(value)); return *this;} + /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate the route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Default Value: false

                          Valid Values: false | + * true

                          */ - inline CalculateRouteMatrixRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline bool GetDepartNow() const{ return m_departNow; } /** - *

                          The optional API - * key to authorize the request.

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate the route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Default Value: false

                          Valid Values: false | + * true

                          */ - inline CalculateRouteMatrixRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; } + /** + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate the route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Default Value: false

                          Valid Values: false | + * true

                          + */ + inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; } /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate the route matrix. You can't set both DepartureTime and + * DepartNow. If neither is set, the best time of day to travel with + * the best traffic conditions is used to calculate the route matrix.

                          + *

                          Default Value: false

                          Valid Values: false | + * true

                          */ - inline const TravelMode& GetTravelMode() const{ return m_travelMode; } + inline CalculateRouteMatrixRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;} + /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline bool TravelModeHasBeenSet() const { return m_travelModeHasBeenSet; } + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline void SetTravelMode(const TravelMode& value) { m_travelModeHasBeenSet = true; m_travelMode = value; } + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline void SetTravelMode(TravelMode&& value) { m_travelModeHasBeenSet = true; m_travelMode = std::move(value); } + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteMatrixRequest& WithTravelMode(const TravelMode& value) { SetTravelMode(value); return *this;} + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } /** - *

                          Specifies the mode of transport when calculating a route. Used in estimating - * the speed of travel and road compatibility.

                          The TravelMode - * you specify also determines how you specify route preferences:

                          • - *

                            If traveling by Car use the CarModeOptions - * parameter.

                          • If traveling by Truck use the - * TruckModeOptions parameter.

                          - * Bicycle or Motorcycle are only valid when using - * Grab as a data provider, and only within Southeast Asia.

                          - * Truck is not available for Grab.

                          For more information about - * using Grab as a data provider, see GrabMaps - * in the Amazon Location Service Developer Guide.

                          Default - * Value: Car

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteMatrixRequest& WithTravelMode(TravelMode&& value) { SetTravelMode(std::move(value)); return *this;} + inline CalculateRouteMatrixRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          + */ + inline CalculateRouteMatrixRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline const CalculateRouteCarModeOptions& GetCarModeOptions() const{ return m_carModeOptions; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline bool CarModeOptionsHasBeenSet() const { return m_carModeOptionsHasBeenSet; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline void SetCarModeOptions(const CalculateRouteCarModeOptions& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = value; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline void SetCarModeOptions(CalculateRouteCarModeOptions&& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = std::move(value); } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline CalculateRouteMatrixRequest& WithCarModeOptions(const CalculateRouteCarModeOptions& value) { SetCarModeOptions(value); return *this;} + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline CalculateRouteMatrixRequest& WithCarModeOptions(CalculateRouteCarModeOptions&& value) { SetCarModeOptions(std::move(value)); return *this;} /** @@ -823,37 +766,94 @@ namespace Model */ inline CalculateRouteMatrixRequest& WithTruckModeOptions(CalculateRouteTruckModeOptions&& value) { SetTruckModeOptions(std::move(value)); return *this;} + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteMatrixRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteMatrixRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteMatrixRequest& WithKey(const char* value) { SetKey(value); return *this;} + private: Aws::String m_calculatorName; bool m_calculatorNameHasBeenSet = false; - CalculateRouteCarModeOptions m_carModeOptions; - bool m_carModeOptionsHasBeenSet = false; - - bool m_departNow; - bool m_departNowHasBeenSet = false; - Aws::Vector> m_departurePositions; bool m_departurePositionsHasBeenSet = false; + Aws::Vector> m_destinationPositions; + bool m_destinationPositionsHasBeenSet = false; + + TravelMode m_travelMode; + bool m_travelModeHasBeenSet = false; + Aws::Utils::DateTime m_departureTime; bool m_departureTimeHasBeenSet = false; - Aws::Vector> m_destinationPositions; - bool m_destinationPositionsHasBeenSet = false; + bool m_departNow; + bool m_departNowHasBeenSet = false; DistanceUnit m_distanceUnit; bool m_distanceUnitHasBeenSet = false; - Aws::String m_key; - bool m_keyHasBeenSet = false; - - TravelMode m_travelMode; - bool m_travelModeHasBeenSet = false; + CalculateRouteCarModeOptions m_carModeOptions; + bool m_carModeOptionsHasBeenSet = false; CalculateRouteTruckModeOptions m_truckModeOptions; bool m_truckModeOptionsHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixSummary.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixSummary.h index 38980532f0d..a8da5b2b64e 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixSummary.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteMatrixSummary.h @@ -128,34 +128,32 @@ namespace Model /** - *

                          The unit of measurement for route distances.

                          - */ - inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } - - /** - *

                          The unit of measurement for route distances.

                          - */ - inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } - - /** - *

                          The unit of measurement for route distances.

                          + *

                          The count of cells in the route matrix. Equal to the number of + * DeparturePositions multiplied by the number of + * DestinationPositions.

                          */ - inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } + inline int GetRouteCount() const{ return m_routeCount; } /** - *

                          The unit of measurement for route distances.

                          + *

                          The count of cells in the route matrix. Equal to the number of + * DeparturePositions multiplied by the number of + * DestinationPositions.

                          */ - inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + inline bool RouteCountHasBeenSet() const { return m_routeCountHasBeenSet; } /** - *

                          The unit of measurement for route distances.

                          + *

                          The count of cells in the route matrix. Equal to the number of + * DeparturePositions multiplied by the number of + * DestinationPositions.

                          */ - inline CalculateRouteMatrixSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + inline void SetRouteCount(int value) { m_routeCountHasBeenSet = true; m_routeCount = value; } /** - *

                          The unit of measurement for route distances.

                          + *

                          The count of cells in the route matrix. Equal to the number of + * DeparturePositions multiplied by the number of + * DestinationPositions.

                          */ - inline CalculateRouteMatrixSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + inline CalculateRouteMatrixSummary& WithRouteCount(int value) { SetRouteCount(value); return *this;} /** @@ -184,46 +182,48 @@ namespace Model /** - *

                          The count of cells in the route matrix. Equal to the number of - * DeparturePositions multiplied by the number of - * DestinationPositions.

                          + *

                          The unit of measurement for route distances.

                          */ - inline int GetRouteCount() const{ return m_routeCount; } + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } /** - *

                          The count of cells in the route matrix. Equal to the number of - * DeparturePositions multiplied by the number of - * DestinationPositions.

                          + *

                          The unit of measurement for route distances.

                          */ - inline bool RouteCountHasBeenSet() const { return m_routeCountHasBeenSet; } + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } /** - *

                          The count of cells in the route matrix. Equal to the number of - * DeparturePositions multiplied by the number of - * DestinationPositions.

                          + *

                          The unit of measurement for route distances.

                          */ - inline void SetRouteCount(int value) { m_routeCountHasBeenSet = true; m_routeCount = value; } + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } /** - *

                          The count of cells in the route matrix. Equal to the number of - * DeparturePositions multiplied by the number of - * DestinationPositions.

                          + *

                          The unit of measurement for route distances.

                          */ - inline CalculateRouteMatrixSummary& WithRouteCount(int value) { SetRouteCount(value); return *this;} + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + + /** + *

                          The unit of measurement for route distances.

                          + */ + inline CalculateRouteMatrixSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

                          The unit of measurement for route distances.

                          + */ + inline CalculateRouteMatrixSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} private: Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; - DistanceUnit m_distanceUnit; - bool m_distanceUnitHasBeenSet = false; + int m_routeCount; + bool m_routeCountHasBeenSet = false; int m_errorCount; bool m_errorCountHasBeenSet = false; - int m_routeCount; - bool m_routeCountHasBeenSet = false; + DistanceUnit m_distanceUnit; + bool m_distanceUnitHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteRequest.h index d3591825ab4..11b853e3567 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteRequest.h @@ -6,14 +6,14 @@ #pragma once #include #include -#include #include -#include #include -#include -#include #include +#include +#include +#include #include +#include #include namespace Aws @@ -45,55 +45,6 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline const Aws::Utils::DateTime& GetArrivalTime() const{ return m_arrivalTime; } - - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline bool ArrivalTimeHasBeenSet() const { return m_arrivalTimeHasBeenSet; } - - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline void SetArrivalTime(const Aws::Utils::DateTime& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = value; } - - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline void SetArrivalTime(Aws::Utils::DateTime&& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = std::move(value); } - - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline CalculateRouteRequest& WithArrivalTime(const Aws::Utils::DateTime& value) { SetArrivalTime(value); return *this;} - - /** - *

                          Specifies the desired time of arrival. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          ArrivalTime is not - * supported Esri.

                          - */ - inline CalculateRouteRequest& WithArrivalTime(Aws::Utils::DateTime&& value) { SetArrivalTime(std::move(value)); return *this;} - - /** *

                          The name of the route calculator resource that you want to use to calculate * the route.

                          @@ -143,86 +94,6 @@ namespace Model inline CalculateRouteRequest& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline const CalculateRouteCarModeOptions& GetCarModeOptions() const{ return m_carModeOptions; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline bool CarModeOptionsHasBeenSet() const { return m_carModeOptionsHasBeenSet; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline void SetCarModeOptions(const CalculateRouteCarModeOptions& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = value; } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline void SetCarModeOptions(CalculateRouteCarModeOptions&& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = std::move(value); } - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline CalculateRouteRequest& WithCarModeOptions(const CalculateRouteCarModeOptions& value) { SetCarModeOptions(value); return *this;} - - /** - *

                          Specifies route preferences when traveling by Car, such as - * avoiding routes that use ferries or tolls.

                          Requirements: - * TravelMode must be specified as Car.

                          - */ - inline CalculateRouteRequest& WithCarModeOptions(CalculateRouteCarModeOptions&& value) { SetCarModeOptions(std::move(value)); return *this;} - - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate a route. Otherwise, the best time of day to travel with the best - * traffic conditions is used to calculate the route.

                          Default Value: - * false

                          Valid Values: false | true - *

                          - */ - inline bool GetDepartNow() const{ return m_departNow; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate a route. Otherwise, the best time of day to travel with the best - * traffic conditions is used to calculate the route.

                          Default Value: - * false

                          Valid Values: false | true - *

                          - */ - inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate a route. Otherwise, the best time of day to travel with the best - * traffic conditions is used to calculate the route.

                          Default Value: - * false

                          Valid Values: false | true - *

                          - */ - inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; } - - /** - *

                          Sets the time of departure as the current time. Uses the current time to - * calculate a route. Otherwise, the best time of day to travel with the best - * traffic conditions is used to calculate the route.

                          Default Value: - * false

                          Valid Values: false | true - *

                          - */ - inline CalculateRouteRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;} - - /** *

                          The start position for the route. Defined in World @@ -329,67 +200,6 @@ namespace Model inline CalculateRouteRequest& AddDeparturePosition(double value) { m_departurePositionHasBeenSet = true; m_departurePosition.push_back(value); return *this; } - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline const Aws::Utils::DateTime& GetDepartureTime() const{ return m_departureTime; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline void SetDepartureTime(const Aws::Utils::DateTime& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline void SetDepartureTime(Aws::Utils::DateTime&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); } - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline CalculateRouteRequest& WithDepartureTime(const Aws::Utils::DateTime& value) { SetDepartureTime(value); return *this;} - - /** - *

                          Specifies the desired time of departure. Uses the given time to calculate the - * route. Otherwise, the best time of day to travel with the best traffic - * conditions is used to calculate the route.

                          • In ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, - * 2020–07-2T12:15:20.000Z+01:00

                          - */ - inline CalculateRouteRequest& WithDepartureTime(Aws::Utils::DateTime&& value) { SetDepartureTime(std::move(value)); return *this;} - - /** *

                          The finish position for the route. Defined in World @@ -483,157 +293,140 @@ namespace Model /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          - */ - inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } - - /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } + inline const Aws::Vector>& GetWaypointPositions() const{ return m_waypointPositions; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } + inline bool WaypointPositionsHasBeenSet() const { return m_waypointPositionsHasBeenSet; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + inline void SetWaypointPositions(const Aws::Vector>& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions = value; } /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          - */ - inline CalculateRouteRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} - - /** - *

                          Set the unit system to specify the distance.

                          Default Value: - * Kilometers

                          - */ - inline CalculateRouteRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} - - - /** - *

                          Set to include the geometry details in the result for each path between a - * pair of positions.

                          Default Value: false

                          Valid - * Values: false | true

                          - */ - inline bool GetIncludeLegGeometry() const{ return m_includeLegGeometry; } - - /** - *

                          Set to include the geometry details in the result for each path between a - * pair of positions.

                          Default Value: false

                          Valid - * Values: false | true

                          - */ - inline bool IncludeLegGeometryHasBeenSet() const { return m_includeLegGeometryHasBeenSet; } - - /** - *

                          Set to include the geometry details in the result for each path between a - * pair of positions.

                          Default Value: false

                          Valid - * Values: false | true

                          - */ - inline void SetIncludeLegGeometry(bool value) { m_includeLegGeometryHasBeenSet = true; m_includeLegGeometry = value; } - - /** - *

                          Set to include the geometry details in the result for each path between a - * pair of positions.

                          Default Value: false

                          Valid - * Values: false | true

                          - */ - inline CalculateRouteRequest& WithIncludeLegGeometry(bool value) { SetIncludeLegGeometry(value); return *this;} - - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline CalculateRouteRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline CalculateRouteRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} - - /** - *

                          The optional API - * key to authorize the request.

                          - */ - inline CalculateRouteRequest& WithKey(const char* value) { SetKey(value); return *this;} - - - /** - *

                          Specifies the distance to optimize for when calculating a route.

                          - */ - inline const OptimizationMode& GetOptimizeFor() const{ return m_optimizeFor; } - - /** - *

                          Specifies the distance to optimize for when calculating a route.

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline bool OptimizeForHasBeenSet() const { return m_optimizeForHasBeenSet; } + inline void SetWaypointPositions(Aws::Vector>&& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions = std::move(value); } /** - *

                          Specifies the distance to optimize for when calculating a route.

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline void SetOptimizeFor(const OptimizationMode& value) { m_optimizeForHasBeenSet = true; m_optimizeFor = value; } + inline CalculateRouteRequest& WithWaypointPositions(const Aws::Vector>& value) { SetWaypointPositions(value); return *this;} /** - *

                          Specifies the distance to optimize for when calculating a route.

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline void SetOptimizeFor(OptimizationMode&& value) { m_optimizeForHasBeenSet = true; m_optimizeFor = std::move(value); } + inline CalculateRouteRequest& WithWaypointPositions(Aws::Vector>&& value) { SetWaypointPositions(std::move(value)); return *this;} /** - *

                          Specifies the distance to optimize for when calculating a route.

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline CalculateRouteRequest& WithOptimizeFor(const OptimizationMode& value) { SetOptimizeFor(value); return *this;} + inline CalculateRouteRequest& AddWaypointPositions(const Aws::Vector& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions.push_back(value); return *this; } /** - *

                          Specifies the distance to optimize for when calculating a route.

                          + *

                          Specifies an ordered list of up to 23 intermediate positions to include along + * a route between the departure position and destination position.

                          • + *

                            For example, from the DeparturePosition [-123.115, + * 49.285], the route follows the order that the waypoint positions are + * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          + *

                          If you specify a waypoint position that's not located on a road, + * Amazon Location moves + * the position to the nearest road.

                          Specifying more than 23 waypoints + * returns a 400 ValidationException error.

                          If Esri is the + * provider for your route calculator, specifying a route that is longer than 400 + * km returns a 400 RoutesValidationException error.

                          + *

                          Valid Values: [-180 to 180,-90 to 90]

                          */ - inline CalculateRouteRequest& WithOptimizeFor(OptimizationMode&& value) { SetOptimizeFor(std::move(value)); return *this;} + inline CalculateRouteRequest& AddWaypointPositions(Aws::Vector&& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions.push_back(std::move(value)); return *this; } /** @@ -752,212 +545,419 @@ namespace Model /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline const CalculateRouteTruckModeOptions& GetTruckModeOptions() const{ return m_truckModeOptions; } + inline const Aws::Utils::DateTime& GetDepartureTime() const{ return m_departureTime; } /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline bool TruckModeOptionsHasBeenSet() const { return m_truckModeOptionsHasBeenSet; } + inline bool DepartureTimeHasBeenSet() const { return m_departureTimeHasBeenSet; } /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline void SetTruckModeOptions(const CalculateRouteTruckModeOptions& value) { m_truckModeOptionsHasBeenSet = true; m_truckModeOptions = value; } + inline void SetDepartureTime(const Aws::Utils::DateTime& value) { m_departureTimeHasBeenSet = true; m_departureTime = value; } /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline void SetTruckModeOptions(CalculateRouteTruckModeOptions&& value) { m_truckModeOptionsHasBeenSet = true; m_truckModeOptions = std::move(value); } + inline void SetDepartureTime(Aws::Utils::DateTime&& value) { m_departureTimeHasBeenSet = true; m_departureTime = std::move(value); } /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline CalculateRouteRequest& WithTruckModeOptions(const CalculateRouteTruckModeOptions& value) { SetTruckModeOptions(value); return *this;} + inline CalculateRouteRequest& WithDepartureTime(const Aws::Utils::DateTime& value) { SetDepartureTime(value); return *this;} /** - *

                          Specifies route preferences when traveling by Truck, such as - * avoiding routes that use ferries or tolls, and truck specifications to consider - * when choosing an optimal road.

                          Requirements: TravelMode must - * be specified as Truck.

                          + *

                          Specifies the desired time of departure. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          • In ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. For example, + * 2020–07-2T12:15:20.000Z+01:00

                          */ - inline CalculateRouteRequest& WithTruckModeOptions(CalculateRouteTruckModeOptions&& value) { SetTruckModeOptions(std::move(value)); return *this;} + inline CalculateRouteRequest& WithDepartureTime(Aws::Utils::DateTime&& value) { SetDepartureTime(std::move(value)); return *this;} /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate a route. Otherwise, the best time of day to travel with the best + * traffic conditions is used to calculate the route.

                          Default Value: + * false

                          Valid Values: false | true + *

                          */ - inline const Aws::Vector>& GetWaypointPositions() const{ return m_waypointPositions; } + inline bool GetDepartNow() const{ return m_departNow; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate a route. Otherwise, the best time of day to travel with the best + * traffic conditions is used to calculate the route.

                          Default Value: + * false

                          Valid Values: false | true + *

                          */ - inline bool WaypointPositionsHasBeenSet() const { return m_waypointPositionsHasBeenSet; } + inline bool DepartNowHasBeenSet() const { return m_departNowHasBeenSet; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate a route. Otherwise, the best time of day to travel with the best + * traffic conditions is used to calculate the route.

                          Default Value: + * false

                          Valid Values: false | true + *

                          */ - inline void SetWaypointPositions(const Aws::Vector>& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions = value; } + inline void SetDepartNow(bool value) { m_departNowHasBeenSet = true; m_departNow = value; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Sets the time of departure as the current time. Uses the current time to + * calculate a route. Otherwise, the best time of day to travel with the best + * traffic conditions is used to calculate the route.

                          Default Value: + * false

                          Valid Values: false | true + *

                          */ - inline void SetWaypointPositions(Aws::Vector>&& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions = std::move(value); } + inline CalculateRouteRequest& WithDepartNow(bool value) { SetDepartNow(value); return *this;} + /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteRequest& WithWaypointPositions(const Aws::Vector>& value) { SetWaypointPositions(value); return *this;} + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteRequest& WithWaypointPositions(Aws::Vector>&& value) { SetWaypointPositions(std::move(value)); return *this;} + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteRequest& AddWaypointPositions(const Aws::Vector& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions.push_back(value); return *this; } + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } /** - *

                          Specifies an ordered list of up to 23 intermediate positions to include along - * a route between the departure position and destination position.

                          • - *

                            For example, from the DeparturePosition [-123.115, - * 49.285], the route follows the order that the waypoint positions are - * given [[-122.757, 49.0021],[-122.349, 47.620]]

                          - *

                          If you specify a waypoint position that's not located on a road, - * Amazon Location moves - * the position to the nearest road.

                          Specifying more than 23 waypoints - * returns a 400 ValidationException error.

                          If Esri is the - * provider for your route calculator, specifying a route that is longer than 400 - * km returns a 400 RoutesValidationException error.

                          - *

                          Valid Values: [-180 to 180,-90 to 90]

                          + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          */ - inline CalculateRouteRequest& AddWaypointPositions(Aws::Vector&& value) { m_waypointPositionsHasBeenSet = true; m_waypointPositions.push_back(std::move(value)); return *this; } + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } - private: + /** + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          + */ + inline CalculateRouteRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} - Aws::Utils::DateTime m_arrivalTime; - bool m_arrivalTimeHasBeenSet = false; + /** + *

                          Set the unit system to specify the distance.

                          Default Value: + * Kilometers

                          + */ + inline CalculateRouteRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} - Aws::String m_calculatorName; - bool m_calculatorNameHasBeenSet = false; - CalculateRouteCarModeOptions m_carModeOptions; - bool m_carModeOptionsHasBeenSet = false; + /** + *

                          Set to include the geometry details in the result for each path between a + * pair of positions.

                          Default Value: false

                          Valid + * Values: false | true

                          + */ + inline bool GetIncludeLegGeometry() const{ return m_includeLegGeometry; } - bool m_departNow; - bool m_departNowHasBeenSet = false; + /** + *

                          Set to include the geometry details in the result for each path between a + * pair of positions.

                          Default Value: false

                          Valid + * Values: false | true

                          + */ + inline bool IncludeLegGeometryHasBeenSet() const { return m_includeLegGeometryHasBeenSet; } + + /** + *

                          Set to include the geometry details in the result for each path between a + * pair of positions.

                          Default Value: false

                          Valid + * Values: false | true

                          + */ + inline void SetIncludeLegGeometry(bool value) { m_includeLegGeometryHasBeenSet = true; m_includeLegGeometry = value; } + + /** + *

                          Set to include the geometry details in the result for each path between a + * pair of positions.

                          Default Value: false

                          Valid + * Values: false | true

                          + */ + inline CalculateRouteRequest& WithIncludeLegGeometry(bool value) { SetIncludeLegGeometry(value); return *this;} + + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline const CalculateRouteCarModeOptions& GetCarModeOptions() const{ return m_carModeOptions; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline bool CarModeOptionsHasBeenSet() const { return m_carModeOptionsHasBeenSet; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline void SetCarModeOptions(const CalculateRouteCarModeOptions& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = value; } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline void SetCarModeOptions(CalculateRouteCarModeOptions&& value) { m_carModeOptionsHasBeenSet = true; m_carModeOptions = std::move(value); } + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline CalculateRouteRequest& WithCarModeOptions(const CalculateRouteCarModeOptions& value) { SetCarModeOptions(value); return *this;} + + /** + *

                          Specifies route preferences when traveling by Car, such as + * avoiding routes that use ferries or tolls.

                          Requirements: + * TravelMode must be specified as Car.

                          + */ + inline CalculateRouteRequest& WithCarModeOptions(CalculateRouteCarModeOptions&& value) { SetCarModeOptions(std::move(value)); return *this;} + + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline const CalculateRouteTruckModeOptions& GetTruckModeOptions() const{ return m_truckModeOptions; } + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline bool TruckModeOptionsHasBeenSet() const { return m_truckModeOptionsHasBeenSet; } + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline void SetTruckModeOptions(const CalculateRouteTruckModeOptions& value) { m_truckModeOptionsHasBeenSet = true; m_truckModeOptions = value; } + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline void SetTruckModeOptions(CalculateRouteTruckModeOptions&& value) { m_truckModeOptionsHasBeenSet = true; m_truckModeOptions = std::move(value); } + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline CalculateRouteRequest& WithTruckModeOptions(const CalculateRouteTruckModeOptions& value) { SetTruckModeOptions(value); return *this;} + + /** + *

                          Specifies route preferences when traveling by Truck, such as + * avoiding routes that use ferries or tolls, and truck specifications to consider + * when choosing an optimal road.

                          Requirements: TravelMode must + * be specified as Truck.

                          + */ + inline CalculateRouteRequest& WithTruckModeOptions(CalculateRouteTruckModeOptions&& value) { SetTruckModeOptions(std::move(value)); return *this;} + + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline const Aws::Utils::DateTime& GetArrivalTime() const{ return m_arrivalTime; } + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline bool ArrivalTimeHasBeenSet() const { return m_arrivalTimeHasBeenSet; } + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline void SetArrivalTime(const Aws::Utils::DateTime& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = value; } + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline void SetArrivalTime(Aws::Utils::DateTime&& value) { m_arrivalTimeHasBeenSet = true; m_arrivalTime = std::move(value); } + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline CalculateRouteRequest& WithArrivalTime(const Aws::Utils::DateTime& value) { SetArrivalTime(value); return *this;} + + /** + *

                          Specifies the desired time of arrival. Uses the given time to calculate the + * route. Otherwise, the best time of day to travel with the best traffic + * conditions is used to calculate the route.

                          ArrivalTime is not + * supported Esri.

                          + */ + inline CalculateRouteRequest& WithArrivalTime(Aws::Utils::DateTime&& value) { SetArrivalTime(std::move(value)); return *this;} + + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline const OptimizationMode& GetOptimizeFor() const{ return m_optimizeFor; } + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline bool OptimizeForHasBeenSet() const { return m_optimizeForHasBeenSet; } + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline void SetOptimizeFor(const OptimizationMode& value) { m_optimizeForHasBeenSet = true; m_optimizeFor = value; } + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline void SetOptimizeFor(OptimizationMode&& value) { m_optimizeForHasBeenSet = true; m_optimizeFor = std::move(value); } + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline CalculateRouteRequest& WithOptimizeFor(const OptimizationMode& value) { SetOptimizeFor(value); return *this;} + + /** + *

                          Specifies the distance to optimize for when calculating a route.

                          + */ + inline CalculateRouteRequest& WithOptimizeFor(OptimizationMode&& value) { SetOptimizeFor(std::move(value)); return *this;} + + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline const Aws::String& GetKey() const{ return m_key; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

                          The optional API + * key to authorize the request.

                          + */ + inline CalculateRouteRequest& WithKey(const char* value) { SetKey(value); return *this;} + + private: + + Aws::String m_calculatorName; + bool m_calculatorNameHasBeenSet = false; Aws::Vector m_departurePosition; bool m_departurePositionHasBeenSet = false; + Aws::Vector m_destinationPosition; + bool m_destinationPositionHasBeenSet = false; + + Aws::Vector> m_waypointPositions; + bool m_waypointPositionsHasBeenSet = false; + + TravelMode m_travelMode; + bool m_travelModeHasBeenSet = false; + Aws::Utils::DateTime m_departureTime; bool m_departureTimeHasBeenSet = false; - Aws::Vector m_destinationPosition; - bool m_destinationPositionHasBeenSet = false; + bool m_departNow; + bool m_departNowHasBeenSet = false; DistanceUnit m_distanceUnit; bool m_distanceUnitHasBeenSet = false; @@ -965,20 +965,20 @@ namespace Model bool m_includeLegGeometry; bool m_includeLegGeometryHasBeenSet = false; - Aws::String m_key; - bool m_keyHasBeenSet = false; - - OptimizationMode m_optimizeFor; - bool m_optimizeForHasBeenSet = false; - - TravelMode m_travelMode; - bool m_travelModeHasBeenSet = false; + CalculateRouteCarModeOptions m_carModeOptions; + bool m_carModeOptionsHasBeenSet = false; CalculateRouteTruckModeOptions m_truckModeOptions; bool m_truckModeOptionsHasBeenSet = false; - Aws::Vector> m_waypointPositions; - bool m_waypointPositionsHasBeenSet = false; + Aws::Utils::DateTime m_arrivalTime; + bool m_arrivalTimeHasBeenSet = false; + + OptimizationMode m_optimizeFor; + bool m_optimizeForHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteSummary.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteSummary.h index 5c46e31fc2b..7a9da7d7f4d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteSummary.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CalculateRouteSummary.h @@ -5,9 +5,9 @@ #pragma once #include +#include #include #include -#include #include namespace Aws @@ -39,6 +39,112 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline const Aws::Vector& GetRouteBBox() const{ return m_routeBBox; } + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline bool RouteBBoxHasBeenSet() const { return m_routeBBoxHasBeenSet; } + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline void SetRouteBBox(const Aws::Vector& value) { m_routeBBoxHasBeenSet = true; m_routeBBox = value; } + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline void SetRouteBBox(Aws::Vector&& value) { m_routeBBoxHasBeenSet = true; m_routeBBox = std::move(value); } + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline CalculateRouteSummary& WithRouteBBox(const Aws::Vector& value) { SetRouteBBox(value); return *this;} + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline CalculateRouteSummary& WithRouteBBox(Aws::Vector&& value) { SetRouteBBox(std::move(value)); return *this;} + + /** + *

                          Specifies a geographical box surrounding a route. Used to zoom into a route + * when displaying it in a map. For example, [min x, min y, max x, max + * y].

                          The first 2 bbox parameters describe the lower + * southwest corner:

                          • The first bbox position is the + * X coordinate or longitude of the lower southwest corner.

                          • The + * second bbox position is the Y coordinate or latitude of the lower + * southwest corner.

                          The next 2 bbox parameters + * describe the upper northeast corner:

                          • The third + * bbox position is the X coordinate, or longitude of the upper + * northeast corner.

                          • The fourth bbox position is + * the Y coordinate, or latitude of the upper northeast corner.

                          + */ + inline CalculateRouteSummary& AddRouteBBox(double value) { m_routeBBoxHasBeenSet = true; m_routeBBox.push_back(value); return *this; } + + /** *

                          The data provider of traffic and road network data used to calculate the * route. Indicates one of the available providers:

                          • @@ -165,37 +271,6 @@ namespace Model inline CalculateRouteSummary& WithDistance(double value) { SetDistance(value); return *this;} - /** - *

                            The unit of measurement for route distances.

                            - */ - inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } - - /** - *

                            The unit of measurement for route distances.

                            - */ - inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } - - /** - *

                            The unit of measurement for route distances.

                            - */ - inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } - - /** - *

                            The unit of measurement for route distances.

                            - */ - inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } - - /** - *

                            The unit of measurement for route distances.

                            - */ - inline CalculateRouteSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} - - /** - *

                            The unit of measurement for route distances.

                            - */ - inline CalculateRouteSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} - - /** *

                            The total travel time for the route measured in seconds. The sum of the * travel time between every stop on the route.

                            @@ -222,126 +297,51 @@ namespace Model /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            - */ - inline const Aws::Vector& GetRouteBBox() const{ return m_routeBBox; } - - /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline bool RouteBBoxHasBeenSet() const { return m_routeBBoxHasBeenSet; } + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline void SetRouteBBox(const Aws::Vector& value) { m_routeBBoxHasBeenSet = true; m_routeBBox = value; } + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline void SetRouteBBox(Aws::Vector&& value) { m_routeBBoxHasBeenSet = true; m_routeBBox = std::move(value); } + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline CalculateRouteSummary& WithRouteBBox(const Aws::Vector& value) { SetRouteBBox(value); return *this;} + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline CalculateRouteSummary& WithRouteBBox(Aws::Vector&& value) { SetRouteBBox(std::move(value)); return *this;} + inline CalculateRouteSummary& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} /** - *

                            Specifies a geographical box surrounding a route. Used to zoom into a route - * when displaying it in a map. For example, [min x, min y, max x, max - * y].

                            The first 2 bbox parameters describe the lower - * southwest corner:

                            • The first bbox position is the - * X coordinate or longitude of the lower southwest corner.

                            • The - * second bbox position is the Y coordinate or latitude of the lower - * southwest corner.

                            The next 2 bbox parameters - * describe the upper northeast corner:

                            • The third - * bbox position is the X coordinate, or longitude of the upper - * northeast corner.

                            • The fourth bbox position is - * the Y coordinate, or latitude of the upper northeast corner.

                            + *

                            The unit of measurement for route distances.

                            */ - inline CalculateRouteSummary& AddRouteBBox(double value) { m_routeBBoxHasBeenSet = true; m_routeBBox.push_back(value); return *this; } + inline CalculateRouteSummary& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} private: + Aws::Vector m_routeBBox; + bool m_routeBBoxHasBeenSet = false; + Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; double m_distance; bool m_distanceHasBeenSet = false; - DistanceUnit m_distanceUnit; - bool m_distanceUnitHasBeenSet = false; - double m_durationSeconds; bool m_durationSecondsHasBeenSet = false; - Aws::Vector m_routeBBox; - bool m_routeBBoxHasBeenSet = false; + DistanceUnit m_distanceUnit; + bool m_distanceUnitHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CellSignals.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CellSignals.h new file mode 100644 index 00000000000..307eec959ed --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CellSignals.h @@ -0,0 +1,98 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

                            The cellular network communication infrastructure that the device + * uses.

                            See Also:

                            AWS + * API Reference

                            + */ + class CellSignals + { + public: + AWS_LOCATIONSERVICE_API CellSignals(); + AWS_LOCATIONSERVICE_API CellSignals(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API CellSignals& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline const Aws::Vector& GetLteCellDetails() const{ return m_lteCellDetails; } + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline bool LteCellDetailsHasBeenSet() const { return m_lteCellDetailsHasBeenSet; } + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline void SetLteCellDetails(const Aws::Vector& value) { m_lteCellDetailsHasBeenSet = true; m_lteCellDetails = value; } + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline void SetLteCellDetails(Aws::Vector&& value) { m_lteCellDetailsHasBeenSet = true; m_lteCellDetails = std::move(value); } + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline CellSignals& WithLteCellDetails(const Aws::Vector& value) { SetLteCellDetails(value); return *this;} + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline CellSignals& WithLteCellDetails(Aws::Vector&& value) { SetLteCellDetails(std::move(value)); return *this;} + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline CellSignals& AddLteCellDetails(const LteCellDetails& value) { m_lteCellDetailsHasBeenSet = true; m_lteCellDetails.push_back(value); return *this; } + + /** + *

                            Information about the Long-Term Evolution (LTE) network the device is + * connected to.

                            + */ + inline CellSignals& AddLteCellDetails(LteCellDetails&& value) { m_lteCellDetailsHasBeenSet = true; m_lteCellDetails.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_lteCellDetails; + bool m_lteCellDetailsHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionRequest.h index a3a0442eae0..369ce2641b6 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionRequest.h @@ -147,71 +147,6 @@ namespace Model inline CreateGeofenceCollectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline CreateGeofenceCollectionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline CreateGeofenceCollectionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} - - /** - *

                            A key identifier for an Amazon - * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, - * or alias ARN.

                            - */ - inline CreateGeofenceCollectionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} - - /** *

                            Applies one or more tags to the geofence collection. A tag is a key-value * pair helps manage, identify, search, and filter your resources by labelling @@ -381,6 +316,71 @@ namespace Model */ inline CreateGeofenceCollectionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline CreateGeofenceCollectionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline CreateGeofenceCollectionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + + /** + *

                            A key identifier for an Amazon + * Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, + * or alias ARN.

                            + */ + inline CreateGeofenceCollectionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + private: Aws::String m_collectionName; @@ -389,11 +389,11 @@ namespace Model Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_kmsKeyId; - bool m_kmsKeyIdHasBeenSet = false; - Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + Aws::String m_kmsKeyId; + bool m_kmsKeyIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionResult.h index d5ffe589089..4c2fc44e02c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateGeofenceCollectionResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API CreateGeofenceCollectionResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                            The name for the geofence collection.

                            + */ + inline const Aws::String& GetCollectionName() const{ return m_collectionName; } + + /** + *

                            The name for the geofence collection.

                            + */ + inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } + + /** + *

                            The name for the geofence collection.

                            + */ + inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } + + /** + *

                            The name for the geofence collection.

                            + */ + inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } + + /** + *

                            The name for the geofence collection.

                            + */ + inline CreateGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} + + /** + *

                            The name for the geofence collection.

                            + */ + inline CreateGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} + + /** + *

                            The name for the geofence collection.

                            + */ + inline CreateGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} + + /** *

                            The Amazon Resource Name (ARN) for the geofence collection resource. Used * when you need to specify a resource across all Amazon Web Services.

                              @@ -97,42 +133,6 @@ namespace Model inline CreateGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;} - /** - *

                              The name for the geofence collection.

                              - */ - inline const Aws::String& GetCollectionName() const{ return m_collectionName; } - - /** - *

                              The name for the geofence collection.

                              - */ - inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } - - /** - *

                              The name for the geofence collection.

                              - */ - inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } - - /** - *

                              The name for the geofence collection.

                              - */ - inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } - - /** - *

                              The name for the geofence collection.

                              - */ - inline CreateGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} - - /** - *

                              The name for the geofence collection.

                              - */ - inline CreateGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} - - /** - *

                              The name for the geofence collection.

                              - */ - inline CreateGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} - - /** *

                              The timestamp for when the geofence collection was created in ISO 8601 @@ -192,10 +192,10 @@ namespace Model private: - Aws::String m_collectionArn; - Aws::String m_collectionName; + Aws::String m_collectionArn; + Aws::Utils::DateTime m_createTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyRequest.h index b0b68f62ef8..4792d9151e6 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyRequest.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include #include @@ -35,6 +35,110 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline const Aws::String& GetKeyName() const{ return m_keyName; } + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline CreateKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline CreateKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} + + /** + *

                              A custom name for the API key resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique API key name.

                                + *
                              • No spaces allowed. For example, ExampleAPIKey.

                                + *
                              + */ + inline CreateKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} + + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline const ApiKeyRestrictions& GetRestrictions() const{ return m_restrictions; } + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline bool RestrictionsHasBeenSet() const { return m_restrictionsHasBeenSet; } + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline void SetRestrictions(const ApiKeyRestrictions& value) { m_restrictionsHasBeenSet = true; m_restrictions = value; } + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline void SetRestrictions(ApiKeyRestrictions&& value) { m_restrictionsHasBeenSet = true; m_restrictions = std::move(value); } + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline CreateKeyRequest& WithRestrictions(const ApiKeyRestrictions& value) { SetRestrictions(value); return *this;} + + /** + *

                              The API key restrictions for the API key resource.

                              + */ + inline CreateKeyRequest& WithRestrictions(ApiKeyRestrictions&& value) { SetRestrictions(std::move(value)); return *this;} + + /** *

                              An optional description for the API key resource.

                              */ @@ -125,79 +229,6 @@ namespace Model inline CreateKeyRequest& WithExpireTime(Aws::Utils::DateTime&& value) { SetExpireTime(std::move(value)); return *this;} - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline const Aws::String& GetKeyName() const{ return m_keyName; } - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline CreateKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline CreateKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} - - /** - *

                              A custom name for the API key resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique API key name.

                                - *
                              • No spaces allowed. For example, ExampleAPIKey.

                                - *
                              - */ - inline CreateKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} - - /** *

                              Optionally set to true to set no expiration time for the API * key. One of NoExpiry or ExpireTime must be set.

                              @@ -223,37 +254,6 @@ namespace Model inline CreateKeyRequest& WithNoExpiry(bool value) { SetNoExpiry(value); return *this;} - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline const ApiKeyRestrictions& GetRestrictions() const{ return m_restrictions; } - - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline bool RestrictionsHasBeenSet() const { return m_restrictionsHasBeenSet; } - - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline void SetRestrictions(const ApiKeyRestrictions& value) { m_restrictionsHasBeenSet = true; m_restrictions = value; } - - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline void SetRestrictions(ApiKeyRestrictions&& value) { m_restrictionsHasBeenSet = true; m_restrictions = std::move(value); } - - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline CreateKeyRequest& WithRestrictions(const ApiKeyRestrictions& value) { SetRestrictions(value); return *this;} - - /** - *

                              The API key restrictions for the API key resource.

                              - */ - inline CreateKeyRequest& WithRestrictions(ApiKeyRestrictions&& value) { SetRestrictions(std::move(value)); return *this;} - - /** *

                              Applies one or more tags to the map resource. A tag is a key-value pair that * helps manage, identify, search, and filter your resources by labelling them.

                              @@ -425,21 +425,21 @@ namespace Model private: + Aws::String m_keyName; + bool m_keyNameHasBeenSet = false; + + ApiKeyRestrictions m_restrictions; + bool m_restrictionsHasBeenSet = false; + Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_expireTime; bool m_expireTimeHasBeenSet = false; - Aws::String m_keyName; - bool m_keyNameHasBeenSet = false; - bool m_noExpiry; bool m_noExpiryHasBeenSet = false; - ApiKeyRestrictions m_restrictions; - bool m_restrictionsHasBeenSet = false; - Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyResult.h index 63ece79aacb..88d0c71c74c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateKeyResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -33,42 +33,6 @@ namespace Model AWS_LOCATIONSERVICE_API CreateKeyResult& operator=(const Aws::AmazonWebServiceResult& result); - /** - *

                              The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

                              The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - - /** - *

                              The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - - /** - *

                              The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              - */ - inline CreateKeyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

                              The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              - */ - inline CreateKeyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - /** *

                              The key value/string of an API key. This value is used when making API calls * to authorize the call. For example, see The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

                              The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + + /** + *

                              The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + + /** + *

                              The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + */ + inline CreateKeyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

                              The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + */ + inline CreateKeyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -235,14 +235,14 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - Aws::String m_key; Aws::String m_keyArn; Aws::String m_keyName; + Aws::Utils::DateTime m_createTime; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapRequest.h index 341b10cbf46..353b8671b7f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -34,6 +34,79 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline const Aws::String& GetMapName() const{ return m_mapName; } + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline CreateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline CreateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

                              The name for the map resource.

                              Requirements:

                              • Must + * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), + * and underscores (_).

                              • Must be a unique map resource name.

                                + *
                              • No spaces allowed. For example, ExampleMap.

                              • + *
                              + */ + inline CreateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + + /** *

                              Specifies the MapConfiguration, including the map style, for the * map resource that you create. The map style defines the look of maps and the @@ -118,79 +191,6 @@ namespace Model inline CreateMapRequest& WithDescription(const char* value) { SetDescription(value); return *this;} - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline CreateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline CreateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} - - /** - *

                              The name for the map resource.

                              Requirements:

                              • Must - * contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), - * and underscores (_).

                              • Must be a unique map resource name.

                                - *
                              • No spaces allowed. For example, ExampleMap.

                              • - *
                              - */ - inline CreateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;} - - /** *

                              Applies one or more tags to the map resource. A tag is a key-value pair helps * manage, identify, search, and filter your resources by labelling them.

                              @@ -362,15 +362,15 @@ namespace Model private: + Aws::String m_mapName; + bool m_mapNameHasBeenSet = false; + MapConfiguration m_configuration; bool m_configurationHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_mapName; - bool m_mapNameHasBeenSet = false; - Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapResult.h index 3aa854eaaca..c8a06f56870 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateMapResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -34,39 +34,39 @@ namespace Model /** - *

                              The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name of the map resource.

                              */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetMapName() const{ return m_mapName; } /** - *

                              The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name of the map resource.

                              */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetMapName(const Aws::String& value) { m_mapName = value; } /** - *

                              The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name of the map resource.

                              */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } /** - *

                              The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name of the map resource.

                              */ - inline CreateMapResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetMapName(const char* value) { m_mapName.assign(value); } /** - *

                              The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name of the map resource.

                              */ - inline CreateMapResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline CreateMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

                              The name of the map resource.

                              + */ + inline CreateMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

                              The name of the map resource.

                              + */ + inline CreateMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} /** @@ -120,39 +120,39 @@ namespace Model /** - *

                              The name of the map resource.

                              - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

                              The name of the map resource.

                              - */ - inline void SetMapName(const Aws::String& value) { m_mapName = value; } - - /** - *

                              The name of the map resource.

                              + *

                              The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

                              The name of the map resource.

                              + *

                              The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline void SetMapName(const char* value) { m_mapName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

                              The name of the map resource.

                              + *

                              The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreateMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

                              The name of the map resource.

                              + *

                              The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreateMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + inline CreateMapResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

                              The name of the map resource.

                              + *

                              The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreateMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} + inline CreateMapResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} @@ -178,11 +178,11 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; + Aws::String m_mapName; Aws::String m_mapArn; - Aws::String m_mapName; + Aws::Utils::DateTime m_createTime; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexRequest.h index c364090df1b..7e80097dfb9 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexRequest.h @@ -34,6 +34,79 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline CreatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline CreatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                              The name of the place index resource.

                              Requirements:

                              • + *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods + * (.), and underscores (_).

                              • Must be a unique place index + * resource name.

                              • No spaces allowed. For example, + * ExamplePlaceIndex.

                              + */ + inline CreatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + /** *

                              Specifies the geospatial data provider for the new place index.

                              *

                              This field is case-sensitive. Enter the valid values as shown. For example, @@ -291,37 +364,6 @@ namespace Model inline CreatePlaceIndexRequest& WithDataSource(const char* value) { SetDataSource(value); return *this;} - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } - - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } - - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } - - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } - - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline CreatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} - - /** - *

                              Specifies the data storage option requesting Places.

                              - */ - inline CreatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} - - /** *

                              The optional description for the place index resource.

                              */ @@ -364,76 +406,34 @@ namespace Model /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              - */ - inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } - - /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline CreatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline CreatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + inline CreatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} /** - *

                              The name of the place index resource.

                              Requirements:

                              • - *

                                Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods - * (.), and underscores (_).

                              • Must be a unique place index - * resource name.

                              • No spaces allowed. For example, - * ExamplePlaceIndex.

                              + *

                              Specifies the data storage option requesting Places.

                              */ - inline CreatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} + inline CreatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} /** @@ -607,17 +607,17 @@ namespace Model private: + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; + Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; - DataSourceConfiguration m_dataSourceConfiguration; - bool m_dataSourceConfigurationHasBeenSet = false; - Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_indexName; - bool m_indexNameHasBeenSet = false; + DataSourceConfiguration m_dataSourceConfiguration; + bool m_dataSourceConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexResult.h index 125daa92cd5..192ad9b9087 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreatePlaceIndexResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -34,39 +34,39 @@ namespace Model /** - *

                              The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name for the place index resource.

                              */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetIndexName() const{ return m_indexName; } /** - *

                              The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name for the place index resource.

                              */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetIndexName(const Aws::String& value) { m_indexName = value; } /** - *

                              The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name for the place index resource.

                              */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } /** - *

                              The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name for the place index resource.

                              */ - inline CreatePlaceIndexResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetIndexName(const char* value) { m_indexName.assign(value); } /** - *

                              The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              + *

                              The name for the place index resource.

                              */ - inline CreatePlaceIndexResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline CreatePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                              The name for the place index resource.

                              + */ + inline CreatePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                              The name for the place index resource.

                              + */ + inline CreatePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** @@ -127,39 +127,39 @@ namespace Model /** - *

                              The name for the place index resource.

                              - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                              The name for the place index resource.

                              - */ - inline void SetIndexName(const Aws::String& value) { m_indexName = value; } - - /** - *

                              The name for the place index resource.

                              + *

                              The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

                              The name for the place index resource.

                              + *

                              The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline void SetIndexName(const char* value) { m_indexName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

                              The name for the place index resource.

                              + *

                              The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreatePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

                              The name for the place index resource.

                              + *

                              The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreatePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + inline CreatePlaceIndexResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

                              The name for the place index resource.

                              + *

                              The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                              */ - inline CreatePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} + inline CreatePlaceIndexResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} @@ -185,11 +185,11 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; + Aws::String m_indexName; Aws::String m_indexArn; - Aws::String m_indexName; + Aws::Utils::DateTime m_createTime; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateRouteCalculatorResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateRouteCalculatorResult.h index 3c912a941cc..547d6664d19 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateRouteCalculatorResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateRouteCalculatorResult.h @@ -33,6 +33,49 @@ namespace Model AWS_LOCATIONSERVICE_API CreateRouteCalculatorResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline CreateRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline CreateRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} + + /** + *

                              The name of the route calculator resource.

                              • For example, + * ExampleRouteCalculator.

                              + */ + inline CreateRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} + + /** *

                              The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN * when you specify a resource across all Amazon Web Services.

                              • @@ -97,49 +140,6 @@ namespace Model inline CreateRouteCalculatorResult& WithCalculatorArn(const char* value) { SetCalculatorArn(value); return *this;} - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline CreateRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline CreateRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} - - /** - *

                                The name of the route calculator resource.

                                • For example, - * ExampleRouteCalculator.

                                - */ - inline CreateRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} - - /** *

                                The timestamp when the route calculator resource was created in ISO 8601 @@ -204,10 +204,10 @@ namespace Model private: - Aws::String m_calculatorArn; - Aws::String m_calculatorName; + Aws::String m_calculatorArn; + Aws::Utils::DateTime m_createTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerRequest.h index ea7a9f08f14..162105f8ad6 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerRequest.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -35,142 +35,76 @@ namespace Model /** - *

                                An optional description for the tracker resource.

                                - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline CreateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline CreateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - - /** - *

                                An optional description for the tracker resource.

                                - */ - inline CreateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;} - - - /** - *

                                Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

                                Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

                                Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

                                Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline CreateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} - + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

                                Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                This parameter is only used if - * you are using a KMS customer managed key.

                                If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

                                You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

                                Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                This parameter is only used if - * you are using a KMS customer managed key.

                                If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

                                You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; } + inline CreateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** - *

                                Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                This parameter is only used if - * you are using a KMS customer managed key.

                                If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

                                You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; } + inline CreateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** - *

                                Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                This parameter is only used if - * you are using a KMS customer managed key.

                                If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

                                You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

                                + *

                                The name for the tracker resource.

                                Requirements:

                                • + *

                                  Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods + * (.), and underscores (_).

                                • Must be a unique tracker resource + * name.

                                • No spaces allowed. For example, + * ExampleTracker.

                                */ - inline CreateTrackerRequest& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} + inline CreateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** @@ -239,148 +173,44 @@ namespace Model /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = value; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline CreateTrackerRequest& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;} + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** - *

                                Specifies the position filtering for the tracker resource.

                                Valid - * values:

                                • TimeBased - Location updates are - * evaluated against linked geofence collections, but not every location update is - * stored. If your update frequency is more often than 30 seconds, only one update - * per 30 seconds is stored for each unique device ID.

                                • - * DistanceBased - If the device has moved less than 30 m (98.4 ft), - * location updates are ignored. Location updates within this area are neither - * evaluated against linked geofence collections, nor stored. This helps control - * costs by reducing the number of geofence evaluations and historical device - * positions to paginate through. Distance-based filtering can also reduce the - * effects of GPS noise when displaying device trajectories on a map.

                                • - *
                                • AccuracyBased - If the device has moved less than the - * measured accuracy, location updates are ignored. For example, if two consecutive - * updates from a device have a horizontal accuracy of 5 m and 10 m, the second - * update is ignored if the device has moved less than 15 m. Ignored location - * updates are neither evaluated against linked geofence collections, nor stored. - * This can reduce the effects of GPS noise when displaying device trajectories on - * a map, and can help control your costs by reducing the number of geofence - * evaluations.

                                This field is optional. If not specified, the - * default value is TimeBased.

                                + *

                                An optional description for the tracker resource.

                                */ - inline CreateTrackerRequest& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;} + inline CreateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

                                An optional description for the tracker resource.

                                + */ + inline CreateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

                                An optional description for the tracker resource.

                                + */ + inline CreateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -391,7 +221,7 @@ namespace Model * unique with a maximum of one value.

                              • Maximum key length: 128 * Unicode characters in UTF-8

                              • Maximum value length: 256 Unicode * characters in UTF-8

                              • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                              • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                              • Cannot * use "aws:" as a prefix for a key.

                              */ inline const Aws::Map& GetTags() const{ return m_tags; } @@ -404,7 +234,7 @@ namespace Model * unique with a maximum of one value.

                            • Maximum key length: 128 * Unicode characters in UTF-8

                            • Maximum value length: 256 Unicode * characters in UTF-8

                            • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                            • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                            • Cannot * use "aws:" as a prefix for a key.

                            */ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } @@ -417,7 +247,7 @@ namespace Model * unique with a maximum of one value.

                          • Maximum key length: 128 * Unicode characters in UTF-8

                          • Maximum value length: 256 Unicode * characters in UTF-8

                          • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                          • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                          • Cannot * use "aws:" as a prefix for a key.

                          */ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } @@ -430,7 +260,7 @@ namespace Model * unique with a maximum of one value.

                        • Maximum key length: 128 * Unicode characters in UTF-8

                        • Maximum value length: 256 Unicode * characters in UTF-8

                        • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                        • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                        • Cannot * use "aws:" as a prefix for a key.

                        */ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } @@ -443,7 +273,7 @@ namespace Model * unique with a maximum of one value.

                      • Maximum key length: 128 * Unicode characters in UTF-8

                      • Maximum value length: 256 Unicode * characters in UTF-8

                      • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                      • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                      • Cannot * use "aws:" as a prefix for a key.

                      */ inline CreateTrackerRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} @@ -456,7 +286,7 @@ namespace Model * unique with a maximum of one value.

                    • Maximum key length: 128 * Unicode characters in UTF-8

                    • Maximum value length: 256 Unicode * characters in UTF-8

                    • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                    • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                    • Cannot * use "aws:" as a prefix for a key.

                    */ inline CreateTrackerRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} @@ -469,7 +299,7 @@ namespace Model * unique with a maximum of one value.

                  • Maximum key length: 128 * Unicode characters in UTF-8

                  • Maximum value length: 256 Unicode * characters in UTF-8

                  • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                  • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                  • Cannot * use "aws:" as a prefix for a key.

                  */ inline CreateTrackerRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } @@ -482,7 +312,7 @@ namespace Model * unique with a maximum of one value.

                • Maximum key length: 128 * Unicode characters in UTF-8

                • Maximum value length: 256 Unicode * characters in UTF-8

                • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

                • Cannot + * 0–9), and the following characters: + - = . _ : / @.

                • Cannot * use "aws:" as a prefix for a key.

                */ inline CreateTrackerRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } @@ -495,7 +325,7 @@ namespace Model * unique with a maximum of one value.

              • Maximum key length: 128 * Unicode characters in UTF-8

              • Maximum value length: 256 Unicode * characters in UTF-8

              • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

              • Cannot + * 0–9), and the following characters: + - = . _ : / @.

              • Cannot * use "aws:" as a prefix for a key.

              */ inline CreateTrackerRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } @@ -508,7 +338,7 @@ namespace Model * unique with a maximum of one value.

            • Maximum key length: 128 * Unicode characters in UTF-8

            • Maximum value length: 256 Unicode * characters in UTF-8

            • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

            • Cannot + * 0–9), and the following characters: + - = . _ : / @.

            • Cannot * use "aws:" as a prefix for a key.

            */ inline CreateTrackerRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } @@ -521,7 +351,7 @@ namespace Model * unique with a maximum of one value.

          • Maximum key length: 128 * Unicode characters in UTF-8

          • Maximum value length: 256 Unicode * characters in UTF-8

          • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

          • Cannot + * 0–9), and the following characters: + - = . _ : / @.

          • Cannot * use "aws:" as a prefix for a key.

          */ inline CreateTrackerRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } @@ -534,7 +364,7 @@ namespace Model * unique with a maximum of one value.

        • Maximum key length: 128 * Unicode characters in UTF-8

        • Maximum value length: 256 Unicode * characters in UTF-8

        • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

        • Cannot + * 0–9), and the following characters: + - = . _ : / @.

        • Cannot * use "aws:" as a prefix for a key.

        */ inline CreateTrackerRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } @@ -547,106 +377,276 @@ namespace Model * unique with a maximum of one value.

      • Maximum key length: 128 * Unicode characters in UTF-8

      • Maximum value length: 256 Unicode * characters in UTF-8

      • Can use alphanumeric characters (A–Z, a–z, - * 0��9), and the following characters: + - = . _ : / @.

      • Cannot + * 0–9), and the following characters: + - = . _ : / @.

      • Cannot * use "aws:" as a prefix for a key.

      */ inline CreateTrackerRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + inline bool PositionFilteringHasBeenSet() const { return m_positionFilteringHasBeenSet; } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = value; } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFilteringHasBeenSet = true; m_positionFiltering = std::move(value); } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline CreateTrackerRequest& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;} /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Specifies the position filtering for the tracker resource.

      Valid + * values:

      • TimeBased - Location updates are + * evaluated against linked geofence collections, but not every location update is + * stored. If your update frequency is more often than 30 seconds, only one update + * per 30 seconds is stored for each unique device ID.

      • + * DistanceBased - If the device has moved less than 30 m (98.4 ft), + * location updates are ignored. Location updates within this area are neither + * evaluated against linked geofence collections, nor stored. This helps control + * costs by reducing the number of geofence evaluations and historical device + * positions to paginate through. Distance-based filtering can also reduce the + * effects of GPS noise when displaying device trajectories on a map.

      • + *
      • AccuracyBased - If the device has moved less than the + * measured accuracy, location updates are ignored. For example, if two consecutive + * updates from a device have a horizontal accuracy of 5 m and 10 m, the second + * update is ignored if the device has moved less than 15 m. Ignored location + * updates are neither evaluated against linked geofence collections, nor stored. + * This can reduce the effects of GPS noise when displaying device trajectories on + * a map, and can help control your costs by reducing the number of geofence + * evaluations.

      This field is optional. If not specified, the + * default value is TimeBased.

      */ - inline CreateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline CreateTrackerRequest& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;} + /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

      You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

      */ - inline CreateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } /** - *

      The name for the tracker resource.

      Requirements:

      • - *

        Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods - * (.), and underscores (_).

      • Must be a unique tracker resource - * name.

      • No spaces allowed. For example, - * ExampleTracker.

      + *

      Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

      You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

      */ - inline CreateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; } - private: + /** + *

      Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

      You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

      + */ + inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; } - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + /** + *

      Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

      You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

      + */ + inline CreateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} - bool m_eventBridgeEnabled; - bool m_eventBridgeEnabledHasBeenSet = false; - bool m_kmsKeyEnableGeospatialQueries; - bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false; + /** + *

      Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

      This parameter is only used if + * you are using a KMS customer managed key.

      If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

      You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

      + */ + inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } + + /** + *

      Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

      This parameter is only used if + * you are using a KMS customer managed key.

      If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

      You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

      + */ + inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; } + + /** + *

      Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

      This parameter is only used if + * you are using a KMS customer managed key.

      If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

      You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

      + */ + inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; } + + /** + *

      Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

      This parameter is only used if + * you are using a KMS customer managed key.

      If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

      You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

      + */ + inline CreateTrackerRequest& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} + + private: + + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; - PositionFiltering m_positionFiltering; - bool m_positionFilteringHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; + PositionFiltering m_positionFiltering; + bool m_positionFilteringHasBeenSet = false; + + bool m_eventBridgeEnabled; + bool m_eventBridgeEnabledHasBeenSet = false; + + bool m_kmsKeyEnableGeospatialQueries; + bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerResult.h index 46da30f7d39..baecf7d1498 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/CreateTrackerResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -34,39 +34,39 @@ namespace Model /** - *

      The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

      + *

      The name of the tracker resource.

      */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

      The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

      + *

      The name of the tracker resource.

      */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } /** - *

      The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

      + *

      The name of the tracker resource.

      */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } /** - *

      The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

      + *

      The name of the tracker resource.

      */ - inline CreateTrackerResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } /** - *

      The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

      + *

      The name of the tracker resource.

      */ - inline CreateTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline CreateTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

      The name of the tracker resource.

      + */ + inline CreateTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

      The name of the tracker resource.

      + */ + inline CreateTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** @@ -127,39 +127,39 @@ namespace Model /** - *

      The name of the tracker resource.

      - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

      The name of the tracker resource.

      - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } - - /** - *

      The name of the tracker resource.

      + *

      The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

      */ - inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

      The name of the tracker resource.

      + *

      The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

      */ - inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

      The name of the tracker resource.

      + *

      The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

      */ - inline CreateTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

      The name of the tracker resource.

      + *

      The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

      */ - inline CreateTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline CreateTrackerResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

      The name of the tracker resource.

      + *

      The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

      */ - inline CreateTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline CreateTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} @@ -185,11 +185,11 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; + Aws::String m_trackerName; Aws::String m_trackerArn; - Aws::String m_trackerName; + Aws::Utils::DateTime m_createTime; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h index 76538862c8f..1edb46048bc 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeleteKeyRequest.h @@ -38,47 +38,6 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; - /** - *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set - * the parameter true to delete the key or to false to - * not preemptively delete the API key.

      Valid values: true, or - * false.

      Required: No

      This action is - * irreversible. Only use ForceDelete if you are certain the key is no longer in - * use.

      - */ - inline bool GetForceDelete() const{ return m_forceDelete; } - - /** - *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set - * the parameter true to delete the key or to false to - * not preemptively delete the API key.

      Valid values: true, or - * false.

      Required: No

      This action is - * irreversible. Only use ForceDelete if you are certain the key is no longer in - * use.

      - */ - inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; } - - /** - *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set - * the parameter true to delete the key or to false to - * not preemptively delete the API key.

      Valid values: true, or - * false.

      Required: No

      This action is - * irreversible. Only use ForceDelete if you are certain the key is no longer in - * use.

      - */ - inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; } - - /** - *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set - * the parameter true to delete the key or to false to - * not preemptively delete the API key.

      Valid values: true, or - * false.

      Required: No

      This action is - * irreversible. Only use ForceDelete if you are certain the key is no longer in - * use.

      - */ - inline DeleteKeyRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;} - - /** *

      The name of the API key to delete.

      */ @@ -119,13 +78,54 @@ namespace Model */ inline DeleteKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} - private: - bool m_forceDelete; - bool m_forceDeleteHasBeenSet = false; + /** + *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

      Valid values: true, or + * false.

      Required: No

      This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

      + */ + inline bool GetForceDelete() const{ return m_forceDelete; } + + /** + *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

      Valid values: true, or + * false.

      Required: No

      This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

      + */ + inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; } + + /** + *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

      Valid values: true, or + * false.

      Required: No

      This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

      + */ + inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; } + + /** + *

      ForceDelete bypasses an API key's expiry conditions and deletes the key. Set + * the parameter true to delete the key or to false to + * not preemptively delete the API key.

      Valid values: true, or + * false.

      Required: No

      This action is + * irreversible. Only use ForceDelete if you are certain the key is no longer in + * use.

      + */ + inline DeleteKeyRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;} + + private: Aws::String m_keyName; bool m_keyNameHasBeenSet = false; + + bool m_forceDelete; + bool m_forceDeleteHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeGeofenceCollectionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeGeofenceCollectionResult.h index 2577441847f..96933599b9c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeGeofenceCollectionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeGeofenceCollectionResult.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -34,6 +34,42 @@ namespace Model AWS_LOCATIONSERVICE_API DescribeGeofenceCollectionResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

      The name of the geofence collection.

      + */ + inline const Aws::String& GetCollectionName() const{ return m_collectionName; } + + /** + *

      The name of the geofence collection.

      + */ + inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } + + /** + *

      The name of the geofence collection.

      + */ + inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } + + /** + *

      The name of the geofence collection.

      + */ + inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } + + /** + *

      The name of the geofence collection.

      + */ + inline DescribeGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} + + /** + *

      The name of the geofence collection.

      + */ + inline DescribeGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} + + /** + *

      The name of the geofence collection.

      + */ + inline DescribeGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} + + /** *

      The Amazon Resource Name (ARN) for the geofence collection resource. Used * when you need to specify a resource across all Amazon Web Services.

        @@ -98,78 +134,6 @@ namespace Model inline DescribeGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;} - /** - *

        The name of the geofence collection.

        - */ - inline const Aws::String& GetCollectionName() const{ return m_collectionName; } - - /** - *

        The name of the geofence collection.

        - */ - inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } - - /** - *

        The name of the geofence collection.

        - */ - inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } - - /** - *

        The name of the geofence collection.

        - */ - inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } - - /** - *

        The name of the geofence collection.

        - */ - inline DescribeGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} - - /** - *

        The name of the geofence collection.

        - */ - inline DescribeGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} - - /** - *

        The name of the geofence collection.

        - */ - inline DescribeGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} - - - /** - *

        The timestamp for when the geofence resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

        The timestamp for when the geofence resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - - /** - *

        The timestamp for when the geofence resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - - /** - *

        The timestamp for when the geofence resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline DescribeGeofenceCollectionResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

        The timestamp for when the geofence resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline DescribeGeofenceCollectionResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - /** *

        The optional description for the geofence collection.

        */ @@ -206,22 +170,6 @@ namespace Model inline DescribeGeofenceCollectionResult& WithDescription(const char* value) { SetDescription(value); return *this;} - /** - *

        The number of geofences in the geofence collection.

        - */ - inline int GetGeofenceCount() const{ return m_geofenceCount; } - - /** - *

        The number of geofences in the geofence collection.

        - */ - inline void SetGeofenceCount(int value) { m_geofenceCount = value; } - - /** - *

        The number of geofences in the geofence collection.

        - */ - inline DescribeGeofenceCollectionResult& WithGeofenceCount(int value) { SetGeofenceCount(value); return *this;} - - /** *

        A key identifier for an Amazon @@ -340,6 +288,42 @@ namespace Model inline DescribeGeofenceCollectionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + /** + *

        The timestamp for when the geofence resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

        The timestamp for when the geofence resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + + /** + *

        The timestamp for when the geofence resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + + /** + *

        The timestamp for when the geofence resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline DescribeGeofenceCollectionResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

        The timestamp for when the geofence resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline DescribeGeofenceCollectionResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + /** *

        The timestamp for when the geofence collection was last updated in ISO 8601 @@ -376,6 +360,22 @@ namespace Model inline DescribeGeofenceCollectionResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + /** + *

        The number of geofences in the geofence collection.

        + */ + inline int GetGeofenceCount() const{ return m_geofenceCount; } + + /** + *

        The number of geofences in the geofence collection.

        + */ + inline void SetGeofenceCount(int value) { m_geofenceCount = value; } + + /** + *

        The number of geofences in the geofence collection.

        + */ + inline DescribeGeofenceCollectionResult& WithGeofenceCount(int value) { SetGeofenceCount(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -399,22 +399,22 @@ namespace Model private: - Aws::String m_collectionArn; - Aws::String m_collectionName; - Aws::Utils::DateTime m_createTime; + Aws::String m_collectionArn; Aws::String m_description; - int m_geofenceCount; - Aws::String m_kmsKeyId; Aws::Map m_tags; + Aws::Utils::DateTime m_createTime; + Aws::Utils::DateTime m_updateTime; + int m_geofenceCount; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeKeyResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeKeyResult.h index a9932861d31..9e546f9067c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeKeyResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeKeyResult.h @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include #include @@ -35,114 +35,6 @@ namespace Model AWS_LOCATIONSERVICE_API DescribeKeyResult& operator=(const Aws::AmazonWebServiceResult& result); - /** - *

        The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

        The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - - /** - *

        The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - - /** - *

        The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline DescribeKeyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

        The timestamp for when the API key resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline DescribeKeyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - - /** - *

        The optional description for the API key resource.

        - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

        The optional description for the API key resource.

        - */ - inline void SetDescription(const Aws::String& value) { m_description = value; } - - /** - *

        The optional description for the API key resource.

        - */ - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - - /** - *

        The optional description for the API key resource.

        - */ - inline void SetDescription(const char* value) { m_description.assign(value); } - - /** - *

        The optional description for the API key resource.

        - */ - inline DescribeKeyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - - /** - *

        The optional description for the API key resource.

        - */ - inline DescribeKeyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - - /** - *

        The optional description for the API key resource.

        - */ - inline DescribeKeyResult& WithDescription(const char* value) { SetDescription(value); return *this;} - - - /** - *

        The timestamp for when the API key resource will expire in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline const Aws::Utils::DateTime& GetExpireTime() const{ return m_expireTime; } - - /** - *

        The timestamp for when the API key resource will expire in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetExpireTime(const Aws::Utils::DateTime& value) { m_expireTime = value; } - - /** - *

        The timestamp for when the API key resource will expire in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetExpireTime(Aws::Utils::DateTime&& value) { m_expireTime = std::move(value); } - - /** - *

        The timestamp for when the API key resource will expire in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline DescribeKeyResult& WithExpireTime(const Aws::Utils::DateTime& value) { SetExpireTime(value); return *this;} - - /** - *

        The timestamp for when the API key resource will expire in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline DescribeKeyResult& WithExpireTime(Aws::Utils::DateTime&& value) { SetExpireTime(std::move(value)); return *this;} - - /** *

        The key value/string of an API key.

        */ @@ -289,64 +181,75 @@ namespace Model /** - *

        Tags associated with the API key resource.

        - */ - inline const Aws::Map& GetTags() const{ return m_tags; } - - /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetTags(const Aws::Map& value) { m_tags = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline DescribeKeyResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + inline DescribeKeyResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - /** - *

        Tags associated with the API key resource.

        - */ - inline DescribeKeyResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource will expire in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline const Aws::Utils::DateTime& GetExpireTime() const{ return m_expireTime; } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource will expire in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline void SetExpireTime(const Aws::Utils::DateTime& value) { m_expireTime = value; } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource will expire in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline void SetExpireTime(Aws::Utils::DateTime&& value) { m_expireTime = std::move(value); } /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource will expire in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + inline DescribeKeyResult& WithExpireTime(const Aws::Utils::DateTime& value) { SetExpireTime(value); return *this;} /** - *

        Tags associated with the API key resource.

        + *

        The timestamp for when the API key resource will expire in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline DescribeKeyResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + inline DescribeKeyResult& WithExpireTime(Aws::Utils::DateTime&& value) { SetExpireTime(std::move(value)); return *this;} /** @@ -385,6 +288,103 @@ namespace Model inline DescribeKeyResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + /** + *

        The optional description for the API key resource.

        + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

        The optional description for the API key resource.

        + */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

        The optional description for the API key resource.

        + */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

        The optional description for the API key resource.

        + */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

        The optional description for the API key resource.

        + */ + inline DescribeKeyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

        The optional description for the API key resource.

        + */ + inline DescribeKeyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

        The optional description for the API key resource.

        + */ + inline DescribeKeyResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

        Tags associated with the API key resource.

        + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

        Tags associated with the API key resource.

        + */ + inline DescribeKeyResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -408,12 +408,6 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - - Aws::String m_description; - - Aws::Utils::DateTime m_expireTime; - Aws::String m_key; Aws::String m_keyArn; @@ -422,10 +416,16 @@ namespace Model ApiKeyRestrictions m_restrictions; - Aws::Map m_tags; + Aws::Utils::DateTime m_createTime; + + Aws::Utils::DateTime m_expireTime; Aws::Utils::DateTime m_updateTime; + Aws::String m_description; + + Aws::Map m_tags; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeMapResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeMapResult.h index 9849104dda8..80ea11c073d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeMapResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeMapResult.h @@ -5,10 +5,10 @@ #pragma once #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -36,65 +36,89 @@ namespace Model /** - *

        Specifies the map tile style selected from a partner data provider.

        + *

        The map style selected from an available provider.

        */ - inline const MapConfiguration& GetConfiguration() const{ return m_configuration; } + inline const Aws::String& GetMapName() const{ return m_mapName; } /** - *

        Specifies the map tile style selected from a partner data provider.

        + *

        The map style selected from an available provider.

        */ - inline void SetConfiguration(const MapConfiguration& value) { m_configuration = value; } + inline void SetMapName(const Aws::String& value) { m_mapName = value; } /** - *

        Specifies the map tile style selected from a partner data provider.

        + *

        The map style selected from an available provider.

        */ - inline void SetConfiguration(MapConfiguration&& value) { m_configuration = std::move(value); } + inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } /** - *

        Specifies the map tile style selected from a partner data provider.

        + *

        The map style selected from an available provider.

        */ - inline DescribeMapResult& WithConfiguration(const MapConfiguration& value) { SetConfiguration(value); return *this;} + inline void SetMapName(const char* value) { m_mapName.assign(value); } /** - *

        Specifies the map tile style selected from a partner data provider.

        + *

        The map style selected from an available provider.

        */ - inline DescribeMapResult& WithConfiguration(MapConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + inline DescribeMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + /** + *

        The map style selected from an available provider.

        + */ + inline DescribeMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The map style selected from an available provider.

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline DescribeMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} + /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline const Aws::String& GetMapArn() const{ return m_mapArn; } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetMapArn(const Aws::String& value) { m_mapArn = value; } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        */ - inline DescribeMapResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetMapArn(Aws::String&& value) { m_mapArn = std::move(value); } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        */ - inline DescribeMapResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline void SetMapArn(const char* value) { m_mapArn.assign(value); } + + /** + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        + */ + inline DescribeMapResult& WithMapArn(const Aws::String& value) { SetMapArn(value); return *this;} + + /** + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        + */ + inline DescribeMapResult& WithMapArn(Aws::String&& value) { SetMapArn(std::move(value)); return *this;} + + /** + *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a + * resource across all Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:map/ExampleMap

        + */ + inline DescribeMapResult& WithMapArn(const char* value) { SetMapArn(value); return *this;} /** @@ -134,125 +158,65 @@ namespace Model /** - *

        The optional description for the map resource.

        + *

        Specifies the map tile style selected from a partner data provider.

        */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline const MapConfiguration& GetConfiguration() const{ return m_configuration; } /** - *

        The optional description for the map resource.

        + *

        Specifies the map tile style selected from a partner data provider.

        */ - inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetConfiguration(const MapConfiguration& value) { m_configuration = value; } /** - *

        The optional description for the map resource.

        + *

        Specifies the map tile style selected from a partner data provider.

        */ - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetConfiguration(MapConfiguration&& value) { m_configuration = std::move(value); } /** - *

        The optional description for the map resource.

        + *

        Specifies the map tile style selected from a partner data provider.

        */ - inline void SetDescription(const char* value) { m_description.assign(value); } + inline DescribeMapResult& WithConfiguration(const MapConfiguration& value) { SetConfiguration(value); return *this;} /** - *

        The optional description for the map resource.

        + *

        Specifies the map tile style selected from a partner data provider.

        */ - inline DescribeMapResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline DescribeMapResult& WithConfiguration(MapConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} - /** - *

        The optional description for the map resource.

        - */ - inline DescribeMapResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

        The optional description for the map resource.

        */ - inline DescribeMapResult& WithDescription(const char* value) { SetDescription(value); return *this;} - - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline const Aws::String& GetMapArn() const{ return m_mapArn; } - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline void SetMapArn(const Aws::String& value) { m_mapArn = value; } - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline void SetMapArn(Aws::String&& value) { m_mapArn = std::move(value); } - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline void SetMapArn(const char* value) { m_mapArn.assign(value); } - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline DescribeMapResult& WithMapArn(const Aws::String& value) { SetMapArn(value); return *this;} - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline DescribeMapResult& WithMapArn(Aws::String&& value) { SetMapArn(std::move(value)); return *this;} - - /** - *

        The Amazon Resource Name (ARN) for the map resource. Used to specify a - * resource across all Amazon Web Services.

        • Format example: - * arn:aws:geo:region:account-id:map/ExampleMap

        - */ - inline DescribeMapResult& WithMapArn(const char* value) { SetMapArn(value); return *this;} - - - /** - *

        The map style selected from an available provider.

        - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline void SetMapName(const Aws::String& value) { m_mapName = value; } + inline void SetDescription(const Aws::String& value) { m_description = value; } /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline void SetMapName(const char* value) { m_mapName.assign(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline DescribeMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + inline DescribeMapResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline DescribeMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + inline DescribeMapResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

        The map style selected from an available provider.

        + *

        The optional description for the map resource.

        */ - inline DescribeMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} + inline DescribeMapResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -316,6 +280,42 @@ namespace Model inline DescribeMapResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + /** + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + + /** + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + + /** + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline DescribeMapResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline DescribeMapResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + /** *

        The timestamp for when the map resource was last update in ISO 8601 @@ -375,20 +375,20 @@ namespace Model private: - MapConfiguration m_configuration; + Aws::String m_mapName; - Aws::Utils::DateTime m_createTime; + Aws::String m_mapArn; Aws::String m_dataSource; - Aws::String m_description; - - Aws::String m_mapArn; + MapConfiguration m_configuration; - Aws::String m_mapName; + Aws::String m_description; Aws::Map m_tags; + Aws::Utils::DateTime m_createTime; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribePlaceIndexResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribePlaceIndexResult.h index 3a7faf72f02..e23a801c20d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribePlaceIndexResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribePlaceIndexResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -35,6 +35,135 @@ namespace Model AWS_LOCATIONSERVICE_API DescribePlaceIndexResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

        The name of the place index resource being described.

        + */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

        The name of the place index resource being described.

        + */ + inline void SetIndexName(const Aws::String& value) { m_indexName = value; } + + /** + *

        The name of the place index resource being described.

        + */ + inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } + + /** + *

        The name of the place index resource being described.

        + */ + inline void SetIndexName(const char* value) { m_indexName.assign(value); } + + /** + *

        The name of the place index resource being described.

        + */ + inline DescribePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

        The name of the place index resource being described.

        + */ + inline DescribePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

        The name of the place index resource being described.

        + */ + inline DescribePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline const Aws::String& GetIndexArn() const{ return m_indexArn; } + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline void SetIndexArn(const Aws::String& value) { m_indexArn = value; } + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline void SetIndexArn(Aws::String&& value) { m_indexArn = std::move(value); } + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline void SetIndexArn(const char* value) { m_indexArn.assign(value); } + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline DescribePlaceIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline DescribePlaceIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} + + /** + *

        The Amazon Resource Name (ARN) for the place index resource. Used to specify + * a resource across Amazon Web Services.

        • Format example: + * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

          + *
        + */ + inline DescribePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} + + + /** + *

        The optional description for the place index resource.

        + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(const Aws::String& value) { m_description = value; } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(const char* value) { m_description.assign(value); } + + /** + *

        The optional description for the place index resource.

        + */ + inline DescribePlaceIndexResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

        The optional description for the place index resource.

        + */ + inline DescribePlaceIndexResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

        The optional description for the place index resource.

        + */ + inline DescribePlaceIndexResult& WithDescription(const char* value) { SetDescription(value); return *this;} + + /** *

        The timestamp for when the place index resource was created in ISO 8601 @@ -71,6 +200,42 @@ namespace Model inline DescribePlaceIndexResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + /** + *

        The timestamp for when the place index resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + + /** + *

        The timestamp for when the place index resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + + /** + *

        The timestamp for when the place index resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + + /** + *

        The timestamp for when the place index resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline DescribePlaceIndexResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + + /** + *

        The timestamp for when the place index resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline DescribePlaceIndexResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + + /** *

        The data provider of geospatial data. Values can be one of the following:

        *
        • Esri

        • Grab

        • @@ -168,135 +333,6 @@ namespace Model inline DescribePlaceIndexResult& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} - /** - *

          The optional description for the place index resource.

          - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

          The optional description for the place index resource.

          - */ - inline void SetDescription(const Aws::String& value) { m_description = value; } - - /** - *

          The optional description for the place index resource.

          - */ - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - - /** - *

          The optional description for the place index resource.

          - */ - inline void SetDescription(const char* value) { m_description.assign(value); } - - /** - *

          The optional description for the place index resource.

          - */ - inline DescribePlaceIndexResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - - /** - *

          The optional description for the place index resource.

          - */ - inline DescribePlaceIndexResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - - /** - *

          The optional description for the place index resource.

          - */ - inline DescribePlaceIndexResult& WithDescription(const char* value) { SetDescription(value); return *this;} - - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline const Aws::String& GetIndexArn() const{ return m_indexArn; } - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline void SetIndexArn(const Aws::String& value) { m_indexArn = value; } - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline void SetIndexArn(Aws::String&& value) { m_indexArn = std::move(value); } - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline void SetIndexArn(const char* value) { m_indexArn.assign(value); } - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline DescribePlaceIndexResult& WithIndexArn(const Aws::String& value) { SetIndexArn(value); return *this;} - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline DescribePlaceIndexResult& WithIndexArn(Aws::String&& value) { SetIndexArn(std::move(value)); return *this;} - - /** - *

          The Amazon Resource Name (ARN) for the place index resource. Used to specify - * a resource across Amazon Web Services.

          • Format example: - * arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

            - *
          - */ - inline DescribePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} - - - /** - *

          The name of the place index resource being described.

          - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

          The name of the place index resource being described.

          - */ - inline void SetIndexName(const Aws::String& value) { m_indexName = value; } - - /** - *

          The name of the place index resource being described.

          - */ - inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } - - /** - *

          The name of the place index resource being described.

          - */ - inline void SetIndexName(const char* value) { m_indexName.assign(value); } - - /** - *

          The name of the place index resource being described.

          - */ - inline DescribePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} - - /** - *

          The name of the place index resource being described.

          - */ - inline DescribePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} - - /** - *

          The name of the place index resource being described.

          - */ - inline DescribePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} - - /** *

          Tags associated with place index resource.

          */ @@ -358,42 +394,6 @@ namespace Model inline DescribePlaceIndexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } - /** - *

          The timestamp for when the place index resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

          - */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - - /** - *

          The timestamp for when the place index resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

          - */ - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - - /** - *

          The timestamp for when the place index resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

          - */ - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - - /** - *

          The timestamp for when the place index resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

          - */ - inline DescribePlaceIndexResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - - /** - *

          The timestamp for when the place index resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

          - */ - inline DescribePlaceIndexResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -417,21 +417,21 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - - Aws::String m_dataSource; + Aws::String m_indexName; - DataSourceConfiguration m_dataSourceConfiguration; + Aws::String m_indexArn; Aws::String m_description; - Aws::String m_indexArn; + Aws::Utils::DateTime m_createTime; - Aws::String m_indexName; + Aws::Utils::DateTime m_updateTime; - Aws::Map m_tags; + Aws::String m_dataSource; - Aws::Utils::DateTime m_updateTime; + DataSourceConfiguration m_dataSourceConfiguration; + + Aws::Map m_tags; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeRouteCalculatorResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeRouteCalculatorResult.h index cedb6720e5d..8c14c1f44ec 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeRouteCalculatorResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeRouteCalculatorResult.h @@ -34,6 +34,42 @@ namespace Model AWS_LOCATIONSERVICE_API DescribeRouteCalculatorResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

          The name of the route calculator resource being described.

          + */ + inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } + + /** + *

          The name of the route calculator resource being described.

          + */ + inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } + + /** + *

          The name of the route calculator resource being described.

          + */ + inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } + + /** + *

          The name of the route calculator resource being described.

          + */ + inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } + + /** + *

          The name of the route calculator resource being described.

          + */ + inline DescribeRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} + + /** + *

          The name of the route calculator resource being described.

          + */ + inline DescribeRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} + + /** + *

          The name of the route calculator resource being described.

          + */ + inline DescribeRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} + + /** *

          The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN * when you specify a resource across Amazon Web Services.

          • Format @@ -99,39 +135,39 @@ namespace Model /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } + inline void SetDescription(const Aws::String& value) { m_description = value; } /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline DescribeRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} + inline DescribeRouteCalculatorResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline DescribeRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} + inline DescribeRouteCalculatorResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

            The name of the route calculator resource being described.

            + *

            The optional description of the route calculator resource.

            */ - inline DescribeRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} + inline DescribeRouteCalculatorResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -175,6 +211,47 @@ namespace Model inline DescribeRouteCalculatorResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + /** + *

            The timestamp when the route calculator resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

            • For example, + * 2020–07-2T12:15:20.000Z+01:00

            + */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + + /** + *

            The timestamp when the route calculator resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

            • For example, + * 2020–07-2T12:15:20.000Z+01:00

            + */ + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + + /** + *

            The timestamp when the route calculator resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

            • For example, + * 2020–07-2T12:15:20.000Z+01:00

            + */ + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + + /** + *

            The timestamp when the route calculator resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

            • For example, + * 2020–07-2T12:15:20.000Z+01:00

            + */ + inline DescribeRouteCalculatorResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + + /** + *

            The timestamp when the route calculator resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

            • For example, + * 2020–07-2T12:15:20.000Z+01:00

            + */ + inline DescribeRouteCalculatorResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + + /** *

            The data provider of traffic and road network data. Indicates one of the * available providers:

            • Esri

            • @@ -246,42 +323,6 @@ namespace Model inline DescribeRouteCalculatorResult& WithDataSource(const char* value) { SetDataSource(value); return *this;} - /** - *

              The optional description of the route calculator resource.

              - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

              The optional description of the route calculator resource.

              - */ - inline void SetDescription(const Aws::String& value) { m_description = value; } - - /** - *

              The optional description of the route calculator resource.

              - */ - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } - - /** - *

              The optional description of the route calculator resource.

              - */ - inline void SetDescription(const char* value) { m_description.assign(value); } - - /** - *

              The optional description of the route calculator resource.

              - */ - inline DescribeRouteCalculatorResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - - /** - *

              The optional description of the route calculator resource.

              - */ - inline DescribeRouteCalculatorResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - - /** - *

              The optional description of the route calculator resource.

              - */ - inline DescribeRouteCalculatorResult& WithDescription(const char* value) { SetDescription(value); return *this;} - - /** *

              Tags associated with route calculator resource.

              */ @@ -343,47 +384,6 @@ namespace Model inline DescribeRouteCalculatorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } - /** - *

              The timestamp when the route calculator resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              • For example, - * 2020–07-2T12:15:20.000Z+01:00

              - */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - - /** - *

              The timestamp when the route calculator resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              • For example, - * 2020–07-2T12:15:20.000Z+01:00

              - */ - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - - /** - *

              The timestamp when the route calculator resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              • For example, - * 2020–07-2T12:15:20.000Z+01:00

              - */ - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - - /** - *

              The timestamp when the route calculator resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              • For example, - * 2020–07-2T12:15:20.000Z+01:00

              - */ - inline DescribeRouteCalculatorResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - - /** - *

              The timestamp when the route calculator resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              • For example, - * 2020–07-2T12:15:20.000Z+01:00

              - */ - inline DescribeRouteCalculatorResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -407,20 +407,20 @@ namespace Model private: + Aws::String m_calculatorName; + Aws::String m_calculatorArn; - Aws::String m_calculatorName; + Aws::String m_description; Aws::Utils::DateTime m_createTime; - Aws::String m_dataSource; + Aws::Utils::DateTime m_updateTime; - Aws::String m_description; + Aws::String m_dataSource; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeTrackerResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeTrackerResult.h index 61b48b93c3c..7e8fd2cd7ce 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeTrackerResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DescribeTrackerResult.h @@ -5,10 +5,10 @@ #pragma once #include -#include #include -#include #include +#include +#include #include namespace Aws @@ -36,419 +36,419 @@ namespace Model /** - *

              The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              The name of the tracker resource.

              */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

              The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              The name of the tracker resource.

              */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } /** - *

              The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              The name of the tracker resource.

              */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } /** - *

              The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              The name of the tracker resource.

              */ - inline DescribeTrackerResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } /** - *

              The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              The name of the tracker resource.

              */ - inline DescribeTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - + inline DescribeTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** - *

              The optional description for the tracker resource.

              + *

              The name of the tracker resource.

              */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline DescribeTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** - *

              The optional description for the tracker resource.

              + *

              The name of the tracker resource.

              */ - inline void SetDescription(const Aws::String& value) { m_description = value; } + inline DescribeTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - /** - *

              The optional description for the tracker resource.

              - */ - inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** - *

              The optional description for the tracker resource.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline void SetDescription(const char* value) { m_description.assign(value); } + inline const Aws::String& GetTrackerArn() const{ return m_trackerArn; } /** - *

              The optional description for the tracker resource.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline DescribeTrackerResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline void SetTrackerArn(const Aws::String& value) { m_trackerArn = value; } /** - *

              The optional description for the tracker resource.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline DescribeTrackerResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline void SetTrackerArn(Aws::String&& value) { m_trackerArn = std::move(value); } /** - *

              The optional description for the tracker resource.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline DescribeTrackerResult& WithDescription(const char* value) { SetDescription(value); return *this;} - + inline void SetTrackerArn(const char* value) { m_trackerArn.assign(value); } /** - *

              Whether UPDATE events from this tracker in EventBridge are - * enabled. If set to true these events will be sent to - * EventBridge.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } + inline DescribeTrackerResult& WithTrackerArn(const Aws::String& value) { SetTrackerArn(value); return *this;} /** - *

              Whether UPDATE events from this tracker in EventBridge are - * enabled. If set to true these events will be sent to - * EventBridge.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabled = value; } + inline DescribeTrackerResult& WithTrackerArn(Aws::String&& value) { SetTrackerArn(std::move(value)); return *this;} /** - *

              Whether UPDATE events from this tracker in EventBridge are - * enabled. If set to true these events will be sent to - * EventBridge.

              + *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need + * to specify a resource across all Amazon Web Services.

              • Format + * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                + *
              */ - inline DescribeTrackerResult& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} + inline DescribeTrackerResult& WithTrackerArn(const char* value) { SetTrackerArn(value); return *this;} /** - *

              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

              This parameter is only used if - * you are using a KMS customer managed key.

              If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

              You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

              + *

              The optional description for the tracker resource.

              */ - inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

              This parameter is only used if - * you are using a KMS customer managed key.

              If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

              You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

              + *

              The optional description for the tracker resource.

              */ - inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueries = value; } + inline void SetDescription(const Aws::String& value) { m_description = value; } /** - *

              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

              This parameter is only used if - * you are using a KMS customer managed key.

              If you wish to encrypt - * your data using your own KMS customer managed key, then the Bounding Polygon - * Queries feature will be disabled by default. This is because by using this - * feature, a representation of your device positions will not be encrypted using - * the your KMS managed key. The exact device position, however; is still encrypted - * using your managed key.

              You can choose to opt-in to the Bounding Polygon - * Quseries feature. This is done by setting the - * KmsKeyEnableGeospatialQueries parameter to true when creating or - * updating a Tracker.

              + *

              The optional description for the tracker resource.

              */ - inline DescribeTrackerResult& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} - + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The optional description for the tracker resource.

              */ - inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } + inline void SetDescription(const char* value) { m_description.assign(value); } /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The optional description for the tracker resource.

              */ - inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } + inline DescribeTrackerResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The optional description for the tracker resource.

              */ - inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } + inline DescribeTrackerResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The optional description for the tracker resource.

              */ - inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } + inline DescribeTrackerResult& WithDescription(const char* value) { SetDescription(value); return *this;} - /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              - */ - inline DescribeTrackerResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} + inline const Aws::Map& GetTags() const{ return m_tags; } /** - *

              A key identifier for an Amazon - * Web Services KMS customer managed key assigned to the Amazon Location - * resource.

              + *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} - + inline void SetTags(const Aws::Map& value) { m_tags = value; } /** - *

              The position filtering method of the tracker resource.

              + *

              The tags associated with the tracker resource.

              */ - inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; } + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** - *

              The position filtering method of the tracker resource.

              + *

              The tags associated with the tracker resource.

              */ - inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFiltering = value; } + inline DescribeTrackerResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** - *

              The position filtering method of the tracker resource.

              + *

              The tags associated with the tracker resource.

              */ - inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFiltering = std::move(value); } + inline DescribeTrackerResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** - *

              The position filtering method of the tracker resource.

              + *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;} + inline DescribeTrackerResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** - *

              The position filtering method of the tracker resource.

              + *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;} - + inline DescribeTrackerResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

              The tags associated with the tracker resource.

              */ - inline const Aws::Map& GetTags() const{ return m_tags; } + inline DescribeTrackerResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

              The tags associated with the tracker resource.

              */ - inline void SetTags(const Aws::Map& value) { m_tags = value; } + inline DescribeTrackerResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

              The tags associated with the tracker resource.

              */ - inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + inline DescribeTrackerResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline DescribeTrackerResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

              The tags associated with the tracker resource.

              */ - inline DescribeTrackerResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline DescribeTrackerResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline DescribeTrackerResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline DescribeTrackerResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } /** - *

              The tags associated with the tracker resource.

              + *

              The timestamp for when the tracker resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DescribeTrackerResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } - + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              The timestamp for when the tracker resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline const Aws::String& GetTrackerArn() const{ return m_trackerArn; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              The timestamp for when the tracker resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetTrackerArn(const Aws::String& value) { m_trackerArn = value; } + inline DescribeTrackerResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              The timestamp for when the tracker resource was last updated in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetTrackerArn(Aws::String&& value) { m_trackerArn = std::move(value); } + inline DescribeTrackerResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline void SetTrackerArn(const char* value) { m_trackerArn.assign(value); } + inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline DescribeTrackerResult& WithTrackerArn(const Aws::String& value) { SetTrackerArn(value); return *this;} + inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline DescribeTrackerResult& WithTrackerArn(Aws::String&& value) { SetTrackerArn(std::move(value)); return *this;} + inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } /** - *

              The Amazon Resource Name (ARN) for the tracker resource. Used when you need - * to specify a resource across all Amazon Web Services.

              • Format - * example: arn:aws:geo:region:account-id:tracker/ExampleTracker

                - *
              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline DescribeTrackerResult& WithTrackerArn(const char* value) { SetTrackerArn(value); return *this;} + inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } + /** + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              + */ + inline DescribeTrackerResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** - *

              The name of the tracker resource.

              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + inline DescribeTrackerResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** - *

              The name of the tracker resource.

              + *

              A key identifier for an Amazon + * Web Services KMS customer managed key assigned to the Amazon Location + * resource.

              */ - inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } + inline DescribeTrackerResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} + /** - *

              The name of the tracker resource.

              + *

              The position filtering method of the tracker resource.

              */ - inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } + inline const PositionFiltering& GetPositionFiltering() const{ return m_positionFiltering; } /** - *

              The name of the tracker resource.

              + *

              The position filtering method of the tracker resource.

              */ - inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } + inline void SetPositionFiltering(const PositionFiltering& value) { m_positionFiltering = value; } /** - *

              The name of the tracker resource.

              + *

              The position filtering method of the tracker resource.

              */ - inline DescribeTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline void SetPositionFiltering(PositionFiltering&& value) { m_positionFiltering = std::move(value); } /** - *

              The name of the tracker resource.

              + *

              The position filtering method of the tracker resource.

              */ - inline DescribeTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline DescribeTrackerResult& WithPositionFiltering(const PositionFiltering& value) { SetPositionFiltering(value); return *this;} /** - *

              The name of the tracker resource.

              + *

              The position filtering method of the tracker resource.

              */ - inline DescribeTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline DescribeTrackerResult& WithPositionFiltering(PositionFiltering&& value) { SetPositionFiltering(std::move(value)); return *this;} /** - *

              The timestamp for when the tracker resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              Whether UPDATE events from this tracker in EventBridge are + * enabled. If set to true these events will be sent to + * EventBridge.

              */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } /** - *

              The timestamp for when the tracker resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              Whether UPDATE events from this tracker in EventBridge are + * enabled. If set to true these events will be sent to + * EventBridge.

              */ - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabled = value; } /** - *

              The timestamp for when the tracker resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              Whether UPDATE events from this tracker in EventBridge are + * enabled. If set to true these events will be sent to + * EventBridge.

              */ - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline DescribeTrackerResult& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} + /** - *

              The timestamp for when the tracker resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

              This parameter is only used if + * you are using a KMS customer managed key.

              If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

              You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

              */ - inline DescribeTrackerResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } /** - *

              The timestamp for when the tracker resource was last updated in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + *

              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

              This parameter is only used if + * you are using a KMS customer managed key.

              If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

              You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

              */ - inline DescribeTrackerResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueries = value; } + + /** + *

              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

              This parameter is only used if + * you are using a KMS customer managed key.

              If you wish to encrypt + * your data using your own KMS customer managed key, then the Bounding Polygon + * Queries feature will be disabled by default. This is because by using this + * feature, a representation of your device positions will not be encrypted using + * the your KMS managed key. The exact device position, however; is still encrypted + * using your managed key.

              You can choose to opt-in to the Bounding Polygon + * Quseries feature. This is done by setting the + * KmsKeyEnableGeospatialQueries parameter to true when creating or + * updating a Tracker.

              + */ + inline DescribeTrackerResult& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} @@ -474,25 +474,25 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; + Aws::String m_trackerName; + + Aws::String m_trackerArn; Aws::String m_description; - bool m_eventBridgeEnabled; + Aws::Map m_tags; - bool m_kmsKeyEnableGeospatialQueries; + Aws::Utils::DateTime m_createTime; + + Aws::Utils::DateTime m_updateTime; Aws::String m_kmsKeyId; PositionFiltering m_positionFiltering; - Aws::Map m_tags; - - Aws::String m_trackerArn; - - Aws::String m_trackerName; + bool m_eventBridgeEnabled; - Aws::Utils::DateTime m_updateTime; + bool m_kmsKeyEnableGeospatialQueries; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePosition.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePosition.h index 50b1440451d..7f8912b22dd 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePosition.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePosition.h @@ -5,11 +5,11 @@ #pragma once #include -#include #include +#include #include +#include #include -#include #include namespace Aws @@ -42,75 +42,130 @@ namespace Model /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline DevicePosition& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline DevicePosition& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} - + inline DevicePosition& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

              The device whose position you retrieved.

              */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline DevicePosition& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

              The device whose position you retrieved.

              */ - inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + inline DevicePosition& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DevicePosition& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DevicePosition& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline DevicePosition& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline DevicePosition& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline DevicePosition& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; } + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline bool ReceivedTimeHasBeenSet() const { return m_receivedTimeHasBeenSet; } + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTimeHasBeenSet = true; m_receivedTime = value; } + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTimeHasBeenSet = true; m_receivedTime = std::move(value); } + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline DevicePosition& WithReceivedTime(const Aws::Utils::DateTime& value) { SetReceivedTime(value); return *this;} + + /** + *

              The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline DevicePosition& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;} /** @@ -149,6 +204,37 @@ namespace Model inline DevicePosition& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + /** + *

              The accuracy of the device position.

              + */ + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + /** + *

              The accuracy of the device position.

              + */ + inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + + /** + *

              The accuracy of the device position.

              + */ + inline DevicePosition& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + /** + *

              The accuracy of the device position.

              + */ + inline DevicePosition& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + /** *

              The properties associated with the position.

              */ @@ -214,111 +300,25 @@ namespace Model */ inline DevicePosition& AddPositionProperties(const char* key, const char* value) { m_positionPropertiesHasBeenSet = true; m_positionProperties.emplace(key, value); return *this; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline bool ReceivedTimeHasBeenSet() const { return m_receivedTimeHasBeenSet; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTimeHasBeenSet = true; m_receivedTime = value; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTimeHasBeenSet = true; m_receivedTime = std::move(value); } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline DevicePosition& WithReceivedTime(const Aws::Utils::DateTime& value) { SetReceivedTime(value); return *this;} - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline DevicePosition& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;} - - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline DevicePosition& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline DevicePosition& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} - private: - PositionalAccuracy m_accuracy; - bool m_accuracyHasBeenSet = false; - Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; + Aws::Utils::DateTime m_sampleTime; + bool m_sampleTimeHasBeenSet = false; + + Aws::Utils::DateTime m_receivedTime; + bool m_receivedTimeHasBeenSet = false; + Aws::Vector m_position; bool m_positionHasBeenSet = false; + PositionalAccuracy m_accuracy; + bool m_accuracyHasBeenSet = false; + Aws::Map m_positionProperties; bool m_positionPropertiesHasBeenSet = false; - - Aws::Utils::DateTime m_receivedTime; - bool m_receivedTimeHasBeenSet = false; - - Aws::Utils::DateTime m_sampleTime; - bool m_sampleTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePositionUpdate.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePositionUpdate.h index 295c6bd8546..e36b6699a4c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePositionUpdate.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DevicePositionUpdate.h @@ -5,11 +5,11 @@ #pragma once #include -#include #include +#include #include +#include #include -#include #include namespace Aws @@ -43,75 +43,87 @@ namespace Model /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline DevicePositionUpdate& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** - *

              The accuracy of the device position.

              + *

              The device associated to the position update.

              */ - inline DevicePositionUpdate& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} - + inline DevicePositionUpdate& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

              The device associated to the position update.

              */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline DevicePositionUpdate& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

              The device associated to the position update.

              */ - inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + inline DevicePositionUpdate& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline DevicePositionUpdate& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline DevicePositionUpdate& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline DevicePositionUpdate& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} /** - *

              The device associated to the position update.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              */ - inline DevicePositionUpdate& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline DevicePositionUpdate& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} /** @@ -164,6 +176,37 @@ namespace Model inline DevicePositionUpdate& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + /** + *

              The accuracy of the device position.

              + */ + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + /** + *

              The accuracy of the device position.

              + */ + inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + + /** + *

              The accuracy of the device position.

              + */ + inline DevicePositionUpdate& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + /** + *

              The accuracy of the device position.

              + */ + inline DevicePositionUpdate& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + /** *

              Associates one of more properties with the position update. A property is a * key-value pair stored with the position update and added to any geofence event @@ -255,65 +298,22 @@ namespace Model */ inline DevicePositionUpdate& AddPositionProperties(const char* key, const char* value) { m_positionPropertiesHasBeenSet = true; m_positionProperties.emplace(key, value); return *this; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline DevicePositionUpdate& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline DevicePositionUpdate& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} - private: - PositionalAccuracy m_accuracy; - bool m_accuracyHasBeenSet = false; - Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; + Aws::Utils::DateTime m_sampleTime; + bool m_sampleTimeHasBeenSet = false; + Aws::Vector m_position; bool m_positionHasBeenSet = false; + PositionalAccuracy m_accuracy; + bool m_accuracyHasBeenSet = false; + Aws::Map m_positionProperties; bool m_positionPropertiesHasBeenSet = false; - - Aws::Utils::DateTime m_sampleTime; - bool m_sampleTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeviceState.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeviceState.h new file mode 100644 index 00000000000..58b8ed4c04d --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DeviceState.h @@ -0,0 +1,323 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

              The device's position, IP address, and Wi-Fi access points.

              See + * Also:

              AWS + * API Reference

              + */ + class DeviceState + { + public: + AWS_LOCATIONSERVICE_API DeviceState(); + AWS_LOCATIONSERVICE_API DeviceState(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API DeviceState& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

              The device identifier.

              + */ + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + + /** + *

              The device identifier.

              + */ + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + + /** + *

              The device identifier.

              + */ + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + + /** + *

              The device identifier.

              + */ + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + + /** + *

              The device identifier.

              + */ + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + + /** + *

              The device identifier.

              + */ + inline DeviceState& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + + /** + *

              The device identifier.

              + */ + inline DeviceState& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + + /** + *

              The device identifier.

              + */ + inline DeviceState& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline DeviceState& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} + + /** + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline DeviceState& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + + /** + *

              The last known device position.

              + */ + inline const Aws::Vector& GetPosition() const{ return m_position; } + + /** + *

              The last known device position.

              + */ + inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } + + /** + *

              The last known device position.

              + */ + inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } + + /** + *

              The last known device position.

              + */ + inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } + + /** + *

              The last known device position.

              + */ + inline DeviceState& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} + + /** + *

              The last known device position.

              + */ + inline DeviceState& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} + + /** + *

              The last known device position.

              + */ + inline DeviceState& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + + + + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + + inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + + + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + + + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + + + inline DeviceState& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + + inline DeviceState& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + + /** + *

              The device's Ipv4 address.

              + */ + inline const Aws::String& GetIpv4Address() const{ return m_ipv4Address; } + + /** + *

              The device's Ipv4 address.

              + */ + inline bool Ipv4AddressHasBeenSet() const { return m_ipv4AddressHasBeenSet; } + + /** + *

              The device's Ipv4 address.

              + */ + inline void SetIpv4Address(const Aws::String& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = value; } + + /** + *

              The device's Ipv4 address.

              + */ + inline void SetIpv4Address(Aws::String&& value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address = std::move(value); } + + /** + *

              The device's Ipv4 address.

              + */ + inline void SetIpv4Address(const char* value) { m_ipv4AddressHasBeenSet = true; m_ipv4Address.assign(value); } + + /** + *

              The device's Ipv4 address.

              + */ + inline DeviceState& WithIpv4Address(const Aws::String& value) { SetIpv4Address(value); return *this;} + + /** + *

              The device's Ipv4 address.

              + */ + inline DeviceState& WithIpv4Address(Aws::String&& value) { SetIpv4Address(std::move(value)); return *this;} + + /** + *

              The device's Ipv4 address.

              + */ + inline DeviceState& WithIpv4Address(const char* value) { SetIpv4Address(value); return *this;} + + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline const Aws::Vector& GetWiFiAccessPoints() const{ return m_wiFiAccessPoints; } + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline bool WiFiAccessPointsHasBeenSet() const { return m_wiFiAccessPointsHasBeenSet; } + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline void SetWiFiAccessPoints(const Aws::Vector& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints = value; } + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline void SetWiFiAccessPoints(Aws::Vector&& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints = std::move(value); } + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline DeviceState& WithWiFiAccessPoints(const Aws::Vector& value) { SetWiFiAccessPoints(value); return *this;} + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline DeviceState& WithWiFiAccessPoints(Aws::Vector&& value) { SetWiFiAccessPoints(std::move(value)); return *this;} + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline DeviceState& AddWiFiAccessPoints(const WiFiAccessPoint& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints.push_back(value); return *this; } + + /** + *

              The Wi-Fi access points the device is using.

              + */ + inline DeviceState& AddWiFiAccessPoints(WiFiAccessPoint&& value) { m_wiFiAccessPointsHasBeenSet = true; m_wiFiAccessPoints.push_back(std::move(value)); return *this; } + + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline const CellSignals& GetCellSignals() const{ return m_cellSignals; } + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline bool CellSignalsHasBeenSet() const { return m_cellSignalsHasBeenSet; } + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline void SetCellSignals(const CellSignals& value) { m_cellSignalsHasBeenSet = true; m_cellSignals = value; } + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline void SetCellSignals(CellSignals&& value) { m_cellSignalsHasBeenSet = true; m_cellSignals = std::move(value); } + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline DeviceState& WithCellSignals(const CellSignals& value) { SetCellSignals(value); return *this;} + + /** + *

              The cellular network infrastructure that the device is connected to.

              + */ + inline DeviceState& WithCellSignals(CellSignals&& value) { SetCellSignals(std::move(value)); return *this;} + + private: + + Aws::String m_deviceId; + bool m_deviceIdHasBeenSet = false; + + Aws::Utils::DateTime m_sampleTime; + bool m_sampleTimeHasBeenSet = false; + + Aws::Vector m_position; + bool m_positionHasBeenSet = false; + + PositionalAccuracy m_accuracy; + bool m_accuracyHasBeenSet = false; + + Aws::String m_ipv4Address; + bool m_ipv4AddressHasBeenSet = false; + + Aws::Vector m_wiFiAccessPoints; + bool m_wiFiAccessPointsHasBeenSet = false; + + CellSignals m_cellSignals; + bool m_cellSignalsHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DisassociateTrackerConsumerRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DisassociateTrackerConsumerRequest.h index 160dc29d327..98ea5b886c0 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/DisassociateTrackerConsumerRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/DisassociateTrackerConsumerRequest.h @@ -32,6 +32,47 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline DisassociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline DisassociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

              The name of the tracker resource to be dissociated from the consumer.

              + */ + inline DisassociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

              The Amazon Resource Name (ARN) for the geofence collection to be * disassociated from the tracker resource. Used when you need to specify a @@ -104,54 +145,13 @@ namespace Model */ inline DisassociateTrackerConsumerRequest& WithConsumerArn(const char* value) { SetConsumerArn(value); return *this;} - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline DisassociateTrackerConsumerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline DisassociateTrackerConsumerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

              The name of the tracker resource to be dissociated from the consumer.

              - */ - inline DisassociateTrackerConsumerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - private: - Aws::String m_consumerArn; - bool m_consumerArnHasBeenSet = false; - Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; + + Aws::String m_consumerArn; + bool m_consumerArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsDeviceState.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsDeviceState.h new file mode 100644 index 00000000000..5ad0bcbb859 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsDeviceState.h @@ -0,0 +1,108 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

              The device's position, IP address, and WiFi access points.

              See + * Also:

              AWS + * API Reference

              + */ + class ForecastGeofenceEventsDeviceState + { + public: + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState(); + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsDeviceState& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

              The device's position.

              + */ + inline const Aws::Vector& GetPosition() const{ return m_position; } + + /** + *

              The device's position.

              + */ + inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } + + /** + *

              The device's position.

              + */ + inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } + + /** + *

              The device's position.

              + */ + inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } + + /** + *

              The device's position.

              + */ + inline ForecastGeofenceEventsDeviceState& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} + + /** + *

              The device's position.

              + */ + inline ForecastGeofenceEventsDeviceState& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} + + /** + *

              The device's position.

              + */ + inline ForecastGeofenceEventsDeviceState& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + + + /** + *

              The device's speed.

              + */ + inline double GetSpeed() const{ return m_speed; } + + /** + *

              The device's speed.

              + */ + inline bool SpeedHasBeenSet() const { return m_speedHasBeenSet; } + + /** + *

              The device's speed.

              + */ + inline void SetSpeed(double value) { m_speedHasBeenSet = true; m_speed = value; } + + /** + *

              The device's speed.

              + */ + inline ForecastGeofenceEventsDeviceState& WithSpeed(double value) { SetSpeed(value); return *this;} + + private: + + Aws::Vector m_position; + bool m_positionHasBeenSet = false; + + double m_speed; + bool m_speedHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsRequest.h new file mode 100644 index 00000000000..7bbcb3e1614 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsRequest.h @@ -0,0 +1,354 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + + /** + */ + class ForecastGeofenceEventsRequest : public LocationServiceRequest + { + public: + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ForecastGeofenceEvents"; } + + AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + + + /** + *

              The name of the geofence collection.

              + */ + inline const Aws::String& GetCollectionName() const{ return m_collectionName; } + + /** + *

              The name of the geofence collection.

              + */ + inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; } + + /** + *

              The name of the geofence collection.

              + */ + inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; } + + /** + *

              The name of the geofence collection.

              + */ + inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); } + + /** + *

              The name of the geofence collection.

              + */ + inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); } + + /** + *

              The name of the geofence collection.

              + */ + inline ForecastGeofenceEventsRequest& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} + + /** + *

              The name of the geofence collection.

              + */ + inline ForecastGeofenceEventsRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} + + /** + *

              The name of the geofence collection.

              + */ + inline ForecastGeofenceEventsRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} + + + /** + *

              The device's state, including current position and speed.

              + */ + inline const ForecastGeofenceEventsDeviceState& GetDeviceState() const{ return m_deviceState; } + + /** + *

              The device's state, including current position and speed.

              + */ + inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; } + + /** + *

              The device's state, including current position and speed.

              + */ + inline void SetDeviceState(const ForecastGeofenceEventsDeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; } + + /** + *

              The device's state, including current position and speed.

              + */ + inline void SetDeviceState(ForecastGeofenceEventsDeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); } + + /** + *

              The device's state, including current position and speed.

              + */ + inline ForecastGeofenceEventsRequest& WithDeviceState(const ForecastGeofenceEventsDeviceState& value) { SetDeviceState(value); return *this;} + + /** + *

              The device's state, including current position and speed.

              + */ + inline ForecastGeofenceEventsRequest& WithDeviceState(ForecastGeofenceEventsDeviceState&& value) { SetDeviceState(std::move(value)); return *this;} + + + /** + *

              Specifies the time horizon in minutes for the forecasted events.

              + */ + inline double GetTimeHorizonMinutes() const{ return m_timeHorizonMinutes; } + + /** + *

              Specifies the time horizon in minutes for the forecasted events.

              + */ + inline bool TimeHorizonMinutesHasBeenSet() const { return m_timeHorizonMinutesHasBeenSet; } + + /** + *

              Specifies the time horizon in minutes for the forecasted events.

              + */ + inline void SetTimeHorizonMinutes(double value) { m_timeHorizonMinutesHasBeenSet = true; m_timeHorizonMinutes = value; } + + /** + *

              Specifies the time horizon in minutes for the forecasted events.

              + */ + inline ForecastGeofenceEventsRequest& WithTimeHorizonMinutes(double value) { SetTimeHorizonMinutes(value); return *this;} + + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline ForecastGeofenceEventsRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

              The distance unit used for the NearestDistance property returned + * in a forecasted event. The measurement system must match for + * DistanceUnit and SpeedUnit; if Kilometers + * is specified for DistanceUnit, then SpeedUnit must be + * KilometersPerHour.

              Default Value: Kilometers + *

              + */ + inline ForecastGeofenceEventsRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline const SpeedUnit& GetSpeedUnit() const{ return m_speedUnit; } + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline bool SpeedUnitHasBeenSet() const { return m_speedUnitHasBeenSet; } + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline void SetSpeedUnit(const SpeedUnit& value) { m_speedUnitHasBeenSet = true; m_speedUnit = value; } + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline void SetSpeedUnit(SpeedUnit&& value) { m_speedUnitHasBeenSet = true; m_speedUnit = std::move(value); } + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline ForecastGeofenceEventsRequest& WithSpeedUnit(const SpeedUnit& value) { SetSpeedUnit(value); return *this;} + + /** + *

              The speed unit for the device captured by the device state. The measurement + * system must match for DistanceUnit and SpeedUnit; if + * Kilometers is specified for DistanceUnit, then + * SpeedUnit must be KilometersPerHour.

              Default + * Value: KilometersPerHour.

              + */ + inline ForecastGeofenceEventsRequest& WithSpeedUnit(SpeedUnit&& value) { SetSpeedUnit(std::move(value)); return *this;} + + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline ForecastGeofenceEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline ForecastGeofenceEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + *

              Default value: null

              + */ + inline ForecastGeofenceEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

              An optional limit for the number of resources returned in a single call.

              + *

              Default value: 20

              + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

              An optional limit for the number of resources returned in a single call.

              + *

              Default value: 20

              + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

              An optional limit for the number of resources returned in a single call.

              + *

              Default value: 20

              + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

              An optional limit for the number of resources returned in a single call.

              + *

              Default value: 20

              + */ + inline ForecastGeofenceEventsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + private: + + Aws::String m_collectionName; + bool m_collectionNameHasBeenSet = false; + + ForecastGeofenceEventsDeviceState m_deviceState; + bool m_deviceStateHasBeenSet = false; + + double m_timeHorizonMinutes; + bool m_timeHorizonMinutesHasBeenSet = false; + + DistanceUnit m_distanceUnit; + bool m_distanceUnitHasBeenSet = false; + + SpeedUnit m_speedUnit; + bool m_speedUnitHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsResult.h new file mode 100644 index 00000000000..92589f4939e --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastGeofenceEventsResult.h @@ -0,0 +1,206 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + class ForecastGeofenceEventsResult + { + public: + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult(); + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult(const Aws::AmazonWebServiceResult& result); + AWS_LOCATIONSERVICE_API ForecastGeofenceEventsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

              The list of forecasted events.

              + */ + inline const Aws::Vector& GetForecastedEvents() const{ return m_forecastedEvents; } + + /** + *

              The list of forecasted events.

              + */ + inline void SetForecastedEvents(const Aws::Vector& value) { m_forecastedEvents = value; } + + /** + *

              The list of forecasted events.

              + */ + inline void SetForecastedEvents(Aws::Vector&& value) { m_forecastedEvents = std::move(value); } + + /** + *

              The list of forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithForecastedEvents(const Aws::Vector& value) { SetForecastedEvents(value); return *this;} + + /** + *

              The list of forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithForecastedEvents(Aws::Vector&& value) { SetForecastedEvents(std::move(value)); return *this;} + + /** + *

              The list of forecasted events.

              + */ + inline ForecastGeofenceEventsResult& AddForecastedEvents(const ForecastedEvent& value) { m_forecastedEvents.push_back(value); return *this; } + + /** + *

              The list of forecasted events.

              + */ + inline ForecastGeofenceEventsResult& AddForecastedEvents(ForecastedEvent&& value) { m_forecastedEvents.push_back(std::move(value)); return *this; } + + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline ForecastGeofenceEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline ForecastGeofenceEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

              The pagination token specifying which page of results to return in the + * response. If no token is provided, the default page is the first page.

              + */ + inline ForecastGeofenceEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

              The distance unit for the forecasted events.

              + */ + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } + + /** + *

              The distance unit for the forecasted events.

              + */ + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnit = value; } + + /** + *

              The distance unit for the forecasted events.

              + */ + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnit = std::move(value); } + + /** + *

              The distance unit for the forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

              The distance unit for the forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + + + /** + *

              The speed unit for the forecasted events.

              + */ + inline const SpeedUnit& GetSpeedUnit() const{ return m_speedUnit; } + + /** + *

              The speed unit for the forecasted events.

              + */ + inline void SetSpeedUnit(const SpeedUnit& value) { m_speedUnit = value; } + + /** + *

              The speed unit for the forecasted events.

              + */ + inline void SetSpeedUnit(SpeedUnit&& value) { m_speedUnit = std::move(value); } + + /** + *

              The speed unit for the forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithSpeedUnit(const SpeedUnit& value) { SetSpeedUnit(value); return *this;} + + /** + *

              The speed unit for the forecasted events.

              + */ + inline ForecastGeofenceEventsResult& WithSpeedUnit(SpeedUnit&& value) { SetSpeedUnit(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ForecastGeofenceEventsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ForecastGeofenceEventsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ForecastGeofenceEventsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_forecastedEvents; + + Aws::String m_nextToken; + + DistanceUnit m_distanceUnit; + + SpeedUnit m_speedUnit; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedEvent.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedEvent.h new file mode 100644 index 00000000000..83b507aca61 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedEvent.h @@ -0,0 +1,370 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

              A forecasted event represents a geofence event in relation to the requested + * device state, that may occur given the provided device state and time + * horizon.

              See Also:

              AWS + * API Reference

              + */ + class ForecastedEvent + { + public: + AWS_LOCATIONSERVICE_API ForecastedEvent(); + AWS_LOCATIONSERVICE_API ForecastedEvent(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API ForecastedEvent& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

              The forecasted event identifier.

              + */ + inline const Aws::String& GetEventId() const{ return m_eventId; } + + /** + *

              The forecasted event identifier.

              + */ + inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; } + + /** + *

              The forecasted event identifier.

              + */ + inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; } + + /** + *

              The forecasted event identifier.

              + */ + inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); } + + /** + *

              The forecasted event identifier.

              + */ + inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); } + + /** + *

              The forecasted event identifier.

              + */ + inline ForecastedEvent& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} + + /** + *

              The forecasted event identifier.

              + */ + inline ForecastedEvent& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} + + /** + *

              The forecasted event identifier.

              + */ + inline ForecastedEvent& WithEventId(const char* value) { SetEventId(value); return *this;} + + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline bool GeofenceIdHasBeenSet() const { return m_geofenceIdHasBeenSet; } + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline void SetGeofenceId(const Aws::String& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = value; } + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline void SetGeofenceId(Aws::String&& value) { m_geofenceIdHasBeenSet = true; m_geofenceId = std::move(value); } + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline void SetGeofenceId(const char* value) { m_geofenceIdHasBeenSet = true; m_geofenceId.assign(value); } + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline ForecastedEvent& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline ForecastedEvent& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} + + /** + *

              The geofence identifier pertaining to the forecasted event.

              + */ + inline ForecastedEvent& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + + + /** + *

              Indicates if the device is located within the geofence.

              + */ + inline bool GetIsDeviceInGeofence() const{ return m_isDeviceInGeofence; } + + /** + *

              Indicates if the device is located within the geofence.

              + */ + inline bool IsDeviceInGeofenceHasBeenSet() const { return m_isDeviceInGeofenceHasBeenSet; } + + /** + *

              Indicates if the device is located within the geofence.

              + */ + inline void SetIsDeviceInGeofence(bool value) { m_isDeviceInGeofenceHasBeenSet = true; m_isDeviceInGeofence = value; } + + /** + *

              Indicates if the device is located within the geofence.

              + */ + inline ForecastedEvent& WithIsDeviceInGeofence(bool value) { SetIsDeviceInGeofence(value); return *this;} + + + /** + *

              The closest distance from the device's position to the geofence.

              + */ + inline double GetNearestDistance() const{ return m_nearestDistance; } + + /** + *

              The closest distance from the device's position to the geofence.

              + */ + inline bool NearestDistanceHasBeenSet() const { return m_nearestDistanceHasBeenSet; } + + /** + *

              The closest distance from the device's position to the geofence.

              + */ + inline void SetNearestDistance(double value) { m_nearestDistanceHasBeenSet = true; m_nearestDistance = value; } + + /** + *

              The closest distance from the device's position to the geofence.

              + */ + inline ForecastedEvent& WithNearestDistance(double value) { SetNearestDistance(value); return *this;} + + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline const ForecastedGeofenceEventType& GetEventType() const{ return m_eventType; } + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline void SetEventType(const ForecastedGeofenceEventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline void SetEventType(ForecastedGeofenceEventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline ForecastedEvent& WithEventType(const ForecastedGeofenceEventType& value) { SetEventType(value); return *this;} + + /** + *

              The event type, forecasting three states for which a device can be in + * relative to a geofence:

              ENTER: If a device is outside of a + * geofence, but would breach the fence if the device is moving at its current + * speed within time horizon window.

              EXIT: If a device is + * inside of a geofence, but would breach the fence if the device is moving at its + * current speed within time horizon window.

              IDLE: If a device + * is inside of a geofence, and the device is not moving.

              + */ + inline ForecastedEvent& WithEventType(ForecastedGeofenceEventType&& value) { SetEventType(std::move(value)); return *this;} + + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline const Aws::Utils::DateTime& GetForecastedBreachTime() const{ return m_forecastedBreachTime; } + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline bool ForecastedBreachTimeHasBeenSet() const { return m_forecastedBreachTimeHasBeenSet; } + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline void SetForecastedBreachTime(const Aws::Utils::DateTime& value) { m_forecastedBreachTimeHasBeenSet = true; m_forecastedBreachTime = value; } + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline void SetForecastedBreachTime(Aws::Utils::DateTime&& value) { m_forecastedBreachTimeHasBeenSet = true; m_forecastedBreachTime = std::move(value); } + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline ForecastedEvent& WithForecastedBreachTime(const Aws::Utils::DateTime& value) { SetForecastedBreachTime(value); return *this;} + + /** + *

              The forecasted time the device will breach the geofence in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline ForecastedEvent& WithForecastedBreachTime(Aws::Utils::DateTime&& value) { SetForecastedBreachTime(std::move(value)); return *this;} + + + /** + *

              The geofence properties.

              + */ + inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } + + /** + *

              The geofence properties.

              + */ + inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; } + + /** + *

              The geofence properties.

              + */ + inline void SetGeofenceProperties(const Aws::Map& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; } + + /** + *

              The geofence properties.

              + */ + inline void SetGeofenceProperties(Aws::Map&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

              The geofence properties.

              + */ + inline ForecastedEvent& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } + + private: + + Aws::String m_eventId; + bool m_eventIdHasBeenSet = false; + + Aws::String m_geofenceId; + bool m_geofenceIdHasBeenSet = false; + + bool m_isDeviceInGeofence; + bool m_isDeviceInGeofenceHasBeenSet = false; + + double m_nearestDistance; + bool m_nearestDistanceHasBeenSet = false; + + ForecastedGeofenceEventType m_eventType; + bool m_eventTypeHasBeenSet = false; + + Aws::Utils::DateTime m_forecastedBreachTime; + bool m_forecastedBreachTimeHasBeenSet = false; + + Aws::Map m_geofenceProperties; + bool m_geofencePropertiesHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedGeofenceEventType.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedGeofenceEventType.h new file mode 100644 index 00000000000..390baa4d73f --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ForecastedGeofenceEventType.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + enum class ForecastedGeofenceEventType + { + NOT_SET, + ENTER, + EXIT, + IDLE + }; + +namespace ForecastedGeofenceEventTypeMapper +{ +AWS_LOCATIONSERVICE_API ForecastedGeofenceEventType GetForecastedGeofenceEventTypeForName(const Aws::String& name); + +AWS_LOCATIONSERVICE_API Aws::String GetNameForForecastedGeofenceEventType(ForecastedGeofenceEventType value); +} // namespace ForecastedGeofenceEventTypeMapper +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GeofenceGeometry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GeofenceGeometry.h index 89b4b5fce7f..061bb78244d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GeofenceGeometry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GeofenceGeometry.h @@ -5,8 +5,9 @@ #pragma once #include -#include #include +#include +#include #include namespace Aws @@ -26,11 +27,11 @@ namespace Model /** *

              Contains the geofence geometry details.

              A geofence geometry is made up - * of either a polygon or a circle. Can be either a polygon or a circle. Including - * both will return a validation error.

              Amazon Location doesn't - * currently support polygons with holes, multipolygons, polygons that are wound - * clockwise, or that cross the antimeridian.

              See Also:

              - *

              Amazon Location doesn't currently support polygons with + * holes, multipolygons, polygons that are wound clockwise, or that cross the + * antimeridian.

              See Also:

              AWS * API Reference

              */ @@ -43,37 +44,6 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline const Circle& GetCircle() const{ return m_circle; } - - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline bool CircleHasBeenSet() const { return m_circleHasBeenSet; } - - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline void SetCircle(const Circle& value) { m_circleHasBeenSet = true; m_circle = value; } - - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline void SetCircle(Circle&& value) { m_circleHasBeenSet = true; m_circle = std::move(value); } - - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline GeofenceGeometry& WithCircle(const Circle& value) { SetCircle(value); return *this;} - - /** - *

              A circle on the earth, as defined by a center point and a radius.

              - */ - inline GeofenceGeometry& WithCircle(Circle&& value) { SetCircle(std::move(value)); return *this;} - - /** *

              A polygon is a list of linear rings which are each made up of a list of * vertices.

              Each vertex is a 2-dimensional point of the form: @@ -210,13 +180,90 @@ namespace Model */ inline GeofenceGeometry& AddPolygon(Aws::Vector>&& value) { m_polygonHasBeenSet = true; m_polygon.push_back(std::move(value)); return *this; } + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline const Circle& GetCircle() const{ return m_circle; } + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline bool CircleHasBeenSet() const { return m_circleHasBeenSet; } + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline void SetCircle(const Circle& value) { m_circleHasBeenSet = true; m_circle = value; } + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline void SetCircle(Circle&& value) { m_circleHasBeenSet = true; m_circle = std::move(value); } + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline GeofenceGeometry& WithCircle(const Circle& value) { SetCircle(value); return *this;} + + /** + *

              A circle on the earth, as defined by a center point and a radius.

              + */ + inline GeofenceGeometry& WithCircle(Circle&& value) { SetCircle(std::move(value)); return *this;} + + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline const Aws::Utils::CryptoBuffer& GetGeobuf() const{ return m_geobuf; } + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline bool GeobufHasBeenSet() const { return m_geobufHasBeenSet; } + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline void SetGeobuf(const Aws::Utils::CryptoBuffer& value) { m_geobufHasBeenSet = true; m_geobuf = value; } + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline void SetGeobuf(Aws::Utils::CryptoBuffer&& value) { m_geobufHasBeenSet = true; m_geobuf = std::move(value); } + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline GeofenceGeometry& WithGeobuf(const Aws::Utils::CryptoBuffer& value) { SetGeobuf(value); return *this;} + + /** + *

              Geobuf is a compact binary encoding for geographic data that provides + * lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

              + *

              A polygon in Geobuf format can have up to 100,000 vertices.

              + */ + inline GeofenceGeometry& WithGeobuf(Aws::Utils::CryptoBuffer&& value) { SetGeobuf(std::move(value)); return *this;} + private: + Aws::Vector>> m_polygon; + bool m_polygonHasBeenSet = false; + Circle m_circle; bool m_circleHasBeenSet = false; - Aws::Vector>> m_polygon; - bool m_polygonHasBeenSet = false; + Aws::Utils::CryptoBuffer m_geobuf; + bool m_geobufHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionHistoryRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionHistoryRequest.h index 532ed4dded0..5cc4108fb4b 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionHistoryRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionHistoryRequest.h @@ -34,130 +34,93 @@ namespace Model /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline GetDevicePositionHistoryRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline GetDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline GetDevicePositionHistoryRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline GetDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** - *

              The device whose position history you want to retrieve.

              + *

              The tracker resource receiving the request for the device position + * history.

              */ - inline GetDevicePositionHistoryRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline GetDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              - */ - inline const Aws::Utils::DateTime& GetEndTimeExclusive() const{ return m_endTimeExclusive; } - - /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              - */ - inline bool EndTimeExclusiveHasBeenSet() const { return m_endTimeExclusiveHasBeenSet; } - - /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              + *

              The device whose position history you want to retrieve.

              */ - inline void SetEndTimeExclusive(const Aws::Utils::DateTime& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = value; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              + *

              The device whose position history you want to retrieve.

              */ - inline void SetEndTimeExclusive(Aws::Utils::DateTime&& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = std::move(value); } + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              + *

              The device whose position history you want to retrieve.

              */ - inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(const Aws::Utils::DateTime& value) { SetEndTimeExclusive(value); return *this;} + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** - *

              Specify the end time for the position history in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the - * time that the request is made.

              Requirement:

              • The time - * specified for EndTimeExclusive must be after the time for - * StartTimeInclusive.

              + *

              The device whose position history you want to retrieve.

              */ - inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(Aws::Utils::DateTime&& value) { SetEndTimeExclusive(std::move(value)); return *this;} - + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** - *

              An optional limit for the number of device positions returned in a single - * call.

              Default value: 100

              + *

              The device whose position history you want to retrieve.

              */ - inline int GetMaxResults() const{ return m_maxResults; } + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** - *

              An optional limit for the number of device positions returned in a single - * call.

              Default value: 100

              + *

              The device whose position history you want to retrieve.

              */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline GetDevicePositionHistoryRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** - *

              An optional limit for the number of device positions returned in a single - * call.

              Default value: 100

              + *

              The device whose position history you want to retrieve.

              */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline GetDevicePositionHistoryRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** - *

              An optional limit for the number of device positions returned in a single - * call.

              Default value: 100

              + *

              The device whose position history you want to retrieve.

              */ - inline GetDevicePositionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline GetDevicePositionHistoryRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} /** @@ -279,72 +242,109 @@ namespace Model /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + inline const Aws::Utils::DateTime& GetEndTimeExclusive() const{ return m_endTimeExclusive; } /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + inline bool EndTimeExclusiveHasBeenSet() const { return m_endTimeExclusiveHasBeenSet; } /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline void SetEndTimeExclusive(const Aws::Utils::DateTime& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = value; } /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline void SetEndTimeExclusive(Aws::Utils::DateTime&& value) { m_endTimeExclusiveHasBeenSet = true; m_endTimeExclusive = std::move(value); } /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(const Aws::Utils::DateTime& value) { SetEndTimeExclusive(value); return *this;} /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              Specify the end time for the position history in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the + * time that the request is made.

              Requirement:

              • The time + * specified for EndTimeExclusive must be after the time for + * StartTimeInclusive.

              */ - inline GetDevicePositionHistoryRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline GetDevicePositionHistoryRequest& WithEndTimeExclusive(Aws::Utils::DateTime&& value) { SetEndTimeExclusive(std::move(value)); return *this;} + /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              An optional limit for the number of device positions returned in a single + * call.

              Default value: 100

              */ - inline GetDevicePositionHistoryRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } /** - *

              The tracker resource receiving the request for the device position - * history.

              + *

              An optional limit for the number of device positions returned in a single + * call.

              Default value: 100

              */ - inline GetDevicePositionHistoryRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

              An optional limit for the number of device positions returned in a single + * call.

              Default value: 100

              + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

              An optional limit for the number of device positions returned in a single + * call.

              Default value: 100

              + */ + inline GetDevicePositionHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; + Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; - Aws::Utils::DateTime m_endTimeExclusive; - bool m_endTimeExclusiveHasBeenSet = false; - - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::Utils::DateTime m_startTimeInclusive; bool m_startTimeInclusiveHasBeenSet = false; - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; + Aws::Utils::DateTime m_endTimeExclusive; + bool m_endTimeExclusiveHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionRequest.h index a60e804059f..09c0fa6c665 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionRequest.h @@ -33,93 +33,93 @@ namespace Model /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline GetDevicePositionRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline GetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline GetDevicePositionRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline GetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** - *

              The device whose position you want to retrieve.

              + *

              The tracker resource receiving the position update.

              */ - inline GetDevicePositionRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline GetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline GetDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline GetDevicePositionRequest& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline GetDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline GetDevicePositionRequest& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** - *

              The tracker resource receiving the position update.

              + *

              The device whose position you want to retrieve.

              */ - inline GetDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline GetDevicePositionRequest& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} private: - Aws::String m_deviceId; - bool m_deviceIdHasBeenSet = false; - Aws::String m_trackerName; bool m_trackerNameHasBeenSet = false; + + Aws::String m_deviceId; + bool m_deviceIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionResult.h index 3be97cae900..0c99d9ce7df 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetDevicePositionResult.h @@ -5,11 +5,11 @@ #pragma once #include -#include #include +#include #include +#include #include -#include #include namespace Aws @@ -37,65 +37,111 @@ namespace Model /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracy = value; } + inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracy = std::move(value); } + inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline GetDevicePositionResult& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + inline void SetDeviceId(const char* value) { m_deviceId.assign(value); } /** - *

              The accuracy of the device position.

              + *

              The device whose position you retrieved.

              */ - inline GetDevicePositionResult& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} - + inline GetDevicePositionResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

              The device whose position you retrieved.

              */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline GetDevicePositionResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

              The device whose position you retrieved.

              */ - inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; } + inline GetDevicePositionResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); } + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline void SetDeviceId(const char* value) { m_deviceId.assign(value); } + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTime = value; } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline GetDevicePositionResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTime = std::move(value); } /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline GetDevicePositionResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline GetDevicePositionResult& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} /** - *

              The device whose position you retrieved.

              + *

              The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              */ - inline GetDevicePositionResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline GetDevicePositionResult& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + + /** + *

              The timestamp for when the tracker resource received the device position. + * Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; } + + /** + *

              The timestamp for when the tracker resource received the device position. + * Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTime = value; } + + /** + *

              The timestamp for when the tracker resource received the device position. + * Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTime = std::move(value); } + + /** + *

              The timestamp for when the tracker resource received the device position. + * Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline GetDevicePositionResult& WithReceivedTime(const Aws::Utils::DateTime& value) { SetReceivedTime(value); return *this;} + + /** + *

              The timestamp for when the tracker resource received the device position. + * Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

              + */ + inline GetDevicePositionResult& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;} /** @@ -129,6 +175,32 @@ namespace Model inline GetDevicePositionResult& AddPosition(double value) { m_position.push_back(value); return *this; } + /** + *

              The accuracy of the device position.

              + */ + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracy = value; } + + /** + *

              The accuracy of the device position.

              + */ + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracy = std::move(value); } + + /** + *

              The accuracy of the device position.

              + */ + inline GetDevicePositionResult& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + /** + *

              The accuracy of the device position.

              + */ + inline GetDevicePositionResult& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + /** *

              The properties associated with the position.

              */ @@ -190,78 +262,6 @@ namespace Model inline GetDevicePositionResult& AddPositionProperties(const char* key, const char* value) { m_positionProperties.emplace(key, value); return *this; } - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTime = value; } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTime = std::move(value); } - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline GetDevicePositionResult& WithReceivedTime(const Aws::Utils::DateTime& value) { SetReceivedTime(value); return *this;} - - /** - *

              The timestamp for when the tracker resource received the device position in - * ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline GetDevicePositionResult& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;} - - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTime = value; } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTime = std::move(value); } - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline GetDevicePositionResult& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} - - /** - *

              The timestamp at which the device's position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

              - */ - inline GetDevicePositionResult& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -285,17 +285,17 @@ namespace Model private: - PositionalAccuracy m_accuracy; - Aws::String m_deviceId; - Aws::Vector m_position; - - Aws::Map m_positionProperties; + Aws::Utils::DateTime m_sampleTime; Aws::Utils::DateTime m_receivedTime; - Aws::Utils::DateTime m_sampleTime; + Aws::Vector m_position; + + PositionalAccuracy m_accuracy; + + Aws::Map m_positionProperties; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetGeofenceResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetGeofenceResult.h index a2f33c51ef7..1a688e3b080 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetGeofenceResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetGeofenceResult.h @@ -5,10 +5,10 @@ #pragma once #include -#include #include -#include #include +#include +#include #include namespace Aws @@ -35,42 +35,6 @@ namespace Model AWS_LOCATIONSERVICE_API GetGeofenceResult& operator=(const Aws::AmazonWebServiceResult& result); - /** - *

              The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

              The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - - /** - *

              The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - - /** - *

              The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline GetGeofenceResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

              The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

              - */ - inline GetGeofenceResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - /** *

              The geofence identifier.

              */ @@ -107,91 +71,6 @@ namespace Model inline GetGeofenceResult& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline void SetGeofenceProperties(const Aws::Map& value) { m_geofenceProperties = value; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline void SetGeofenceProperties(Aws::Map&& value) { m_geofenceProperties = std::move(value); } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofenceProperties.emplace(key, value); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofenceProperties.emplace(std::move(key), value); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofenceProperties.emplace(std::move(key), value); return *this; } - - /** - *

              User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

              Format: "key" : "value"

              - */ - inline GetGeofenceResult& AddGeofenceProperties(const char* key, const char* value) { m_geofenceProperties.emplace(key, value); return *this; } - - /** *

              Contains the geofence geometry details describing a polygon or a circle.

              */ @@ -303,6 +182,42 @@ namespace Model inline GetGeofenceResult& WithStatus(const char* value) { SetStatus(value); return *this;} + /** + *

              The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

              The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + + /** + *

              The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + + /** + *

              The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline GetGeofenceResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

              The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

              + */ + inline GetGeofenceResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + /** *

              The timestamp for when the geofence collection was last updated in ISO 8601 @@ -339,6 +254,91 @@ namespace Model inline GetGeofenceResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline void SetGeofenceProperties(const Aws::Map& value) { m_geofenceProperties = value; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline void SetGeofenceProperties(Aws::Map&& value) { m_geofenceProperties = std::move(value); } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofenceProperties.emplace(key, value); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

              User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

              Format: "key" : "value"

              + */ + inline GetGeofenceResult& AddGeofenceProperties(const char* key, const char* value) { m_geofenceProperties.emplace(key, value); return *this; } + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -362,18 +362,18 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - Aws::String m_geofenceId; - Aws::Map m_geofenceProperties; - GeofenceGeometry m_geometry; Aws::String m_status; + Aws::Utils::DateTime m_createTime; + Aws::Utils::DateTime m_updateTime; + Aws::Map m_geofenceProperties; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsRequest.h index bf75c192aa9..15190141f50 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsRequest.h @@ -38,6 +38,47 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

              The map resource associated with the glyph file.

              + */ + inline const Aws::String& GetMapName() const{ return m_mapName; } + + /** + *

              The map resource associated with the glyph file.

              + */ + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + + /** + *

              The map resource associated with the glyph file.

              + */ + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + + /** + *

              The map resource associated with the glyph file.

              + */ + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + + /** + *

              The map resource associated with the glyph file.

              + */ + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + + /** + *

              The map resource associated with the glyph file.

              + */ + inline GetMapGlyphsRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

              The map resource associated with the glyph file.

              + */ + inline GetMapGlyphsRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

              The map resource associated with the glyph file.

              + */ + inline GetMapGlyphsRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + + /** *

              A comma-separated list of fonts to load glyphs from in order of preference. * For example, Noto Sans Regular, Arial Unicode.

              Valid font @@ -53,8 +94,7 @@ namespace Model * Roboto Condensed Light Italic

            • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

            • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

            Valid + * | Arial Italic | Arial Bold

          Valid * font stacks for HERE * Technologies styles:

          • VectorHereContrast – Fira GO @@ -103,8 +143,7 @@ namespace Model * Roboto Condensed Light Italic

          • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

          • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

          Valid + * | Arial Italic | Arial Bold

        Valid * font stacks for HERE * Technologies styles:

        • VectorHereContrast – Fira GO @@ -153,8 +192,7 @@ namespace Model * Roboto Condensed Light Italic

        • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

        • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

        Valid + * | Arial Italic | Arial Bold

      Valid * font stacks for HERE * Technologies styles:

      • VectorHereContrast – Fira GO @@ -203,8 +241,7 @@ namespace Model * Roboto Condensed Light Italic

      • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

      • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

      Valid + * | Arial Italic | Arial Bold

    Valid * font stacks for HERE * Technologies styles:

    • VectorHereContrast – Fira GO @@ -253,8 +290,7 @@ namespace Model * Roboto Condensed Light Italic

    • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

    • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

    Valid + * | Arial Italic | Arial Bold

    Valid * font stacks for HERE * Technologies styles:

    • VectorHereContrast – Fira GO @@ -303,8 +339,7 @@ namespace Model * Roboto Condensed Light Italic

    • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

    • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

    Valid + * | Arial Italic | Arial Bold

    Valid * font stacks for HERE * Technologies styles:

    • VectorHereContrast – Fira GO @@ -353,8 +388,7 @@ namespace Model * Roboto Condensed Light Italic

    • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

    • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

    Valid + * | Arial Italic | Arial Bold

    Valid * font stacks for HERE * Technologies styles:

    • VectorHereContrast – Fira GO @@ -403,8 +437,7 @@ namespace Model * Roboto Condensed Light Italic

    • VectorEsriStreets * – Arial Regular | Arial Italic | Arial * Bold

    • VectorEsriNavigation – Arial Regular - * | Arial Italic | Arial Bold | Arial Unicode MS - * Bold | Arial Unicode MS Regular

    Valid + * | Arial Italic | Arial Bold

    Valid * font stacks for HERE * Technologies styles:

    • VectorHereContrast – Fira GO @@ -560,49 +593,11 @@ namespace Model */ inline GetMapGlyphsRequest& WithKey(const char* value) { SetKey(value); return *this;} - - /** - *

      The map resource associated with the glyph file.

      - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

      The map resource associated with the glyph file.

      - */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } - - /** - *

      The map resource associated with the glyph file.

      - */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } - - /** - *

      The map resource associated with the glyph file.

      - */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } - - /** - *

      The map resource associated with the glyph file.

      - */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } - - /** - *

      The map resource associated with the glyph file.

      - */ - inline GetMapGlyphsRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} - - /** - *

      The map resource associated with the glyph file.

      - */ - inline GetMapGlyphsRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} - - /** - *

      The map resource associated with the glyph file.

      - */ - inline GetMapGlyphsRequest& WithMapName(const char* value) { SetMapName(value); return *this;} - private: + Aws::String m_mapName; + bool m_mapNameHasBeenSet = false; + Aws::String m_fontStack; bool m_fontStackHasBeenSet = false; @@ -611,9 +606,6 @@ namespace Model Aws::String m_key; bool m_keyHasBeenSet = false; - - Aws::String m_mapName; - bool m_mapNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsResult.h index b510bc7dbef..fbbbd604f3c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapGlyphsResult.h @@ -49,82 +49,82 @@ namespace Model /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } + inline const Aws::String& GetContentType() const{ return m_contentType; } /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } + inline void SetContentType(const Aws::String& value) { m_contentType = value; } /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } + inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } + inline void SetContentType(const char* value) { m_contentType.assign(value); } /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline GetMapGlyphsResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} + inline GetMapGlyphsResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline GetMapGlyphsResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} + inline GetMapGlyphsResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** - *

      The HTTP Cache-Control directive for the value.

      + *

      The map glyph content type. For example, + * application/octet-stream.

      */ - inline GetMapGlyphsResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} + inline GetMapGlyphsResult& WithContentType(const char* value) { SetContentType(value); return *this;} /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline const Aws::String& GetContentType() const{ return m_contentType; } + inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline void SetContentType(const Aws::String& value) { m_contentType = value; } + inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } + inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline void SetContentType(const char* value) { m_contentType.assign(value); } + inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline GetMapGlyphsResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} + inline GetMapGlyphsResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline GetMapGlyphsResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} + inline GetMapGlyphsResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} /** - *

      The map glyph content type. For example, - * application/octet-stream.

      + *

      The HTTP Cache-Control directive for the value.

      */ - inline GetMapGlyphsResult& WithContentType(const char* value) { SetContentType(value); return *this;} + inline GetMapGlyphsResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} @@ -152,10 +152,10 @@ namespace Model Aws::Utils::Stream::ResponseStream m_blob; - Aws::String m_cacheControl; - Aws::String m_contentType; + Aws::String m_cacheControl; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesRequest.h index d585ec47435..4e64941008f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesRequest.h @@ -38,6 +38,47 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

      The map resource associated with the sprite file.

      + */ + inline const Aws::String& GetMapName() const{ return m_mapName; } + + /** + *

      The map resource associated with the sprite file.

      + */ + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + + /** + *

      The map resource associated with the sprite file.

      + */ + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + + /** + *

      The map resource associated with the sprite file.

      + */ + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + + /** + *

      The map resource associated with the sprite file.

      + */ + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + + /** + *

      The map resource associated with the sprite file.

      + */ + inline GetMapSpritesRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

      The map resource associated with the sprite file.

      + */ + inline GetMapSpritesRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

      The map resource associated with the sprite file.

      + */ + inline GetMapSpritesRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + + /** *

      The name of the sprite file. Use the following file names for the sprite * sheet:

      • sprites.png

      • @@ -175,57 +216,16 @@ namespace Model */ inline GetMapSpritesRequest& WithKey(const char* value) { SetKey(value); return *this;} - - /** - *

        The map resource associated with the sprite file.

        - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

        The map resource associated with the sprite file.

        - */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } - - /** - *

        The map resource associated with the sprite file.

        - */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } - - /** - *

        The map resource associated with the sprite file.

        - */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } - - /** - *

        The map resource associated with the sprite file.

        - */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } - - /** - *

        The map resource associated with the sprite file.

        - */ - inline GetMapSpritesRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} - - /** - *

        The map resource associated with the sprite file.

        - */ - inline GetMapSpritesRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} - - /** - *

        The map resource associated with the sprite file.

        - */ - inline GetMapSpritesRequest& WithMapName(const char* value) { SetMapName(value); return *this;} - private: + Aws::String m_mapName; + bool m_mapNameHasBeenSet = false; + Aws::String m_fileName; bool m_fileNameHasBeenSet = false; Aws::String m_key; bool m_keyHasBeenSet = false; - - Aws::String m_mapName; - bool m_mapNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesResult.h index 1482972c7c9..afdb57a559a 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapSpritesResult.h @@ -48,42 +48,6 @@ namespace Model inline void ReplaceBody(Aws::IOStream* body) { m_blob = Aws::Utils::Stream::ResponseStream(body); } - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline GetMapSpritesResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline GetMapSpritesResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} - - /** - *

        The HTTP Cache-Control directive for the value.

        - */ - inline GetMapSpritesResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} - - /** *

        The content type of the sprite sheet and offsets. For example, the sprite * sheet content type is image/png, and the sprite offset JSON @@ -134,6 +98,42 @@ namespace Model inline GetMapSpritesResult& WithContentType(const char* value) { SetContentType(value); return *this;} + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline GetMapSpritesResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline GetMapSpritesResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} + + /** + *

        The HTTP Cache-Control directive for the value.

        + */ + inline GetMapSpritesResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -159,10 +159,10 @@ namespace Model Aws::Utils::Stream::ResponseStream m_blob; - Aws::String m_cacheControl; - Aws::String m_contentType; + Aws::String m_cacheControl; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorRequest.h index 70f46218e9f..604245a5759 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorRequest.h @@ -38,6 +38,47 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline const Aws::String& GetMapName() const{ return m_mapName; } + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline GetMapStyleDescriptorRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline GetMapStyleDescriptorRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

        The map resource to retrieve the style descriptor from.

        + */ + inline GetMapStyleDescriptorRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + + /** *

        The optional API @@ -94,54 +135,13 @@ namespace Model */ inline GetMapStyleDescriptorRequest& WithKey(const char* value) { SetKey(value); return *this;} - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline GetMapStyleDescriptorRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline GetMapStyleDescriptorRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} - - /** - *

        The map resource to retrieve the style descriptor from.

        - */ - inline GetMapStyleDescriptorRequest& WithMapName(const char* value) { SetMapName(value); return *this;} - private: - Aws::String m_key; - bool m_keyHasBeenSet = false; - Aws::String m_mapName; bool m_mapNameHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorResult.h index 28411d511e2..399cc9de5fb 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapStyleDescriptorResult.h @@ -49,82 +49,82 @@ namespace Model /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } + inline const Aws::String& GetContentType() const{ return m_contentType; } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } + inline void SetContentType(const Aws::String& value) { m_contentType = value; } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } + inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } + inline void SetContentType(const char* value) { m_contentType.assign(value); } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline GetMapStyleDescriptorResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} + inline GetMapStyleDescriptorResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline GetMapStyleDescriptorResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} + inline GetMapStyleDescriptorResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The style descriptor's content type. For example, + * application/json.

        */ - inline GetMapStyleDescriptorResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} + inline GetMapStyleDescriptorResult& WithContentType(const char* value) { SetContentType(value); return *this;} /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline const Aws::String& GetContentType() const{ return m_contentType; } + inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(const Aws::String& value) { m_contentType = value; } + inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } + inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(const char* value) { m_contentType.assign(value); } + inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapStyleDescriptorResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} + inline GetMapStyleDescriptorResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapStyleDescriptorResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} + inline GetMapStyleDescriptorResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} /** - *

        The style descriptor's content type. For example, - * application/json.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapStyleDescriptorResult& WithContentType(const char* value) { SetContentType(value); return *this;} + inline GetMapStyleDescriptorResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} @@ -152,10 +152,10 @@ namespace Model Aws::Utils::Stream::ResponseStream m_blob; - Aws::String m_cacheControl; - Aws::String m_contentType; + Aws::String m_cacheControl; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileRequest.h index 3902e7d310a..5b1c098942f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileRequest.h @@ -39,101 +39,85 @@ namespace Model /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline const Aws::String& GetKey() const{ return m_key; } + inline const Aws::String& GetMapName() const{ return m_mapName; } /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline GetMapTileRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline GetMapTileRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline GetMapTileRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline GetMapTileRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} /** - *

        The optional API - * key to authorize the request.

        + *

        The map resource to retrieve the map tiles from.

        */ - inline GetMapTileRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline GetMapTileRequest& WithMapName(const char* value) { SetMapName(value); return *this;} /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline const Aws::String& GetMapName() const{ return m_mapName; } + inline const Aws::String& GetZ() const{ return m_z; } /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + inline bool ZHasBeenSet() const { return m_zHasBeenSet; } /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + inline void SetZ(const Aws::String& value) { m_zHasBeenSet = true; m_z = value; } /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + inline void SetZ(Aws::String&& value) { m_zHasBeenSet = true; m_z = std::move(value); } /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + inline void SetZ(const char* value) { m_zHasBeenSet = true; m_z.assign(value); } /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline GetMapTileRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + inline GetMapTileRequest& WithZ(const Aws::String& value) { SetZ(value); return *this;} /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline GetMapTileRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + inline GetMapTileRequest& WithZ(Aws::String&& value) { SetZ(std::move(value)); return *this;} /** - *

        The map resource to retrieve the map tiles from.

        + *

        The zoom value for the map tile.

        */ - inline GetMapTileRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + inline GetMapTileRequest& WithZ(const char* value) { SetZ(value); return *this;} /** @@ -219,61 +203,77 @@ namespace Model /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline const Aws::String& GetZ() const{ return m_z; } + inline const Aws::String& GetKey() const{ return m_key; } /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline bool ZHasBeenSet() const { return m_zHasBeenSet; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetZ(const Aws::String& value) { m_zHasBeenSet = true; m_z = value; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetZ(Aws::String&& value) { m_zHasBeenSet = true; m_z = std::move(value); } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetZ(const char* value) { m_zHasBeenSet = true; m_z.assign(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetMapTileRequest& WithZ(const Aws::String& value) { SetZ(value); return *this;} + inline GetMapTileRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetMapTileRequest& WithZ(Aws::String&& value) { SetZ(std::move(value)); return *this;} + inline GetMapTileRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** - *

        The zoom value for the map tile.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetMapTileRequest& WithZ(const char* value) { SetZ(value); return *this;} + inline GetMapTileRequest& WithKey(const char* value) { SetKey(value); return *this;} private: - Aws::String m_key; - bool m_keyHasBeenSet = false; - Aws::String m_mapName; bool m_mapNameHasBeenSet = false; + Aws::String m_z; + bool m_zHasBeenSet = false; + Aws::String m_x; bool m_xHasBeenSet = false; Aws::String m_y; bool m_yHasBeenSet = false; - Aws::String m_z; - bool m_zHasBeenSet = false; + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileResult.h index 6cb33630cc8..154b7c7e22b 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetMapTileResult.h @@ -49,82 +49,82 @@ namespace Model /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } + inline const Aws::String& GetContentType() const{ return m_contentType; } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } + inline void SetContentType(const Aws::String& value) { m_contentType = value; } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } + inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } + inline void SetContentType(const char* value) { m_contentType.assign(value); } /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline GetMapTileResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} + inline GetMapTileResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline GetMapTileResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} + inline GetMapTileResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} /** - *

        The HTTP Cache-Control directive for the value.

        + *

        The map tile's content type. For example, + * application/vnd.mapbox-vector-tile.

        */ - inline GetMapTileResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} + inline GetMapTileResult& WithContentType(const char* value) { SetContentType(value); return *this;} /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline const Aws::String& GetContentType() const{ return m_contentType; } + inline const Aws::String& GetCacheControl() const{ return m_cacheControl; } /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(const Aws::String& value) { m_contentType = value; } + inline void SetCacheControl(const Aws::String& value) { m_cacheControl = value; } /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); } + inline void SetCacheControl(Aws::String&& value) { m_cacheControl = std::move(value); } /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline void SetContentType(const char* value) { m_contentType.assign(value); } + inline void SetCacheControl(const char* value) { m_cacheControl.assign(value); } /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapTileResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;} + inline GetMapTileResult& WithCacheControl(const Aws::String& value) { SetCacheControl(value); return *this;} /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapTileResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;} + inline GetMapTileResult& WithCacheControl(Aws::String&& value) { SetCacheControl(std::move(value)); return *this;} /** - *

        The map tile's content type. For example, - * application/vnd.mapbox-vector-tile.

        + *

        The HTTP Cache-Control directive for the value.

        */ - inline GetMapTileResult& WithContentType(const char* value) { SetContentType(value); return *this;} + inline GetMapTileResult& WithCacheControl(const char* value) { SetCacheControl(value); return *this;} @@ -152,10 +152,10 @@ namespace Model Aws::Utils::Stream::ResponseStream m_blob; - Aws::String m_cacheControl; - Aws::String m_contentType; + Aws::String m_cacheControl; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetPlaceRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetPlaceRequest.h index 636248bf7c8..f523e58aeee 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetPlaceRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/GetPlaceRequest.h @@ -80,60 +80,44 @@ namespace Model /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline const Aws::String& GetKey() const{ return m_key; } + inline const Aws::String& GetPlaceId() const{ return m_placeId; } /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline bool PlaceIdHasBeenSet() const { return m_placeIdHasBeenSet; } /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetPlaceId(const Aws::String& value) { m_placeIdHasBeenSet = true; m_placeId = value; } /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetPlaceId(Aws::String&& value) { m_placeIdHasBeenSet = true; m_placeId = std::move(value); } /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline void SetPlaceId(const char* value) { m_placeIdHasBeenSet = true; m_placeId.assign(value); } /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline GetPlaceRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline GetPlaceRequest& WithPlaceId(const Aws::String& value) { SetPlaceId(value); return *this;} /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline GetPlaceRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline GetPlaceRequest& WithPlaceId(Aws::String&& value) { SetPlaceId(std::move(value)); return *this;} /** - *

        The optional API - * key to authorize the request.

        + *

        The identifier of the place to find.

        */ - inline GetPlaceRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline GetPlaceRequest& WithPlaceId(const char* value) { SetPlaceId(value); return *this;} /** @@ -274,226 +258,74 @@ namespace Model /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline const Aws::String& GetPlaceId() const{ return m_placeId; } + inline const Aws::String& GetKey() const{ return m_key; } /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline bool PlaceIdHasBeenSet() const { return m_placeIdHasBeenSet; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetPlaceId(const Aws::String& value) { m_placeIdHasBeenSet = true; m_placeId = value; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetPlaceId(Aws::String&& value) { m_placeIdHasBeenSet = true; m_placeId = std::move(value); } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline void SetPlaceId(const char* value) { m_placeIdHasBeenSet = true; m_placeId.assign(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetPlaceRequest& WithPlaceId(const Aws::String& value) { SetPlaceId(value); return *this;} + inline GetPlaceRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetPlaceRequest& WithPlaceId(Aws::String&& value) { SetPlaceId(std::move(value)); return *this;} + inline GetPlaceRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** - *

        The identifier of the place to find.

        While you can use PlaceID in - * subsequent requests, PlaceID is not intended to be a permanent identifier and - * the ID can change between consecutive API calls. Please see the following - * PlaceID behaviour for each data provider:

        • Esri: Place IDs will - * change every quarter at a minimum. The typical time period for these changes - * would be March, June, September, and December. Place IDs might also change - * between the typical quarterly change but that will be much less frequent.

          - *
        • HERE: We recommend that you cache data for no longer than a week - * to keep your data data fresh. You can assume that less than 1% ID shifts will - * release over release which is approximately 1 - 2 times per week.

        • - *

          Grab: Place IDs can expire or become invalid in the following situations.

          - *
          • Data operations: The POI may be removed from Grab POI database by - * Grab Map Ops based on the ground-truth, such as being closed in the real world, - * being detected as a duplicate POI, or having incorrect information. Grab will - * synchronize data to the Waypoint environment on weekly basis.

          • - *

            Interpolated POI: Interpolated POI is a temporary POI generated in real time - * when serving a request, and it will be marked as derived in the - * place.result_type field in the response. The information of - * interpolated POIs will be retained for at least 30 days, which means that within - * 30 days, you are able to obtain POI details by Place ID from Place Details API. - * After 30 days, the interpolated POIs(both Place ID and details) may expire and - * inaccessible from the Places Details API.

        + *

        The optional API + * key to authorize the request.

        */ - inline GetPlaceRequest& WithPlaceId(const char* value) { SetPlaceId(value); return *this;} + inline GetPlaceRequest& WithKey(const char* value) { SetKey(value); return *this;} private: Aws::String m_indexName; bool m_indexNameHasBeenSet = false; - Aws::String m_key; - bool m_keyHasBeenSet = false; + Aws::String m_placeId; + bool m_placeIdHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; - Aws::String m_placeId; - bool m_placeIdHasBeenSet = false; + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/InferredState.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/InferredState.h new file mode 100644 index 00000000000..b0afbda5fef --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/InferredState.h @@ -0,0 +1,178 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

        The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

        See Also:

        AWS + * API Reference

        + */ + class InferredState + { + public: + AWS_LOCATIONSERVICE_API InferredState(); + AWS_LOCATIONSERVICE_API InferredState(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API InferredState& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline const Aws::Vector& GetPosition() const{ return m_position; } + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline InferredState& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline InferredState& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} + + /** + *

        The device position inferred by the provided position, IP address, cellular + * signals, and Wi-Fi- access points.

        + */ + inline InferredState& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + + + /** + *

        The level of certainty of the inferred position.

        + */ + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + /** + *

        The level of certainty of the inferred position.

        + */ + inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + + /** + *

        The level of certainty of the inferred position.

        + */ + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + + /** + *

        The level of certainty of the inferred position.

        + */ + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + + /** + *

        The level of certainty of the inferred position.

        + */ + inline InferredState& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + /** + *

        The level of certainty of the inferred position.

        + */ + inline InferredState& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + + /** + *

        The distance between the inferred position and the device's self-reported + * position.

        + */ + inline double GetDeviationDistance() const{ return m_deviationDistance; } + + /** + *

        The distance between the inferred position and the device's self-reported + * position.

        + */ + inline bool DeviationDistanceHasBeenSet() const { return m_deviationDistanceHasBeenSet; } + + /** + *

        The distance between the inferred position and the device's self-reported + * position.

        + */ + inline void SetDeviationDistance(double value) { m_deviationDistanceHasBeenSet = true; m_deviationDistance = value; } + + /** + *

        The distance between the inferred position and the device's self-reported + * position.

        + */ + inline InferredState& WithDeviationDistance(double value) { SetDeviationDistance(value); return *this;} + + + /** + *

        Indicates if a proxy was used.

        + */ + inline bool GetProxyDetected() const{ return m_proxyDetected; } + + /** + *

        Indicates if a proxy was used.

        + */ + inline bool ProxyDetectedHasBeenSet() const { return m_proxyDetectedHasBeenSet; } + + /** + *

        Indicates if a proxy was used.

        + */ + inline void SetProxyDetected(bool value) { m_proxyDetectedHasBeenSet = true; m_proxyDetected = value; } + + /** + *

        Indicates if a proxy was used.

        + */ + inline InferredState& WithProxyDetected(bool value) { SetProxyDetected(value); return *this;} + + private: + + Aws::Vector m_position; + bool m_positionHasBeenSet = false; + + PositionalAccuracy m_accuracy; + bool m_accuracyHasBeenSet = false; + + double m_deviationDistance; + bool m_deviationDistanceHasBeenSet = false; + + bool m_proxyDetected; + bool m_proxyDetectedHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Leg.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Leg.h index 60f410b6ace..51345b7a98b 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Leg.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Leg.h @@ -54,65 +54,67 @@ namespace Model /** - *

        The distance between the leg's StartPosition and - * EndPosition along a calculated route.

        • The default - * measurement is Kilometers unless the request specifies a - * DistanceUnit of Miles.

        - */ - inline double GetDistance() const{ return m_distance; } - - /** - *

        The distance between the leg's StartPosition and - * EndPosition along a calculated route.

        • The default - * measurement is Kilometers unless the request specifies a - * DistanceUnit of Miles.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } + inline const Aws::Vector& GetStartPosition() const{ return m_startPosition; } /** - *

        The distance between the leg's StartPosition and - * EndPosition along a calculated route.

        • The default - * measurement is Kilometers unless the request specifies a - * DistanceUnit of Miles.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } + inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; } /** - *

        The distance between the leg's StartPosition and - * EndPosition along a calculated route.

        • The default - * measurement is Kilometers unless the request specifies a - * DistanceUnit of Miles.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline Leg& WithDistance(double value) { SetDistance(value); return *this;} - + inline void SetStartPosition(const Aws::Vector& value) { m_startPositionHasBeenSet = true; m_startPosition = value; } /** - *

        The estimated travel time between the leg's StartPosition and - * EndPosition. The travel mode and departure time that you specify in - * the request determines the calculated time.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline double GetDurationSeconds() const{ return m_durationSeconds; } + inline void SetStartPosition(Aws::Vector&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::move(value); } /** - *

        The estimated travel time between the leg's StartPosition and - * EndPosition. The travel mode and departure time that you specify in - * the request determines the calculated time.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; } + inline Leg& WithStartPosition(const Aws::Vector& value) { SetStartPosition(value); return *this;} /** - *

        The estimated travel time between the leg's StartPosition and - * EndPosition. The travel mode and departure time that you specify in - * the request determines the calculated time.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline void SetDurationSeconds(double value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; } + inline Leg& WithStartPosition(Aws::Vector&& value) { SetStartPosition(std::move(value)); return *this;} /** - *

        The estimated travel time between the leg's StartPosition and - * EndPosition. The travel mode and departure time that you specify in - * the request determines the calculated time.

        + *

        The starting position of the leg. Follows the format + * [longitude,latitude].

        If the + * StartPosition isn't located on a road, it's snapped + * to a nearby road.

        */ - inline Leg& WithDurationSeconds(double value) { SetDurationSeconds(value); return *this;} + inline Leg& AddStartPosition(double value) { m_startPositionHasBeenSet = true; m_startPosition.push_back(value); return *this; } /** @@ -180,98 +182,96 @@ namespace Model /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The distance between the leg's StartPosition and + * EndPosition along a calculated route.

        • The default + * measurement is Kilometers unless the request specifies a + * DistanceUnit of Miles.

        */ - inline const LegGeometry& GetGeometry() const{ return m_geometry; } + inline double GetDistance() const{ return m_distance; } /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The distance between the leg's StartPosition and + * EndPosition along a calculated route.

        • The default + * measurement is Kilometers unless the request specifies a + * DistanceUnit of Miles.

        */ - inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } + inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The distance between the leg's StartPosition and + * EndPosition along a calculated route.

        • The default + * measurement is Kilometers unless the request specifies a + * DistanceUnit of Miles.

        */ - inline void SetGeometry(const LegGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } + inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The distance between the leg's StartPosition and + * EndPosition along a calculated route.

        • The default + * measurement is Kilometers unless the request specifies a + * DistanceUnit of Miles.

        */ - inline void SetGeometry(LegGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } + inline Leg& WithDistance(double value) { SetDistance(value); return *this;} + /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The estimated travel time between the leg's StartPosition and + * EndPosition. The travel mode and departure time that you specify in + * the request determines the calculated time.

        */ - inline Leg& WithGeometry(const LegGeometry& value) { SetGeometry(value); return *this;} + inline double GetDurationSeconds() const{ return m_durationSeconds; } /** - *

        Contains the calculated route's path as a linestring geometry.

        + *

        The estimated travel time between the leg's StartPosition and + * EndPosition. The travel mode and departure time that you specify in + * the request determines the calculated time.

        */ - inline Leg& WithGeometry(LegGeometry&& value) { SetGeometry(std::move(value)); return *this;} + inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; } + /** + *

        The estimated travel time between the leg's StartPosition and + * EndPosition. The travel mode and departure time that you specify in + * the request determines the calculated time.

        + */ + inline void SetDurationSeconds(double value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; } /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        The estimated travel time between the leg's StartPosition and + * EndPosition. The travel mode and departure time that you specify in + * the request determines the calculated time.

        */ - inline const Aws::Vector& GetStartPosition() const{ return m_startPosition; } + inline Leg& WithDurationSeconds(double value) { SetDurationSeconds(value); return *this;} + /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; } + inline const LegGeometry& GetGeometry() const{ return m_geometry; } /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline void SetStartPosition(const Aws::Vector& value) { m_startPositionHasBeenSet = true; m_startPosition = value; } + inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline void SetStartPosition(Aws::Vector&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::move(value); } + inline void SetGeometry(const LegGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline Leg& WithStartPosition(const Aws::Vector& value) { SetStartPosition(value); return *this;} + inline void SetGeometry(LegGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline Leg& WithStartPosition(Aws::Vector&& value) { SetStartPosition(std::move(value)); return *this;} + inline Leg& WithGeometry(const LegGeometry& value) { SetGeometry(value); return *this;} /** - *

        The starting position of the leg. Follows the format - * [longitude,latitude].

        If the - * StartPosition isn't located on a road, it's snapped - * to a nearby road.

        + *

        Contains the calculated route's path as a linestring geometry.

        */ - inline Leg& AddStartPosition(double value) { m_startPositionHasBeenSet = true; m_startPosition.push_back(value); return *this; } + inline Leg& WithGeometry(LegGeometry&& value) { SetGeometry(std::move(value)); return *this;} /** @@ -340,21 +340,21 @@ namespace Model private: + Aws::Vector m_startPosition; + bool m_startPositionHasBeenSet = false; + + Aws::Vector m_endPosition; + bool m_endPositionHasBeenSet = false; + double m_distance; bool m_distanceHasBeenSet = false; double m_durationSeconds; bool m_durationSecondsHasBeenSet = false; - Aws::Vector m_endPosition; - bool m_endPositionHasBeenSet = false; - LegGeometry m_geometry; bool m_geometryHasBeenSet = false; - Aws::Vector m_startPosition; - bool m_startPositionHasBeenSet = false; - Aws::Vector m_steps; bool m_stepsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsRequest.h index d18ffd74ae8..88f70a9e70a 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -34,34 +34,44 @@ namespace Model /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline const TrackingFilterGeometry& GetFilterGeometry() const{ return m_filterGeometry; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline bool FilterGeometryHasBeenSet() const { return m_filterGeometryHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline void SetFilterGeometry(const TrackingFilterGeometry& value) { m_filterGeometryHasBeenSet = true; m_filterGeometry = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline void SetFilterGeometry(TrackingFilterGeometry&& value) { m_filterGeometryHasBeenSet = true; m_filterGeometry = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline ListDevicePositionsRequest& WithFilterGeometry(const TrackingFilterGeometry& value) { SetFilterGeometry(value); return *this;} + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

        The geometry used to filter device positions.

        + *

        The tracker resource containing the requested devices.

        */ - inline ListDevicePositionsRequest& WithFilterGeometry(TrackingFilterGeometry&& value) { SetFilterGeometry(std::move(value)); return *this;} + inline ListDevicePositionsRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

        The tracker resource containing the requested devices.

        + */ + inline ListDevicePositionsRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

        The tracker resource containing the requested devices.

        + */ + inline ListDevicePositionsRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** @@ -147,49 +157,39 @@ namespace Model /** - *

        The tracker resource containing the requested devices.

        - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

        The tracker resource containing the requested devices.

        - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline const TrackingFilterGeometry& GetFilterGeometry() const{ return m_filterGeometry; } /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline bool FilterGeometryHasBeenSet() const { return m_filterGeometryHasBeenSet; } /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline void SetFilterGeometry(const TrackingFilterGeometry& value) { m_filterGeometryHasBeenSet = true; m_filterGeometry = value; } /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline ListDevicePositionsRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline void SetFilterGeometry(TrackingFilterGeometry&& value) { m_filterGeometryHasBeenSet = true; m_filterGeometry = std::move(value); } /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline ListDevicePositionsRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline ListDevicePositionsRequest& WithFilterGeometry(const TrackingFilterGeometry& value) { SetFilterGeometry(value); return *this;} /** - *

        The tracker resource containing the requested devices.

        + *

        The geometry used to filter device positions.

        */ - inline ListDevicePositionsRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline ListDevicePositionsRequest& WithFilterGeometry(TrackingFilterGeometry&& value) { SetFilterGeometry(std::move(value)); return *this;} private: - TrackingFilterGeometry m_filterGeometry; - bool m_filterGeometryHasBeenSet = false; + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; @@ -197,8 +197,8 @@ namespace Model Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; + TrackingFilterGeometry m_filterGeometry; + bool m_filterGeometryHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsResponseEntry.h index 9b2bd8fa0f2..3bb7f0552dd 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListDevicePositionsResponseEntry.h @@ -5,11 +5,11 @@ #pragma once #include -#include #include +#include #include +#include #include -#include #include namespace Aws @@ -42,75 +42,87 @@ namespace Model /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline ListDevicePositionsResponseEntry& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } /** - *

        The accuracy of the device position.

        + *

        The ID of the device for this position.

        */ - inline ListDevicePositionsResponseEntry& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} - + inline ListDevicePositionsResponseEntry& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} /** *

        The ID of the device for this position.

        */ - inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + inline ListDevicePositionsResponseEntry& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} /** *

        The ID of the device for this position.

        */ - inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; } + inline ListDevicePositionsResponseEntry& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; } + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); } + inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); } + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListDevicePositionsResponseEntry& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListDevicePositionsResponseEntry& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + inline ListDevicePositionsResponseEntry& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} /** - *

        The ID of the device for this position.

        + *

        The timestamp at which the device position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListDevicePositionsResponseEntry& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + inline ListDevicePositionsResponseEntry& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} /** @@ -149,6 +161,37 @@ namespace Model inline ListDevicePositionsResponseEntry& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + /** + *

        The accuracy of the device position.

        + */ + inline const PositionalAccuracy& GetAccuracy() const{ return m_accuracy; } + + /** + *

        The accuracy of the device position.

        + */ + inline bool AccuracyHasBeenSet() const { return m_accuracyHasBeenSet; } + + /** + *

        The accuracy of the device position.

        + */ + inline void SetAccuracy(const PositionalAccuracy& value) { m_accuracyHasBeenSet = true; m_accuracy = value; } + + /** + *

        The accuracy of the device position.

        + */ + inline void SetAccuracy(PositionalAccuracy&& value) { m_accuracyHasBeenSet = true; m_accuracy = std::move(value); } + + /** + *

        The accuracy of the device position.

        + */ + inline ListDevicePositionsResponseEntry& WithAccuracy(const PositionalAccuracy& value) { SetAccuracy(value); return *this;} + + /** + *

        The accuracy of the device position.

        + */ + inline ListDevicePositionsResponseEntry& WithAccuracy(PositionalAccuracy&& value) { SetAccuracy(std::move(value)); return *this;} + + /** *

        The properties associated with the position.

        */ @@ -214,65 +257,22 @@ namespace Model */ inline ListDevicePositionsResponseEntry& AddPositionProperties(const char* key, const char* value) { m_positionPropertiesHasBeenSet = true; m_positionProperties.emplace(key, value); return *this; } - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline bool SampleTimeHasBeenSet() const { return m_sampleTimeHasBeenSet; } - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = value; } - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTimeHasBeenSet = true; m_sampleTime = std::move(value); } - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline ListDevicePositionsResponseEntry& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} - - /** - *

        The timestamp at which the device position was determined. Uses ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline ListDevicePositionsResponseEntry& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} - private: - PositionalAccuracy m_accuracy; - bool m_accuracyHasBeenSet = false; - Aws::String m_deviceId; bool m_deviceIdHasBeenSet = false; + Aws::Utils::DateTime m_sampleTime; + bool m_sampleTimeHasBeenSet = false; + Aws::Vector m_position; bool m_positionHasBeenSet = false; + PositionalAccuracy m_accuracy; + bool m_accuracyHasBeenSet = false; + Aws::Map m_positionProperties; bool m_positionPropertiesHasBeenSet = false; - - Aws::Utils::DateTime m_sampleTime; - bool m_sampleTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceCollectionsResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceCollectionsResponseEntry.h index 4bdca3f4b87..0bb4423551b 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceCollectionsResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceCollectionsResponseEntry.h @@ -25,7 +25,9 @@ namespace Model { /** - *

        Contains the geofence collection details.

        See Also:

        Contains the geofence collection details.

        The returned geometry + * will always match the geometry format used when the geofence was created.

        + *

        See Also:

        AWS * API Reference

        */ @@ -80,87 +82,87 @@ namespace Model /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline ListGeofenceCollectionsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** - *

        The timestamp for when the geofence collection was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        + *

        The description for the geofence collection

        */ - inline ListGeofenceCollectionsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - + inline ListGeofenceCollectionsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

        The description for the geofence collection

        */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline ListGeofenceCollectionsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

        The description for the geofence collection

        */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline ListGeofenceCollectionsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline ListGeofenceCollectionsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline ListGeofenceCollectionsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ListGeofenceCollectionsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        The description for the geofence collection

        + *

        The timestamp for when the geofence collection was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        */ - inline ListGeofenceCollectionsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + inline ListGeofenceCollectionsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -210,12 +212,12 @@ namespace Model Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - Aws::String m_description; bool m_descriptionHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceResponseEntry.h index ff63fa6ef7c..54a86058dd5 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofenceResponseEntry.h @@ -5,10 +5,10 @@ #pragma once #include -#include #include -#include #include +#include +#include #include namespace Aws @@ -27,8 +27,9 @@ namespace Model { /** - *

        Contains a list of geofences stored in a given geofence - * collection.

        See Also:

        Contains a list of geofences stored in a given geofence collection.

        + *

        The returned geometry will always match the geometry format used when + * the geofence was created.

        See Also:

        AWS * API Reference

        */ @@ -41,49 +42,6 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } - - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } - - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } - - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline ListGeofenceResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

        - */ - inline ListGeofenceResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - /** *

        The geofence identifier.

        */ @@ -125,98 +83,6 @@ namespace Model inline ListGeofenceResponseEntry& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline void SetGeofenceProperties(const Aws::Map& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline void SetGeofenceProperties(Aws::Map&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } - - /** - *

        User defined properties of the geofence. A property is a key-value pair - * stored with the geofence and added to any geofence event triggered with that - * geofence.

        Format: "key" : "value"

        - */ - inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } - - /** *

        Contains the geofence geometry details describing a polygon or a circle.

        */ @@ -345,6 +211,49 @@ namespace Model inline ListGeofenceResponseEntry& WithStatus(const char* value) { SetStatus(value); return *this;} + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline ListGeofenceResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

        The timestamp for when the geofence was stored in a geofence collection in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

        + */ + inline ListGeofenceResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + /** *

        The timestamp for when the geofence was last updated in ISO 8601 @@ -387,25 +296,117 @@ namespace Model */ inline ListGeofenceResponseEntry& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline const Aws::Map& GetGeofenceProperties() const{ return m_geofenceProperties; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline bool GeofencePropertiesHasBeenSet() const { return m_geofencePropertiesHasBeenSet; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline void SetGeofenceProperties(const Aws::Map& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = value; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline void SetGeofenceProperties(Aws::Map&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties = std::move(value); } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& WithGeofenceProperties(const Aws::Map& value) { SetGeofenceProperties(value); return *this;} + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& WithGeofenceProperties(Aws::Map&& value) { SetGeofenceProperties(std::move(value)); return *this;} + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const Aws::String& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(const Aws::String& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, Aws::String&& value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, std::move(value)); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(Aws::String&& key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(std::move(key), value); return *this; } + + /** + *

        User defined properties of the geofence. A property is a key-value pair + * stored with the geofence and added to any geofence event triggered with that + * geofence.

        Format: "key" : "value"

        + */ + inline ListGeofenceResponseEntry& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } + + private: Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; - Aws::Map m_geofenceProperties; - bool m_geofencePropertiesHasBeenSet = false; - GeofenceGeometry m_geometry; bool m_geometryHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; + + Aws::Map m_geofenceProperties; + bool m_geofencePropertiesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofencesRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofencesRequest.h index f7d912a83ea..b09b8dc2cfa 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofencesRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListGeofencesRequest.h @@ -73,31 +73,6 @@ namespace Model inline ListGeofencesRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} - /** - *

        An optional limit for the number of geofences returned in a single call.

        - *

        Default value: 100

        - */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *

        An optional limit for the number of geofences returned in a single call.

        - *

        Default value: 100

        - */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *

        An optional limit for the number of geofences returned in a single call.

        - *

        Default value: 100

        - */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *

        An optional limit for the number of geofences returned in a single call.

        - *

        Default value: 100

        - */ - inline ListGeofencesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - /** *

        The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

        @@ -154,16 +129,41 @@ namespace Model */ inline ListGeofencesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + /** + *

        An optional limit for the number of geofences returned in a single call.

        + *

        Default value: 100

        + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

        An optional limit for the number of geofences returned in a single call.

        + *

        Default value: 100

        + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

        An optional limit for the number of geofences returned in a single call.

        + *

        Default value: 100

        + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

        An optional limit for the number of geofences returned in a single call.

        + *

        Default value: 100

        + */ + inline ListGeofencesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + private: Aws::String m_collectionName; bool m_collectionNameHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysRequest.h index 9dfd4966c33..1de9809dfdc 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -33,43 +33,6 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline const ApiKeyFilter& GetFilter() const{ return m_filter; } - - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } - - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline void SetFilter(const ApiKeyFilter& value) { m_filterHasBeenSet = true; m_filter = value; } - - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline void SetFilter(ApiKeyFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } - - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline ListKeysRequest& WithFilter(const ApiKeyFilter& value) { SetFilter(value); return *this;} - - /** - *

        Optionally filter the list to only Active or - * Expired API keys.

        - */ - inline ListKeysRequest& WithFilter(ApiKeyFilter&& value) { SetFilter(std::move(value)); return *this;} - - /** *

        An optional limit for the number of resources returned in a single call.

        *

        Default value: 100

        @@ -151,16 +114,53 @@ namespace Model */ inline ListKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - private: - ApiKeyFilter m_filter; - bool m_filterHasBeenSet = false; + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline const ApiKeyFilter& GetFilter() const{ return m_filter; } + + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } + + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline void SetFilter(const ApiKeyFilter& value) { m_filterHasBeenSet = true; m_filter = value; } + + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline void SetFilter(ApiKeyFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); } + + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline ListKeysRequest& WithFilter(const ApiKeyFilter& value) { SetFilter(value); return *this;} + + /** + *

        Optionally filter the list to only Active or + * Expired API keys.

        + */ + inline ListKeysRequest& WithFilter(ApiKeyFilter&& value) { SetFilter(std::move(value)); return *this;} + + private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + ApiKeyFilter m_filter; + bool m_filterHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysResponseEntry.h index beae834521c..61335554a21 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListKeysResponseEntry.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -41,87 +41,44 @@ namespace Model /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - - /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } - - /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } - - /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } - - /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline ListKeysResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - - /** - *

        The timestamp of when the API key was created, in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        - */ - inline ListKeysResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - - - /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline const Aws::String& GetKeyName() const{ return m_keyName; } /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline ListKeysResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline ListKeysResponseEntry& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline ListKeysResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ListKeysResponseEntry& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** - *

        The optional description for the API key resource.

        + *

        The name of the API key resource.

        */ - inline ListKeysResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + inline ListKeysResponseEntry& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** @@ -168,44 +125,44 @@ namespace Model /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline const Aws::String& GetKeyName() const{ return m_keyName; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline ListKeysResponseEntry& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} + inline ListKeysResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline ListKeysResponseEntry& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} + inline ListKeysResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

        The name of the API key resource.

        + *

        The optional description for the API key resource.

        */ - inline ListKeysResponseEntry& WithKeyName(const char* value) { SetKeyName(value); return *this;} + inline ListKeysResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} @@ -227,6 +184,49 @@ namespace Model inline ListKeysResponseEntry& WithRestrictions(ApiKeyRestrictions&& value) { SetRestrictions(std::move(value)); return *this;} + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline ListKeysResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + + /** + *

        The timestamp of when the API key was created, in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + */ + inline ListKeysResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + + /** *

        The timestamp of when the API key was last updated, in ISO 8601 @@ -271,21 +271,21 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + Aws::String m_keyName; + bool m_keyNameHasBeenSet = false; Aws::Utils::DateTime m_expireTime; bool m_expireTimeHasBeenSet = false; - Aws::String m_keyName; - bool m_keyNameHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; ApiKeyRestrictions m_restrictions; bool m_restrictionsHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListMapsResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListMapsResponseEntry.h index 0c8060670a4..180d47f2ef9 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListMapsResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListMapsResponseEntry.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,169 +40,169 @@ namespace Model /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetMapName() const{ return m_mapName; } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline ListMapsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } /** - *

        The timestamp for when the map resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the associated map resource.

        */ - inline ListMapsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - + inline ListMapsResponseEntry& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The name of the associated map resource.

        */ - inline const Aws::String& GetDataSource() const{ return m_dataSource; } + inline ListMapsResponseEntry& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The name of the associated map resource.

        */ - inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } + inline ListMapsResponseEntry& WithMapName(const char* value) { SetMapName(value); return *this;} - /** - *

        Specifies the data provider for the associated map tiles.

        - */ - inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The description for the map resource.

        */ - inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The description for the map resource.

        */ - inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The description for the map resource.

        */ - inline ListMapsResponseEntry& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The description for the map resource.

        */ - inline ListMapsResponseEntry& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

        Specifies the data provider for the associated map tiles.

        + *

        The description for the map resource.

        */ - inline ListMapsResponseEntry& WithDataSource(const char* value) { SetDataSource(value); return *this;} - + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

        The description for the map resource.

        */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline ListMapsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

        The description for the map resource.

        */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline ListMapsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

        The description for the map resource.

        */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline ListMapsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + /** - *

        The description for the map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** - *

        The description for the map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** - *

        The description for the map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline ListMapsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** - *

        The description for the map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline ListMapsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** - *

        The description for the map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline ListMapsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } + /** + *

        Specifies the data provider for the associated map tiles.

        + */ + inline ListMapsResponseEntry& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** - *

        The name of the associated map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline const Aws::String& GetMapName() const{ return m_mapName; } + inline ListMapsResponseEntry& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** - *

        The name of the associated map resource.

        + *

        Specifies the data provider for the associated map tiles.

        */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } + inline ListMapsResponseEntry& WithDataSource(const char* value) { SetDataSource(value); return *this;} + /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListMapsResponseEntry& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListMapsResponseEntry& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + inline ListMapsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        The name of the associated map resource.

        + *

        The timestamp for when the map resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListMapsResponseEntry& WithMapName(const char* value) { SetMapName(value); return *this;} + inline ListMapsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -249,17 +249,17 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - - Aws::String m_dataSource; - bool m_dataSourceHasBeenSet = false; + Aws::String m_mapName; + bool m_mapNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_mapName; - bool m_mapNameHasBeenSet = false; + Aws::String m_dataSource; + bool m_dataSourceHasBeenSet = false; + + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListPlaceIndexesResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListPlaceIndexesResponseEntry.h index d99c4fb39c9..69eb22ecbfc 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListPlaceIndexesResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListPlaceIndexesResponseEntry.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,46 +40,85 @@ namespace Model /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetIndexName() const{ return m_indexName; } /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline ListPlaceIndexesResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** - *

        The timestamp for when the place index resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the place index resource.

        */ - inline ListPlaceIndexesResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline ListPlaceIndexesResponseEntry& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

        The name of the place index resource.

        + */ + inline ListPlaceIndexesResponseEntry& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

        The name of the place index resource.

        + */ + inline ListPlaceIndexesResponseEntry& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + + /** + *

        The optional description for the place index resource.

        + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

        The optional description for the place index resource.

        + */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

        The optional description for the place index resource.

        + */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

        The optional description for the place index resource.

        + */ + inline ListPlaceIndexesResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

        The optional description for the place index resource.

        + */ + inline ListPlaceIndexesResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

        The optional description for the place index resource.

        + */ + inline ListPlaceIndexesResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -164,85 +203,46 @@ namespace Model /** - *

        The optional description for the place index resource.

        - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

        The optional description for the place index resource.

        - */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - - /** - *

        The optional description for the place index resource.

        - */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } - - /** - *

        The optional description for the place index resource.

        - */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } - - /** - *

        The optional description for the place index resource.

        - */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } - - /** - *

        The optional description for the place index resource.

        - */ - inline ListPlaceIndexesResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} - - /** - *

        The optional description for the place index resource.

        - */ - inline ListPlaceIndexesResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} - - /** - *

        The optional description for the place index resource.

        - */ - inline ListPlaceIndexesResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} - - - /** - *

        The name of the place index resource.

        - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

        The name of the place index resource.

        - */ - inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } - - /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListPlaceIndexesResponseEntry& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListPlaceIndexesResponseEntry& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + inline ListPlaceIndexesResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        The name of the place index resource.

        + *

        The timestamp for when the place index resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListPlaceIndexesResponseEntry& WithIndexName(const char* value) { SetIndexName(value); return *this;} + inline ListPlaceIndexesResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -289,17 +289,17 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - - Aws::String m_dataSource; - bool m_dataSourceHasBeenSet = false; + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_indexName; - bool m_indexNameHasBeenSet = false; + Aws::String m_dataSource; + bool m_dataSourceHasBeenSet = false; + + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListRouteCalculatorsResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListRouteCalculatorsResponseEntry.h index 250f33e9193..ab3796f5b7d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListRouteCalculatorsResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListRouteCalculatorsResponseEntry.h @@ -81,52 +81,44 @@ namespace Model /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline ListRouteCalculatorsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** - *

        The timestamp when the route calculator resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, - * 2020–07-2T12:15:20.000Z+01:00

        + *

        The optional description of the route calculator resource.

        */ - inline ListRouteCalculatorsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline ListRouteCalculatorsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

        The optional description of the route calculator resource.

        + */ + inline ListRouteCalculatorsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

        The optional description of the route calculator resource.

        + */ + inline ListRouteCalculatorsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -211,44 +203,52 @@ namespace Model /** - *

        The optional description of the route calculator resource.

        - */ - inline const Aws::String& GetDescription() const{ return m_description; } - - /** - *

        The optional description of the route calculator resource.

        - */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } - - /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline ListRouteCalculatorsResponseEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline ListRouteCalculatorsResponseEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline ListRouteCalculatorsResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        The optional description of the route calculator resource.

        + *

        The timestamp when the route calculator resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        • For example, + * 2020–07-2T12:15:20.000Z+01:00

        */ - inline ListRouteCalculatorsResponseEntry& WithDescription(const char* value) { SetDescription(value); return *this;} + inline ListRouteCalculatorsResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -304,14 +304,14 @@ namespace Model Aws::String m_calculatorName; bool m_calculatorNameHasBeenSet = false; - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; + Aws::String m_description; + bool m_descriptionHasBeenSet = false; Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; - Aws::String m_description; - bool m_descriptionHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackerConsumersRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackerConsumersRequest.h index addb983c2c4..d0cb7e120de 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackerConsumersRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackerConsumersRequest.h @@ -32,6 +32,55 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline ListTrackerConsumersRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline ListTrackerConsumersRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

        The tracker resource whose associated geofence collections you want to + * list.

        + */ + inline ListTrackerConsumersRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

        An optional limit for the number of resources returned in a single call.

        *

        Default value: 100

        @@ -113,65 +162,16 @@ namespace Model */ inline ListTrackerConsumersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline ListTrackerConsumersRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline ListTrackerConsumersRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

        The tracker resource whose associated geofence collections you want to - * list.

        - */ - inline ListTrackerConsumersRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - private: + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; + int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackersResponseEntry.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackersResponseEntry.h index 79c366c51b2..0f8e86035cf 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackersResponseEntry.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ListTrackersResponseEntry.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,46 +39,44 @@ namespace Model /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline ListTrackersResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

        The timestamp for when the tracker resource was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ.

        + *

        The name of the tracker resource.

        */ - inline ListTrackersResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + inline ListTrackersResponseEntry& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

        The name of the tracker resource.

        + */ + inline ListTrackersResponseEntry& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

        The name of the tracker resource.

        + */ + inline ListTrackersResponseEntry& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** @@ -123,44 +121,46 @@ namespace Model /** - *

        The name of the tracker resource.

        - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

        The name of the tracker resource.

        - */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } - - /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListTrackersResponseEntry& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListTrackersResponseEntry& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline ListTrackersResponseEntry& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

        The name of the tracker resource.

        + *

        The timestamp for when the tracker resource was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

        */ - inline ListTrackersResponseEntry& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline ListTrackersResponseEntry& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -207,14 +207,14 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_updateTime; bool m_updateTimeHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteCellDetails.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteCellDetails.h new file mode 100644 index 00000000000..7d6e671f66a --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteCellDetails.h @@ -0,0 +1,325 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

        Details about the Long-Term Evolution (LTE) network.

        See Also:

        + * AWS + * API Reference

        + */ + class LteCellDetails + { + public: + AWS_LOCATIONSERVICE_API LteCellDetails(); + AWS_LOCATIONSERVICE_API LteCellDetails(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API LteCellDetails& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

        The E-UTRAN Cell Identifier (ECI).

        + */ + inline int GetCellId() const{ return m_cellId; } + + /** + *

        The E-UTRAN Cell Identifier (ECI).

        + */ + inline bool CellIdHasBeenSet() const { return m_cellIdHasBeenSet; } + + /** + *

        The E-UTRAN Cell Identifier (ECI).

        + */ + inline void SetCellId(int value) { m_cellIdHasBeenSet = true; m_cellId = value; } + + /** + *

        The E-UTRAN Cell Identifier (ECI).

        + */ + inline LteCellDetails& WithCellId(int value) { SetCellId(value); return *this;} + + + /** + *

        The Mobile Country Code (MCC).

        + */ + inline int GetMcc() const{ return m_mcc; } + + /** + *

        The Mobile Country Code (MCC).

        + */ + inline bool MccHasBeenSet() const { return m_mccHasBeenSet; } + + /** + *

        The Mobile Country Code (MCC).

        + */ + inline void SetMcc(int value) { m_mccHasBeenSet = true; m_mcc = value; } + + /** + *

        The Mobile Country Code (MCC).

        + */ + inline LteCellDetails& WithMcc(int value) { SetMcc(value); return *this;} + + + /** + *

        The Mobile Network Code (MNC)

        + */ + inline int GetMnc() const{ return m_mnc; } + + /** + *

        The Mobile Network Code (MNC)

        + */ + inline bool MncHasBeenSet() const { return m_mncHasBeenSet; } + + /** + *

        The Mobile Network Code (MNC)

        + */ + inline void SetMnc(int value) { m_mncHasBeenSet = true; m_mnc = value; } + + /** + *

        The Mobile Network Code (MNC)

        + */ + inline LteCellDetails& WithMnc(int value) { SetMnc(value); return *this;} + + + /** + *

        The LTE local identification information (local ID).

        + */ + inline const LteLocalId& GetLocalId() const{ return m_localId; } + + /** + *

        The LTE local identification information (local ID).

        + */ + inline bool LocalIdHasBeenSet() const { return m_localIdHasBeenSet; } + + /** + *

        The LTE local identification information (local ID).

        + */ + inline void SetLocalId(const LteLocalId& value) { m_localIdHasBeenSet = true; m_localId = value; } + + /** + *

        The LTE local identification information (local ID).

        + */ + inline void SetLocalId(LteLocalId&& value) { m_localIdHasBeenSet = true; m_localId = std::move(value); } + + /** + *

        The LTE local identification information (local ID).

        + */ + inline LteCellDetails& WithLocalId(const LteLocalId& value) { SetLocalId(value); return *this;} + + /** + *

        The LTE local identification information (local ID).

        + */ + inline LteCellDetails& WithLocalId(LteLocalId&& value) { SetLocalId(std::move(value)); return *this;} + + + /** + *

        The network measurements.

        + */ + inline const Aws::Vector& GetNetworkMeasurements() const{ return m_networkMeasurements; } + + /** + *

        The network measurements.

        + */ + inline bool NetworkMeasurementsHasBeenSet() const { return m_networkMeasurementsHasBeenSet; } + + /** + *

        The network measurements.

        + */ + inline void SetNetworkMeasurements(const Aws::Vector& value) { m_networkMeasurementsHasBeenSet = true; m_networkMeasurements = value; } + + /** + *

        The network measurements.

        + */ + inline void SetNetworkMeasurements(Aws::Vector&& value) { m_networkMeasurementsHasBeenSet = true; m_networkMeasurements = std::move(value); } + + /** + *

        The network measurements.

        + */ + inline LteCellDetails& WithNetworkMeasurements(const Aws::Vector& value) { SetNetworkMeasurements(value); return *this;} + + /** + *

        The network measurements.

        + */ + inline LteCellDetails& WithNetworkMeasurements(Aws::Vector&& value) { SetNetworkMeasurements(std::move(value)); return *this;} + + /** + *

        The network measurements.

        + */ + inline LteCellDetails& AddNetworkMeasurements(const LteNetworkMeasurements& value) { m_networkMeasurementsHasBeenSet = true; m_networkMeasurements.push_back(value); return *this; } + + /** + *

        The network measurements.

        + */ + inline LteCellDetails& AddNetworkMeasurements(LteNetworkMeasurements&& value) { m_networkMeasurementsHasBeenSet = true; m_networkMeasurements.push_back(std::move(value)); return *this; } + + + /** + *

        Timing Advance (TA).

        + */ + inline int GetTimingAdvance() const{ return m_timingAdvance; } + + /** + *

        Timing Advance (TA).

        + */ + inline bool TimingAdvanceHasBeenSet() const { return m_timingAdvanceHasBeenSet; } + + /** + *

        Timing Advance (TA).

        + */ + inline void SetTimingAdvance(int value) { m_timingAdvanceHasBeenSet = true; m_timingAdvance = value; } + + /** + *

        Timing Advance (TA).

        + */ + inline LteCellDetails& WithTimingAdvance(int value) { SetTimingAdvance(value); return *this;} + + + /** + *

        Indicates whether the LTE object is capable of supporting NR (new radio).

        + */ + inline bool GetNrCapable() const{ return m_nrCapable; } + + /** + *

        Indicates whether the LTE object is capable of supporting NR (new radio).

        + */ + inline bool NrCapableHasBeenSet() const { return m_nrCapableHasBeenSet; } + + /** + *

        Indicates whether the LTE object is capable of supporting NR (new radio).

        + */ + inline void SetNrCapable(bool value) { m_nrCapableHasBeenSet = true; m_nrCapable = value; } + + /** + *

        Indicates whether the LTE object is capable of supporting NR (new radio).

        + */ + inline LteCellDetails& WithNrCapable(bool value) { SetNrCapable(value); return *this;} + + + /** + *

        Signal power of the reference signal received, measured in decibel-milliwatts + * (dBm).

        + */ + inline int GetRsrp() const{ return m_rsrp; } + + /** + *

        Signal power of the reference signal received, measured in decibel-milliwatts + * (dBm).

        + */ + inline bool RsrpHasBeenSet() const { return m_rsrpHasBeenSet; } + + /** + *

        Signal power of the reference signal received, measured in decibel-milliwatts + * (dBm).

        + */ + inline void SetRsrp(int value) { m_rsrpHasBeenSet = true; m_rsrp = value; } + + /** + *

        Signal power of the reference signal received, measured in decibel-milliwatts + * (dBm).

        + */ + inline LteCellDetails& WithRsrp(int value) { SetRsrp(value); return *this;} + + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline double GetRsrq() const{ return m_rsrq; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline bool RsrqHasBeenSet() const { return m_rsrqHasBeenSet; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline void SetRsrq(double value) { m_rsrqHasBeenSet = true; m_rsrq = value; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline LteCellDetails& WithRsrq(double value) { SetRsrq(value); return *this;} + + + /** + *

        LTE Tracking Area Code (TAC).

        + */ + inline int GetTac() const{ return m_tac; } + + /** + *

        LTE Tracking Area Code (TAC).

        + */ + inline bool TacHasBeenSet() const { return m_tacHasBeenSet; } + + /** + *

        LTE Tracking Area Code (TAC).

        + */ + inline void SetTac(int value) { m_tacHasBeenSet = true; m_tac = value; } + + /** + *

        LTE Tracking Area Code (TAC).

        + */ + inline LteCellDetails& WithTac(int value) { SetTac(value); return *this;} + + private: + + int m_cellId; + bool m_cellIdHasBeenSet = false; + + int m_mcc; + bool m_mccHasBeenSet = false; + + int m_mnc; + bool m_mncHasBeenSet = false; + + LteLocalId m_localId; + bool m_localIdHasBeenSet = false; + + Aws::Vector m_networkMeasurements; + bool m_networkMeasurementsHasBeenSet = false; + + int m_timingAdvance; + bool m_timingAdvanceHasBeenSet = false; + + bool m_nrCapable; + bool m_nrCapableHasBeenSet = false; + + int m_rsrp; + bool m_rsrpHasBeenSet = false; + + double m_rsrq; + bool m_rsrqHasBeenSet = false; + + int m_tac; + bool m_tacHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteLocalId.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteLocalId.h new file mode 100644 index 00000000000..6ae0b9eb1a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteLocalId.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

        LTE local identification information (local ID).

        See Also:

        + * AWS + * API Reference

        + */ + class LteLocalId + { + public: + AWS_LOCATIONSERVICE_API LteLocalId(); + AWS_LOCATIONSERVICE_API LteLocalId(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API LteLocalId& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline int GetEarfcn() const{ return m_earfcn; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline bool EarfcnHasBeenSet() const { return m_earfcnHasBeenSet; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline void SetEarfcn(int value) { m_earfcnHasBeenSet = true; m_earfcn = value; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline LteLocalId& WithEarfcn(int value) { SetEarfcn(value); return *this;} + + + /** + *

        Physical Cell ID (PCI).

        + */ + inline int GetPci() const{ return m_pci; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline bool PciHasBeenSet() const { return m_pciHasBeenSet; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline void SetPci(int value) { m_pciHasBeenSet = true; m_pci = value; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline LteLocalId& WithPci(int value) { SetPci(value); return *this;} + + private: + + int m_earfcn; + bool m_earfcnHasBeenSet = false; + + int m_pci; + bool m_pciHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteNetworkMeasurements.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteNetworkMeasurements.h new file mode 100644 index 00000000000..9c9b5e31974 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/LteNetworkMeasurements.h @@ -0,0 +1,174 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

        LTE network measurements.

        See Also:

        AWS + * API Reference

        + */ + class LteNetworkMeasurements + { + public: + AWS_LOCATIONSERVICE_API LteNetworkMeasurements(); + AWS_LOCATIONSERVICE_API LteNetworkMeasurements(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API LteNetworkMeasurements& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline int GetEarfcn() const{ return m_earfcn; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline bool EarfcnHasBeenSet() const { return m_earfcnHasBeenSet; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline void SetEarfcn(int value) { m_earfcnHasBeenSet = true; m_earfcn = value; } + + /** + *

        E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency + * channel number (EARFCN).

        + */ + inline LteNetworkMeasurements& WithEarfcn(int value) { SetEarfcn(value); return *this;} + + + /** + *

        E-UTRAN Cell Identifier (ECI).

        + */ + inline int GetCellId() const{ return m_cellId; } + + /** + *

        E-UTRAN Cell Identifier (ECI).

        + */ + inline bool CellIdHasBeenSet() const { return m_cellIdHasBeenSet; } + + /** + *

        E-UTRAN Cell Identifier (ECI).

        + */ + inline void SetCellId(int value) { m_cellIdHasBeenSet = true; m_cellId = value; } + + /** + *

        E-UTRAN Cell Identifier (ECI).

        + */ + inline LteNetworkMeasurements& WithCellId(int value) { SetCellId(value); return *this;} + + + /** + *

        Physical Cell ID (PCI).

        + */ + inline int GetPci() const{ return m_pci; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline bool PciHasBeenSet() const { return m_pciHasBeenSet; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline void SetPci(int value) { m_pciHasBeenSet = true; m_pci = value; } + + /** + *

        Physical Cell ID (PCI).

        + */ + inline LteNetworkMeasurements& WithPci(int value) { SetPci(value); return *this;} + + + /** + *

        Signal power of the reference signal received, measured in dBm + * (decibel-milliwatts).

        + */ + inline int GetRsrp() const{ return m_rsrp; } + + /** + *

        Signal power of the reference signal received, measured in dBm + * (decibel-milliwatts).

        + */ + inline bool RsrpHasBeenSet() const { return m_rsrpHasBeenSet; } + + /** + *

        Signal power of the reference signal received, measured in dBm + * (decibel-milliwatts).

        + */ + inline void SetRsrp(int value) { m_rsrpHasBeenSet = true; m_rsrp = value; } + + /** + *

        Signal power of the reference signal received, measured in dBm + * (decibel-milliwatts).

        + */ + inline LteNetworkMeasurements& WithRsrp(int value) { SetRsrp(value); return *this;} + + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline double GetRsrq() const{ return m_rsrq; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline bool RsrqHasBeenSet() const { return m_rsrqHasBeenSet; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline void SetRsrq(double value) { m_rsrqHasBeenSet = true; m_rsrq = value; } + + /** + *

        Signal quality of the reference Signal received, measured in decibels + * (dB).

        + */ + inline LteNetworkMeasurements& WithRsrq(double value) { SetRsrq(value); return *this;} + + private: + + int m_earfcn; + bool m_earfcnHasBeenSet = false; + + int m_cellId; + bool m_cellIdHasBeenSet = false; + + int m_pci; + bool m_pciHasBeenSet = false; + + int m_rsrp; + bool m_rsrpHasBeenSet = false; + + double m_rsrq; + bool m_rsrqHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfiguration.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfiguration.h index 317e2229d69..06f68c07de0 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfiguration.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfiguration.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,235 +39,44 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline const Aws::Vector& GetCustomLayers() const{ return m_customLayers; } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline void SetCustomLayers(const Aws::Vector& value) { m_customLayersHasBeenSet = true; m_customLayers = value; } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline void SetCustomLayers(Aws::Vector&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline MapConfiguration& WithCustomLayers(const Aws::Vector& value) { SetCustomLayers(value); return *this;} - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline MapConfiguration& WithCustomLayers(Aws::Vector&& value) { SetCustomLayers(std::move(value)); return *this;} - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline MapConfiguration& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline MapConfiguration& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; } - - /** - *

        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

        - */ - inline MapConfiguration& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } - - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline const Aws::String& GetPoliticalView() const{ return m_politicalView; } - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; } - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; } - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); } - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); } - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline MapConfiguration& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;} - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline MapConfiguration& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;} - - /** - *

        Specifies the political view for the style. Leave unset to not use a - * political view, or, for styles that support specific political views, you can - * choose a view, such as IND for the Indian view.

        Default is - * unset.

        Not all map resources or styles support political view - * styles. See Political - * views for more information.

        - */ - inline MapConfiguration& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;} - - /** *

        Specifies the map style selected from an available data provider.

        *

        Valid Esri - * map styles:

        Valid HERE - * Technologies map styles:

        • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

        • + * Technologies map styles:

          • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

            The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

            + *
          • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

          • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

          • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

          • * HybridHereExploreSatellite – A global map displaying the road @@ -276,16 +85,7 @@ namespace Model * based on total tiles retrieved.

            Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

          • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

            - *

            The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

            - *
          • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

          Valid

        Valid GrabMaps * map styles:

        • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -321,33 +121,40 @@ namespace Model *

          Specifies the map style selected from an available data provider.

          *

          Valid Esri - * map styles:

          Valid HERE - * Technologies map styles:

          • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

          • + * Technologies map styles:

            • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

              The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

              + *
            • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

            • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

            • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

            • * HybridHereExploreSatellite – A global map displaying the road @@ -356,16 +163,7 @@ namespace Model * based on total tiles retrieved.

              Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

            • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

              - *

              The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

              - *
            • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

            Valid

          Valid GrabMaps * map styles:

          • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -401,33 +199,40 @@ namespace Model *

            Specifies the map style selected from an available data provider.

            *

            Valid Esri - * map styles:

            Valid HERE - * Technologies map styles:

            • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

            • + * Technologies map styles:

              • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                + *
              • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

              • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

              • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

              • * HybridHereExploreSatellite – A global map displaying the road @@ -436,16 +241,7 @@ namespace Model * based on total tiles retrieved.

                Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

              • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                - *

                The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                - *
              • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

              Valid

            Valid GrabMaps * map styles:

            • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -481,33 +277,40 @@ namespace Model *

              Specifies the map style selected from an available data provider.

              *

              Valid Esri - * map styles:

              Valid HERE - * Technologies map styles:

              • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

              • + * Technologies map styles:

                • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                  The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                  + *
                • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

                • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

                • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

                • * HybridHereExploreSatellite – A global map displaying the road @@ -516,16 +319,7 @@ namespace Model * based on total tiles retrieved.

                  Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

                • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                  - *

                  The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                  - *
                • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

                Valid

              Valid GrabMaps * map styles:

              • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -561,33 +355,40 @@ namespace Model *

                Specifies the map style selected from an available data provider.

                *

                Valid Esri - * map styles:

                Valid HERE - * Technologies map styles:

                • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

                • + * Technologies map styles:

                  • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                    The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                    + *
                  • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

                  • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

                  • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

                  • * HybridHereExploreSatellite – A global map displaying the road @@ -596,16 +397,7 @@ namespace Model * based on total tiles retrieved.

                    Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

                  • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                    - *

                    The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                    - *
                  • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

                  Valid

                Valid GrabMaps * map styles:

                • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -641,33 +433,40 @@ namespace Model *

                  Specifies the map style selected from an available data provider.

                  *

                  Valid Esri - * map styles:

                  Valid HERE - * Technologies map styles:

                  • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

                  • + * Technologies map styles:

                    • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                      The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                      + *
                    • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

                    • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

                    • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

                    • * HybridHereExploreSatellite – A global map displaying the road @@ -676,16 +475,7 @@ namespace Model * based on total tiles retrieved.

                      Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

                    • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                      - *

                      The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                      - *
                    • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

                    Valid

                  Valid GrabMaps * map styles:

                  • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -721,33 +511,40 @@ namespace Model *

                    Specifies the map style selected from an available data provider.

                    *

                    Valid Esri - * map styles:

                    Valid HERE - * Technologies map styles:

                    • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

                    • + * Technologies map styles:

                      • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                        The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                        + *
                      • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

                      • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

                      • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

                      • * HybridHereExploreSatellite – A global map displaying the road @@ -756,16 +553,7 @@ namespace Model * based on total tiles retrieved.

                        Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

                      • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                        - *

                        The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                        - *
                      • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

                      Valid

                    Valid GrabMaps * map styles:

                    • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -801,33 +589,40 @@ namespace Model *

                      Specifies the map style selected from an available data provider.

                      *

                      Valid Esri - * map styles:

                      Valid HERE - * Technologies map styles:

                      • VectorHereExplore – - * A default HERE map style containing a neutral, global map and its features - * including roads, buildings, landmarks, and water features. It also now includes - * a fully designed map of Japan.

                      • + * Technologies map styles:

                        • VectorHereContrast – + * The HERE Contrast (Berlin) map style is a high contrast detailed base map of the + * world that blends 3D and 2D rendering.

                          The + * VectorHereContrast style has been renamed from + * VectorHereBerlin. VectorHereBerlin has been + * deprecated, but will continue to work in applications that use it.

                          + *
                        • VectorHereExplore – A default HERE map style + * containing a neutral, global map and its features including roads, buildings, + * landmarks, and water features. It also now includes a fully designed map of + * Japan.

                        • VectorHereExploreTruck – A global map + * containing truck restrictions and attributes (e.g. width / height / HAZMAT) + * symbolized with highlighted segments and icons on top of HERE Explore to support + * use cases within transport and logistics.

                        • * RasterHereExploreSatellite – A global map containing high * resolution satellite imagery.

                        • * HybridHereExploreSatellite – A global map displaying the road @@ -836,16 +631,7 @@ namespace Model * based on total tiles retrieved.

                          Hybrid styles use both vector and * raster tiles when rendering the map that you see. This means that more tiles are * retrieved than when using either vector or raster tiles alone. Your charges will - * include all tiles retrieved.

                        • - * VectorHereContrast – The HERE Contrast (Berlin) map style is a high - * contrast detailed base map of the world that blends 3D and 2D rendering.

                          - *

                          The VectorHereContrast style has been renamed from - * VectorHereBerlin. VectorHereBerlin has been - * deprecated, but will continue to work in applications that use it.

                          - *
                        • VectorHereExploreTruck – A global map containing - * truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with - * highlighted segments and icons on top of HERE Explore to support use cases - * within transport and logistics.

                        Valid

                      Valid GrabMaps * map styles:

                      • VectorGrabStandardLight – The * Grab Standard Light map style provides a basemap with detailed land use @@ -877,16 +663,187 @@ namespace Model */ inline MapConfiguration& WithStyle(const char* value) { SetStyle(value); return *this;} + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline const Aws::String& GetPoliticalView() const{ return m_politicalView; } + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline bool PoliticalViewHasBeenSet() const { return m_politicalViewHasBeenSet; } + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline void SetPoliticalView(const Aws::String& value) { m_politicalViewHasBeenSet = true; m_politicalView = value; } + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline void SetPoliticalView(Aws::String&& value) { m_politicalViewHasBeenSet = true; m_politicalView = std::move(value); } + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline void SetPoliticalView(const char* value) { m_politicalViewHasBeenSet = true; m_politicalView.assign(value); } + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline MapConfiguration& WithPoliticalView(const Aws::String& value) { SetPoliticalView(value); return *this;} + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline MapConfiguration& WithPoliticalView(Aws::String&& value) { SetPoliticalView(std::move(value)); return *this;} + + /** + *

                        Specifies the political view for the style. Leave unset to not use a + * political view, or, for styles that support specific political views, you can + * choose a view, such as IND for the Indian view.

                        Default is + * unset.

                        Not all map resources or styles support political view + * styles. See Political + * views for more information.

                        + */ + inline MapConfiguration& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;} + + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline const Aws::Vector& GetCustomLayers() const{ return m_customLayers; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline void SetCustomLayers(const Aws::Vector& value) { m_customLayersHasBeenSet = true; m_customLayers = value; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline void SetCustomLayers(Aws::Vector&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfiguration& WithCustomLayers(const Aws::Vector& value) { SetCustomLayers(value); return *this;} + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfiguration& WithCustomLayers(Aws::Vector&& value) { SetCustomLayers(std::move(value)); return *this;} + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfiguration& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfiguration& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfiguration& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } + private: - Aws::Vector m_customLayers; - bool m_customLayersHasBeenSet = false; + Aws::String m_style; + bool m_styleHasBeenSet = false; Aws::String m_politicalView; bool m_politicalViewHasBeenSet = false; - Aws::String m_style; - bool m_styleHasBeenSet = false; + Aws::Vector m_customLayers; + bool m_customLayersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfigurationUpdate.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfigurationUpdate.h index 5b6a480e378..a68125776ca 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfigurationUpdate.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/MapConfigurationUpdate.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,115 +38,6 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline const Aws::Vector& GetCustomLayers() const{ return m_customLayers; } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline void SetCustomLayers(const Aws::Vector& value) { m_customLayersHasBeenSet = true; m_customLayers = value; } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline void SetCustomLayers(Aws::Vector&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline MapConfigurationUpdate& WithCustomLayers(const Aws::Vector& value) { SetCustomLayers(value); return *this;} - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline MapConfigurationUpdate& WithCustomLayers(Aws::Vector&& value) { SetCustomLayers(std::move(value)); return *this;} - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline MapConfigurationUpdate& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline MapConfigurationUpdate& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; } - - /** - *

                        Specifies the custom layers for the style. Leave unset to not enable any - * custom layer, or, for styles that support custom layers, you can enable - * layer(s), such as POI layer for the VectorEsriNavigation style. - * Default is unset.

                        Currenlty only - * VectorEsriNavigation supports CustomLayers. For more information, - * see Custom - * Layers.

                        - */ - inline MapConfigurationUpdate& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } - - /** *

                        Specifies the political view for the style. Set to an empty string to not use * a political view, or, for styles that support specific political views, you can @@ -227,13 +118,95 @@ namespace Model */ inline MapConfigurationUpdate& WithPoliticalView(const char* value) { SetPoliticalView(value); return *this;} - private: - Aws::Vector m_customLayers; - bool m_customLayersHasBeenSet = false; + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline const Aws::Vector& GetCustomLayers() const{ return m_customLayers; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline bool CustomLayersHasBeenSet() const { return m_customLayersHasBeenSet; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline void SetCustomLayers(const Aws::Vector& value) { m_customLayersHasBeenSet = true; m_customLayers = value; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline void SetCustomLayers(Aws::Vector&& value) { m_customLayersHasBeenSet = true; m_customLayers = std::move(value); } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfigurationUpdate& WithCustomLayers(const Aws::Vector& value) { SetCustomLayers(value); return *this;} + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfigurationUpdate& WithCustomLayers(Aws::Vector&& value) { SetCustomLayers(std::move(value)); return *this;} + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfigurationUpdate& AddCustomLayers(const Aws::String& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfigurationUpdate& AddCustomLayers(Aws::String&& value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(std::move(value)); return *this; } + + /** + *

                        Specifies the custom layers for the style. Leave unset to not enable any + * custom layer, or, for styles that support custom layers, you can enable + * layer(s), such as POI layer for the VectorEsriNavigation style. Default is + * unset.

                        Not all map resources or styles support custom + * layers. See Custom Layers for more information.

                        + */ + inline MapConfigurationUpdate& AddCustomLayers(const char* value) { m_customLayersHasBeenSet = true; m_customLayers.push_back(value); return *this; } + + private: Aws::String m_politicalView; bool m_politicalViewHasBeenSet = false; + + Aws::Vector m_customLayers; + bool m_customLayersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Place.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Place.h index 9efffe0c9e2..ad0b202e18d 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Place.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Place.h @@ -6,9 +6,9 @@ #pragma once #include #include -#include #include #include +#include #include namespace Aws @@ -42,6 +42,74 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline const Aws::String& GetLabel() const{ return m_label; } + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline Place& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline Place& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} + + /** + *

                        The full name and address of the point of interest such as a city, region, or + * country. For example, 123 Any Street, Any Town, USA.

                        + */ + inline Place& WithLabel(const char* value) { SetLabel(value); return *this;} + + + + inline const PlaceGeometry& GetGeometry() const{ return m_geometry; } + + + inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } + + + inline void SetGeometry(const PlaceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } + + + inline void SetGeometry(PlaceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } + + + inline Place& WithGeometry(const PlaceGeometry& value) { SetGeometry(value); return *this;} + + + inline Place& WithGeometry(PlaceGeometry&& value) { SetGeometry(std::move(value)); return *this;} + + /** *

                        The numerical portion of an address, such as a building number.

                        */ @@ -84,280 +152,118 @@ namespace Model /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        - */ - inline const Aws::Vector& GetCategories() const{ return m_categories; } - - /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; } + inline const Aws::String& GetStreet() const{ return m_street; } /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline void SetCategories(const Aws::Vector& value) { m_categoriesHasBeenSet = true; m_categories = value; } + inline bool StreetHasBeenSet() const { return m_streetHasBeenSet; } /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline void SetCategories(Aws::Vector&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); } + inline void SetStreet(const Aws::String& value) { m_streetHasBeenSet = true; m_street = value; } /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline Place& WithCategories(const Aws::Vector& value) { SetCategories(value); return *this;} + inline void SetStreet(Aws::String&& value) { m_streetHasBeenSet = true; m_street = std::move(value); } /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline Place& WithCategories(Aws::Vector&& value) { SetCategories(std::move(value)); return *this;} + inline void SetStreet(const char* value) { m_streetHasBeenSet = true; m_street.assign(value); } /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline Place& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + inline Place& WithStreet(const Aws::String& value) { SetStreet(value); return *this;} /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline Place& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; } + inline Place& WithStreet(Aws::String&& value) { SetStreet(std::move(value)); return *this;} /** - *

                        The Amazon Location categories that describe this Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The name for a street or a road to identify a location. For example, + * Main Street.

                        */ - inline Place& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + inline Place& WithStreet(const char* value) { SetStreet(value); return *this;} /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline const Aws::String& GetCountry() const{ return m_country; } + inline const Aws::String& GetNeighborhood() const{ return m_neighborhood; } /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } + inline bool NeighborhoodHasBeenSet() const { return m_neighborhoodHasBeenSet; } /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } + inline void SetNeighborhood(const Aws::String& value) { m_neighborhoodHasBeenSet = true; m_neighborhood = value; } /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } + inline void SetNeighborhood(Aws::String&& value) { m_neighborhoodHasBeenSet = true; m_neighborhood = std::move(value); } /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } + inline void SetNeighborhood(const char* value) { m_neighborhoodHasBeenSet = true; m_neighborhood.assign(value); } /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline Place& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} + inline Place& WithNeighborhood(const Aws::String& value) { SetNeighborhood(value); return *this;} /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline Place& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} + inline Place& WithNeighborhood(Aws::String&& value) { SetNeighborhood(std::move(value)); return *this;} /** - *

                        A country/region specified using ISO 3166 3-digit - * country/region code. For example, CAN.

                        + *

                        The name of a community district. For example, Downtown.

                        */ - inline Place& WithCountry(const char* value) { SetCountry(value); return *this;} - - - - inline const PlaceGeometry& GetGeometry() const{ return m_geometry; } - - - inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } - - - inline void SetGeometry(const PlaceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } - - - inline void SetGeometry(PlaceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } - - - inline Place& WithGeometry(const PlaceGeometry& value) { SetGeometry(value); return *this;} + inline Place& WithNeighborhood(const char* value) { SetNeighborhood(value); return *this;} - - inline Place& WithGeometry(PlaceGeometry&& value) { SetGeometry(std::move(value)); return *this;} + /** + *

                        A name for a local area, such as a city or town name. For example, + * Toronto.

                        + */ + inline const Aws::String& GetMunicipality() const{ return m_municipality; } /** - *

                        True if the result is interpolated from other known places.

                        - *

                        False if the Place is a known place.

                        Not returned when - * the partner does not provide the information.

                        For example, returns - * False for an address location that is found in the partner data, - * but returns True if an address does not exist in the partner data - * and its location is calculated by interpolating between other known addresses. - *

                        + *

                        A name for a local area, such as a city or town name. For example, + * Toronto.

                        */ - inline bool GetInterpolated() const{ return m_interpolated; } + inline bool MunicipalityHasBeenSet() const { return m_municipalityHasBeenSet; } /** - *

                        True if the result is interpolated from other known places.

                        - *

                        False if the Place is a known place.

                        Not returned when - * the partner does not provide the information.

                        For example, returns - * False for an address location that is found in the partner data, - * but returns True if an address does not exist in the partner data - * and its location is calculated by interpolating between other known addresses. - *

                        + *

                        A name for a local area, such as a city or town name. For example, + * Toronto.

                        */ - inline bool InterpolatedHasBeenSet() const { return m_interpolatedHasBeenSet; } + inline void SetMunicipality(const Aws::String& value) { m_municipalityHasBeenSet = true; m_municipality = value; } /** - *

                        True if the result is interpolated from other known places.

                        - *

                        False if the Place is a known place.

                        Not returned when - * the partner does not provide the information.

                        For example, returns - * False for an address location that is found in the partner data, - * but returns True if an address does not exist in the partner data - * and its location is calculated by interpolating between other known addresses. - *

                        + *

                        A name for a local area, such as a city or town name. For example, + * Toronto.

                        */ - inline void SetInterpolated(bool value) { m_interpolatedHasBeenSet = true; m_interpolated = value; } - - /** - *

                        True if the result is interpolated from other known places.

                        - *

                        False if the Place is a known place.

                        Not returned when - * the partner does not provide the information.

                        For example, returns - * False for an address location that is found in the partner data, - * but returns True if an address does not exist in the partner data - * and its location is calculated by interpolating between other known addresses. - *

                        - */ - inline Place& WithInterpolated(bool value) { SetInterpolated(value); return *this;} - - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline const Aws::String& GetLabel() const{ return m_label; } - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline Place& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline Place& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} - - /** - *

                        The full name and address of the point of interest such as a city, region, or - * country. For example, 123 Any Street, Any Town, USA.

                        - */ - inline Place& WithLabel(const char* value) { SetLabel(value); return *this;} - - - /** - *

                        A name for a local area, such as a city or town name. For example, - * Toronto.

                        - */ - inline const Aws::String& GetMunicipality() const{ return m_municipality; } - - /** - *

                        A name for a local area, such as a city or town name. For example, - * Toronto.

                        - */ - inline bool MunicipalityHasBeenSet() const { return m_municipalityHasBeenSet; } - - /** - *

                        A name for a local area, such as a city or town name. For example, - * Toronto.

                        - */ - inline void SetMunicipality(const Aws::String& value) { m_municipalityHasBeenSet = true; m_municipality = value; } - - /** - *

                        A name for a local area, such as a city or town name. For example, - * Toronto.

                        - */ - inline void SetMunicipality(Aws::String&& value) { m_municipalityHasBeenSet = true; m_municipality = std::move(value); } + inline void SetMunicipality(Aws::String&& value) { m_municipalityHasBeenSet = true; m_municipality = std::move(value); } /** *

                        A name for a local area, such as a city or town name. For example, @@ -385,93 +291,52 @@ namespace Model /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline const Aws::String& GetNeighborhood() const{ return m_neighborhood; } - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline bool NeighborhoodHasBeenSet() const { return m_neighborhoodHasBeenSet; } - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline void SetNeighborhood(const Aws::String& value) { m_neighborhoodHasBeenSet = true; m_neighborhood = value; } - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline void SetNeighborhood(Aws::String&& value) { m_neighborhoodHasBeenSet = true; m_neighborhood = std::move(value); } - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline void SetNeighborhood(const char* value) { m_neighborhoodHasBeenSet = true; m_neighborhood.assign(value); } - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline Place& WithNeighborhood(const Aws::String& value) { SetNeighborhood(value); return *this;} - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline Place& WithNeighborhood(Aws::String&& value) { SetNeighborhood(std::move(value)); return *this;} - - /** - *

                        The name of a community district. For example, Downtown.

                        - */ - inline Place& WithNeighborhood(const char* value) { SetNeighborhood(value); return *this;} - - - /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline const Aws::String& GetPostalCode() const{ return m_postalCode; } + inline const Aws::String& GetSubRegion() const{ return m_subRegion; } /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } + inline bool SubRegionHasBeenSet() const { return m_subRegionHasBeenSet; } /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } + inline void SetSubRegion(const Aws::String& value) { m_subRegionHasBeenSet = true; m_subRegion = value; } /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } + inline void SetSubRegion(Aws::String&& value) { m_subRegionHasBeenSet = true; m_subRegion = std::move(value); } /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } + inline void SetSubRegion(const char* value) { m_subRegionHasBeenSet = true; m_subRegion.assign(value); } /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline Place& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} + inline Place& WithSubRegion(const Aws::String& value) { SetSubRegion(value); return *this;} /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline Place& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} + inline Place& WithSubRegion(Aws::String&& value) { SetSubRegion(std::move(value)); return *this;} /** - *

                        A group of numbers and letters in a country-specific format, which - * accompanies the address for the purpose of identifying a location.

                        + *

                        A county, or an area that's part of a larger region. For example, Metro + * Vancouver.

                        */ - inline Place& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} + inline Place& WithSubRegion(const char* value) { SetSubRegion(value); return *this;} /** @@ -524,253 +389,154 @@ namespace Model /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline const Aws::String& GetStreet() const{ return m_street; } - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline bool StreetHasBeenSet() const { return m_streetHasBeenSet; } - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline void SetStreet(const Aws::String& value) { m_streetHasBeenSet = true; m_street = value; } - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline void SetStreet(Aws::String&& value) { m_streetHasBeenSet = true; m_street = std::move(value); } - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline void SetStreet(const char* value) { m_streetHasBeenSet = true; m_street.assign(value); } - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline Place& WithStreet(const Aws::String& value) { SetStreet(value); return *this;} - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline Place& WithStreet(Aws::String&& value) { SetStreet(std::move(value)); return *this;} - - /** - *

                        The name for a street or a road to identify a location. For example, - * Main Street.

                        - */ - inline Place& WithStreet(const char* value) { SetStreet(value); return *this;} - - - /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        - */ - inline const Aws::String& GetSubMunicipality() const{ return m_subMunicipality; } - - /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        - */ - inline bool SubMunicipalityHasBeenSet() const { return m_subMunicipalityHasBeenSet; } - - /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        - */ - inline void SetSubMunicipality(const Aws::String& value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality = value; } - - /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline void SetSubMunicipality(Aws::String&& value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality = std::move(value); } + inline const Aws::String& GetCountry() const{ return m_country; } /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline void SetSubMunicipality(const char* value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality.assign(value); } + inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; } /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline Place& WithSubMunicipality(const Aws::String& value) { SetSubMunicipality(value); return *this;} + inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; } /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline Place& WithSubMunicipality(Aws::String&& value) { SetSubMunicipality(std::move(value)); return *this;} + inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); } /** - *

                        An area that's part of a larger municipality. For example, - * Blissville is a submunicipality in the Queen County in New - * York.

                        This property is only returned for a place index that uses - * Esri as a data provider. The property is represented as a - * district.

                        For more information about data providers, - * see Amazon - * Location Service data providers.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline Place& WithSubMunicipality(const char* value) { SetSubMunicipality(value); return *this;} - + inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); } /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline const Aws::String& GetSubRegion() const{ return m_subRegion; } + inline Place& WithCountry(const Aws::String& value) { SetCountry(value); return *this;} /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline bool SubRegionHasBeenSet() const { return m_subRegionHasBeenSet; } + inline Place& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;} /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A country/region specified using ISO 3166 3-digit + * country/region code. For example, CAN.

                        */ - inline void SetSubRegion(const Aws::String& value) { m_subRegionHasBeenSet = true; m_subRegion = value; } + inline Place& WithCountry(const char* value) { SetCountry(value); return *this;} - /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        - */ - inline void SetSubRegion(Aws::String&& value) { m_subRegionHasBeenSet = true; m_subRegion = std::move(value); } /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline void SetSubRegion(const char* value) { m_subRegionHasBeenSet = true; m_subRegion.assign(value); } + inline const Aws::String& GetPostalCode() const{ return m_postalCode; } /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline Place& WithSubRegion(const Aws::String& value) { SetSubRegion(value); return *this;} + inline bool PostalCodeHasBeenSet() const { return m_postalCodeHasBeenSet; } /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline Place& WithSubRegion(Aws::String&& value) { SetSubRegion(std::move(value)); return *this;} + inline void SetPostalCode(const Aws::String& value) { m_postalCodeHasBeenSet = true; m_postalCode = value; } /** - *

                        A county, or an area that's part of a larger region. For example, Metro - * Vancouver.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline Place& WithSubRegion(const char* value) { SetSubRegion(value); return *this;} - + inline void SetPostalCode(Aws::String&& value) { m_postalCodeHasBeenSet = true; m_postalCode = std::move(value); } /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline const Aws::Vector& GetSupplementalCategories() const{ return m_supplementalCategories; } + inline void SetPostalCode(const char* value) { m_postalCodeHasBeenSet = true; m_postalCode.assign(value); } /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline bool SupplementalCategoriesHasBeenSet() const { return m_supplementalCategoriesHasBeenSet; } + inline Place& WithPostalCode(const Aws::String& value) { SetPostalCode(value); return *this;} /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline void SetSupplementalCategories(const Aws::Vector& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories = value; } + inline Place& WithPostalCode(Aws::String&& value) { SetPostalCode(std::move(value)); return *this;} /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        A group of numbers and letters in a country-specific format, which + * accompanies the address for the purpose of identifying a location.

                        */ - inline void SetSupplementalCategories(Aws::Vector&& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories = std::move(value); } + inline Place& WithPostalCode(const char* value) { SetPostalCode(value); return *this;} - /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        - */ - inline Place& WithSupplementalCategories(const Aws::Vector& value) { SetSupplementalCategories(value); return *this;} /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        True if the result is interpolated from other known places.

                        + *

                        False if the Place is a known place.

                        Not returned when + * the partner does not provide the information.

                        For example, returns + * False for an address location that is found in the partner data, + * but returns True if an address does not exist in the partner data + * and its location is calculated by interpolating between other known addresses. + *

                        */ - inline Place& WithSupplementalCategories(Aws::Vector&& value) { SetSupplementalCategories(std::move(value)); return *this;} + inline bool GetInterpolated() const{ return m_interpolated; } /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        True if the result is interpolated from other known places.

                        + *

                        False if the Place is a known place.

                        Not returned when + * the partner does not provide the information.

                        For example, returns + * False for an address location that is found in the partner data, + * but returns True if an address does not exist in the partner data + * and its location is calculated by interpolating between other known addresses. + *

                        */ - inline Place& AddSupplementalCategories(const Aws::String& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } + inline bool InterpolatedHasBeenSet() const { return m_interpolatedHasBeenSet; } /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        True if the result is interpolated from other known places.

                        + *

                        False if the Place is a known place.

                        Not returned when + * the partner does not provide the information.

                        For example, returns + * False for an address location that is found in the partner data, + * but returns True if an address does not exist in the partner data + * and its location is calculated by interpolating between other known addresses. + *

                        */ - inline Place& AddSupplementalCategories(Aws::String&& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(std::move(value)); return *this; } + inline void SetInterpolated(bool value) { m_interpolatedHasBeenSet = true; m_interpolated = value; } /** - *

                        Categories from the data provider that describe the Place that are not mapped - * to any Amazon Location categories.

                        + *

                        True if the result is interpolated from other known places.

                        + *

                        False if the Place is a known place.

                        Not returned when + * the partner does not provide the information.

                        For example, returns + * False for an address location that is found in the partner data, + * but returns True if an address does not exist in the partner data + * and its location is calculated by interpolating between other known addresses. + *

                        */ - inline Place& AddSupplementalCategories(const char* value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } + inline Place& WithInterpolated(bool value) { SetInterpolated(value); return *this;} /** @@ -810,187 +576,389 @@ namespace Model inline Place& WithTimeZone(TimeZone&& value) { SetTimeZone(std::move(value)); return *this;} + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline const Aws::String& GetUnitType() const{ return m_unitType; } + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline bool UnitTypeHasBeenSet() const { return m_unitTypeHasBeenSet; } + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline void SetUnitType(const Aws::String& value) { m_unitTypeHasBeenSet = true; m_unitType = value; } + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline void SetUnitType(Aws::String&& value) { m_unitTypeHasBeenSet = true; m_unitType = std::move(value); } + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline void SetUnitType(const char* value) { m_unitTypeHasBeenSet = true; m_unitType.assign(value); } + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline Place& WithUnitType(const Aws::String& value) { SetUnitType(value); return *this;} + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline Place& WithUnitType(Aws::String&& value) { SetUnitType(std::move(value)); return *this;} + + /** + *

                        For addresses with a UnitNumber, the type of unit. For example, + * Apartment.

                        Returned only for a place index that uses + * Esri as a data provider.

                        + */ + inline Place& WithUnitType(const char* value) { SetUnitType(value); return *this;} + + /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline const Aws::String& GetUnitNumber() const{ return m_unitNumber; } /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline bool UnitNumberHasBeenSet() const { return m_unitNumberHasBeenSet; } /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline void SetUnitNumber(const Aws::String& value) { m_unitNumberHasBeenSet = true; m_unitNumber = value; } /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline void SetUnitNumber(Aws::String&& value) { m_unitNumberHasBeenSet = true; m_unitNumber = std::move(value); } /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline void SetUnitNumber(const char* value) { m_unitNumberHasBeenSet = true; m_unitNumber.assign(value); } /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline Place& WithUnitNumber(const Aws::String& value) { SetUnitNumber(value); return *this;} /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline Place& WithUnitNumber(Aws::String&& value) { SetUnitNumber(std::move(value)); return *this;} /** *

                        For addresses with multiple units, the unit identifier. Can include numbers * and letters, for example 3B or Unit 123.

                        - *

                        This property is returned only for a place index that uses Esri or Grab as a - * data provider. It is not returned for - * SearchPlaceIndexForPosition.

                        + *

                        Returned only for a place index that uses Esri or Grab as a data provider. Is + * not returned for SearchPlaceIndexForPosition.

                        */ inline Place& WithUnitNumber(const char* value) { SetUnitNumber(value); return *this;} /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline const Aws::String& GetUnitType() const{ return m_unitType; } + inline const Aws::Vector& GetCategories() const{ return m_categories; } /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline bool UnitTypeHasBeenSet() const { return m_unitTypeHasBeenSet; } + inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; } /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline void SetUnitType(const Aws::String& value) { m_unitTypeHasBeenSet = true; m_unitType = value; } + inline void SetCategories(const Aws::Vector& value) { m_categoriesHasBeenSet = true; m_categories = value; } /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline void SetUnitType(Aws::String&& value) { m_unitTypeHasBeenSet = true; m_unitType = std::move(value); } + inline void SetCategories(Aws::Vector&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); } /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline void SetUnitType(const char* value) { m_unitTypeHasBeenSet = true; m_unitType.assign(value); } + inline Place& WithCategories(const Aws::Vector& value) { SetCategories(value); return *this;} /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline Place& WithUnitType(const Aws::String& value) { SetUnitType(value); return *this;} + inline Place& WithCategories(Aws::Vector&& value) { SetCategories(std::move(value)); return *this;} /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline Place& WithUnitType(Aws::String&& value) { SetUnitType(std::move(value)); return *this;} + inline Place& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } /** - *

                        For addresses with a UnitNumber, the type of unit. For example, - * Apartment.

                        This property is returned only for a place - * index that uses Esri as a data provider.

                        + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        */ - inline Place& WithUnitType(const char* value) { SetUnitType(value); return *this;} + inline Place& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; } - private: + /** + *

                        The Amazon Location categories that describe this Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline Place& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } - Aws::String m_addressNumber; - bool m_addressNumberHasBeenSet = false; - Aws::Vector m_categories; - bool m_categoriesHasBeenSet = false; + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline const Aws::Vector& GetSupplementalCategories() const{ return m_supplementalCategories; } - Aws::String m_country; - bool m_countryHasBeenSet = false; + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline bool SupplementalCategoriesHasBeenSet() const { return m_supplementalCategoriesHasBeenSet; } - PlaceGeometry m_geometry; - bool m_geometryHasBeenSet = false; + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline void SetSupplementalCategories(const Aws::Vector& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories = value; } - bool m_interpolated; - bool m_interpolatedHasBeenSet = false; + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline void SetSupplementalCategories(Aws::Vector&& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories = std::move(value); } + + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline Place& WithSupplementalCategories(const Aws::Vector& value) { SetSupplementalCategories(value); return *this;} + + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline Place& WithSupplementalCategories(Aws::Vector&& value) { SetSupplementalCategories(std::move(value)); return *this;} + + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline Place& AddSupplementalCategories(const Aws::String& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } + + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline Place& AddSupplementalCategories(Aws::String&& value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(std::move(value)); return *this; } + + /** + *

                        Categories from the data provider that describe the Place that are not mapped + * to any Amazon Location categories.

                        + */ + inline Place& AddSupplementalCategories(const char* value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } + + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline const Aws::String& GetSubMunicipality() const{ return m_subMunicipality; } + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline bool SubMunicipalityHasBeenSet() const { return m_subMunicipalityHasBeenSet; } + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline void SetSubMunicipality(const Aws::String& value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality = value; } + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline void SetSubMunicipality(Aws::String&& value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality = std::move(value); } + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline void SetSubMunicipality(const char* value) { m_subMunicipalityHasBeenSet = true; m_subMunicipality.assign(value); } + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline Place& WithSubMunicipality(const Aws::String& value) { SetSubMunicipality(value); return *this;} + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline Place& WithSubMunicipality(Aws::String&& value) { SetSubMunicipality(std::move(value)); return *this;} + + /** + *

                        An area that's part of a larger municipality. For example, Blissville + * is a submunicipality in the Queen County in New York.

                        This + * property supported by Esri and OpenData. The Esri property is + * district, and the OpenData property is borough.

                        + * + */ + inline Place& WithSubMunicipality(const char* value) { SetSubMunicipality(value); return *this;} + + private: Aws::String m_label; bool m_labelHasBeenSet = false; - Aws::String m_municipality; - bool m_municipalityHasBeenSet = false; + PlaceGeometry m_geometry; + bool m_geometryHasBeenSet = false; + + Aws::String m_addressNumber; + bool m_addressNumberHasBeenSet = false; + + Aws::String m_street; + bool m_streetHasBeenSet = false; Aws::String m_neighborhood; bool m_neighborhoodHasBeenSet = false; - Aws::String m_postalCode; - bool m_postalCodeHasBeenSet = false; + Aws::String m_municipality; + bool m_municipalityHasBeenSet = false; + + Aws::String m_subRegion; + bool m_subRegionHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; - Aws::String m_street; - bool m_streetHasBeenSet = false; - - Aws::String m_subMunicipality; - bool m_subMunicipalityHasBeenSet = false; + Aws::String m_country; + bool m_countryHasBeenSet = false; - Aws::String m_subRegion; - bool m_subRegionHasBeenSet = false; + Aws::String m_postalCode; + bool m_postalCodeHasBeenSet = false; - Aws::Vector m_supplementalCategories; - bool m_supplementalCategoriesHasBeenSet = false; + bool m_interpolated; + bool m_interpolatedHasBeenSet = false; TimeZone m_timeZone; bool m_timeZoneHasBeenSet = false; + Aws::String m_unitType; + bool m_unitTypeHasBeenSet = false; + Aws::String m_unitNumber; bool m_unitNumberHasBeenSet = false; - Aws::String m_unitType; - bool m_unitTypeHasBeenSet = false; + Aws::Vector m_categories; + bool m_categoriesHasBeenSet = false; + + Aws::Vector m_supplementalCategories; + bool m_supplementalCategoriesHasBeenSet = false; + + Aws::String m_subMunicipality; + bool m_subMunicipalityHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceRequest.h index f48aa7607e1..ddf6aee04b9 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceRequest.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -124,6 +124,73 @@ namespace Model inline PutGeofenceRequest& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; } + + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } + + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } + + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } + + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline PutGeofenceRequest& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;} + + /** + *

                        Contains the details to specify the position of the geofence. Can be a + * polygon, a circle or a polygon encoded in Geobuf format. Including multiple + * selections will return a validation error.

                        The + * geofence polygon format supports a maximum of 1,000 vertices. The Geofence + * Geobuf format supports a maximum of 100,000 vertices.

                        + */ + inline PutGeofenceRequest& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;} + + /** *

                        Associates one of more properties with the geofence. A property is a * key-value pair stored with the geofence and added to any geofence event @@ -215,61 +282,6 @@ namespace Model */ inline PutGeofenceRequest& AddGeofenceProperties(const char* key, const char* value) { m_geofencePropertiesHasBeenSet = true; m_geofenceProperties.emplace(key, value); return *this; } - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline const GeofenceGeometry& GetGeometry() const{ return m_geometry; } - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline bool GeometryHasBeenSet() const { return m_geometryHasBeenSet; } - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline void SetGeometry(const GeofenceGeometry& value) { m_geometryHasBeenSet = true; m_geometry = value; } - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline void SetGeometry(GeofenceGeometry&& value) { m_geometryHasBeenSet = true; m_geometry = std::move(value); } - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline PutGeofenceRequest& WithGeometry(const GeofenceGeometry& value) { SetGeometry(value); return *this;} - - /** - *

                        Contains the details to specify the position of the geofence. Can be either a - * polygon or a circle. Including both will return a validation error.

                        - *

                        Each - * geofence polygon can have a maximum of 1,000 vertices.

                        - */ - inline PutGeofenceRequest& WithGeometry(GeofenceGeometry&& value) { SetGeometry(std::move(value)); return *this;} - private: Aws::String m_collectionName; @@ -278,11 +290,11 @@ namespace Model Aws::String m_geofenceId; bool m_geofenceIdHasBeenSet = false; - Aws::Map m_geofenceProperties; - bool m_geofencePropertiesHasBeenSet = false; - GeofenceGeometry m_geometry; bool m_geometryHasBeenSet = false; + + Aws::Map m_geofenceProperties; + bool m_geofencePropertiesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceResult.h index 2b12bfd74cf..2f0e457d0de 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/PutGeofenceResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -34,75 +34,75 @@ namespace Model /** - *

                        The timestamp for when the geofence was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                        + *

                        The geofence identifier entered in the request.

                        */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } /** - *

                        The timestamp for when the geofence was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                        + *

                        The geofence identifier entered in the request.

                        */ - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetGeofenceId(const Aws::String& value) { m_geofenceId = value; } /** - *

                        The timestamp for when the geofence was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                        + *

                        The geofence identifier entered in the request.

                        */ - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline void SetGeofenceId(Aws::String&& value) { m_geofenceId = std::move(value); } /** - *

                        The timestamp for when the geofence was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                        + *

                        The geofence identifier entered in the request.

                        */ - inline PutGeofenceResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline void SetGeofenceId(const char* value) { m_geofenceId.assign(value); } /** - *

                        The timestamp for when the geofence was created in ISO 8601 - * format: YYYY-MM-DDThh:mm:ss.sssZ

                        + *

                        The geofence identifier entered in the request.

                        */ - inline PutGeofenceResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - + inline PutGeofenceResult& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} /** *

                        The geofence identifier entered in the request.

                        */ - inline const Aws::String& GetGeofenceId() const{ return m_geofenceId; } + inline PutGeofenceResult& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} /** *

                        The geofence identifier entered in the request.

                        */ - inline void SetGeofenceId(const Aws::String& value) { m_geofenceId = value; } + inline PutGeofenceResult& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + /** - *

                        The geofence identifier entered in the request.

                        + *

                        The timestamp for when the geofence was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                        */ - inline void SetGeofenceId(Aws::String&& value) { m_geofenceId = std::move(value); } + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** - *

                        The geofence identifier entered in the request.

                        + *

                        The timestamp for when the geofence was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                        */ - inline void SetGeofenceId(const char* value) { m_geofenceId.assign(value); } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } /** - *

                        The geofence identifier entered in the request.

                        + *

                        The timestamp for when the geofence was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                        */ - inline PutGeofenceResult& WithGeofenceId(const Aws::String& value) { SetGeofenceId(value); return *this;} + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } /** - *

                        The geofence identifier entered in the request.

                        + *

                        The timestamp for when the geofence was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                        */ - inline PutGeofenceResult& WithGeofenceId(Aws::String&& value) { SetGeofenceId(std::move(value)); return *this;} + inline PutGeofenceResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** - *

                        The geofence identifier entered in the request.

                        + *

                        The timestamp for when the geofence was created in ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ

                        */ - inline PutGeofenceResult& WithGeofenceId(const char* value) { SetGeofenceId(value); return *this;} + inline PutGeofenceResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** @@ -164,10 +164,10 @@ namespace Model private: - Aws::Utils::DateTime m_createTime; - Aws::String m_geofenceId; + Aws::Utils::DateTime m_createTime; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForPositionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForPositionResult.h index cf7a52f0d57..3d435ce85e7 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForPositionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForPositionResult.h @@ -40,67 +40,67 @@ namespace Model /** - *

                        The distance in meters of a great-circle arc between the query position and - * the result.

                        A great-circle arc is the shortest path on a sphere, - * in this case the Earth. This returns the shortest distance between two - * locations.

                        + *

                        Details about the search result, such as its address and position.

                        */ - inline double GetDistance() const{ return m_distance; } + inline const Place& GetPlace() const{ return m_place; } /** - *

                        The distance in meters of a great-circle arc between the query position and - * the result.

                        A great-circle arc is the shortest path on a sphere, - * in this case the Earth. This returns the shortest distance between two - * locations.

                        + *

                        Details about the search result, such as its address and position.

                        */ - inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } + inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; } /** - *

                        The distance in meters of a great-circle arc between the query position and - * the result.

                        A great-circle arc is the shortest path on a sphere, - * in this case the Earth. This returns the shortest distance between two - * locations.

                        + *

                        Details about the search result, such as its address and position.

                        */ - inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } + inline void SetPlace(const Place& value) { m_placeHasBeenSet = true; m_place = value; } /** - *

                        The distance in meters of a great-circle arc between the query position and - * the result.

                        A great-circle arc is the shortest path on a sphere, - * in this case the Earth. This returns the shortest distance between two - * locations.

                        + *

                        Details about the search result, such as its address and position.

                        */ - inline SearchForPositionResult& WithDistance(double value) { SetDistance(value); return *this;} - + inline void SetPlace(Place&& value) { m_placeHasBeenSet = true; m_place = std::move(value); } /** *

                        Details about the search result, such as its address and position.

                        */ - inline const Place& GetPlace() const{ return m_place; } + inline SearchForPositionResult& WithPlace(const Place& value) { SetPlace(value); return *this;} /** *

                        Details about the search result, such as its address and position.

                        */ - inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; } + inline SearchForPositionResult& WithPlace(Place&& value) { SetPlace(std::move(value)); return *this;} + /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The distance in meters of a great-circle arc between the query position and + * the result.

                        A great-circle arc is the shortest path on a sphere, + * in this case the Earth. This returns the shortest distance between two + * locations.

                        */ - inline void SetPlace(const Place& value) { m_placeHasBeenSet = true; m_place = value; } + inline double GetDistance() const{ return m_distance; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The distance in meters of a great-circle arc between the query position and + * the result.

                        A great-circle arc is the shortest path on a sphere, + * in this case the Earth. This returns the shortest distance between two + * locations.

                        */ - inline void SetPlace(Place&& value) { m_placeHasBeenSet = true; m_place = std::move(value); } + inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The distance in meters of a great-circle arc between the query position and + * the result.

                        A great-circle arc is the shortest path on a sphere, + * in this case the Earth. This returns the shortest distance between two + * locations.

                        */ - inline SearchForPositionResult& WithPlace(const Place& value) { SetPlace(value); return *this;} + inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The distance in meters of a great-circle arc between the query position and + * the result.

                        A great-circle arc is the shortest path on a sphere, + * in this case the Earth. This returns the shortest distance between two + * locations.

                        */ - inline SearchForPositionResult& WithPlace(Place&& value) { SetPlace(std::move(value)); return *this;} + inline SearchForPositionResult& WithDistance(double value) { SetDistance(value); return *this;} /** @@ -177,12 +177,12 @@ namespace Model private: - double m_distance; - bool m_distanceHasBeenSet = false; - Place m_place; bool m_placeHasBeenSet = false; + double m_distance; + bool m_distanceHasBeenSet = false; + Aws::String m_placeId; bool m_placeIdHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForSuggestionsResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForSuggestionsResult.h index 46f6bfa075d..b72a6ee0d11 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForSuggestionsResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForSuggestionsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,85 +40,52 @@ namespace Model /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        - */ - inline const Aws::Vector& GetCategories() const{ return m_categories; } - - /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; } + inline const Aws::String& GetText() const{ return m_text; } /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline void SetCategories(const Aws::Vector& value) { m_categoriesHasBeenSet = true; m_categories = value; } + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline void SetCategories(Aws::Vector&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); } + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline SearchForSuggestionsResult& WithCategories(const Aws::Vector& value) { SetCategories(value); return *this;} + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline SearchForSuggestionsResult& WithCategories(Aws::Vector&& value) { SetCategories(std::move(value)); return *this;} + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline SearchForSuggestionsResult& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + inline SearchForSuggestionsResult& WithText(const Aws::String& value) { SetText(value); return *this;} /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline SearchForSuggestionsResult& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; } + inline SearchForSuggestionsResult& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** - *

                        The Amazon Location categories that describe the Place.

                        For more - * information about using categories, including a list of Amazon Location - * categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                        + *

                        The text of the place suggestion, typically formatted as an address + * string.

                        */ - inline SearchForSuggestionsResult& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + inline SearchForSuggestionsResult& WithText(const char* value) { SetText(value); return *this;} /** @@ -129,28 +96,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline const Aws::String& GetPlaceId() const{ return m_placeId; } @@ -162,28 +108,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline bool PlaceIdHasBeenSet() const { return m_placeIdHasBeenSet; } @@ -195,28 +120,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline void SetPlaceId(const Aws::String& value) { m_placeIdHasBeenSet = true; m_placeId = value; } @@ -228,28 +132,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline void SetPlaceId(Aws::String&& value) { m_placeIdHasBeenSet = true; m_placeId = std::move(value); } @@ -261,28 +144,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline void SetPlaceId(const char* value) { m_placeIdHasBeenSet = true; m_placeId.assign(value); } @@ -294,28 +156,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline SearchForSuggestionsResult& WithPlaceId(const Aws::String& value) { SetPlaceId(value); return *this;} @@ -327,28 +168,7 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline SearchForSuggestionsResult& WithPlaceId(Aws::String&& value) { SetPlaceId(std::move(value)); return *this;} @@ -360,32 +180,93 @@ namespace Model * SearchPlaceIndexForSuggestions that generated the Place ID.

                        *

                        For SearchPlaceIndexForSuggestions operations, the * PlaceId is returned by place indexes that use Esri, Grab, or HERE - * as data providers.

                        While you can use PlaceID in subsequent - * requests, PlaceID is not intended to be a permanent identifier and the ID can - * change between consecutive API calls. Please see the following PlaceID behaviour - * for each data provider:

                        • Esri: Place IDs will change every - * quarter at a minimum. The typical time period for these changes would be March, - * June, September, and December. Place IDs might also change between the typical - * quarterly change but that will be much less frequent.

                        • HERE: We - * recommend that you cache data for no longer than a week to keep your data data - * fresh. You can assume that less than 1% ID shifts will release over release - * which is approximately 1 - 2 times per week.

                        • Grab: Place IDs - * can expire or become invalid in the following situations.

                          • Data - * operations: The POI may be removed from Grab POI database by Grab Map Ops based - * on the ground-truth, such as being closed in the real world, being detected as a - * duplicate POI, or having incorrect information. Grab will synchronize data to - * the Waypoint environment on weekly basis.

                          • Interpolated POI: - * Interpolated POI is a temporary POI generated in real time when serving a - * request, and it will be marked as derived in the place.result_type - * field in the response. The information of interpolated POIs will be retained for - * at least 30 days, which means that within 30 days, you are able to obtain POI - * details by Place ID from Place Details API. After 30 days, the interpolated - * POIs(both Place ID and details) may expire and inaccessible from the Places - * Details API.

                        + * as data providers.

                        */ inline SearchForSuggestionsResult& WithPlaceId(const char* value) { SetPlaceId(value); return *this;} + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline const Aws::Vector& GetCategories() const{ return m_categories; } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline bool CategoriesHasBeenSet() const { return m_categoriesHasBeenSet; } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline void SetCategories(const Aws::Vector& value) { m_categoriesHasBeenSet = true; m_categories = value; } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline void SetCategories(Aws::Vector&& value) { m_categoriesHasBeenSet = true; m_categories = std::move(value); } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline SearchForSuggestionsResult& WithCategories(const Aws::Vector& value) { SetCategories(value); return *this;} + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline SearchForSuggestionsResult& WithCategories(Aws::Vector&& value) { SetCategories(std::move(value)); return *this;} + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline SearchForSuggestionsResult& AddCategories(const Aws::String& value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline SearchForSuggestionsResult& AddCategories(Aws::String&& value) { m_categoriesHasBeenSet = true; m_categories.push_back(std::move(value)); return *this; } + + /** + *

                        The Amazon Location categories that describe the Place.

                        For more + * information about using categories, including a list of Amazon Location + * categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                        + */ + inline SearchForSuggestionsResult& AddCategories(const char* value) { m_categoriesHasBeenSet = true; m_categories.push_back(value); return *this; } + + /** *

                        Categories from the data provider that describe the Place that are not mapped * to any Amazon Location categories.

                        @@ -440,68 +321,19 @@ namespace Model */ inline SearchForSuggestionsResult& AddSupplementalCategories(const char* value) { m_supplementalCategoriesHasBeenSet = true; m_supplementalCategories.push_back(value); return *this; } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline const Aws::String& GetText() const{ return m_text; } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline bool TextHasBeenSet() const { return m_textHasBeenSet; } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline SearchForSuggestionsResult& WithText(const Aws::String& value) { SetText(value); return *this;} - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline SearchForSuggestionsResult& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} - - /** - *

                        The text of the place suggestion, typically formatted as an address - * string.

                        - */ - inline SearchForSuggestionsResult& WithText(const char* value) { SetText(value); return *this;} - private: - Aws::Vector m_categories; - bool m_categoriesHasBeenSet = false; + Aws::String m_text; + bool m_textHasBeenSet = false; Aws::String m_placeId; bool m_placeIdHasBeenSet = false; + Aws::Vector m_categories; + bool m_categoriesHasBeenSet = false; + Aws::Vector m_supplementalCategories; bool m_supplementalCategoriesHasBeenSet = false; - - Aws::String m_text; - bool m_textHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForTextResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForTextResult.h index 46fa0c09f9e..9b677aa1964 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForTextResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchForTextResult.h @@ -39,6 +39,37 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline const Place& GetPlace() const{ return m_place; } + + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; } + + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline void SetPlace(const Place& value) { m_placeHasBeenSet = true; m_place = value; } + + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline void SetPlace(Place&& value) { m_placeHasBeenSet = true; m_place = std::move(value); } + + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline SearchForTextResult& WithPlace(const Place& value) { SetPlace(value); return *this;} + + /** + *

                        Details about the search result, such as its address and position.

                        + */ + inline SearchForTextResult& WithPlace(Place&& value) { SetPlace(std::move(value)); return *this;} + + /** *

                        The distance in meters of a great-circle arc between the bias position * specified and the result. Distance will be returned only if a bias @@ -77,34 +108,36 @@ namespace Model /** - *

                        Details about the search result, such as its address and position.

                        - */ - inline const Place& GetPlace() const{ return m_place; } - - /** - *

                        Details about the search result, such as its address and position.

                        - */ - inline bool PlaceHasBeenSet() const { return m_placeHasBeenSet; } - - /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The relative confidence in the match for a result among the results returned. + * For example, if more fields for an address match (including house number, + * street, city, country/region, and postal code), the relevance score is closer to + * 1.

                        Returned only when the partner selected is Esri or Grab.

                        */ - inline void SetPlace(const Place& value) { m_placeHasBeenSet = true; m_place = value; } + inline double GetRelevance() const{ return m_relevance; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The relative confidence in the match for a result among the results returned. + * For example, if more fields for an address match (including house number, + * street, city, country/region, and postal code), the relevance score is closer to + * 1.

                        Returned only when the partner selected is Esri or Grab.

                        */ - inline void SetPlace(Place&& value) { m_placeHasBeenSet = true; m_place = std::move(value); } + inline bool RelevanceHasBeenSet() const { return m_relevanceHasBeenSet; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The relative confidence in the match for a result among the results returned. + * For example, if more fields for an address match (including house number, + * street, city, country/region, and postal code), the relevance score is closer to + * 1.

                        Returned only when the partner selected is Esri or Grab.

                        */ - inline SearchForTextResult& WithPlace(const Place& value) { SetPlace(value); return *this;} + inline void SetRelevance(double value) { m_relevanceHasBeenSet = true; m_relevance = value; } /** - *

                        Details about the search result, such as its address and position.

                        + *

                        The relative confidence in the match for a result among the results returned. + * For example, if more fields for an address match (including house number, + * street, city, country/region, and postal code), the relevance score is closer to + * 1.

                        Returned only when the partner selected is Esri or Grab.

                        */ - inline SearchForTextResult& WithPlace(Place&& value) { SetPlace(std::move(value)); return *this;} + inline SearchForTextResult& WithRelevance(double value) { SetRelevance(value); return *this;} /** @@ -179,52 +212,19 @@ namespace Model */ inline SearchForTextResult& WithPlaceId(const char* value) { SetPlaceId(value); return *this;} - - /** - *

                        The relative confidence in the match for a result among the results returned. - * For example, if more fields for an address match (including house number, - * street, city, country/region, and postal code), the relevance score is closer to - * 1.

                        Returned only when the partner selected is Esri or Grab.

                        - */ - inline double GetRelevance() const{ return m_relevance; } - - /** - *

                        The relative confidence in the match for a result among the results returned. - * For example, if more fields for an address match (including house number, - * street, city, country/region, and postal code), the relevance score is closer to - * 1.

                        Returned only when the partner selected is Esri or Grab.

                        - */ - inline bool RelevanceHasBeenSet() const { return m_relevanceHasBeenSet; } - - /** - *

                        The relative confidence in the match for a result among the results returned. - * For example, if more fields for an address match (including house number, - * street, city, country/region, and postal code), the relevance score is closer to - * 1.

                        Returned only when the partner selected is Esri or Grab.

                        - */ - inline void SetRelevance(double value) { m_relevanceHasBeenSet = true; m_relevance = value; } - - /** - *

                        The relative confidence in the match for a result among the results returned. - * For example, if more fields for an address match (including house number, - * street, city, country/region, and postal code), the relevance score is closer to - * 1.

                        Returned only when the partner selected is Esri or Grab.

                        - */ - inline SearchForTextResult& WithRelevance(double value) { SetRelevance(value); return *this;} - private: - double m_distance; - bool m_distanceHasBeenSet = false; - Place m_place; bool m_placeHasBeenSet = false; - Aws::String m_placeId; - bool m_placeIdHasBeenSet = false; + double m_distance; + bool m_distanceHasBeenSet = false; double m_relevance; bool m_relevanceHasBeenSet = false; + + Aws::String m_placeId; + bool m_placeIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionRequest.h index eb4468d975c..13aeda17328 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionRequest.h @@ -81,60 +81,99 @@ namespace Model /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline const Aws::String& GetKey() const{ return m_key; } + inline const Aws::Vector& GetPosition() const{ return m_position; } /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline SearchPlaceIndexForPositionRequest& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline SearchPlaceIndexForPositionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline SearchPlaceIndexForPositionRequest& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} /** - *

                        The optional API - * key to authorize the request.

                        + *

                        Specifies the longitude and latitude of the position to query.

                        This + * parameter must contain a pair of numbers. The first number represents the X + * coordinate, or longitude; the second number represents the Y coordinate, or + * latitude.

                        For example, [-123.1174, 49.2847] represents a + * position with longitude -123.1174 and latitude + * 49.2847.

                        */ - inline SearchPlaceIndexForPositionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline SearchPlaceIndexForPositionRequest& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + /** - *

                        The optional API - * key to authorize the request.

                        + *

                        An optional parameter. The maximum number of results returned per + * request.

                        Default value: 50

                        */ - inline SearchPlaceIndexForPositionRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

                        An optional parameter. The maximum number of results returned per + * request.

                        Default value: 50

                        + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

                        An optional parameter. The maximum number of results returned per + * request.

                        Default value: 50

                        + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

                        An optional parameter. The maximum number of results returned per + * request.

                        Default value: 50

                        + */ + inline SearchPlaceIndexForPositionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** @@ -275,116 +314,77 @@ namespace Model /** - *

                        An optional parameter. The maximum number of results returned per - * request.

                        Default value: 50

                        - */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *

                        An optional parameter. The maximum number of results returned per - * request.

                        Default value: 50

                        - */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *

                        An optional parameter. The maximum number of results returned per - * request.

                        Default value: 50

                        - */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *

                        An optional parameter. The maximum number of results returned per - * request.

                        Default value: 50

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline SearchPlaceIndexForPositionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - + inline const Aws::String& GetKey() const{ return m_key; } /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline const Aws::Vector& GetPosition() const{ return m_position; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline SearchPlaceIndexForPositionRequest& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} + inline SearchPlaceIndexForPositionRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline SearchPlaceIndexForPositionRequest& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} + inline SearchPlaceIndexForPositionRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** - *

                        Specifies the longitude and latitude of the position to query.

                        This - * parameter must contain a pair of numbers. The first number represents the X - * coordinate, or longitude; the second number represents the Y coordinate, or - * latitude.

                        For example, [-123.1174, 49.2847] represents a - * position with longitude -123.1174 and latitude - * 49.2847.

                        + *

                        The optional API + * key to authorize the request.

                        */ - inline SearchPlaceIndexForPositionRequest& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + inline SearchPlaceIndexForPositionRequest& WithKey(const char* value) { SetKey(value); return *this;} private: Aws::String m_indexName; bool m_indexNameHasBeenSet = false; - Aws::String m_key; - bool m_keyHasBeenSet = false; - - Aws::String m_language; - bool m_languageHasBeenSet = false; + Aws::Vector m_position; + bool m_positionHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; - Aws::Vector m_position; - bool m_positionHasBeenSet = false; + Aws::String m_language; + bool m_languageHasBeenSet = false; + + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionResult.h index e8ed43df4e7..d3614b741e1 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -35,6 +35,42 @@ namespace Model AWS_LOCATIONSERVICE_API SearchPlaceIndexForPositionResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                        Contains a summary of the request. Echoes the input values for + * Position, Language, MaxResults, and the + * DataSource of the place index.

                        + */ + inline const SearchPlaceIndexForPositionSummary& GetSummary() const{ return m_summary; } + + /** + *

                        Contains a summary of the request. Echoes the input values for + * Position, Language, MaxResults, and the + * DataSource of the place index.

                        + */ + inline void SetSummary(const SearchPlaceIndexForPositionSummary& value) { m_summary = value; } + + /** + *

                        Contains a summary of the request. Echoes the input values for + * Position, Language, MaxResults, and the + * DataSource of the place index.

                        + */ + inline void SetSummary(SearchPlaceIndexForPositionSummary&& value) { m_summary = std::move(value); } + + /** + *

                        Contains a summary of the request. Echoes the input values for + * Position, Language, MaxResults, and the + * DataSource of the place index.

                        + */ + inline SearchPlaceIndexForPositionResult& WithSummary(const SearchPlaceIndexForPositionSummary& value) { SetSummary(value); return *this;} + + /** + *

                        Contains a summary of the request. Echoes the input values for + * Position, Language, MaxResults, and the + * DataSource of the place index.

                        + */ + inline SearchPlaceIndexForPositionResult& WithSummary(SearchPlaceIndexForPositionSummary&& value) { SetSummary(std::move(value)); return *this;} + + /** *

                        Returns a list of Places closest to the specified position. Each result * contains additional information about the Places returned.

                        @@ -78,42 +114,6 @@ namespace Model inline SearchPlaceIndexForPositionResult& AddResults(SearchForPositionResult&& value) { m_results.push_back(std::move(value)); return *this; } - /** - *

                        Contains a summary of the request. Echoes the input values for - * Position, Language, MaxResults, and the - * DataSource of the place index.

                        - */ - inline const SearchPlaceIndexForPositionSummary& GetSummary() const{ return m_summary; } - - /** - *

                        Contains a summary of the request. Echoes the input values for - * Position, Language, MaxResults, and the - * DataSource of the place index.

                        - */ - inline void SetSummary(const SearchPlaceIndexForPositionSummary& value) { m_summary = value; } - - /** - *

                        Contains a summary of the request. Echoes the input values for - * Position, Language, MaxResults, and the - * DataSource of the place index.

                        - */ - inline void SetSummary(SearchPlaceIndexForPositionSummary&& value) { m_summary = std::move(value); } - - /** - *

                        Contains a summary of the request. Echoes the input values for - * Position, Language, MaxResults, and the - * DataSource of the place index.

                        - */ - inline SearchPlaceIndexForPositionResult& WithSummary(const SearchPlaceIndexForPositionSummary& value) { SetSummary(value); return *this;} - - /** - *

                        Contains a summary of the request. Echoes the input values for - * Position, Language, MaxResults, and the - * DataSource of the place index.

                        - */ - inline SearchPlaceIndexForPositionResult& WithSummary(SearchPlaceIndexForPositionSummary&& value) { SetSummary(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -137,10 +137,10 @@ namespace Model private: - Aws::Vector m_results; - SearchPlaceIndexForPositionSummary m_summary; + Aws::Vector m_results; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionSummary.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionSummary.h index 451bd621cf6..dcbc6f56f9f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionSummary.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForPositionSummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,67 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                        The position specified in the request.

                        + */ + inline const Aws::Vector& GetPosition() const{ return m_position; } + + /** + *

                        The position specified in the request.

                        + */ + inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } + + /** + *

                        The position specified in the request.

                        + */ + inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } + + /** + *

                        The position specified in the request.

                        + */ + inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } + + /** + *

                        The position specified in the request.

                        + */ + inline SearchPlaceIndexForPositionSummary& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} + + /** + *

                        The position specified in the request.

                        + */ + inline SearchPlaceIndexForPositionSummary& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} + + /** + *

                        The position specified in the request.

                        + */ + inline SearchPlaceIndexForPositionSummary& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + + + /** + *

                        Contains the optional result count limit that is specified in the + * request.

                        Default value: 50

                        + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

                        Contains the optional result count limit that is specified in the + * request.

                        Default value: 50

                        + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

                        Contains the optional result count limit that is specified in the + * request.

                        Default value: 50

                        + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

                        Contains the optional result count limit that is specified in the + * request.

                        Default value: 50

                        + */ + inline SearchPlaceIndexForPositionSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + /** *

                        The geospatial data provider attached to the place index resource specified * in the request. Values can be one of the following:

                        • Esri

                          @@ -176,80 +237,19 @@ namespace Model */ inline SearchPlaceIndexForPositionSummary& WithLanguage(const char* value) { SetLanguage(value); return *this;} + private: - /** - *

                          Contains the optional result count limit that is specified in the - * request.

                          Default value: 50

                          - */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *

                          Contains the optional result count limit that is specified in the - * request.

                          Default value: 50

                          - */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *

                          Contains the optional result count limit that is specified in the - * request.

                          Default value: 50

                          - */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *

                          Contains the optional result count limit that is specified in the - * request.

                          Default value: 50

                          - */ - inline SearchPlaceIndexForPositionSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - - /** - *

                          The position specified in the request.

                          - */ - inline const Aws::Vector& GetPosition() const{ return m_position; } - - /** - *

                          The position specified in the request.

                          - */ - inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; } - - /** - *

                          The position specified in the request.

                          - */ - inline void SetPosition(const Aws::Vector& value) { m_positionHasBeenSet = true; m_position = value; } - - /** - *

                          The position specified in the request.

                          - */ - inline void SetPosition(Aws::Vector&& value) { m_positionHasBeenSet = true; m_position = std::move(value); } - - /** - *

                          The position specified in the request.

                          - */ - inline SearchPlaceIndexForPositionSummary& WithPosition(const Aws::Vector& value) { SetPosition(value); return *this;} - - /** - *

                          The position specified in the request.

                          - */ - inline SearchPlaceIndexForPositionSummary& WithPosition(Aws::Vector&& value) { SetPosition(std::move(value)); return *this;} - - /** - *

                          The position specified in the request.

                          - */ - inline SearchPlaceIndexForPositionSummary& AddPosition(double value) { m_positionHasBeenSet = true; m_position.push_back(value); return *this; } + Aws::Vector m_position; + bool m_positionHasBeenSet = false; - private: + int m_maxResults; + bool m_maxResultsHasBeenSet = false; Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; - - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - - Aws::Vector m_position; - bool m_positionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsRequest.h index 262482d5642..e7f436ce38c 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -39,6 +39,96 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                          The name of the place index resource you want to use for the search.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline const Aws::String& GetText() const{ return m_text; } + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithText(const Aws::String& value) { SetText(value); return *this;} + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + + /** + *

                          The free-form partial text to use to generate place suggestions. For example, + * eiffel tow.

                          + */ + inline SearchPlaceIndexForSuggestionsRequest& WithText(const char* value) { SetText(value); return *this;} + + /** *

                          An optional parameter that indicates a preference for place suggestions that * are closer to a specified position.

                          If provided, this parameter must @@ -244,97 +334,6 @@ namespace Model inline SearchPlaceIndexForSuggestionsRequest& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; } - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline SearchPlaceIndexForSuggestionsRequest& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline SearchPlaceIndexForSuggestionsRequest& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } - - /** - *

                          A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                          For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                          - */ - inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } - - /** *

                          An optional parameter that limits the search results by returning only * suggestions within the provided list of countries.

                          • Use the The name of the place index resource you want to use for the search.

                            - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} - - /** - *

                            The name of the place index resource you want to use for the search.

                            - */ - inline SearchPlaceIndexForSuggestionsRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} - - - /** - *

                            The optional API - * key to authorize the request.

                            - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - *

                            The optional API - * key to authorize the request.

                            - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - *

                            The optional API - * key to authorize the request.

                            - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - *

                            The optional API - * key to authorize the request.

                            - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - *

                            The optional API - * key to authorize the request.

                            + *

                            An optional parameter. The maximum number of results returned per request. + *

                            The default: 5

                            */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline int GetMaxResults() const{ return m_maxResults; } /** - *

                            The optional API - * key to authorize the request.

                            + *

                            An optional parameter. The maximum number of results returned per request. + *

                            The default: 5

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

                            The optional API - * key to authorize the request.

                            + *

                            An optional parameter. The maximum number of results returned per request. + *

                            The default: 5

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

                            The optional API - * key to authorize the request.

                            + *

                            An optional parameter. The maximum number of results returned per request. + *

                            The default: 5

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline SearchPlaceIndexForSuggestionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** @@ -645,106 +571,180 @@ namespace Model /** - *

                            An optional parameter. The maximum number of results returned per request. - *

                            The default: 5

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline int GetMaxResults() const{ return m_maxResults; } + inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } /** - *

                            An optional parameter. The maximum number of results returned per request. - *

                            The default: 5

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } /** - *

                            An optional parameter. The maximum number of results returned per request. - *

                            The default: 5

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } /** - *

                            An optional parameter. The maximum number of results returned per request. - *

                            The default: 5

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } + /** + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            + */ + inline SearchPlaceIndexForSuggestionsRequest& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline const Aws::String& GetText() const{ return m_text; } + inline SearchPlaceIndexForSuggestionsRequest& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                            For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                            */ - inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline SearchPlaceIndexForSuggestionsRequest& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            The optional API + * key to authorize the request.

                            */ - inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline const Aws::String& GetKey() const{ return m_key; } /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            The optional API + * key to authorize the request.

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithText(const Aws::String& value) { SetText(value); return *this;} + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            The optional API + * key to authorize the request.

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - *

                            The free-form partial text to use to generate place suggestions. For example, - * eiffel tow.

                            + *

                            The optional API + * key to authorize the request.

                            */ - inline SearchPlaceIndexForSuggestionsRequest& WithText(const char* value) { SetText(value); return *this;} + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

                            The optional API + * key to authorize the request.

                            + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

                            The optional API + * key to authorize the request.

                            + */ + inline SearchPlaceIndexForSuggestionsRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

                            The optional API + * key to authorize the request.

                            + */ + inline SearchPlaceIndexForSuggestionsRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

                            The optional API + * key to authorize the request.

                            + */ + inline SearchPlaceIndexForSuggestionsRequest& WithKey(const char* value) { SetKey(value); return *this;} private: + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; + + Aws::String m_text; + bool m_textHasBeenSet = false; + Aws::Vector m_biasPosition; bool m_biasPositionHasBeenSet = false; Aws::Vector m_filterBBox; bool m_filterBBoxHasBeenSet = false; - Aws::Vector m_filterCategories; - bool m_filterCategoriesHasBeenSet = false; - Aws::Vector m_filterCountries; bool m_filterCountriesHasBeenSet = false; - Aws::String m_indexName; - bool m_indexNameHasBeenSet = false; - - Aws::String m_key; - bool m_keyHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::Vector m_filterCategories; + bool m_filterCategoriesHasBeenSet = false; - Aws::String m_text; - bool m_textHasBeenSet = false; + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsResult.h index ad8a0546006..21541c88749 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -35,42 +35,6 @@ namespace Model AWS_LOCATIONSERVICE_API SearchPlaceIndexForSuggestionsResult& operator=(const Aws::AmazonWebServiceResult& result); - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline const Aws::Vector& GetResults() const{ return m_results; } - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline void SetResults(const Aws::Vector& value) { m_results = value; } - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline void SetResults(Aws::Vector&& value) { m_results = std::move(value); } - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline SearchPlaceIndexForSuggestionsResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline SearchPlaceIndexForSuggestionsResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline SearchPlaceIndexForSuggestionsResult& AddResults(const SearchForSuggestionsResult& value) { m_results.push_back(value); return *this; } - - /** - *

                            A list of place suggestions that best match the search text.

                            - */ - inline SearchPlaceIndexForSuggestionsResult& AddResults(SearchForSuggestionsResult&& value) { m_results.push_back(std::move(value)); return *this; } - - /** *

                            Contains a summary of the request. Echoes the input values for * BiasPosition, FilterBBox, @@ -117,6 +81,42 @@ namespace Model inline SearchPlaceIndexForSuggestionsResult& WithSummary(SearchPlaceIndexForSuggestionsSummary&& value) { SetSummary(std::move(value)); return *this;} + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline const Aws::Vector& GetResults() const{ return m_results; } + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline void SetResults(const Aws::Vector& value) { m_results = value; } + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline void SetResults(Aws::Vector&& value) { m_results = std::move(value); } + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline SearchPlaceIndexForSuggestionsResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline SearchPlaceIndexForSuggestionsResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline SearchPlaceIndexForSuggestionsResult& AddResults(const SearchForSuggestionsResult& value) { m_results.push_back(value); return *this; } + + /** + *

                            A list of place suggestions that best match the search text.

                            + */ + inline SearchPlaceIndexForSuggestionsResult& AddResults(SearchForSuggestionsResult&& value) { m_results.push_back(std::move(value)); return *this; } + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -140,10 +140,10 @@ namespace Model private: - Aws::Vector m_results; - SearchPlaceIndexForSuggestionsSummary m_summary; + Aws::Vector m_results; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsSummary.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsSummary.h index a722d09557f..223043531a6 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsSummary.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForSuggestionsSummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,47 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline const Aws::String& GetText() const{ return m_text; } + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithText(const Aws::String& value) { SetText(value); return *this;} + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + + /** + *

                            The free-form partial text input specified in the request.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithText(const char* value) { SetText(value); return *this;} + + /** *

                            Contains the coordinates for the optional bias position specified in the * request.

                            This parameter contains a pair of numbers. The first number @@ -110,87 +151,6 @@ namespace Model inline SearchPlaceIndexForSuggestionsSummary& AddBiasPosition(double value) { m_biasPositionHasBeenSet = true; m_biasPosition.push_back(value); return *this; } - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline const Aws::String& GetDataSource() const{ return m_dataSource; } - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} - - /** - *

                            The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                            • Esri

                              - *
                            • Grab

                            • Here

                            For more - * information about data providers, see Amazon - * Location Service data providers.

                            - */ - inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} - - /** *

                            Contains the coordinates for the optional bounding box specified in the * request.

                            @@ -235,95 +195,151 @@ namespace Model /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } + inline const Aws::Vector& GetFilterCountries() const{ return m_filterCountries; } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } + inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } + inline void SetFilterCountries(const Aws::Vector& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = value; } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } + inline void SetFilterCountries(Aws::Vector&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = std::move(value); } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} + inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(const Aws::Vector& value) { SetFilterCountries(value); return *this;} /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} + inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(Aws::Vector&& value) { SetFilterCountries(std::move(value)); return *this;} /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; } /** - *

                            The optional category filter specified in the request.

                            + *

                            Contains the optional country filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            Contains the optional result count limit specified in the request.

                            */ - inline const Aws::Vector& GetFilterCountries() const{ return m_filterCountries; } + inline int GetMaxResults() const{ return m_maxResults; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            Contains the optional result count limit specified in the request.

                            */ - inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            Contains the optional result count limit specified in the request.

                            */ - inline void SetFilterCountries(const Aws::Vector& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = value; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            Contains the optional result count limit specified in the request.

                            */ - inline void SetFilterCountries(Aws::Vector&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = std::move(value); } + inline SearchPlaceIndexForSuggestionsSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} + /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(const Aws::Vector& value) { SetFilterCountries(value); return *this;} + inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithFilterCountries(Aws::Vector&& value) { SetFilterCountries(std::move(value)); return *this;} + inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } + inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; } + inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** - *

                            Contains the optional country filter specified in the request.

                            + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } + inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } + + /** + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} + + /** + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} + + /** + *

                            The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                            • Esri

                              + *
                            • Grab

                            • Here

                            For more + * information about data providers, see Amazon + * Location Service data providers.

                            + */ + inline SearchPlaceIndexForSuggestionsSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** @@ -384,91 +400,75 @@ namespace Model /** - *

                            Contains the optional result count limit specified in the request.

                            - */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *

                            Contains the optional result count limit specified in the request.

                            - */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *

                            Contains the optional result count limit specified in the request.

                            - */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *

                            Contains the optional result count limit specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} - + inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline const Aws::String& GetText() const{ return m_text; } + inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline SearchPlaceIndexForSuggestionsSummary& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithText(const Aws::String& value) { SetText(value); return *this;} + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } /** - *

                            The free-form partial text input specified in the request.

                            + *

                            The optional category filter specified in the request.

                            */ - inline SearchPlaceIndexForSuggestionsSummary& WithText(const char* value) { SetText(value); return *this;} + inline SearchPlaceIndexForSuggestionsSummary& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } private: + Aws::String m_text; + bool m_textHasBeenSet = false; + Aws::Vector m_biasPosition; bool m_biasPositionHasBeenSet = false; - Aws::String m_dataSource; - bool m_dataSourceHasBeenSet = false; - Aws::Vector m_filterBBox; bool m_filterBBoxHasBeenSet = false; - Aws::Vector m_filterCategories; - bool m_filterCategoriesHasBeenSet = false; - Aws::Vector m_filterCountries; bool m_filterCountriesHasBeenSet = false; - Aws::String m_language; - bool m_languageHasBeenSet = false; - int m_maxResults; bool m_maxResultsHasBeenSet = false; - Aws::String m_text; - bool m_textHasBeenSet = false; + Aws::String m_dataSource; + bool m_dataSourceHasBeenSet = false; + + Aws::String m_language; + bool m_languageHasBeenSet = false; + + Aws::Vector m_filterCategories; + bool m_filterCategoriesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextRequest.h index bd258d018f9..b62fb107fb0 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -39,6 +39,96 @@ namespace Model AWS_LOCATIONSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline SearchPlaceIndexForTextRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline SearchPlaceIndexForTextRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                            The name of the place index resource you want to use for the search.

                            + */ + inline SearchPlaceIndexForTextRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline const Aws::String& GetText() const{ return m_text; } + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline SearchPlaceIndexForTextRequest& WithText(const Aws::String& value) { SetText(value); return *this;} + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline SearchPlaceIndexForTextRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + + /** + *

                            The address, name, city, or region to be used in the search in free-form text + * format. For example, 123 Any Street.

                            + */ + inline SearchPlaceIndexForTextRequest& WithText(const char* value) { SetText(value); return *this;} + + /** *

                            An optional parameter that indicates a preference for places that are closer * to a specified position.

                            If provided, this parameter must contain a pair @@ -244,97 +334,6 @@ namespace Model inline SearchPlaceIndexForTextRequest& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; } - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline SearchPlaceIndexForTextRequest& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline SearchPlaceIndexForTextRequest& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline SearchPlaceIndexForTextRequest& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline SearchPlaceIndexForTextRequest& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } - - /** - *

                            A list of one or more Amazon Location categories to filter the returned - * places. If you include more than one category, the results will include results - * that match any of the categories listed.

                            For more information - * about using categories, including a list of Amazon Location categories, see Categories - * and filtering, in the Amazon Location Service Developer Guide.

                            - */ - inline SearchPlaceIndexForTextRequest& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } - - /** *

                            An optional parameter that limits the search results by returning only places * that are in a specified list of countries.

                            • Valid values include @@ -418,101 +417,28 @@ namespace Model /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline SearchPlaceIndexForTextRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline SearchPlaceIndexForTextRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} - - /** - *

                              The name of the place index resource you want to use for the search.

                              - */ - inline SearchPlaceIndexForTextRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} - - - /** - *

                              The optional API - * key to authorize the request.

                              - */ - inline const Aws::String& GetKey() const{ return m_key; } - - /** - *

                              The optional API - * key to authorize the request.

                              - */ - inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } - - /** - *

                              The optional API - * key to authorize the request.

                              - */ - inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } - - /** - *

                              The optional API - * key to authorize the request.

                              - */ - inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } - - /** - *

                              The optional API - * key to authorize the request.

                              + *

                              An optional parameter. The maximum number of results returned per request. + *

                              The default: 50

                              */ - inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline int GetMaxResults() const{ return m_maxResults; } /** - *

                              The optional API - * key to authorize the request.

                              + *

                              An optional parameter. The maximum number of results returned per request. + *

                              The default: 50

                              */ - inline SearchPlaceIndexForTextRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

                              The optional API - * key to authorize the request.

                              + *

                              An optional parameter. The maximum number of results returned per request. + *

                              The default: 50

                              */ - inline SearchPlaceIndexForTextRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

                              The optional API - * key to authorize the request.

                              + *

                              An optional parameter. The maximum number of results returned per request. + *

                              The default: 50

                              */ - inline SearchPlaceIndexForTextRequest& WithKey(const char* value) { SetKey(value); return *this;} + inline SearchPlaceIndexForTextRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** @@ -645,106 +571,180 @@ namespace Model /** - *

                              An optional parameter. The maximum number of results returned per request. - *

                              The default: 50

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline int GetMaxResults() const{ return m_maxResults; } + inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } /** - *

                              An optional parameter. The maximum number of results returned per request. - *

                              The default: 50

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } /** - *

                              An optional parameter. The maximum number of results returned per request. - *

                              The default: 50

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } /** - *

                              An optional parameter. The maximum number of results returned per request. - *

                              The default: 50

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline SearchPlaceIndexForTextRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } + /** + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              + */ + inline SearchPlaceIndexForTextRequest& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline const Aws::String& GetText() const{ return m_text; } + inline SearchPlaceIndexForTextRequest& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline SearchPlaceIndexForTextRequest& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline SearchPlaceIndexForTextRequest& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              A list of one or more Amazon Location categories to filter the returned + * places. If you include more than one category, the results will include results + * that match any of the categories listed.

                              For more information + * about using categories, including a list of Amazon Location categories, see Categories + * and filtering, in the Amazon Location Service Developer Guide.

                              */ - inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline SearchPlaceIndexForTextRequest& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              The optional API + * key to authorize the request.

                              */ - inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline const Aws::String& GetKey() const{ return m_key; } /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              The optional API + * key to authorize the request.

                              */ - inline SearchPlaceIndexForTextRequest& WithText(const Aws::String& value) { SetText(value); return *this;} + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              The optional API + * key to authorize the request.

                              */ - inline SearchPlaceIndexForTextRequest& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** - *

                              The address, name, city, or region to be used in the search in free-form text - * format. For example, 123 Any Street.

                              + *

                              The optional API + * key to authorize the request.

                              */ - inline SearchPlaceIndexForTextRequest& WithText(const char* value) { SetText(value); return *this;} + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + + /** + *

                              The optional API + * key to authorize the request.

                              + */ + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + + /** + *

                              The optional API + * key to authorize the request.

                              + */ + inline SearchPlaceIndexForTextRequest& WithKey(const Aws::String& value) { SetKey(value); return *this;} + + /** + *

                              The optional API + * key to authorize the request.

                              + */ + inline SearchPlaceIndexForTextRequest& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + + /** + *

                              The optional API + * key to authorize the request.

                              + */ + inline SearchPlaceIndexForTextRequest& WithKey(const char* value) { SetKey(value); return *this;} private: + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; + + Aws::String m_text; + bool m_textHasBeenSet = false; + Aws::Vector m_biasPosition; bool m_biasPositionHasBeenSet = false; Aws::Vector m_filterBBox; bool m_filterBBoxHasBeenSet = false; - Aws::Vector m_filterCategories; - bool m_filterCategoriesHasBeenSet = false; - Aws::Vector m_filterCountries; bool m_filterCountriesHasBeenSet = false; - Aws::String m_indexName; - bool m_indexNameHasBeenSet = false; - - Aws::String m_key; - bool m_keyHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::Vector m_filterCategories; + bool m_filterCategoriesHasBeenSet = false; - Aws::String m_text; - bool m_textHasBeenSet = false; + Aws::String m_key; + bool m_keyHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextResult.h index 5603ed9980e..87a3381ad1a 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include #include @@ -35,6 +35,57 @@ namespace Model AWS_LOCATIONSERVICE_API SearchPlaceIndexForTextResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                              Contains a summary of the request. Echoes the input values for + * BiasPosition, FilterBBox, + * FilterCountries, Language, MaxResults, + * and Text. Also includes the DataSource of the place + * index and the bounding box, ResultBBox, which surrounds the search + * results.

                              + */ + inline const SearchPlaceIndexForTextSummary& GetSummary() const{ return m_summary; } + + /** + *

                              Contains a summary of the request. Echoes the input values for + * BiasPosition, FilterBBox, + * FilterCountries, Language, MaxResults, + * and Text. Also includes the DataSource of the place + * index and the bounding box, ResultBBox, which surrounds the search + * results.

                              + */ + inline void SetSummary(const SearchPlaceIndexForTextSummary& value) { m_summary = value; } + + /** + *

                              Contains a summary of the request. Echoes the input values for + * BiasPosition, FilterBBox, + * FilterCountries, Language, MaxResults, + * and Text. Also includes the DataSource of the place + * index and the bounding box, ResultBBox, which surrounds the search + * results.

                              + */ + inline void SetSummary(SearchPlaceIndexForTextSummary&& value) { m_summary = std::move(value); } + + /** + *

                              Contains a summary of the request. Echoes the input values for + * BiasPosition, FilterBBox, + * FilterCountries, Language, MaxResults, + * and Text. Also includes the DataSource of the place + * index and the bounding box, ResultBBox, which surrounds the search + * results.

                              + */ + inline SearchPlaceIndexForTextResult& WithSummary(const SearchPlaceIndexForTextSummary& value) { SetSummary(value); return *this;} + + /** + *

                              Contains a summary of the request. Echoes the input values for + * BiasPosition, FilterBBox, + * FilterCountries, Language, MaxResults, + * and Text. Also includes the DataSource of the place + * index and the bounding box, ResultBBox, which surrounds the search + * results.

                              + */ + inline SearchPlaceIndexForTextResult& WithSummary(SearchPlaceIndexForTextSummary&& value) { SetSummary(std::move(value)); return *this;} + + /** *

                              A list of Places matching the input text. Each result contains additional * information about the specific point of interest.

                              Not all response @@ -92,57 +143,6 @@ namespace Model inline SearchPlaceIndexForTextResult& AddResults(SearchForTextResult&& value) { m_results.push_back(std::move(value)); return *this; } - /** - *

                              Contains a summary of the request. Echoes the input values for - * BiasPosition, FilterBBox, - * FilterCountries, Language, MaxResults, - * and Text. Also includes the DataSource of the place - * index and the bounding box, ResultBBox, which surrounds the search - * results.

                              - */ - inline const SearchPlaceIndexForTextSummary& GetSummary() const{ return m_summary; } - - /** - *

                              Contains a summary of the request. Echoes the input values for - * BiasPosition, FilterBBox, - * FilterCountries, Language, MaxResults, - * and Text. Also includes the DataSource of the place - * index and the bounding box, ResultBBox, which surrounds the search - * results.

                              - */ - inline void SetSummary(const SearchPlaceIndexForTextSummary& value) { m_summary = value; } - - /** - *

                              Contains a summary of the request. Echoes the input values for - * BiasPosition, FilterBBox, - * FilterCountries, Language, MaxResults, - * and Text. Also includes the DataSource of the place - * index and the bounding box, ResultBBox, which surrounds the search - * results.

                              - */ - inline void SetSummary(SearchPlaceIndexForTextSummary&& value) { m_summary = std::move(value); } - - /** - *

                              Contains a summary of the request. Echoes the input values for - * BiasPosition, FilterBBox, - * FilterCountries, Language, MaxResults, - * and Text. Also includes the DataSource of the place - * index and the bounding box, ResultBBox, which surrounds the search - * results.

                              - */ - inline SearchPlaceIndexForTextResult& WithSummary(const SearchPlaceIndexForTextSummary& value) { SetSummary(value); return *this;} - - /** - *

                              Contains a summary of the request. Echoes the input values for - * BiasPosition, FilterBBox, - * FilterCountries, Language, MaxResults, - * and Text. Also includes the DataSource of the place - * index and the bounding box, ResultBBox, which surrounds the search - * results.

                              - */ - inline SearchPlaceIndexForTextResult& WithSummary(SearchPlaceIndexForTextSummary&& value) { SetSummary(std::move(value)); return *this;} - - inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -166,10 +166,10 @@ namespace Model private: - Aws::Vector m_results; - SearchPlaceIndexForTextSummary m_summary; + Aws::Vector m_results; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextSummary.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextSummary.h index 130c3a1caee..ccebd97c759 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextSummary.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SearchPlaceIndexForTextSummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,47 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                              The search text specified in the request.

                              + */ + inline const Aws::String& GetText() const{ return m_text; } + + /** + *

                              The search text specified in the request.

                              + */ + inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + + /** + *

                              The search text specified in the request.

                              + */ + inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + + /** + *

                              The search text specified in the request.

                              + */ + inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + + /** + *

                              The search text specified in the request.

                              + */ + inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + + /** + *

                              The search text specified in the request.

                              + */ + inline SearchPlaceIndexForTextSummary& WithText(const Aws::String& value) { SetText(value); return *this;} + + /** + *

                              The search text specified in the request.

                              + */ + inline SearchPlaceIndexForTextSummary& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + + /** + *

                              The search text specified in the request.

                              + */ + inline SearchPlaceIndexForTextSummary& WithText(const char* value) { SetText(value); return *this;} + + /** *

                              Contains the coordinates for the optional bias position specified in the * request.

                              This parameter contains a pair of numbers. The first number @@ -111,219 +152,244 @@ namespace Model /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline const Aws::String& GetDataSource() const{ return m_dataSource; } + inline const Aws::Vector& GetFilterBBox() const{ return m_filterBBox; } /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } + inline bool FilterBBoxHasBeenSet() const { return m_filterBBoxHasBeenSet; } /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } + inline void SetFilterBBox(const Aws::Vector& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = value; } /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } + inline void SetFilterBBox(Aws::Vector&& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = std::move(value); } /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } + inline SearchPlaceIndexForTextSummary& WithFilterBBox(const Aws::Vector& value) { SetFilterBBox(value); return *this;} /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline SearchPlaceIndexForTextSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} + inline SearchPlaceIndexForTextSummary& WithFilterBBox(Aws::Vector&& value) { SetFilterBBox(std::move(value)); return *this;} /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the coordinates for the optional bounding box specified in the + * request.

                              */ - inline SearchPlaceIndexForTextSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; } + /** - *

                              The geospatial data provider attached to the place index resource specified - * in the request. Values can be one of the following:

                              • Esri

                                - *
                              • Grab

                              • Here

                              For more - * information about data providers, see Amazon - * Location Service data providers.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} + inline const Aws::Vector& GetFilterCountries() const{ return m_filterCountries; } + /** + *

                              Contains the optional country filter specified in the request.

                              + */ + inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; } /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline const Aws::Vector& GetFilterBBox() const{ return m_filterBBox; } + inline void SetFilterCountries(const Aws::Vector& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = value; } /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline bool FilterBBoxHasBeenSet() const { return m_filterBBoxHasBeenSet; } + inline void SetFilterCountries(Aws::Vector&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = std::move(value); } /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline void SetFilterBBox(const Aws::Vector& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = value; } + inline SearchPlaceIndexForTextSummary& WithFilterCountries(const Aws::Vector& value) { SetFilterCountries(value); return *this;} /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline void SetFilterBBox(Aws::Vector&& value) { m_filterBBoxHasBeenSet = true; m_filterBBox = std::move(value); } + inline SearchPlaceIndexForTextSummary& WithFilterCountries(Aws::Vector&& value) { SetFilterCountries(std::move(value)); return *this;} /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterBBox(const Aws::Vector& value) { SetFilterBBox(value); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterBBox(Aws::Vector&& value) { SetFilterBBox(std::move(value)); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; } /** - *

                              Contains the coordinates for the optional bounding box specified in the - * request.

                              + *

                              Contains the optional country filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterBBox(double value) { m_filterBBoxHasBeenSet = true; m_filterBBox.push_back(value); return *this; } + inline SearchPlaceIndexForTextSummary& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } /** - *

                              The optional category filter specified in the request.

                              + *

                              Contains the optional result count limit specified in the request.

                              */ - inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } + inline int GetMaxResults() const{ return m_maxResults; } /** - *

                              The optional category filter specified in the request.

                              + *

                              Contains the optional result count limit specified in the request.

                              */ - inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *

                              The optional category filter specified in the request.

                              + *

                              Contains the optional result count limit specified in the request.

                              */ - inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *

                              The optional category filter specified in the request.

                              + *

                              Contains the optional result count limit specified in the request.

                              */ - inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } + inline SearchPlaceIndexForTextSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} + /** - *

                              The optional category filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} + inline const Aws::Vector& GetResultBBox() const{ return m_resultBBox; } /** - *

                              The optional category filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} + inline bool ResultBBoxHasBeenSet() const { return m_resultBBoxHasBeenSet; } /** - *

                              The optional category filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + inline void SetResultBBox(const Aws::Vector& value) { m_resultBBoxHasBeenSet = true; m_resultBBox = value; } /** - *

                              The optional category filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } + inline void SetResultBBox(Aws::Vector&& value) { m_resultBBoxHasBeenSet = true; m_resultBBox = std::move(value); } /** - *

                              The optional category filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } + inline SearchPlaceIndexForTextSummary& WithResultBBox(const Aws::Vector& value) { SetResultBBox(value); return *this;} + /** + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              + */ + inline SearchPlaceIndexForTextSummary& WithResultBBox(Aws::Vector&& value) { SetResultBBox(std::move(value)); return *this;} /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The bounding box that fully contains all search results.

                              If you + * specified the optional FilterBBox parameter in the request, + * ResultBBox is contained within FilterBBox.

                              */ - inline const Aws::Vector& GetFilterCountries() const{ return m_filterCountries; } + inline SearchPlaceIndexForTextSummary& AddResultBBox(double value) { m_resultBBoxHasBeenSet = true; m_resultBBox.push_back(value); return *this; } + /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline bool FilterCountriesHasBeenSet() const { return m_filterCountriesHasBeenSet; } + inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline void SetFilterCountries(const Aws::Vector& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = value; } + inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline void SetFilterCountries(Aws::Vector&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries = std::move(value); } + inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterCountries(const Aws::Vector& value) { SetFilterCountries(value); return *this;} + inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline SearchPlaceIndexForTextSummary& WithFilterCountries(Aws::Vector&& value) { SetFilterCountries(std::move(value)); return *this;} + inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCountries(const Aws::String& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } + inline SearchPlaceIndexForTextSummary& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCountries(Aws::String&& value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(std::move(value)); return *this; } + inline SearchPlaceIndexForTextSummary& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** - *

                              Contains the optional country filter specified in the request.

                              + *

                              The geospatial data provider attached to the place index resource specified + * in the request. Values can be one of the following:

                              • Esri

                                + *
                              • Grab

                              • Here

                              For more + * information about data providers, see Amazon + * Location Service data providers.

                              */ - inline SearchPlaceIndexForTextSummary& AddFilterCountries(const char* value) { m_filterCountriesHasBeenSet = true; m_filterCountries.push_back(value); return *this; } + inline SearchPlaceIndexForTextSummary& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** @@ -384,144 +450,78 @@ namespace Model /** - *

                              Contains the optional result count limit specified in the request.

                              - */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *

                              Contains the optional result count limit specified in the request.

                              - */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *

                              Contains the optional result count limit specified in the request.

                              - */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *

                              Contains the optional result count limit specified in the request.

                              - */ - inline SearchPlaceIndexForTextSummary& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline const Aws::Vector& GetResultBBox() const{ return m_resultBBox; } - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline bool ResultBBoxHasBeenSet() const { return m_resultBBoxHasBeenSet; } - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline void SetResultBBox(const Aws::Vector& value) { m_resultBBoxHasBeenSet = true; m_resultBBox = value; } - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline void SetResultBBox(Aws::Vector&& value) { m_resultBBoxHasBeenSet = true; m_resultBBox = std::move(value); } - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline SearchPlaceIndexForTextSummary& WithResultBBox(const Aws::Vector& value) { SetResultBBox(value); return *this;} - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              - */ - inline SearchPlaceIndexForTextSummary& WithResultBBox(Aws::Vector&& value) { SetResultBBox(std::move(value)); return *this;} - - /** - *

                              The bounding box that fully contains all search results.

                              If you - * specified the optional FilterBBox parameter in the request, - * ResultBBox is contained within FilterBBox.

                              + *

                              The optional category filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& AddResultBBox(double value) { m_resultBBoxHasBeenSet = true; m_resultBBox.push_back(value); return *this; } - + inline const Aws::Vector& GetFilterCategories() const{ return m_filterCategories; } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline const Aws::String& GetText() const{ return m_text; } + inline bool FilterCategoriesHasBeenSet() const { return m_filterCategoriesHasBeenSet; } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline bool TextHasBeenSet() const { return m_textHasBeenSet; } + inline void SetFilterCategories(const Aws::Vector& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = value; } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } + inline void SetFilterCategories(Aws::Vector&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories = std::move(value); } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } + inline SearchPlaceIndexForTextSummary& WithFilterCategories(const Aws::Vector& value) { SetFilterCategories(value); return *this;} /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } + inline SearchPlaceIndexForTextSummary& WithFilterCategories(Aws::Vector&& value) { SetFilterCategories(std::move(value)); return *this;} /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithText(const Aws::String& value) { SetText(value); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterCategories(const Aws::String& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterCategories(Aws::String&& value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(std::move(value)); return *this; } /** - *

                              The search text specified in the request.

                              + *

                              The optional category filter specified in the request.

                              */ - inline SearchPlaceIndexForTextSummary& WithText(const char* value) { SetText(value); return *this;} + inline SearchPlaceIndexForTextSummary& AddFilterCategories(const char* value) { m_filterCategoriesHasBeenSet = true; m_filterCategories.push_back(value); return *this; } private: + Aws::String m_text; + bool m_textHasBeenSet = false; + Aws::Vector m_biasPosition; bool m_biasPositionHasBeenSet = false; - Aws::String m_dataSource; - bool m_dataSourceHasBeenSet = false; - Aws::Vector m_filterBBox; bool m_filterBBoxHasBeenSet = false; - Aws::Vector m_filterCategories; - bool m_filterCategoriesHasBeenSet = false; - Aws::Vector m_filterCountries; bool m_filterCountriesHasBeenSet = false; - Aws::String m_language; - bool m_languageHasBeenSet = false; - int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::Vector m_resultBBox; bool m_resultBBoxHasBeenSet = false; - Aws::String m_text; - bool m_textHasBeenSet = false; + Aws::String m_dataSource; + bool m_dataSourceHasBeenSet = false; + + Aws::String m_language; + bool m_languageHasBeenSet = false; + + Aws::Vector m_filterCategories; + bool m_filterCategoriesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/SpeedUnit.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SpeedUnit.h new file mode 100644 index 00000000000..4bfbe232215 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/SpeedUnit.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + enum class SpeedUnit + { + NOT_SET, + KilometersPerHour, + MilesPerHour + }; + +namespace SpeedUnitMapper +{ +AWS_LOCATIONSERVICE_API SpeedUnit GetSpeedUnitForName(const Aws::String& name); + +AWS_LOCATIONSERVICE_API Aws::String GetNameForSpeedUnit(SpeedUnit value); +} // namespace SpeedUnitMapper +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Step.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Step.h index 09a3a2f9b4e..9f4a250f021 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/Step.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/Step.h @@ -39,61 +39,46 @@ namespace Model /** - *

                              The travel distance between the step's StartPosition and - * EndPosition.

                              - */ - inline double GetDistance() const{ return m_distance; } - - /** - *

                              The travel distance between the step's StartPosition and - * EndPosition.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } + inline const Aws::Vector& GetStartPosition() const{ return m_startPosition; } /** - *

                              The travel distance between the step's StartPosition and - * EndPosition.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } + inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; } /** - *

                              The travel distance between the step's StartPosition and - * EndPosition.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline Step& WithDistance(double value) { SetDistance(value); return *this;} - + inline void SetStartPosition(const Aws::Vector& value) { m_startPositionHasBeenSet = true; m_startPosition = value; } /** - *

                              The estimated travel time, in seconds, from the step's - * StartPosition to the EndPosition. . The travel mode - * and departure time that you specify in the request determines the calculated - * time.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline double GetDurationSeconds() const{ return m_durationSeconds; } + inline void SetStartPosition(Aws::Vector&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::move(value); } /** - *

                              The estimated travel time, in seconds, from the step's - * StartPosition to the EndPosition. . The travel mode - * and departure time that you specify in the request determines the calculated - * time.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; } + inline Step& WithStartPosition(const Aws::Vector& value) { SetStartPosition(value); return *this;} /** - *

                              The estimated travel time, in seconds, from the step's - * StartPosition to the EndPosition. . The travel mode - * and departure time that you specify in the request determines the calculated - * time.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline void SetDurationSeconds(double value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; } + inline Step& WithStartPosition(Aws::Vector&& value) { SetStartPosition(std::move(value)); return *this;} /** - *

                              The estimated travel time, in seconds, from the step's - * StartPosition to the EndPosition. . The travel mode - * and departure time that you specify in the request determines the calculated - * time.

                              + *

                              The starting position of a step. If the position is the first step in the + * leg, this position is the same as the start position of the leg.

                              */ - inline Step& WithDurationSeconds(double value) { SetDurationSeconds(value); return *this;} + inline Step& AddStartPosition(double value) { m_startPositionHasBeenSet = true; m_startPosition.push_back(value); return *this; } /** @@ -140,96 +125,111 @@ namespace Model /** - *

                              Represents the start position, or index, in a sequence of steps within the - * leg's line string geometry. For example, the index of the first step in a leg - * geometry is 0.

                              Included in the response for queries that - * set IncludeLegGeometry to True.

                              + *

                              The travel distance between the step's StartPosition and + * EndPosition.

                              */ - inline int GetGeometryOffset() const{ return m_geometryOffset; } + inline double GetDistance() const{ return m_distance; } /** - *

                              Represents the start position, or index, in a sequence of steps within the - * leg's line string geometry. For example, the index of the first step in a leg - * geometry is 0.

                              Included in the response for queries that - * set IncludeLegGeometry to True.

                              + *

                              The travel distance between the step's StartPosition and + * EndPosition.

                              */ - inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; } + inline bool DistanceHasBeenSet() const { return m_distanceHasBeenSet; } /** - *

                              Represents the start position, or index, in a sequence of steps within the - * leg's line string geometry. For example, the index of the first step in a leg - * geometry is 0.

                              Included in the response for queries that - * set IncludeLegGeometry to True.

                              + *

                              The travel distance between the step's StartPosition and + * EndPosition.

                              */ - inline void SetGeometryOffset(int value) { m_geometryOffsetHasBeenSet = true; m_geometryOffset = value; } + inline void SetDistance(double value) { m_distanceHasBeenSet = true; m_distance = value; } /** - *

                              Represents the start position, or index, in a sequence of steps within the - * leg's line string geometry. For example, the index of the first step in a leg - * geometry is 0.

                              Included in the response for queries that - * set IncludeLegGeometry to True.

                              + *

                              The travel distance between the step's StartPosition and + * EndPosition.

                              */ - inline Step& WithGeometryOffset(int value) { SetGeometryOffset(value); return *this;} + inline Step& WithDistance(double value) { SetDistance(value); return *this;} /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              The estimated travel time, in seconds, from the step's + * StartPosition to the EndPosition. . The travel mode + * and departure time that you specify in the request determines the calculated + * time.

                              */ - inline const Aws::Vector& GetStartPosition() const{ return m_startPosition; } + inline double GetDurationSeconds() const{ return m_durationSeconds; } /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              The estimated travel time, in seconds, from the step's + * StartPosition to the EndPosition. . The travel mode + * and departure time that you specify in the request determines the calculated + * time.

                              */ - inline bool StartPositionHasBeenSet() const { return m_startPositionHasBeenSet; } + inline bool DurationSecondsHasBeenSet() const { return m_durationSecondsHasBeenSet; } /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              The estimated travel time, in seconds, from the step's + * StartPosition to the EndPosition. . The travel mode + * and departure time that you specify in the request determines the calculated + * time.

                              */ - inline void SetStartPosition(const Aws::Vector& value) { m_startPositionHasBeenSet = true; m_startPosition = value; } + inline void SetDurationSeconds(double value) { m_durationSecondsHasBeenSet = true; m_durationSeconds = value; } /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              The estimated travel time, in seconds, from the step's + * StartPosition to the EndPosition. . The travel mode + * and departure time that you specify in the request determines the calculated + * time.

                              */ - inline void SetStartPosition(Aws::Vector&& value) { m_startPositionHasBeenSet = true; m_startPosition = std::move(value); } + inline Step& WithDurationSeconds(double value) { SetDurationSeconds(value); return *this;} + /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              Represents the start position, or index, in a sequence of steps within the + * leg's line string geometry. For example, the index of the first step in a leg + * geometry is 0.

                              Included in the response for queries that + * set IncludeLegGeometry to True.

                              */ - inline Step& WithStartPosition(const Aws::Vector& value) { SetStartPosition(value); return *this;} + inline int GetGeometryOffset() const{ return m_geometryOffset; } /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              Represents the start position, or index, in a sequence of steps within the + * leg's line string geometry. For example, the index of the first step in a leg + * geometry is 0.

                              Included in the response for queries that + * set IncludeLegGeometry to True.

                              */ - inline Step& WithStartPosition(Aws::Vector&& value) { SetStartPosition(std::move(value)); return *this;} + inline bool GeometryOffsetHasBeenSet() const { return m_geometryOffsetHasBeenSet; } /** - *

                              The starting position of a step. If the position is the first step in the - * leg, this position is the same as the start position of the leg.

                              + *

                              Represents the start position, or index, in a sequence of steps within the + * leg's line string geometry. For example, the index of the first step in a leg + * geometry is 0.

                              Included in the response for queries that + * set IncludeLegGeometry to True.

                              */ - inline Step& AddStartPosition(double value) { m_startPositionHasBeenSet = true; m_startPosition.push_back(value); return *this; } + inline void SetGeometryOffset(int value) { m_geometryOffsetHasBeenSet = true; m_geometryOffset = value; } + + /** + *

                              Represents the start position, or index, in a sequence of steps within the + * leg's line string geometry. For example, the index of the first step in a leg + * geometry is 0.

                              Included in the response for queries that + * set IncludeLegGeometry to True.

                              + */ + inline Step& WithGeometryOffset(int value) { SetGeometryOffset(value); return *this;} private: + Aws::Vector m_startPosition; + bool m_startPositionHasBeenSet = false; + + Aws::Vector m_endPosition; + bool m_endPositionHasBeenSet = false; + double m_distance; bool m_distanceHasBeenSet = false; double m_durationSeconds; bool m_durationSecondsHasBeenSet = false; - Aws::Vector m_endPosition; - bool m_endPositionHasBeenSet = false; - int m_geometryOffset; bool m_geometryOffsetHasBeenSet = false; - - Aws::Vector m_startPosition; - bool m_startPositionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/TruckDimensions.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/TruckDimensions.h index 4f5c55681bf..873e3a99639 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/TruckDimensions.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/TruckDimensions.h @@ -40,6 +40,35 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + /** + *

                              The length of the truck.

                              • For example, 15.5.

                                + *

                              For routes calculated with a HERE resource, this value + * must be between 0 and 300 meters.

                              + */ + inline double GetLength() const{ return m_length; } + + /** + *

                              The length of the truck.

                              • For example, 15.5.

                                + *

                              For routes calculated with a HERE resource, this value + * must be between 0 and 300 meters.

                              + */ + inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; } + + /** + *

                              The length of the truck.

                              • For example, 15.5.

                                + *

                              For routes calculated with a HERE resource, this value + * must be between 0 and 300 meters.

                              + */ + inline void SetLength(double value) { m_lengthHasBeenSet = true; m_length = value; } + + /** + *

                              The length of the truck.

                              • For example, 15.5.

                                + *

                              For routes calculated with a HERE resource, this value + * must be between 0 and 300 meters.

                              + */ + inline TruckDimensions& WithLength(double value) { SetLength(value); return *this;} + + /** *

                              The height of the truck.

                              • For example, 4.5.

                                *

                              For routes calculated with a HERE resource, this value @@ -70,32 +99,32 @@ namespace Model /** - *

                              The length of the truck.

                              • For example, 15.5.

                                + *

                                The width of the truck.

                                • For example, 4.5.

                                  *

                                For routes calculated with a HERE resource, this value - * must be between 0 and 300 meters.

                                + * must be between 0 and 50 meters.

                                */ - inline double GetLength() const{ return m_length; } + inline double GetWidth() const{ return m_width; } /** - *

                                The length of the truck.

                                • For example, 15.5.

                                  + *

                                  The width of the truck.

                                  • For example, 4.5.

                                    *

                                  For routes calculated with a HERE resource, this value - * must be between 0 and 300 meters.

                                  + * must be between 0 and 50 meters.

                                  */ - inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; } + inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } /** - *

                                  The length of the truck.

                                  • For example, 15.5.

                                    + *

                                    The width of the truck.

                                    • For example, 4.5.

                                      *

                                    For routes calculated with a HERE resource, this value - * must be between 0 and 300 meters.

                                    + * must be between 0 and 50 meters.

                                    */ - inline void SetLength(double value) { m_lengthHasBeenSet = true; m_length = value; } + inline void SetWidth(double value) { m_widthHasBeenSet = true; m_width = value; } /** - *

                                    The length of the truck.

                                    • For example, 15.5.

                                      + *

                                      The width of the truck.

                                      • For example, 4.5.

                                        *

                                      For routes calculated with a HERE resource, this value - * must be between 0 and 300 meters.

                                      + * must be between 0 and 50 meters.

                                      */ - inline TruckDimensions& WithLength(double value) { SetLength(value); return *this;} + inline TruckDimensions& WithWidth(double value) { SetWidth(value); return *this;} /** @@ -134,48 +163,19 @@ namespace Model */ inline TruckDimensions& WithUnit(DimensionUnit&& value) { SetUnit(std::move(value)); return *this;} - - /** - *

                                      The width of the truck.

                                      • For example, 4.5.

                                        - *

                                      For routes calculated with a HERE resource, this value - * must be between 0 and 50 meters.

                                      - */ - inline double GetWidth() const{ return m_width; } - - /** - *

                                      The width of the truck.

                                      • For example, 4.5.

                                        - *

                                      For routes calculated with a HERE resource, this value - * must be between 0 and 50 meters.

                                      - */ - inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; } - - /** - *

                                      The width of the truck.

                                      • For example, 4.5.

                                        - *

                                      For routes calculated with a HERE resource, this value - * must be between 0 and 50 meters.

                                      - */ - inline void SetWidth(double value) { m_widthHasBeenSet = true; m_width = value; } - - /** - *

                                      The width of the truck.

                                      • For example, 4.5.

                                        - *

                                      For routes calculated with a HERE resource, this value - * must be between 0 and 50 meters.

                                      - */ - inline TruckDimensions& WithWidth(double value) { SetWidth(value); return *this;} - private: - double m_height; - bool m_heightHasBeenSet = false; - double m_length; bool m_lengthHasBeenSet = false; - DimensionUnit m_unit; - bool m_unitHasBeenSet = false; + double m_height; + bool m_heightHasBeenSet = false; double m_width; bool m_widthHasBeenSet = false; + + DimensionUnit m_unit; + bool m_unitHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateGeofenceCollectionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateGeofenceCollectionResult.h index 36ebfc31fa7..8e5e58d9459 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateGeofenceCollectionResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateGeofenceCollectionResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API UpdateGeofenceCollectionResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline const Aws::String& GetCollectionName() const{ return m_collectionName; } + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline UpdateGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline UpdateGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} + + /** + *

                                      The name of the updated geofence collection.

                                      + */ + inline UpdateGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} + + /** *

                                      The Amazon Resource Name (ARN) of the updated geofence collection. Used to * specify a resource across Amazon Web Services.

                                      • Format example: @@ -90,42 +126,6 @@ namespace Model inline UpdateGeofenceCollectionResult& WithCollectionArn(const char* value) { SetCollectionArn(value); return *this;} - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline const Aws::String& GetCollectionName() const{ return m_collectionName; } - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline void SetCollectionName(const Aws::String& value) { m_collectionName = value; } - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline void SetCollectionName(Aws::String&& value) { m_collectionName = std::move(value); } - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline void SetCollectionName(const char* value) { m_collectionName.assign(value); } - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline UpdateGeofenceCollectionResult& WithCollectionName(const Aws::String& value) { SetCollectionName(value); return *this;} - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline UpdateGeofenceCollectionResult& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;} - - /** - *

                                        The name of the updated geofence collection.

                                        - */ - inline UpdateGeofenceCollectionResult& WithCollectionName(const char* value) { SetCollectionName(value); return *this;} - - /** *

                                        The time when the geofence collection was last updated in ISO 8601 @@ -185,10 +185,10 @@ namespace Model private: - Aws::String m_collectionArn; - Aws::String m_collectionName; + Aws::String m_collectionArn; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateKeyRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateKeyRequest.h index 8d682703590..2304ce5bee6 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateKeyRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateKeyRequest.h @@ -34,6 +34,47 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline const Aws::String& GetKeyName() const{ return m_keyName; } + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline UpdateKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline UpdateKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} + + /** + *

                                        The name of the API key resource to update.

                                        + */ + inline UpdateKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} + + /** *

                                        Updates the description for the API key resource.

                                        */ @@ -118,6 +159,31 @@ namespace Model inline UpdateKeyRequest& WithExpireTime(Aws::Utils::DateTime&& value) { SetExpireTime(std::move(value)); return *this;} + /** + *

                                        Whether the API key should expire. Set to true to set the API + * key to have no expiration time.

                                        + */ + inline bool GetNoExpiry() const{ return m_noExpiry; } + + /** + *

                                        Whether the API key should expire. Set to true to set the API + * key to have no expiration time.

                                        + */ + inline bool NoExpiryHasBeenSet() const { return m_noExpiryHasBeenSet; } + + /** + *

                                        Whether the API key should expire. Set to true to set the API + * key to have no expiration time.

                                        + */ + inline void SetNoExpiry(bool value) { m_noExpiryHasBeenSet = true; m_noExpiry = value; } + + /** + *

                                        Whether the API key should expire. Set to true to set the API + * key to have no expiration time.

                                        + */ + inline UpdateKeyRequest& WithNoExpiry(bool value) { SetNoExpiry(value); return *this;} + + /** *

                                        The boolean flag to be included for updating ExpireTime or * Restrictions details.

                                        Must be set to true to @@ -155,72 +221,6 @@ namespace Model inline UpdateKeyRequest& WithForceUpdate(bool value) { SetForceUpdate(value); return *this;} - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline const Aws::String& GetKeyName() const{ return m_keyName; } - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline UpdateKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline UpdateKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} - - /** - *

                                        The name of the API key resource to update.

                                        - */ - inline UpdateKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} - - - /** - *

                                        Whether the API key should expire. Set to true to set the API - * key to have no expiration time.

                                        - */ - inline bool GetNoExpiry() const{ return m_noExpiry; } - - /** - *

                                        Whether the API key should expire. Set to true to set the API - * key to have no expiration time.

                                        - */ - inline bool NoExpiryHasBeenSet() const { return m_noExpiryHasBeenSet; } - - /** - *

                                        Whether the API key should expire. Set to true to set the API - * key to have no expiration time.

                                        - */ - inline void SetNoExpiry(bool value) { m_noExpiryHasBeenSet = true; m_noExpiry = value; } - - /** - *

                                        Whether the API key should expire. Set to true to set the API - * key to have no expiration time.

                                        - */ - inline UpdateKeyRequest& WithNoExpiry(bool value) { SetNoExpiry(value); return *this;} - - /** *

                                        Updates the API key restrictions for the API key resource.

                                        */ @@ -253,21 +253,21 @@ namespace Model private: + Aws::String m_keyName; + bool m_keyNameHasBeenSet = false; + Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_expireTime; bool m_expireTimeHasBeenSet = false; - bool m_forceUpdate; - bool m_forceUpdateHasBeenSet = false; - - Aws::String m_keyName; - bool m_keyNameHasBeenSet = false; - bool m_noExpiry; bool m_noExpiryHasBeenSet = false; + bool m_forceUpdate; + bool m_forceUpdateHasBeenSet = false; + ApiKeyRestrictions m_restrictions; bool m_restrictionsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapRequest.h index 9f8cd8bbe27..5328611ae63 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -34,40 +34,44 @@ namespace Model /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline const MapConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; } + inline const Aws::String& GetMapName() const{ return m_mapName; } /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; } + inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline void SetConfigurationUpdate(const MapConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; } + inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline void SetConfigurationUpdate(MapConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); } + inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline UpdateMapRequest& WithConfigurationUpdate(const MapConfigurationUpdate& value) { SetConfigurationUpdate(value); return *this;} + inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } /** - *

                                        Updates the parts of the map configuration that can be updated, including the - * political view.

                                        + *

                                        The name of the map resource to update.

                                        */ - inline UpdateMapRequest& WithConfigurationUpdate(MapConfigurationUpdate&& value) { SetConfigurationUpdate(std::move(value)); return *this;} + inline UpdateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

                                        The name of the map resource to update.

                                        + */ + inline UpdateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

                                        The name of the map resource to update.

                                        + */ + inline UpdateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;} /** @@ -112,55 +116,51 @@ namespace Model /** - *

                                        The name of the map resource to update.

                                        - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

                                        The name of the map resource to update.

                                        - */ - inline bool MapNameHasBeenSet() const { return m_mapNameHasBeenSet; } - - /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline void SetMapName(const Aws::String& value) { m_mapNameHasBeenSet = true; m_mapName = value; } + inline const MapConfigurationUpdate& GetConfigurationUpdate() const{ return m_configurationUpdate; } /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline void SetMapName(Aws::String&& value) { m_mapNameHasBeenSet = true; m_mapName = std::move(value); } + inline bool ConfigurationUpdateHasBeenSet() const { return m_configurationUpdateHasBeenSet; } /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline void SetMapName(const char* value) { m_mapNameHasBeenSet = true; m_mapName.assign(value); } + inline void SetConfigurationUpdate(const MapConfigurationUpdate& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = value; } /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline UpdateMapRequest& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + inline void SetConfigurationUpdate(MapConfigurationUpdate&& value) { m_configurationUpdateHasBeenSet = true; m_configurationUpdate = std::move(value); } /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline UpdateMapRequest& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + inline UpdateMapRequest& WithConfigurationUpdate(const MapConfigurationUpdate& value) { SetConfigurationUpdate(value); return *this;} /** - *

                                        The name of the map resource to update.

                                        + *

                                        Updates the parts of the map configuration that can be updated, including the + * political view.

                                        */ - inline UpdateMapRequest& WithMapName(const char* value) { SetMapName(value); return *this;} + inline UpdateMapRequest& WithConfigurationUpdate(MapConfigurationUpdate&& value) { SetConfigurationUpdate(std::move(value)); return *this;} private: - MapConfigurationUpdate m_configurationUpdate; - bool m_configurationUpdateHasBeenSet = false; + Aws::String m_mapName; + bool m_mapNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_mapName; - bool m_mapNameHasBeenSet = false; + MapConfigurationUpdate m_configurationUpdate; + bool m_configurationUpdateHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapResult.h index 6efd33e60ab..07a3ff6e909 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateMapResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API UpdateMapResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                                        The name of the updated map resource.

                                        + */ + inline const Aws::String& GetMapName() const{ return m_mapName; } + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline void SetMapName(const Aws::String& value) { m_mapName = value; } + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline void SetMapName(const char* value) { m_mapName.assign(value); } + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline UpdateMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline UpdateMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} + + /** + *

                                        The name of the updated map resource.

                                        + */ + inline UpdateMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} + + /** *

                                        The Amazon Resource Name (ARN) of the updated map resource. Used to specify a * resource across AWS.

                                        • Format example: @@ -83,42 +119,6 @@ namespace Model inline UpdateMapResult& WithMapArn(const char* value) { SetMapArn(value); return *this;} - /** - *

                                          The name of the updated map resource.

                                          - */ - inline const Aws::String& GetMapName() const{ return m_mapName; } - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline void SetMapName(const Aws::String& value) { m_mapName = value; } - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline void SetMapName(Aws::String&& value) { m_mapName = std::move(value); } - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline void SetMapName(const char* value) { m_mapName.assign(value); } - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline UpdateMapResult& WithMapName(const Aws::String& value) { SetMapName(value); return *this;} - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline UpdateMapResult& WithMapName(Aws::String&& value) { SetMapName(std::move(value)); return *this;} - - /** - *

                                          The name of the updated map resource.

                                          - */ - inline UpdateMapResult& WithMapName(const char* value) { SetMapName(value); return *this;} - - /** *

                                          The timestamp for when the map resource was last updated in ISO 8601 @@ -178,10 +178,10 @@ namespace Model private: - Aws::String m_mapArn; - Aws::String m_mapName; + Aws::String m_mapArn; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexRequest.h index a841c9aa723..df8486de7f5 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -34,34 +34,44 @@ namespace Model /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } + inline const Aws::String& GetIndexName() const{ return m_indexName; } /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } + inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } + inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } + inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} + inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } /** - *

                                          Updates the data storage option for the place index resource.

                                          + *

                                          The name of the place index resource to update.

                                          */ - inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} + inline UpdatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                                          The name of the place index resource to update.

                                          + */ + inline UpdatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                                          The name of the place index resource to update.

                                          + */ + inline UpdatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} /** @@ -106,55 +116,45 @@ namespace Model /** - *

                                          The name of the place index resource to update.

                                          - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                                          The name of the place index resource to update.

                                          - */ - inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; } - - /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; } + inline const DataSourceConfiguration& GetDataSourceConfiguration() const{ return m_dataSourceConfiguration; } /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); } + inline bool DataSourceConfigurationHasBeenSet() const { return m_dataSourceConfigurationHasBeenSet; } /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); } + inline void SetDataSourceConfiguration(const DataSourceConfiguration& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = value; } /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline UpdatePlaceIndexRequest& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + inline void SetDataSourceConfiguration(DataSourceConfiguration&& value) { m_dataSourceConfigurationHasBeenSet = true; m_dataSourceConfiguration = std::move(value); } /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline UpdatePlaceIndexRequest& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(const DataSourceConfiguration& value) { SetDataSourceConfiguration(value); return *this;} /** - *

                                          The name of the place index resource to update.

                                          + *

                                          Updates the data storage option for the place index resource.

                                          */ - inline UpdatePlaceIndexRequest& WithIndexName(const char* value) { SetIndexName(value); return *this;} + inline UpdatePlaceIndexRequest& WithDataSourceConfiguration(DataSourceConfiguration&& value) { SetDataSourceConfiguration(std::move(value)); return *this;} private: - DataSourceConfiguration m_dataSourceConfiguration; - bool m_dataSourceConfigurationHasBeenSet = false; + Aws::String m_indexName; + bool m_indexNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; - Aws::String m_indexName; - bool m_indexNameHasBeenSet = false; + DataSourceConfiguration m_dataSourceConfiguration; + bool m_dataSourceConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexResult.h index 5ec2d35c583..ec60f153a3f 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdatePlaceIndexResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API UpdatePlaceIndexResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline const Aws::String& GetIndexName() const{ return m_indexName; } + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline void SetIndexName(const Aws::String& value) { m_indexName = value; } + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline void SetIndexName(const char* value) { m_indexName.assign(value); } + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline UpdatePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline UpdatePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} + + /** + *

                                          The name of the updated place index resource.

                                          + */ + inline UpdatePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} + + /** *

                                          The Amazon Resource Name (ARN) of the upated place index resource. Used to * specify a resource across Amazon Web Services.

                                          • Format example: @@ -90,42 +126,6 @@ namespace Model inline UpdatePlaceIndexResult& WithIndexArn(const char* value) { SetIndexArn(value); return *this;} - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline const Aws::String& GetIndexName() const{ return m_indexName; } - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline void SetIndexName(const Aws::String& value) { m_indexName = value; } - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline void SetIndexName(Aws::String&& value) { m_indexName = std::move(value); } - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline void SetIndexName(const char* value) { m_indexName.assign(value); } - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline UpdatePlaceIndexResult& WithIndexName(const Aws::String& value) { SetIndexName(value); return *this;} - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline UpdatePlaceIndexResult& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;} - - /** - *

                                            The name of the updated place index resource.

                                            - */ - inline UpdatePlaceIndexResult& WithIndexName(const char* value) { SetIndexName(value); return *this;} - - /** *

                                            The timestamp for when the place index resource was last updated in ISO 8601 @@ -185,10 +185,10 @@ namespace Model private: - Aws::String m_indexArn; - Aws::String m_indexName; + Aws::String m_indexArn; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateRouteCalculatorResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateRouteCalculatorResult.h index bcd605141eb..c21d7561983 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateRouteCalculatorResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateRouteCalculatorResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API UpdateRouteCalculatorResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline UpdateRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline UpdateRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} + + /** + *

                                            The name of the updated route calculator resource.

                                            + */ + inline UpdateRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} + + /** *

                                            The Amazon Resource Name (ARN) of the updated route calculator resource. Used * to specify a resource across AWS.

                                            • Format example: @@ -90,42 +126,6 @@ namespace Model inline UpdateRouteCalculatorResult& WithCalculatorArn(const char* value) { SetCalculatorArn(value); return *this;} - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; } - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline void SetCalculatorName(const Aws::String& value) { m_calculatorName = value; } - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline void SetCalculatorName(Aws::String&& value) { m_calculatorName = std::move(value); } - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline void SetCalculatorName(const char* value) { m_calculatorName.assign(value); } - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline UpdateRouteCalculatorResult& WithCalculatorName(const Aws::String& value) { SetCalculatorName(value); return *this;} - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline UpdateRouteCalculatorResult& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;} - - /** - *

                                              The name of the updated route calculator resource.

                                              - */ - inline UpdateRouteCalculatorResult& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;} - - /** *

                                              The timestamp for when the route calculator was last updated in ISO 8601 @@ -185,10 +185,10 @@ namespace Model private: - Aws::String m_calculatorArn; - Aws::String m_calculatorName; + Aws::String m_calculatorArn; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerRequest.h index 3945e447430..efcf4953ef2 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerRequest.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerRequest.h @@ -34,110 +34,85 @@ namespace Model /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline const Aws::String& GetDescription() const{ return m_description; } + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline UpdateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline UpdateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} /** - *

                                              Updates the description for the tracker resource.

                                              + *

                                              The name of the tracker resource to update.

                                              */ - inline UpdateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + inline UpdateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} /** - *

                                              Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                              You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } + inline const Aws::String& GetDescription() const{ return m_description; } /** - *

                                              Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                              You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** - *

                                              Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                              You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** - *

                                              Whether to enable position UPDATE events from this tracker to be - * sent to EventBridge.

                                              You do not need enable this feature to get - * ENTER and EXIT events for geofences with this tracker. - * Those events are always sent to EventBridge.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline UpdateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} - + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** - *

                                              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                              This parameter is only used if - * you are using a KMS customer managed key.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** - *

                                              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                              This parameter is only used if - * you are using a KMS customer managed key.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; } + inline UpdateTrackerRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** - *

                                              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                              This parameter is only used if - * you are using a KMS customer managed key.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; } + inline UpdateTrackerRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** - *

                                              Enables GeospatialQueries for a tracker that uses a Amazon - * Web Services KMS customer managed key.

                                              This parameter is only used if - * you are using a KMS customer managed key.

                                              + *

                                              Updates the description for the tracker resource.

                                              */ - inline UpdateTrackerRequest& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} + inline UpdateTrackerRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** @@ -280,61 +255,86 @@ namespace Model /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

                                              You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

                                              */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + inline bool GetEventBridgeEnabled() const{ return m_eventBridgeEnabled; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

                                              You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

                                              */ - inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + inline bool EventBridgeEnabledHasBeenSet() const { return m_eventBridgeEnabledHasBeenSet; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

                                              You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

                                              */ - inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + inline void SetEventBridgeEnabled(bool value) { m_eventBridgeEnabledHasBeenSet = true; m_eventBridgeEnabled = value; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Whether to enable position UPDATE events from this tracker to be + * sent to EventBridge.

                                              You do not need enable this feature to get + * ENTER and EXIT events for geofences with this tracker. + * Those events are always sent to EventBridge.

                                              */ - inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + inline UpdateTrackerRequest& WithEventBridgeEnabled(bool value) { SetEventBridgeEnabled(value); return *this;} + /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

                                              This parameter is only used if + * you are using a KMS customer managed key.

                                              */ - inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + inline bool GetKmsKeyEnableGeospatialQueries() const{ return m_kmsKeyEnableGeospatialQueries; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

                                              This parameter is only used if + * you are using a KMS customer managed key.

                                              */ - inline UpdateTrackerRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + inline bool KmsKeyEnableGeospatialQueriesHasBeenSet() const { return m_kmsKeyEnableGeospatialQueriesHasBeenSet; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

                                              This parameter is only used if + * you are using a KMS customer managed key.

                                              */ - inline UpdateTrackerRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + inline void SetKmsKeyEnableGeospatialQueries(bool value) { m_kmsKeyEnableGeospatialQueriesHasBeenSet = true; m_kmsKeyEnableGeospatialQueries = value; } /** - *

                                              The name of the tracker resource to update.

                                              + *

                                              Enables GeospatialQueries for a tracker that uses a Amazon + * Web Services KMS customer managed key.

                                              This parameter is only used if + * you are using a KMS customer managed key.

                                              */ - inline UpdateTrackerRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + inline UpdateTrackerRequest& WithKmsKeyEnableGeospatialQueries(bool value) { SetKmsKeyEnableGeospatialQueries(value); return *this;} private: + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; + Aws::String m_description; bool m_descriptionHasBeenSet = false; + PositionFiltering m_positionFiltering; + bool m_positionFilteringHasBeenSet = false; + bool m_eventBridgeEnabled; bool m_eventBridgeEnabledHasBeenSet = false; bool m_kmsKeyEnableGeospatialQueries; bool m_kmsKeyEnableGeospatialQueriesHasBeenSet = false; - - PositionFiltering m_positionFiltering; - bool m_positionFilteringHasBeenSet = false; - - Aws::String m_trackerName; - bool m_trackerNameHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerResult.h index fddce05b1ab..c60f71b9600 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerResult.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/UpdateTrackerResult.h @@ -33,6 +33,42 @@ namespace Model AWS_LOCATIONSERVICE_API UpdateTrackerResult& operator=(const Aws::AmazonWebServiceResult& result); + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline UpdateTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline UpdateTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

                                              The name of the updated tracker resource.

                                              + */ + inline UpdateTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + /** *

                                              The Amazon Resource Name (ARN) of the updated tracker resource. Used to * specify a resource across AWS.

                                              • Format example: @@ -90,42 +126,6 @@ namespace Model inline UpdateTrackerResult& WithTrackerArn(const char* value) { SetTrackerArn(value); return *this;} - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline const Aws::String& GetTrackerName() const{ return m_trackerName; } - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline void SetTrackerName(const Aws::String& value) { m_trackerName = value; } - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline void SetTrackerName(Aws::String&& value) { m_trackerName = std::move(value); } - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline void SetTrackerName(const char* value) { m_trackerName.assign(value); } - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline UpdateTrackerResult& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline UpdateTrackerResult& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} - - /** - *

                                                The name of the updated tracker resource.

                                                - */ - inline UpdateTrackerResult& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} - - /** *

                                                The timestamp for when the tracker resource was last updated in ISO 8601 @@ -185,10 +185,10 @@ namespace Model private: - Aws::String m_trackerArn; - Aws::String m_trackerName; + Aws::String m_trackerArn; + Aws::Utils::DateTime m_updateTime; Aws::String m_requestId; diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationException.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationException.h index aa6c9da4a6c..143d7b1dbf4 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationException.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationException.h @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include #include @@ -41,47 +41,6 @@ namespace Model AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } - - /** - *

                                                The field where the invalid entry was detected.

                                                - */ - inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } - - inline const Aws::String& GetMessage() const{ return m_message; } @@ -137,16 +96,57 @@ namespace Model */ inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} - private: - Aws::Vector m_fieldList; - bool m_fieldListHasBeenSet = false; + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } + + /** + *

                                                The field where the invalid entry was detected.

                                                + */ + inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } + + private: Aws::String m_message; bool m_messageHasBeenSet = false; ValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; + + Aws::Vector m_fieldList; + bool m_fieldListHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationExceptionField.h index 155a3688ad0..855f7984d7a 100644 --- a/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationExceptionField.h +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/ValidationExceptionField.h @@ -39,93 +39,93 @@ namespace Model /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline const Aws::String& GetMessage() const{ return m_message; } + inline const Aws::String& GetName() const{ return m_name; } /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** - *

                                                A message with the reason for the validation exception error.

                                                + *

                                                The field name where the invalid entry was detected.

                                                */ - inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline const Aws::String& GetName() const{ return m_name; } + inline const Aws::String& GetMessage() const{ return m_message; } /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline ValidationExceptionField& WithName(const Aws::String& value) { SetName(value); return *this;} + inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** - *

                                                The field name where the invalid entry was detected.

                                                + *

                                                A message with the reason for the validation exception error.

                                                */ - inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} + inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} private: - Aws::String m_message; - bool m_messageHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionRequest.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionRequest.h new file mode 100644 index 00000000000..43b31ab0607 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionRequest.h @@ -0,0 +1,173 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + + /** + */ + class VerifyDevicePositionRequest : public LocationServiceRequest + { + public: + AWS_LOCATIONSERVICE_API VerifyDevicePositionRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "VerifyDevicePosition"; } + + AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override; + + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline const Aws::String& GetTrackerName() const{ return m_trackerName; } + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline bool TrackerNameHasBeenSet() const { return m_trackerNameHasBeenSet; } + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline void SetTrackerName(const Aws::String& value) { m_trackerNameHasBeenSet = true; m_trackerName = value; } + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline void SetTrackerName(Aws::String&& value) { m_trackerNameHasBeenSet = true; m_trackerName = std::move(value); } + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline void SetTrackerName(const char* value) { m_trackerNameHasBeenSet = true; m_trackerName.assign(value); } + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline VerifyDevicePositionRequest& WithTrackerName(const Aws::String& value) { SetTrackerName(value); return *this;} + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline VerifyDevicePositionRequest& WithTrackerName(Aws::String&& value) { SetTrackerName(std::move(value)); return *this;} + + /** + *

                                                The name of the tracker resource to be associated with verification + * request.

                                                + */ + inline VerifyDevicePositionRequest& WithTrackerName(const char* value) { SetTrackerName(value); return *this;} + + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline const DeviceState& GetDeviceState() const{ return m_deviceState; } + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline bool DeviceStateHasBeenSet() const { return m_deviceStateHasBeenSet; } + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline void SetDeviceState(const DeviceState& value) { m_deviceStateHasBeenSet = true; m_deviceState = value; } + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline void SetDeviceState(DeviceState&& value) { m_deviceStateHasBeenSet = true; m_deviceState = std::move(value); } + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline VerifyDevicePositionRequest& WithDeviceState(const DeviceState& value) { SetDeviceState(value); return *this;} + + /** + *

                                                The device's state, including position, IP address, cell signals and Wi-Fi + * access points.

                                                + */ + inline VerifyDevicePositionRequest& WithDeviceState(DeviceState&& value) { SetDeviceState(std::move(value)); return *this;} + + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline bool DistanceUnitHasBeenSet() const { return m_distanceUnitHasBeenSet; } + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = value; } + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnitHasBeenSet = true; m_distanceUnit = std::move(value); } + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline VerifyDevicePositionRequest& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

                                                The distance unit for the verification request.

                                                Default Value: + * Kilometers

                                                + */ + inline VerifyDevicePositionRequest& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + + private: + + Aws::String m_trackerName; + bool m_trackerNameHasBeenSet = false; + + DeviceState m_deviceState; + bool m_deviceStateHasBeenSet = false; + + DistanceUnit m_distanceUnit; + bool m_distanceUnitHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionResult.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionResult.h new file mode 100644 index 00000000000..b1d03580ece --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/VerifyDevicePositionResult.h @@ -0,0 +1,241 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + class VerifyDevicePositionResult + { + public: + AWS_LOCATIONSERVICE_API VerifyDevicePositionResult(); + AWS_LOCATIONSERVICE_API VerifyDevicePositionResult(const Aws::AmazonWebServiceResult& result); + AWS_LOCATIONSERVICE_API VerifyDevicePositionResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

                                                The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

                                                + */ + inline const InferredState& GetInferredState() const{ return m_inferredState; } + + /** + *

                                                The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

                                                + */ + inline void SetInferredState(const InferredState& value) { m_inferredState = value; } + + /** + *

                                                The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

                                                + */ + inline void SetInferredState(InferredState&& value) { m_inferredState = std::move(value); } + + /** + *

                                                The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

                                                + */ + inline VerifyDevicePositionResult& WithInferredState(const InferredState& value) { SetInferredState(value); return *this;} + + /** + *

                                                The inferred state of the device, given the provided position, IP address, + * cellular signals, and Wi-Fi- access points.

                                                + */ + inline VerifyDevicePositionResult& WithInferredState(InferredState&& value) { SetInferredState(std::move(value)); return *this;} + + + /** + *

                                                The device identifier.

                                                + */ + inline const Aws::String& GetDeviceId() const{ return m_deviceId; } + + /** + *

                                                The device identifier.

                                                + */ + inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; } + + /** + *

                                                The device identifier.

                                                + */ + inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); } + + /** + *

                                                The device identifier.

                                                + */ + inline void SetDeviceId(const char* value) { m_deviceId.assign(value); } + + /** + *

                                                The device identifier.

                                                + */ + inline VerifyDevicePositionResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;} + + /** + *

                                                The device identifier.

                                                + */ + inline VerifyDevicePositionResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;} + + /** + *

                                                The device identifier.

                                                + */ + inline VerifyDevicePositionResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;} + + + /** + *

                                                The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline const Aws::Utils::DateTime& GetSampleTime() const{ return m_sampleTime; } + + /** + *

                                                The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline void SetSampleTime(const Aws::Utils::DateTime& value) { m_sampleTime = value; } + + /** + *

                                                The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline void SetSampleTime(Aws::Utils::DateTime&& value) { m_sampleTime = std::move(value); } + + /** + *

                                                The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline VerifyDevicePositionResult& WithSampleTime(const Aws::Utils::DateTime& value) { SetSampleTime(value); return *this;} + + /** + *

                                                The timestamp at which the device's position was determined. Uses ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline VerifyDevicePositionResult& WithSampleTime(Aws::Utils::DateTime&& value) { SetSampleTime(std::move(value)); return *this;} + + + /** + *

                                                The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline const Aws::Utils::DateTime& GetReceivedTime() const{ return m_receivedTime; } + + /** + *

                                                The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline void SetReceivedTime(const Aws::Utils::DateTime& value) { m_receivedTime = value; } + + /** + *

                                                The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline void SetReceivedTime(Aws::Utils::DateTime&& value) { m_receivedTime = std::move(value); } + + /** + *

                                                The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline VerifyDevicePositionResult& WithReceivedTime(const Aws::Utils::DateTime& value) { SetReceivedTime(value); return *this;} + + /** + *

                                                The timestamp for when the tracker resource received the device position in + * ISO 8601 + * format: YYYY-MM-DDThh:mm:ss.sssZ.

                                                + */ + inline VerifyDevicePositionResult& WithReceivedTime(Aws::Utils::DateTime&& value) { SetReceivedTime(std::move(value)); return *this;} + + + /** + *

                                                The distance unit for the verification response.

                                                + */ + inline const DistanceUnit& GetDistanceUnit() const{ return m_distanceUnit; } + + /** + *

                                                The distance unit for the verification response.

                                                + */ + inline void SetDistanceUnit(const DistanceUnit& value) { m_distanceUnit = value; } + + /** + *

                                                The distance unit for the verification response.

                                                + */ + inline void SetDistanceUnit(DistanceUnit&& value) { m_distanceUnit = std::move(value); } + + /** + *

                                                The distance unit for the verification response.

                                                + */ + inline VerifyDevicePositionResult& WithDistanceUnit(const DistanceUnit& value) { SetDistanceUnit(value); return *this;} + + /** + *

                                                The distance unit for the verification response.

                                                + */ + inline VerifyDevicePositionResult& WithDistanceUnit(DistanceUnit&& value) { SetDistanceUnit(std::move(value)); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline VerifyDevicePositionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline VerifyDevicePositionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline VerifyDevicePositionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + InferredState m_inferredState; + + Aws::String m_deviceId; + + Aws::Utils::DateTime m_sampleTime; + + Aws::Utils::DateTime m_receivedTime; + + DistanceUnit m_distanceUnit; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/include/aws/location/model/WiFiAccessPoint.h b/generated/src/aws-cpp-sdk-location/include/aws/location/model/WiFiAccessPoint.h new file mode 100644 index 00000000000..77c25544264 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/include/aws/location/model/WiFiAccessPoint.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace LocationService +{ +namespace Model +{ + + /** + *

                                                Wi-Fi access point.

                                                See Also:

                                                AWS + * API Reference

                                                + */ + class WiFiAccessPoint + { + public: + AWS_LOCATIONSERVICE_API WiFiAccessPoint(); + AWS_LOCATIONSERVICE_API WiFiAccessPoint(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API WiFiAccessPoint& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline const Aws::String& GetMacAddress() const{ return m_macAddress; } + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; } + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; } + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); } + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); } + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline WiFiAccessPoint& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;} + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline WiFiAccessPoint& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;} + + /** + *

                                                Medium access control address (Mac).

                                                + */ + inline WiFiAccessPoint& WithMacAddress(const char* value) { SetMacAddress(value); return *this;} + + + /** + *

                                                Received signal strength (dBm) of the WLAN measurement data.

                                                + */ + inline int GetRss() const{ return m_rss; } + + /** + *

                                                Received signal strength (dBm) of the WLAN measurement data.

                                                + */ + inline bool RssHasBeenSet() const { return m_rssHasBeenSet; } + + /** + *

                                                Received signal strength (dBm) of the WLAN measurement data.

                                                + */ + inline void SetRss(int value) { m_rssHasBeenSet = true; m_rss = value; } + + /** + *

                                                Received signal strength (dBm) of the WLAN measurement data.

                                                + */ + inline WiFiAccessPoint& WithRss(int value) { SetRss(value); return *this;} + + private: + + Aws::String m_macAddress; + bool m_macAddressHasBeenSet = false; + + int m_rss; + bool m_rssHasBeenSet = false; + }; + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/LocationServiceClient.cpp b/generated/src/aws-cpp-sdk-location/source/LocationServiceClient.cpp index 792db004090..c87c6f89fce 100644 --- a/generated/src/aws-cpp-sdk-location/source/LocationServiceClient.cpp +++ b/generated/src/aws-cpp-sdk-location/source/LocationServiceClient.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -79,6 +80,7 @@ #include #include #include +#include #include @@ -1142,16 +1144,16 @@ DisassociateTrackerConsumerOutcome LocationServiceClient::DisassociateTrackerCon { AWS_OPERATION_GUARD(DisassociateTrackerConsumer); AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateTrackerConsumer, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.ConsumerArnHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("DisassociateTrackerConsumer", "Required field: ConsumerArn, is not set"); - return DisassociateTrackerConsumerOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ConsumerArn]", false)); - } if (!request.TrackerNameHasBeenSet()) { AWS_LOGSTREAM_ERROR("DisassociateTrackerConsumer", "Required field: TrackerName, is not set"); return DisassociateTrackerConsumerOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrackerName]", false)); } + if (!request.ConsumerArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateTrackerConsumer", "Required field: ConsumerArn, is not set"); + return DisassociateTrackerConsumerOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ConsumerArn]", false)); + } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateTrackerConsumer, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -1180,20 +1182,56 @@ DisassociateTrackerConsumerOutcome LocationServiceClient::DisassociateTrackerCon {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ForecastGeofenceEventsOutcome LocationServiceClient::ForecastGeofenceEvents(const ForecastGeofenceEventsRequest& request) const +{ + AWS_OPERATION_GUARD(ForecastGeofenceEvents); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ForecastGeofenceEvents, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.CollectionNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ForecastGeofenceEvents", "Required field: CollectionName, is not set"); + return ForecastGeofenceEventsOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CollectionName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ForecastGeofenceEvents, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ForecastGeofenceEvents, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ForecastGeofenceEvents", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ForecastGeofenceEventsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ForecastGeofenceEvents, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("geofencing."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), ForecastGeofenceEventsOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/geofencing/v0/collections/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetCollectionName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/forecast-geofence-events"); + return ForecastGeofenceEventsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetDevicePositionOutcome LocationServiceClient::GetDevicePosition(const GetDevicePositionRequest& request) const { AWS_OPERATION_GUARD(GetDevicePosition); AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDevicePosition, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.DeviceIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetDevicePosition", "Required field: DeviceId, is not set"); - return GetDevicePositionOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DeviceId]", false)); - } if (!request.TrackerNameHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetDevicePosition", "Required field: TrackerName, is not set"); return GetDevicePositionOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrackerName]", false)); } + if (!request.DeviceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetDevicePosition", "Required field: DeviceId, is not set"); + return GetDevicePositionOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DeviceId]", false)); + } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDevicePosition, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -1227,16 +1265,16 @@ GetDevicePositionHistoryOutcome LocationServiceClient::GetDevicePositionHistory( { AWS_OPERATION_GUARD(GetDevicePositionHistory); AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetDevicePositionHistory, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.DeviceIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetDevicePositionHistory", "Required field: DeviceId, is not set"); - return GetDevicePositionHistoryOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DeviceId]", false)); - } if (!request.TrackerNameHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetDevicePositionHistory", "Required field: TrackerName, is not set"); return GetDevicePositionHistoryOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrackerName]", false)); } + if (!request.DeviceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetDevicePositionHistory", "Required field: DeviceId, is not set"); + return GetDevicePositionHistoryOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DeviceId]", false)); + } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetDevicePositionHistory, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -1312,6 +1350,11 @@ GetMapGlyphsOutcome LocationServiceClient::GetMapGlyphs(const GetMapGlyphsReques { AWS_OPERATION_GUARD(GetMapGlyphs); AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMapGlyphs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.MapNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMapGlyphs", "Required field: MapName, is not set"); + return GetMapGlyphsOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MapName]", false)); + } if (!request.FontStackHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetMapGlyphs", "Required field: FontStack, is not set"); @@ -1322,11 +1365,6 @@ GetMapGlyphsOutcome LocationServiceClient::GetMapGlyphs(const GetMapGlyphsReques AWS_LOGSTREAM_ERROR("GetMapGlyphs", "Required field: FontUnicodeRange, is not set"); return GetMapGlyphsOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FontUnicodeRange]", false)); } - if (!request.MapNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetMapGlyphs", "Required field: MapName, is not set"); - return GetMapGlyphsOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MapName]", false)); - } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMapGlyphs, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -1360,16 +1398,16 @@ GetMapSpritesOutcome LocationServiceClient::GetMapSprites(const GetMapSpritesReq { AWS_OPERATION_GUARD(GetMapSprites); AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetMapSprites, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.FileNameHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetMapSprites", "Required field: FileName, is not set"); - return GetMapSpritesOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FileName]", false)); - } if (!request.MapNameHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetMapSprites", "Required field: MapName, is not set"); return GetMapSpritesOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MapName]", false)); } + if (!request.FileNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMapSprites", "Required field: FileName, is not set"); + return GetMapSpritesOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [FileName]", false)); + } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMapSprites, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -1443,6 +1481,11 @@ GetMapTileOutcome LocationServiceClient::GetMapTile(const GetMapTileRequest& req AWS_LOGSTREAM_ERROR("GetMapTile", "Required field: MapName, is not set"); return GetMapTileOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [MapName]", false)); } + if (!request.ZHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetMapTile", "Required field: Z, is not set"); + return GetMapTileOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Z]", false)); + } if (!request.XHasBeenSet()) { AWS_LOGSTREAM_ERROR("GetMapTile", "Required field: X, is not set"); @@ -1453,11 +1496,6 @@ GetMapTileOutcome LocationServiceClient::GetMapTile(const GetMapTileRequest& req AWS_LOGSTREAM_ERROR("GetMapTile", "Required field: Y, is not set"); return GetMapTileOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Y]", false)); } - if (!request.ZHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("GetMapTile", "Required field: Z, is not set"); - return GetMapTileOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Z]", false)); - } AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetMapTile, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); @@ -2282,3 +2320,39 @@ UpdateTrackerOutcome LocationServiceClient::UpdateTracker(const UpdateTrackerReq {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +VerifyDevicePositionOutcome LocationServiceClient::VerifyDevicePosition(const VerifyDevicePositionRequest& request) const +{ + AWS_OPERATION_GUARD(VerifyDevicePosition); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, VerifyDevicePosition, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TrackerNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("VerifyDevicePosition", "Required field: TrackerName, is not set"); + return VerifyDevicePositionOutcome(Aws::Client::AWSError(LocationServiceErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrackerName]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, VerifyDevicePosition, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, VerifyDevicePosition, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".VerifyDevicePosition", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> VerifyDevicePositionOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, VerifyDevicePosition, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + auto addPrefixErr = endpointResolutionOutcome.GetResult().AddPrefixIfMissing("tracking."); + AWS_CHECK(SERVICE_NAME, !addPrefixErr, addPrefixErr->GetMessage(), VerifyDevicePositionOutcome(addPrefixErr.value())); + endpointResolutionOutcome.GetResult().AddPathSegments("/tracking/v0/trackers/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTrackerName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/positions/verify"); + return VerifyDevicePositionOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-location/source/model/ApiKeyRestrictions.cpp b/generated/src/aws-cpp-sdk-location/source/model/ApiKeyRestrictions.cpp index 7e4480e8f77..6ec50d00747 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ApiKeyRestrictions.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ApiKeyRestrictions.cpp @@ -20,15 +20,15 @@ namespace Model ApiKeyRestrictions::ApiKeyRestrictions() : m_allowActionsHasBeenSet(false), - m_allowReferersHasBeenSet(false), - m_allowResourcesHasBeenSet(false) + m_allowResourcesHasBeenSet(false), + m_allowReferersHasBeenSet(false) { } ApiKeyRestrictions::ApiKeyRestrictions(JsonView jsonValue) : m_allowActionsHasBeenSet(false), - m_allowReferersHasBeenSet(false), - m_allowResourcesHasBeenSet(false) + m_allowResourcesHasBeenSet(false), + m_allowReferersHasBeenSet(false) { *this = jsonValue; } @@ -45,16 +45,6 @@ ApiKeyRestrictions& ApiKeyRestrictions::operator =(JsonView jsonValue) m_allowActionsHasBeenSet = true; } - if(jsonValue.ValueExists("AllowReferers")) - { - Aws::Utils::Array allowReferersJsonList = jsonValue.GetArray("AllowReferers"); - for(unsigned allowReferersIndex = 0; allowReferersIndex < allowReferersJsonList.GetLength(); ++allowReferersIndex) - { - m_allowReferers.push_back(allowReferersJsonList[allowReferersIndex].AsString()); - } - m_allowReferersHasBeenSet = true; - } - if(jsonValue.ValueExists("AllowResources")) { Aws::Utils::Array allowResourcesJsonList = jsonValue.GetArray("AllowResources"); @@ -65,6 +55,16 @@ ApiKeyRestrictions& ApiKeyRestrictions::operator =(JsonView jsonValue) m_allowResourcesHasBeenSet = true; } + if(jsonValue.ValueExists("AllowReferers")) + { + Aws::Utils::Array allowReferersJsonList = jsonValue.GetArray("AllowReferers"); + for(unsigned allowReferersIndex = 0; allowReferersIndex < allowReferersJsonList.GetLength(); ++allowReferersIndex) + { + m_allowReferers.push_back(allowReferersJsonList[allowReferersIndex].AsString()); + } + m_allowReferersHasBeenSet = true; + } + return *this; } @@ -83,25 +83,25 @@ JsonValue ApiKeyRestrictions::Jsonize() const } - if(m_allowReferersHasBeenSet) + if(m_allowResourcesHasBeenSet) { - Aws::Utils::Array allowReferersJsonList(m_allowReferers.size()); - for(unsigned allowReferersIndex = 0; allowReferersIndex < allowReferersJsonList.GetLength(); ++allowReferersIndex) + Aws::Utils::Array allowResourcesJsonList(m_allowResources.size()); + for(unsigned allowResourcesIndex = 0; allowResourcesIndex < allowResourcesJsonList.GetLength(); ++allowResourcesIndex) { - allowReferersJsonList[allowReferersIndex].AsString(m_allowReferers[allowReferersIndex]); + allowResourcesJsonList[allowResourcesIndex].AsString(m_allowResources[allowResourcesIndex]); } - payload.WithArray("AllowReferers", std::move(allowReferersJsonList)); + payload.WithArray("AllowResources", std::move(allowResourcesJsonList)); } - if(m_allowResourcesHasBeenSet) + if(m_allowReferersHasBeenSet) { - Aws::Utils::Array allowResourcesJsonList(m_allowResources.size()); - for(unsigned allowResourcesIndex = 0; allowResourcesIndex < allowResourcesJsonList.GetLength(); ++allowResourcesIndex) + Aws::Utils::Array allowReferersJsonList(m_allowReferers.size()); + for(unsigned allowReferersIndex = 0; allowReferersIndex < allowReferersJsonList.GetLength(); ++allowReferersIndex) { - allowResourcesJsonList[allowResourcesIndex].AsString(m_allowResources[allowResourcesIndex]); + allowReferersJsonList[allowReferersIndex].AsString(m_allowReferers[allowReferersIndex]); } - payload.WithArray("AllowResources", std::move(allowResourcesJsonList)); + payload.WithArray("AllowReferers", std::move(allowReferersJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/AssociateTrackerConsumerRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/AssociateTrackerConsumerRequest.cpp index a90fbaa95da..ff98a571ca6 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/AssociateTrackerConsumerRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/AssociateTrackerConsumerRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; AssociateTrackerConsumerRequest::AssociateTrackerConsumerRequest() : - m_consumerArnHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_trackerNameHasBeenSet(false), + m_consumerArnHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteDevicePositionHistoryRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteDevicePositionHistoryRequest.cpp index adfe7bac17c..25f509c172e 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteDevicePositionHistoryRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteDevicePositionHistoryRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; BatchDeleteDevicePositionHistoryRequest::BatchDeleteDevicePositionHistoryRequest() : - m_deviceIdsHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_trackerNameHasBeenSet(false), + m_deviceIdsHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteGeofenceError.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteGeofenceError.cpp index 57929219b63..55064183a72 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteGeofenceError.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchDeleteGeofenceError.cpp @@ -19,32 +19,32 @@ namespace Model { BatchDeleteGeofenceError::BatchDeleteGeofenceError() : - m_errorHasBeenSet(false), - m_geofenceIdHasBeenSet(false) + m_geofenceIdHasBeenSet(false), + m_errorHasBeenSet(false) { } BatchDeleteGeofenceError::BatchDeleteGeofenceError(JsonView jsonValue) : - m_errorHasBeenSet(false), - m_geofenceIdHasBeenSet(false) + m_geofenceIdHasBeenSet(false), + m_errorHasBeenSet(false) { *this = jsonValue; } BatchDeleteGeofenceError& BatchDeleteGeofenceError::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Error")) + if(jsonValue.ValueExists("GeofenceId")) { - m_error = jsonValue.GetObject("Error"); + m_geofenceId = jsonValue.GetString("GeofenceId"); - m_errorHasBeenSet = true; + m_geofenceIdHasBeenSet = true; } - if(jsonValue.ValueExists("GeofenceId")) + if(jsonValue.ValueExists("Error")) { - m_geofenceId = jsonValue.GetString("GeofenceId"); + m_error = jsonValue.GetObject("Error"); - m_geofenceIdHasBeenSet = true; + m_errorHasBeenSet = true; } return *this; @@ -54,15 +54,15 @@ JsonValue BatchDeleteGeofenceError::Jsonize() const { JsonValue payload; - if(m_errorHasBeenSet) + if(m_geofenceIdHasBeenSet) { - payload.WithObject("Error", m_error.Jsonize()); + payload.WithString("GeofenceId", m_geofenceId); } - if(m_geofenceIdHasBeenSet) + if(m_errorHasBeenSet) { - payload.WithString("GeofenceId", m_geofenceId); + payload.WithObject("Error", m_error.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchEvaluateGeofencesError.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchEvaluateGeofencesError.cpp index 63d1fcde6b8..ba70149a20a 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchEvaluateGeofencesError.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchEvaluateGeofencesError.cpp @@ -20,15 +20,15 @@ namespace Model BatchEvaluateGeofencesError::BatchEvaluateGeofencesError() : m_deviceIdHasBeenSet(false), - m_errorHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_sampleTimeHasBeenSet(false), + m_errorHasBeenSet(false) { } BatchEvaluateGeofencesError::BatchEvaluateGeofencesError(JsonView jsonValue) : m_deviceIdHasBeenSet(false), - m_errorHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_sampleTimeHasBeenSet(false), + m_errorHasBeenSet(false) { *this = jsonValue; } @@ -42,18 +42,18 @@ BatchEvaluateGeofencesError& BatchEvaluateGeofencesError::operator =(JsonView js m_deviceIdHasBeenSet = true; } - if(jsonValue.ValueExists("Error")) + if(jsonValue.ValueExists("SampleTime")) { - m_error = jsonValue.GetObject("Error"); + m_sampleTime = jsonValue.GetString("SampleTime"); - m_errorHasBeenSet = true; + m_sampleTimeHasBeenSet = true; } - if(jsonValue.ValueExists("SampleTime")) + if(jsonValue.ValueExists("Error")) { - m_sampleTime = jsonValue.GetString("SampleTime"); + m_error = jsonValue.GetObject("Error"); - m_sampleTimeHasBeenSet = true; + m_errorHasBeenSet = true; } return *this; @@ -69,15 +69,15 @@ JsonValue BatchEvaluateGeofencesError::Jsonize() const } - if(m_errorHasBeenSet) + if(m_sampleTimeHasBeenSet) { - payload.WithObject("Error", m_error.Jsonize()); - + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_sampleTimeHasBeenSet) + if(m_errorHasBeenSet) { - payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithObject("Error", m_error.Jsonize()); + } return payload; diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionRequest.cpp index 1905caf07a7..a2ae1b80b32 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; BatchGetDevicePositionRequest::BatchGetDevicePositionRequest() : - m_deviceIdsHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_trackerNameHasBeenSet(false), + m_deviceIdsHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionResult.cpp index f54fa45a710..3bd5d302dc6 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchGetDevicePositionResult.cpp @@ -29,21 +29,21 @@ BatchGetDevicePositionResult::BatchGetDevicePositionResult(const Aws::AmazonWebS BatchGetDevicePositionResult& BatchGetDevicePositionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("DevicePositions")) + if(jsonValue.ValueExists("Errors")) { - Aws::Utils::Array devicePositionsJsonList = jsonValue.GetArray("DevicePositions"); - for(unsigned devicePositionsIndex = 0; devicePositionsIndex < devicePositionsJsonList.GetLength(); ++devicePositionsIndex) + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) { - m_devicePositions.push_back(devicePositionsJsonList[devicePositionsIndex].AsObject()); + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); } } - if(jsonValue.ValueExists("Errors")) + if(jsonValue.ValueExists("DevicePositions")) { - Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); - for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + Aws::Utils::Array devicePositionsJsonList = jsonValue.GetArray("DevicePositions"); + for(unsigned devicePositionsIndex = 0; devicePositionsIndex < devicePositionsJsonList.GetLength(); ++devicePositionsIndex) { - m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + m_devicePositions.push_back(devicePositionsJsonList[devicePositionsIndex].AsObject()); } } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceError.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceError.cpp index 4d14cdbe4d2..8843445a5af 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceError.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceError.cpp @@ -19,32 +19,32 @@ namespace Model { BatchPutGeofenceError::BatchPutGeofenceError() : - m_errorHasBeenSet(false), - m_geofenceIdHasBeenSet(false) + m_geofenceIdHasBeenSet(false), + m_errorHasBeenSet(false) { } BatchPutGeofenceError::BatchPutGeofenceError(JsonView jsonValue) : - m_errorHasBeenSet(false), - m_geofenceIdHasBeenSet(false) + m_geofenceIdHasBeenSet(false), + m_errorHasBeenSet(false) { *this = jsonValue; } BatchPutGeofenceError& BatchPutGeofenceError::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Error")) + if(jsonValue.ValueExists("GeofenceId")) { - m_error = jsonValue.GetObject("Error"); + m_geofenceId = jsonValue.GetString("GeofenceId"); - m_errorHasBeenSet = true; + m_geofenceIdHasBeenSet = true; } - if(jsonValue.ValueExists("GeofenceId")) + if(jsonValue.ValueExists("Error")) { - m_geofenceId = jsonValue.GetString("GeofenceId"); + m_error = jsonValue.GetObject("Error"); - m_geofenceIdHasBeenSet = true; + m_errorHasBeenSet = true; } return *this; @@ -54,15 +54,15 @@ JsonValue BatchPutGeofenceError::Jsonize() const { JsonValue payload; - if(m_errorHasBeenSet) + if(m_geofenceIdHasBeenSet) { - payload.WithObject("Error", m_error.Jsonize()); + payload.WithString("GeofenceId", m_geofenceId); } - if(m_geofenceIdHasBeenSet) + if(m_errorHasBeenSet) { - payload.WithString("GeofenceId", m_geofenceId); + payload.WithObject("Error", m_error.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceRequestEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceRequestEntry.cpp index eae5a2d3ba2..c8516732210 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceRequestEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceRequestEntry.cpp @@ -20,15 +20,15 @@ namespace Model BatchPutGeofenceRequestEntry::BatchPutGeofenceRequestEntry() : m_geofenceIdHasBeenSet(false), - m_geofencePropertiesHasBeenSet(false), - m_geometryHasBeenSet(false) + m_geometryHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) { } BatchPutGeofenceRequestEntry::BatchPutGeofenceRequestEntry(JsonView jsonValue) : m_geofenceIdHasBeenSet(false), - m_geofencePropertiesHasBeenSet(false), - m_geometryHasBeenSet(false) + m_geometryHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) { *this = jsonValue; } @@ -42,6 +42,13 @@ BatchPutGeofenceRequestEntry& BatchPutGeofenceRequestEntry::operator =(JsonView m_geofenceIdHasBeenSet = true; } + if(jsonValue.ValueExists("Geometry")) + { + m_geometry = jsonValue.GetObject("Geometry"); + + m_geometryHasBeenSet = true; + } + if(jsonValue.ValueExists("GeofenceProperties")) { Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); @@ -52,13 +59,6 @@ BatchPutGeofenceRequestEntry& BatchPutGeofenceRequestEntry::operator =(JsonView m_geofencePropertiesHasBeenSet = true; } - if(jsonValue.ValueExists("Geometry")) - { - m_geometry = jsonValue.GetObject("Geometry"); - - m_geometryHasBeenSet = true; - } - return *this; } @@ -72,6 +72,12 @@ JsonValue BatchPutGeofenceRequestEntry::Jsonize() const } + if(m_geometryHasBeenSet) + { + payload.WithObject("Geometry", m_geometry.Jsonize()); + + } + if(m_geofencePropertiesHasBeenSet) { JsonValue geofencePropertiesJsonMap; @@ -83,12 +89,6 @@ JsonValue BatchPutGeofenceRequestEntry::Jsonize() const } - if(m_geometryHasBeenSet) - { - payload.WithObject("Geometry", m_geometry.Jsonize()); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceResult.cpp index 56eabcabc13..c13842d0af9 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceResult.cpp @@ -29,21 +29,21 @@ BatchPutGeofenceResult::BatchPutGeofenceResult(const Aws::AmazonWebServiceResult BatchPutGeofenceResult& BatchPutGeofenceResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("Errors")) + if(jsonValue.ValueExists("Successes")) { - Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); - for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + Aws::Utils::Array successesJsonList = jsonValue.GetArray("Successes"); + for(unsigned successesIndex = 0; successesIndex < successesJsonList.GetLength(); ++successesIndex) { - m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + m_successes.push_back(successesJsonList[successesIndex].AsObject()); } } - if(jsonValue.ValueExists("Successes")) + if(jsonValue.ValueExists("Errors")) { - Aws::Utils::Array successesJsonList = jsonValue.GetArray("Successes"); - for(unsigned successesIndex = 0; successesIndex < successesJsonList.GetLength(); ++successesIndex) + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("Errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) { - m_successes.push_back(successesJsonList[successesIndex].AsObject()); + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); } } diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceSuccess.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceSuccess.cpp index 87181582379..3f0bb1fe0c4 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceSuccess.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchPutGeofenceSuccess.cpp @@ -19,15 +19,15 @@ namespace Model { BatchPutGeofenceSuccess::BatchPutGeofenceSuccess() : - m_createTimeHasBeenSet(false), m_geofenceIdHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } BatchPutGeofenceSuccess::BatchPutGeofenceSuccess(JsonView jsonValue) : - m_createTimeHasBeenSet(false), m_geofenceIdHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -35,18 +35,18 @@ BatchPutGeofenceSuccess::BatchPutGeofenceSuccess(JsonView jsonValue) : BatchPutGeofenceSuccess& BatchPutGeofenceSuccess::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("GeofenceId")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_geofenceId = jsonValue.GetString("GeofenceId"); - m_createTimeHasBeenSet = true; + m_geofenceIdHasBeenSet = true; } - if(jsonValue.ValueExists("GeofenceId")) + if(jsonValue.ValueExists("CreateTime")) { - m_geofenceId = jsonValue.GetString("GeofenceId"); + m_createTime = jsonValue.GetString("CreateTime"); - m_geofenceIdHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -63,17 +63,17 @@ JsonValue BatchPutGeofenceSuccess::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_geofenceIdHasBeenSet) { payload.WithString("GeofenceId", m_geofenceId); } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_updateTimeHasBeenSet) { payload.WithString("UpdateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); diff --git a/generated/src/aws-cpp-sdk-location/source/model/BatchUpdateDevicePositionError.cpp b/generated/src/aws-cpp-sdk-location/source/model/BatchUpdateDevicePositionError.cpp index 2ba668ffdf5..488736ce450 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/BatchUpdateDevicePositionError.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/BatchUpdateDevicePositionError.cpp @@ -20,15 +20,15 @@ namespace Model BatchUpdateDevicePositionError::BatchUpdateDevicePositionError() : m_deviceIdHasBeenSet(false), - m_errorHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_sampleTimeHasBeenSet(false), + m_errorHasBeenSet(false) { } BatchUpdateDevicePositionError::BatchUpdateDevicePositionError(JsonView jsonValue) : m_deviceIdHasBeenSet(false), - m_errorHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_sampleTimeHasBeenSet(false), + m_errorHasBeenSet(false) { *this = jsonValue; } @@ -42,18 +42,18 @@ BatchUpdateDevicePositionError& BatchUpdateDevicePositionError::operator =(JsonV m_deviceIdHasBeenSet = true; } - if(jsonValue.ValueExists("Error")) + if(jsonValue.ValueExists("SampleTime")) { - m_error = jsonValue.GetObject("Error"); + m_sampleTime = jsonValue.GetString("SampleTime"); - m_errorHasBeenSet = true; + m_sampleTimeHasBeenSet = true; } - if(jsonValue.ValueExists("SampleTime")) + if(jsonValue.ValueExists("Error")) { - m_sampleTime = jsonValue.GetString("SampleTime"); + m_error = jsonValue.GetObject("Error"); - m_sampleTimeHasBeenSet = true; + m_errorHasBeenSet = true; } return *this; @@ -69,15 +69,15 @@ JsonValue BatchUpdateDevicePositionError::Jsonize() const } - if(m_errorHasBeenSet) + if(m_sampleTimeHasBeenSet) { - payload.WithObject("Error", m_error.Jsonize()); - + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_sampleTimeHasBeenSet) + if(m_errorHasBeenSet) { - payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithObject("Error", m_error.Jsonize()); + } return payload; diff --git a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixRequest.cpp index 8bb79bdc99b..5d9cb7b9f27 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixRequest.cpp @@ -17,18 +17,18 @@ using namespace Aws::Http; CalculateRouteMatrixRequest::CalculateRouteMatrixRequest() : m_calculatorNameHasBeenSet(false), - m_carModeOptionsHasBeenSet(false), - m_departNow(false), - m_departNowHasBeenSet(false), m_departurePositionsHasBeenSet(false), - m_departureTimeHasBeenSet(false), m_destinationPositionsHasBeenSet(false), - m_distanceUnit(DistanceUnit::NOT_SET), - m_distanceUnitHasBeenSet(false), - m_keyHasBeenSet(false), m_travelMode(TravelMode::NOT_SET), m_travelModeHasBeenSet(false), - m_truckModeOptionsHasBeenSet(false) + m_departureTimeHasBeenSet(false), + m_departNow(false), + m_departNowHasBeenSet(false), + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false), + m_carModeOptionsHasBeenSet(false), + m_truckModeOptionsHasBeenSet(false), + m_keyHasBeenSet(false) { } @@ -36,18 +36,6 @@ Aws::String CalculateRouteMatrixRequest::SerializePayload() const { JsonValue payload; - if(m_carModeOptionsHasBeenSet) - { - payload.WithObject("CarModeOptions", m_carModeOptions.Jsonize()); - - } - - if(m_departNowHasBeenSet) - { - payload.WithBool("DepartNow", m_departNow); - - } - if(m_departurePositionsHasBeenSet) { Aws::Utils::Array departurePositionsJsonList(m_departurePositions.size()); @@ -64,11 +52,6 @@ Aws::String CalculateRouteMatrixRequest::SerializePayload() const } - if(m_departureTimeHasBeenSet) - { - payload.WithString("DepartureTime", m_departureTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_destinationPositionsHasBeenSet) { Aws::Utils::Array destinationPositionsJsonList(m_destinationPositions.size()); @@ -85,14 +68,31 @@ Aws::String CalculateRouteMatrixRequest::SerializePayload() const } + if(m_travelModeHasBeenSet) + { + payload.WithString("TravelMode", TravelModeMapper::GetNameForTravelMode(m_travelMode)); + } + + if(m_departureTimeHasBeenSet) + { + payload.WithString("DepartureTime", m_departureTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_departNowHasBeenSet) + { + payload.WithBool("DepartNow", m_departNow); + + } + if(m_distanceUnitHasBeenSet) { payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); } - if(m_travelModeHasBeenSet) + if(m_carModeOptionsHasBeenSet) { - payload.WithString("TravelMode", TravelModeMapper::GetNameForTravelMode(m_travelMode)); + payload.WithObject("CarModeOptions", m_carModeOptions.Jsonize()); + } if(m_truckModeOptionsHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixSummary.cpp b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixSummary.cpp index e7c967eecc4..819b87e7524 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixSummary.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteMatrixSummary.cpp @@ -20,23 +20,23 @@ namespace Model CalculateRouteMatrixSummary::CalculateRouteMatrixSummary() : m_dataSourceHasBeenSet(false), - m_distanceUnit(DistanceUnit::NOT_SET), - m_distanceUnitHasBeenSet(false), + m_routeCount(0), + m_routeCountHasBeenSet(false), m_errorCount(0), m_errorCountHasBeenSet(false), - m_routeCount(0), - m_routeCountHasBeenSet(false) + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false) { } CalculateRouteMatrixSummary::CalculateRouteMatrixSummary(JsonView jsonValue) : m_dataSourceHasBeenSet(false), - m_distanceUnit(DistanceUnit::NOT_SET), - m_distanceUnitHasBeenSet(false), + m_routeCount(0), + m_routeCountHasBeenSet(false), m_errorCount(0), m_errorCountHasBeenSet(false), - m_routeCount(0), - m_routeCountHasBeenSet(false) + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false) { *this = jsonValue; } @@ -50,11 +50,11 @@ CalculateRouteMatrixSummary& CalculateRouteMatrixSummary::operator =(JsonView js m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("DistanceUnit")) + if(jsonValue.ValueExists("RouteCount")) { - m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); + m_routeCount = jsonValue.GetInteger("RouteCount"); - m_distanceUnitHasBeenSet = true; + m_routeCountHasBeenSet = true; } if(jsonValue.ValueExists("ErrorCount")) @@ -64,11 +64,11 @@ CalculateRouteMatrixSummary& CalculateRouteMatrixSummary::operator =(JsonView js m_errorCountHasBeenSet = true; } - if(jsonValue.ValueExists("RouteCount")) + if(jsonValue.ValueExists("DistanceUnit")) { - m_routeCount = jsonValue.GetInteger("RouteCount"); + m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); - m_routeCountHasBeenSet = true; + m_distanceUnitHasBeenSet = true; } return *this; @@ -84,9 +84,10 @@ JsonValue CalculateRouteMatrixSummary::Jsonize() const } - if(m_distanceUnitHasBeenSet) + if(m_routeCountHasBeenSet) { - payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); + payload.WithInteger("RouteCount", m_routeCount); + } if(m_errorCountHasBeenSet) @@ -95,10 +96,9 @@ JsonValue CalculateRouteMatrixSummary::Jsonize() const } - if(m_routeCountHasBeenSet) + if(m_distanceUnitHasBeenSet) { - payload.WithInteger("RouteCount", m_routeCount); - + payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); } return payload; diff --git a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp index 88d3f1a5699..24e5583b541 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp @@ -16,25 +16,25 @@ using namespace Aws::Utils; using namespace Aws::Http; CalculateRouteRequest::CalculateRouteRequest() : - m_arrivalTimeHasBeenSet(false), m_calculatorNameHasBeenSet(false), - m_carModeOptionsHasBeenSet(false), - m_departNow(false), - m_departNowHasBeenSet(false), m_departurePositionHasBeenSet(false), - m_departureTimeHasBeenSet(false), m_destinationPositionHasBeenSet(false), + m_waypointPositionsHasBeenSet(false), + m_travelMode(TravelMode::NOT_SET), + m_travelModeHasBeenSet(false), + m_departureTimeHasBeenSet(false), + m_departNow(false), + m_departNowHasBeenSet(false), m_distanceUnit(DistanceUnit::NOT_SET), m_distanceUnitHasBeenSet(false), m_includeLegGeometry(false), m_includeLegGeometryHasBeenSet(false), - m_keyHasBeenSet(false), + m_carModeOptionsHasBeenSet(false), + m_truckModeOptionsHasBeenSet(false), + m_arrivalTimeHasBeenSet(false), m_optimizeFor(OptimizationMode::NOT_SET), m_optimizeForHasBeenSet(false), - m_travelMode(TravelMode::NOT_SET), - m_travelModeHasBeenSet(false), - m_truckModeOptionsHasBeenSet(false), - m_waypointPositionsHasBeenSet(false) + m_keyHasBeenSet(false) { } @@ -42,32 +42,47 @@ Aws::String CalculateRouteRequest::SerializePayload() const { JsonValue payload; - if(m_arrivalTimeHasBeenSet) - { - payload.WithString("ArrivalTime", m_arrivalTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_carModeOptionsHasBeenSet) + if(m_departurePositionHasBeenSet) { - payload.WithObject("CarModeOptions", m_carModeOptions.Jsonize()); + Aws::Utils::Array departurePositionJsonList(m_departurePosition.size()); + for(unsigned departurePositionIndex = 0; departurePositionIndex < departurePositionJsonList.GetLength(); ++departurePositionIndex) + { + departurePositionJsonList[departurePositionIndex].AsDouble(m_departurePosition[departurePositionIndex]); + } + payload.WithArray("DeparturePosition", std::move(departurePositionJsonList)); } - if(m_departNowHasBeenSet) + if(m_destinationPositionHasBeenSet) { - payload.WithBool("DepartNow", m_departNow); + Aws::Utils::Array destinationPositionJsonList(m_destinationPosition.size()); + for(unsigned destinationPositionIndex = 0; destinationPositionIndex < destinationPositionJsonList.GetLength(); ++destinationPositionIndex) + { + destinationPositionJsonList[destinationPositionIndex].AsDouble(m_destinationPosition[destinationPositionIndex]); + } + payload.WithArray("DestinationPosition", std::move(destinationPositionJsonList)); } - if(m_departurePositionHasBeenSet) + if(m_waypointPositionsHasBeenSet) { - Aws::Utils::Array departurePositionJsonList(m_departurePosition.size()); - for(unsigned departurePositionIndex = 0; departurePositionIndex < departurePositionJsonList.GetLength(); ++departurePositionIndex) + Aws::Utils::Array waypointPositionsJsonList(m_waypointPositions.size()); + for(unsigned waypointPositionsIndex = 0; waypointPositionsIndex < waypointPositionsJsonList.GetLength(); ++waypointPositionsIndex) { - departurePositionJsonList[departurePositionIndex].AsDouble(m_departurePosition[departurePositionIndex]); + Aws::Utils::Array positionJsonList(m_waypointPositions[waypointPositionsIndex].size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_waypointPositions[waypointPositionsIndex][positionIndex]); + } + waypointPositionsJsonList[waypointPositionsIndex].AsArray(std::move(positionJsonList)); } - payload.WithArray("DeparturePosition", std::move(departurePositionJsonList)); + payload.WithArray("WaypointPositions", std::move(waypointPositionsJsonList)); + + } + if(m_travelModeHasBeenSet) + { + payload.WithString("TravelMode", TravelModeMapper::GetNameForTravelMode(m_travelMode)); } if(m_departureTimeHasBeenSet) @@ -75,14 +90,9 @@ Aws::String CalculateRouteRequest::SerializePayload() const payload.WithString("DepartureTime", m_departureTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_destinationPositionHasBeenSet) + if(m_departNowHasBeenSet) { - Aws::Utils::Array destinationPositionJsonList(m_destinationPosition.size()); - for(unsigned destinationPositionIndex = 0; destinationPositionIndex < destinationPositionJsonList.GetLength(); ++destinationPositionIndex) - { - destinationPositionJsonList[destinationPositionIndex].AsDouble(m_destinationPosition[destinationPositionIndex]); - } - payload.WithArray("DestinationPosition", std::move(destinationPositionJsonList)); + payload.WithBool("DepartNow", m_departNow); } @@ -97,14 +107,10 @@ Aws::String CalculateRouteRequest::SerializePayload() const } - if(m_optimizeForHasBeenSet) + if(m_carModeOptionsHasBeenSet) { - payload.WithString("OptimizeFor", OptimizationModeMapper::GetNameForOptimizationMode(m_optimizeFor)); - } + payload.WithObject("CarModeOptions", m_carModeOptions.Jsonize()); - if(m_travelModeHasBeenSet) - { - payload.WithString("TravelMode", TravelModeMapper::GetNameForTravelMode(m_travelMode)); } if(m_truckModeOptionsHasBeenSet) @@ -113,20 +119,14 @@ Aws::String CalculateRouteRequest::SerializePayload() const } - if(m_waypointPositionsHasBeenSet) + if(m_arrivalTimeHasBeenSet) { - Aws::Utils::Array waypointPositionsJsonList(m_waypointPositions.size()); - for(unsigned waypointPositionsIndex = 0; waypointPositionsIndex < waypointPositionsJsonList.GetLength(); ++waypointPositionsIndex) - { - Aws::Utils::Array positionJsonList(m_waypointPositions[waypointPositionsIndex].size()); - for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) - { - positionJsonList[positionIndex].AsDouble(m_waypointPositions[waypointPositionsIndex][positionIndex]); - } - waypointPositionsJsonList[waypointPositionsIndex].AsArray(std::move(positionJsonList)); - } - payload.WithArray("WaypointPositions", std::move(waypointPositionsJsonList)); + payload.WithString("ArrivalTime", m_arrivalTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_optimizeForHasBeenSet) + { + payload.WithString("OptimizeFor", OptimizationModeMapper::GetNameForOptimizationMode(m_optimizeFor)); } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteSummary.cpp b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteSummary.cpp index 766927b2cc4..caf5fc15a72 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteSummary.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CalculateRouteSummary.cpp @@ -19,32 +19,42 @@ namespace Model { CalculateRouteSummary::CalculateRouteSummary() : + m_routeBBoxHasBeenSet(false), m_dataSourceHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_distanceUnit(DistanceUnit::NOT_SET), - m_distanceUnitHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_routeBBoxHasBeenSet(false) + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false) { } CalculateRouteSummary::CalculateRouteSummary(JsonView jsonValue) : + m_routeBBoxHasBeenSet(false), m_dataSourceHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_distanceUnit(DistanceUnit::NOT_SET), - m_distanceUnitHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_routeBBoxHasBeenSet(false) + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false) { *this = jsonValue; } CalculateRouteSummary& CalculateRouteSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("RouteBBox")) + { + Aws::Utils::Array routeBBoxJsonList = jsonValue.GetArray("RouteBBox"); + for(unsigned routeBBoxIndex = 0; routeBBoxIndex < routeBBoxJsonList.GetLength(); ++routeBBoxIndex) + { + m_routeBBox.push_back(routeBBoxJsonList[routeBBoxIndex].AsDouble()); + } + m_routeBBoxHasBeenSet = true; + } + if(jsonValue.ValueExists("DataSource")) { m_dataSource = jsonValue.GetString("DataSource"); @@ -59,13 +69,6 @@ CalculateRouteSummary& CalculateRouteSummary::operator =(JsonView jsonValue) m_distanceHasBeenSet = true; } - if(jsonValue.ValueExists("DistanceUnit")) - { - m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); - - m_distanceUnitHasBeenSet = true; - } - if(jsonValue.ValueExists("DurationSeconds")) { m_durationSeconds = jsonValue.GetDouble("DurationSeconds"); @@ -73,14 +76,11 @@ CalculateRouteSummary& CalculateRouteSummary::operator =(JsonView jsonValue) m_durationSecondsHasBeenSet = true; } - if(jsonValue.ValueExists("RouteBBox")) + if(jsonValue.ValueExists("DistanceUnit")) { - Aws::Utils::Array routeBBoxJsonList = jsonValue.GetArray("RouteBBox"); - for(unsigned routeBBoxIndex = 0; routeBBoxIndex < routeBBoxJsonList.GetLength(); ++routeBBoxIndex) - { - m_routeBBox.push_back(routeBBoxJsonList[routeBBoxIndex].AsDouble()); - } - m_routeBBoxHasBeenSet = true; + m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); + + m_distanceUnitHasBeenSet = true; } return *this; @@ -90,6 +90,17 @@ JsonValue CalculateRouteSummary::Jsonize() const { JsonValue payload; + if(m_routeBBoxHasBeenSet) + { + Aws::Utils::Array routeBBoxJsonList(m_routeBBox.size()); + for(unsigned routeBBoxIndex = 0; routeBBoxIndex < routeBBoxJsonList.GetLength(); ++routeBBoxIndex) + { + routeBBoxJsonList[routeBBoxIndex].AsDouble(m_routeBBox[routeBBoxIndex]); + } + payload.WithArray("RouteBBox", std::move(routeBBoxJsonList)); + + } + if(m_dataSourceHasBeenSet) { payload.WithString("DataSource", m_dataSource); @@ -102,26 +113,15 @@ JsonValue CalculateRouteSummary::Jsonize() const } - if(m_distanceUnitHasBeenSet) - { - payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); - } - if(m_durationSecondsHasBeenSet) { payload.WithDouble("DurationSeconds", m_durationSeconds); } - if(m_routeBBoxHasBeenSet) + if(m_distanceUnitHasBeenSet) { - Aws::Utils::Array routeBBoxJsonList(m_routeBBox.size()); - for(unsigned routeBBoxIndex = 0; routeBBoxIndex < routeBBoxJsonList.GetLength(); ++routeBBoxIndex) - { - routeBBoxJsonList[routeBBoxIndex].AsDouble(m_routeBBox[routeBBoxIndex]); - } - payload.WithArray("RouteBBox", std::move(routeBBoxJsonList)); - + payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); } return payload; diff --git a/generated/src/aws-cpp-sdk-location/source/model/CellSignals.cpp b/generated/src/aws-cpp-sdk-location/source/model/CellSignals.cpp new file mode 100644 index 00000000000..9caf8ffa503 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/CellSignals.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +CellSignals::CellSignals() : + m_lteCellDetailsHasBeenSet(false) +{ +} + +CellSignals::CellSignals(JsonView jsonValue) : + m_lteCellDetailsHasBeenSet(false) +{ + *this = jsonValue; +} + +CellSignals& CellSignals::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("LteCellDetails")) + { + Aws::Utils::Array lteCellDetailsJsonList = jsonValue.GetArray("LteCellDetails"); + for(unsigned lteCellDetailsIndex = 0; lteCellDetailsIndex < lteCellDetailsJsonList.GetLength(); ++lteCellDetailsIndex) + { + m_lteCellDetails.push_back(lteCellDetailsJsonList[lteCellDetailsIndex].AsObject()); + } + m_lteCellDetailsHasBeenSet = true; + } + + return *this; +} + +JsonValue CellSignals::Jsonize() const +{ + JsonValue payload; + + if(m_lteCellDetailsHasBeenSet) + { + Aws::Utils::Array lteCellDetailsJsonList(m_lteCellDetails.size()); + for(unsigned lteCellDetailsIndex = 0; lteCellDetailsIndex < lteCellDetailsJsonList.GetLength(); ++lteCellDetailsIndex) + { + lteCellDetailsJsonList[lteCellDetailsIndex].AsObject(m_lteCellDetails[lteCellDetailsIndex].Jsonize()); + } + payload.WithArray("LteCellDetails", std::move(lteCellDetailsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionRequest.cpp index 11df99b556a..558883fcb8a 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionRequest.cpp @@ -15,8 +15,8 @@ using namespace Aws::Utils; CreateGeofenceCollectionRequest::CreateGeofenceCollectionRequest() : m_collectionNameHasBeenSet(false), m_descriptionHasBeenSet(false), - m_kmsKeyIdHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false) { } @@ -36,12 +36,6 @@ Aws::String CreateGeofenceCollectionRequest::SerializePayload() const } - if(m_kmsKeyIdHasBeenSet) - { - payload.WithString("KmsKeyId", m_kmsKeyId); - - } - if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; @@ -53,6 +47,12 @@ Aws::String CreateGeofenceCollectionRequest::SerializePayload() const } + if(m_kmsKeyIdHasBeenSet) + { + payload.WithString("KmsKeyId", m_kmsKeyId); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionResult.cpp index cae832ef886..5647aa4f30c 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateGeofenceCollectionResult.cpp @@ -29,15 +29,15 @@ CreateGeofenceCollectionResult::CreateGeofenceCollectionResult(const Aws::Amazon CreateGeofenceCollectionResult& CreateGeofenceCollectionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CollectionArn")) + if(jsonValue.ValueExists("CollectionName")) { - m_collectionArn = jsonValue.GetString("CollectionArn"); + m_collectionName = jsonValue.GetString("CollectionName"); } - if(jsonValue.ValueExists("CollectionName")) + if(jsonValue.ValueExists("CollectionArn")) { - m_collectionName = jsonValue.GetString("CollectionName"); + m_collectionArn = jsonValue.GetString("CollectionArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateKeyRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateKeyRequest.cpp index 7e63d7d9ccd..e09c545a4ab 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateKeyRequest.cpp @@ -13,12 +13,12 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateKeyRequest::CreateKeyRequest() : + m_keyNameHasBeenSet(false), + m_restrictionsHasBeenSet(false), m_descriptionHasBeenSet(false), m_expireTimeHasBeenSet(false), - m_keyNameHasBeenSet(false), m_noExpiry(false), m_noExpiryHasBeenSet(false), - m_restrictionsHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -27,32 +27,32 @@ Aws::String CreateKeyRequest::SerializePayload() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_keyNameHasBeenSet) { - payload.WithString("Description", m_description); + payload.WithString("KeyName", m_keyName); } - if(m_expireTimeHasBeenSet) + if(m_restrictionsHasBeenSet) { - payload.WithString("ExpireTime", m_expireTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithObject("Restrictions", m_restrictions.Jsonize()); + } - if(m_keyNameHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("KeyName", m_keyName); + payload.WithString("Description", m_description); } - if(m_noExpiryHasBeenSet) + if(m_expireTimeHasBeenSet) { - payload.WithBool("NoExpiry", m_noExpiry); - + payload.WithString("ExpireTime", m_expireTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_restrictionsHasBeenSet) + if(m_noExpiryHasBeenSet) { - payload.WithObject("Restrictions", m_restrictions.Jsonize()); + payload.WithBool("NoExpiry", m_noExpiry); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateKeyResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateKeyResult.cpp index be7c5df2243..911fbc889a0 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateKeyResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateKeyResult.cpp @@ -29,12 +29,6 @@ CreateKeyResult::CreateKeyResult(const Aws::AmazonWebServiceResult& r CreateKeyResult& CreateKeyResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) - { - m_createTime = jsonValue.GetString("CreateTime"); - - } - if(jsonValue.ValueExists("Key")) { m_key = jsonValue.GetString("Key"); @@ -53,6 +47,12 @@ CreateKeyResult& CreateKeyResult::operator =(const Aws::AmazonWebServiceResult& r CreateMapResult& CreateMapResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("MapName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_mapName = jsonValue.GetString("MapName"); } @@ -41,9 +41,9 @@ CreateMapResult& CreateMapResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("IndexName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_indexName = jsonValue.GetString("IndexName"); } @@ -41,9 +41,9 @@ CreatePlaceIndexResult& CreatePlaceIndexResult::operator =(const Aws::AmazonWebS } - if(jsonValue.ValueExists("IndexName")) + if(jsonValue.ValueExists("CreateTime")) { - m_indexName = jsonValue.GetString("IndexName"); + m_createTime = jsonValue.GetString("CreateTime"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateRouteCalculatorResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateRouteCalculatorResult.cpp index 505c5be03ff..69da1ee01d2 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateRouteCalculatorResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateRouteCalculatorResult.cpp @@ -29,15 +29,15 @@ CreateRouteCalculatorResult::CreateRouteCalculatorResult(const Aws::AmazonWebSer CreateRouteCalculatorResult& CreateRouteCalculatorResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CalculatorArn")) + if(jsonValue.ValueExists("CalculatorName")) { - m_calculatorArn = jsonValue.GetString("CalculatorArn"); + m_calculatorName = jsonValue.GetString("CalculatorName"); } - if(jsonValue.ValueExists("CalculatorName")) + if(jsonValue.ValueExists("CalculatorArn")) { - m_calculatorName = jsonValue.GetString("CalculatorName"); + m_calculatorArn = jsonValue.GetString("CalculatorArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerRequest.cpp index e8b2fb55746..462a0aea670 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerRequest.cpp @@ -13,16 +13,16 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateTrackerRequest::CreateTrackerRequest() : + m_trackerNameHasBeenSet(false), + m_kmsKeyIdHasBeenSet(false), m_descriptionHasBeenSet(false), + m_tagsHasBeenSet(false), + m_positionFiltering(PositionFiltering::NOT_SET), + m_positionFilteringHasBeenSet(false), m_eventBridgeEnabled(false), m_eventBridgeEnabledHasBeenSet(false), m_kmsKeyEnableGeospatialQueries(false), - m_kmsKeyEnableGeospatialQueriesHasBeenSet(false), - m_kmsKeyIdHasBeenSet(false), - m_positionFiltering(PositionFiltering::NOT_SET), - m_positionFilteringHasBeenSet(false), - m_tagsHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_kmsKeyEnableGeospatialQueriesHasBeenSet(false) { } @@ -30,27 +30,32 @@ Aws::String CreateTrackerRequest::SerializePayload() const { JsonValue payload; - if(m_descriptionHasBeenSet) + if(m_trackerNameHasBeenSet) { - payload.WithString("Description", m_description); + payload.WithString("TrackerName", m_trackerName); } - if(m_eventBridgeEnabledHasBeenSet) + if(m_kmsKeyIdHasBeenSet) { - payload.WithBool("EventBridgeEnabled", m_eventBridgeEnabled); + payload.WithString("KmsKeyId", m_kmsKeyId); } - if(m_kmsKeyEnableGeospatialQueriesHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithBool("KmsKeyEnableGeospatialQueries", m_kmsKeyEnableGeospatialQueries); + payload.WithString("Description", m_description); } - if(m_kmsKeyIdHasBeenSet) + if(m_tagsHasBeenSet) { - payload.WithString("KmsKeyId", m_kmsKeyId); + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("Tags", std::move(tagsJsonMap)); } @@ -59,20 +64,15 @@ Aws::String CreateTrackerRequest::SerializePayload() const payload.WithString("PositionFiltering", PositionFilteringMapper::GetNameForPositionFiltering(m_positionFiltering)); } - if(m_tagsHasBeenSet) + if(m_eventBridgeEnabledHasBeenSet) { - JsonValue tagsJsonMap; - for(auto& tagsItem : m_tags) - { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("Tags", std::move(tagsJsonMap)); + payload.WithBool("EventBridgeEnabled", m_eventBridgeEnabled); } - if(m_trackerNameHasBeenSet) + if(m_kmsKeyEnableGeospatialQueriesHasBeenSet) { - payload.WithString("TrackerName", m_trackerName); + payload.WithBool("KmsKeyEnableGeospatialQueries", m_kmsKeyEnableGeospatialQueries); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerResult.cpp index e6cc0e07bf0..0c37ae08e00 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/CreateTrackerResult.cpp @@ -29,9 +29,9 @@ CreateTrackerResult::CreateTrackerResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("TrackerName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_trackerName = jsonValue.GetString("TrackerName"); } @@ -41,9 +41,9 @@ CreateTrackerResult& CreateTrackerResult::operator =(const Aws::AmazonWebService } - if(jsonValue.ValueExists("TrackerName")) + if(jsonValue.ValueExists("CreateTime")) { - m_trackerName = jsonValue.GetString("TrackerName"); + m_createTime = jsonValue.GetString("CreateTime"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp index 1bf70c68f77..8d319889636 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DeleteKeyRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; DeleteKeyRequest::DeleteKeyRequest() : + m_keyNameHasBeenSet(false), m_forceDelete(false), - m_forceDeleteHasBeenSet(false), - m_keyNameHasBeenSet(false) + m_forceDeleteHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribeGeofenceCollectionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribeGeofenceCollectionResult.cpp index df32ff43b4a..9185977854d 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribeGeofenceCollectionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribeGeofenceCollectionResult.cpp @@ -31,21 +31,15 @@ DescribeGeofenceCollectionResult::DescribeGeofenceCollectionResult(const Aws::Am DescribeGeofenceCollectionResult& DescribeGeofenceCollectionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CollectionArn")) - { - m_collectionArn = jsonValue.GetString("CollectionArn"); - - } - if(jsonValue.ValueExists("CollectionName")) { m_collectionName = jsonValue.GetString("CollectionName"); } - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("CollectionArn")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_collectionArn = jsonValue.GetString("CollectionArn"); } @@ -55,12 +49,6 @@ DescribeGeofenceCollectionResult& DescribeGeofenceCollectionResult::operator =(c } - if(jsonValue.ValueExists("GeofenceCount")) - { - m_geofenceCount = jsonValue.GetInteger("GeofenceCount"); - - } - if(jsonValue.ValueExists("KmsKeyId")) { m_kmsKeyId = jsonValue.GetString("KmsKeyId"); @@ -76,12 +64,24 @@ DescribeGeofenceCollectionResult& DescribeGeofenceCollectionResult::operator =(c } } + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetString("CreateTime"); + + } + if(jsonValue.ValueExists("UpdateTime")) { m_updateTime = jsonValue.GetString("UpdateTime"); } + if(jsonValue.ValueExists("GeofenceCount")) + { + m_geofenceCount = jsonValue.GetInteger("GeofenceCount"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribeKeyResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribeKeyResult.cpp index f9965596b16..08816e051e0 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribeKeyResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribeKeyResult.cpp @@ -29,45 +29,51 @@ DescribeKeyResult::DescribeKeyResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("Key")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_key = jsonValue.GetString("Key"); } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("KeyArn")) { - m_description = jsonValue.GetString("Description"); + m_keyArn = jsonValue.GetString("KeyArn"); } - if(jsonValue.ValueExists("ExpireTime")) + if(jsonValue.ValueExists("KeyName")) { - m_expireTime = jsonValue.GetString("ExpireTime"); + m_keyName = jsonValue.GetString("KeyName"); } - if(jsonValue.ValueExists("Key")) + if(jsonValue.ValueExists("Restrictions")) { - m_key = jsonValue.GetString("Key"); + m_restrictions = jsonValue.GetObject("Restrictions"); } - if(jsonValue.ValueExists("KeyArn")) + if(jsonValue.ValueExists("CreateTime")) { - m_keyArn = jsonValue.GetString("KeyArn"); + m_createTime = jsonValue.GetString("CreateTime"); } - if(jsonValue.ValueExists("KeyName")) + if(jsonValue.ValueExists("ExpireTime")) { - m_keyName = jsonValue.GetString("KeyName"); + m_expireTime = jsonValue.GetString("ExpireTime"); } - if(jsonValue.ValueExists("Restrictions")) + if(jsonValue.ValueExists("UpdateTime")) { - m_restrictions = jsonValue.GetObject("Restrictions"); + m_updateTime = jsonValue.GetString("UpdateTime"); + + } + + if(jsonValue.ValueExists("Description")) + { + m_description = jsonValue.GetString("Description"); } @@ -80,12 +86,6 @@ DescribeKeyResult& DescribeKeyResult::operator =(const Aws::AmazonWebServiceResu } } - if(jsonValue.ValueExists("UpdateTime")) - { - m_updateTime = jsonValue.GetString("UpdateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribeMapResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribeMapResult.cpp index 0edb675f4c5..52183414062 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribeMapResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribeMapResult.cpp @@ -29,15 +29,15 @@ DescribeMapResult::DescribeMapResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("Configuration")) + if(jsonValue.ValueExists("MapName")) { - m_configuration = jsonValue.GetObject("Configuration"); + m_mapName = jsonValue.GetString("MapName"); } - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("MapArn")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_mapArn = jsonValue.GetString("MapArn"); } @@ -47,21 +47,15 @@ DescribeMapResult& DescribeMapResult::operator =(const Aws::AmazonWebServiceResu } - if(jsonValue.ValueExists("Description")) - { - m_description = jsonValue.GetString("Description"); - - } - - if(jsonValue.ValueExists("MapArn")) + if(jsonValue.ValueExists("Configuration")) { - m_mapArn = jsonValue.GetString("MapArn"); + m_configuration = jsonValue.GetObject("Configuration"); } - if(jsonValue.ValueExists("MapName")) + if(jsonValue.ValueExists("Description")) { - m_mapName = jsonValue.GetString("MapName"); + m_description = jsonValue.GetString("Description"); } @@ -74,6 +68,12 @@ DescribeMapResult& DescribeMapResult::operator =(const Aws::AmazonWebServiceResu } } + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetString("CreateTime"); + + } + if(jsonValue.ValueExists("UpdateTime")) { m_updateTime = jsonValue.GetString("UpdateTime"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribePlaceIndexResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribePlaceIndexResult.cpp index 430fa889453..1cfe9359dec 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribePlaceIndexResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribePlaceIndexResult.cpp @@ -29,39 +29,45 @@ DescribePlaceIndexResult::DescribePlaceIndexResult(const Aws::AmazonWebServiceRe DescribePlaceIndexResult& DescribePlaceIndexResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("IndexName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_indexName = jsonValue.GetString("IndexName"); } - if(jsonValue.ValueExists("DataSource")) + if(jsonValue.ValueExists("IndexArn")) { - m_dataSource = jsonValue.GetString("DataSource"); + m_indexArn = jsonValue.GetString("IndexArn"); } - if(jsonValue.ValueExists("DataSourceConfiguration")) + if(jsonValue.ValueExists("Description")) { - m_dataSourceConfiguration = jsonValue.GetObject("DataSourceConfiguration"); + m_description = jsonValue.GetString("Description"); } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("CreateTime")) { - m_description = jsonValue.GetString("Description"); + m_createTime = jsonValue.GetString("CreateTime"); } - if(jsonValue.ValueExists("IndexArn")) + if(jsonValue.ValueExists("UpdateTime")) { - m_indexArn = jsonValue.GetString("IndexArn"); + m_updateTime = jsonValue.GetString("UpdateTime"); } - if(jsonValue.ValueExists("IndexName")) + if(jsonValue.ValueExists("DataSource")) { - m_indexName = jsonValue.GetString("IndexName"); + m_dataSource = jsonValue.GetString("DataSource"); + + } + + if(jsonValue.ValueExists("DataSourceConfiguration")) + { + m_dataSourceConfiguration = jsonValue.GetObject("DataSourceConfiguration"); } @@ -74,12 +80,6 @@ DescribePlaceIndexResult& DescribePlaceIndexResult::operator =(const Aws::Amazon } } - if(jsonValue.ValueExists("UpdateTime")) - { - m_updateTime = jsonValue.GetString("UpdateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribeRouteCalculatorResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribeRouteCalculatorResult.cpp index 89f89bab4b2..069c960e9c5 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribeRouteCalculatorResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribeRouteCalculatorResult.cpp @@ -29,15 +29,21 @@ DescribeRouteCalculatorResult::DescribeRouteCalculatorResult(const Aws::AmazonWe DescribeRouteCalculatorResult& DescribeRouteCalculatorResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("CalculatorName")) + { + m_calculatorName = jsonValue.GetString("CalculatorName"); + + } + if(jsonValue.ValueExists("CalculatorArn")) { m_calculatorArn = jsonValue.GetString("CalculatorArn"); } - if(jsonValue.ValueExists("CalculatorName")) + if(jsonValue.ValueExists("Description")) { - m_calculatorName = jsonValue.GetString("CalculatorName"); + m_description = jsonValue.GetString("Description"); } @@ -47,15 +53,15 @@ DescribeRouteCalculatorResult& DescribeRouteCalculatorResult::operator =(const A } - if(jsonValue.ValueExists("DataSource")) + if(jsonValue.ValueExists("UpdateTime")) { - m_dataSource = jsonValue.GetString("DataSource"); + m_updateTime = jsonValue.GetString("UpdateTime"); } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("DataSource")) { - m_description = jsonValue.GetString("Description"); + m_dataSource = jsonValue.GetString("DataSource"); } @@ -68,12 +74,6 @@ DescribeRouteCalculatorResult& DescribeRouteCalculatorResult::operator =(const A } } - if(jsonValue.ValueExists("UpdateTime")) - { - m_updateTime = jsonValue.GetString("UpdateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/DescribeTrackerResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/DescribeTrackerResult.cpp index 57acc5082ad..d6c27a1e965 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DescribeTrackerResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DescribeTrackerResult.cpp @@ -18,16 +18,16 @@ using namespace Aws::Utils; using namespace Aws; DescribeTrackerResult::DescribeTrackerResult() : + m_positionFiltering(PositionFiltering::NOT_SET), m_eventBridgeEnabled(false), - m_kmsKeyEnableGeospatialQueries(false), - m_positionFiltering(PositionFiltering::NOT_SET) + m_kmsKeyEnableGeospatialQueries(false) { } DescribeTrackerResult::DescribeTrackerResult(const Aws::AmazonWebServiceResult& result) : + m_positionFiltering(PositionFiltering::NOT_SET), m_eventBridgeEnabled(false), - m_kmsKeyEnableGeospatialQueries(false), - m_positionFiltering(PositionFiltering::NOT_SET) + m_kmsKeyEnableGeospatialQueries(false) { *this = result; } @@ -35,66 +35,66 @@ DescribeTrackerResult::DescribeTrackerResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("TrackerName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_trackerName = jsonValue.GetString("TrackerName"); } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("TrackerArn")) { - m_description = jsonValue.GetString("Description"); + m_trackerArn = jsonValue.GetString("TrackerArn"); } - if(jsonValue.ValueExists("EventBridgeEnabled")) + if(jsonValue.ValueExists("Description")) { - m_eventBridgeEnabled = jsonValue.GetBool("EventBridgeEnabled"); + m_description = jsonValue.GetString("Description"); } - if(jsonValue.ValueExists("KmsKeyEnableGeospatialQueries")) + if(jsonValue.ValueExists("Tags")) { - m_kmsKeyEnableGeospatialQueries = jsonValue.GetBool("KmsKeyEnableGeospatialQueries"); - + Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } } - if(jsonValue.ValueExists("KmsKeyId")) + if(jsonValue.ValueExists("CreateTime")) { - m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + m_createTime = jsonValue.GetString("CreateTime"); } - if(jsonValue.ValueExists("PositionFiltering")) + if(jsonValue.ValueExists("UpdateTime")) { - m_positionFiltering = PositionFilteringMapper::GetPositionFilteringForName(jsonValue.GetString("PositionFiltering")); + m_updateTime = jsonValue.GetString("UpdateTime"); } - if(jsonValue.ValueExists("Tags")) + if(jsonValue.ValueExists("KmsKeyId")) { - Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); - for(auto& tagsItem : tagsJsonMap) - { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } + m_kmsKeyId = jsonValue.GetString("KmsKeyId"); + } - if(jsonValue.ValueExists("TrackerArn")) + if(jsonValue.ValueExists("PositionFiltering")) { - m_trackerArn = jsonValue.GetString("TrackerArn"); + m_positionFiltering = PositionFilteringMapper::GetPositionFilteringForName(jsonValue.GetString("PositionFiltering")); } - if(jsonValue.ValueExists("TrackerName")) + if(jsonValue.ValueExists("EventBridgeEnabled")) { - m_trackerName = jsonValue.GetString("TrackerName"); + m_eventBridgeEnabled = jsonValue.GetBool("EventBridgeEnabled"); } - if(jsonValue.ValueExists("UpdateTime")) + if(jsonValue.ValueExists("KmsKeyEnableGeospatialQueries")) { - m_updateTime = jsonValue.GetString("UpdateTime"); + m_kmsKeyEnableGeospatialQueries = jsonValue.GetBool("KmsKeyEnableGeospatialQueries"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/DevicePosition.cpp b/generated/src/aws-cpp-sdk-location/source/model/DevicePosition.cpp index e7858af2953..ebe53a279ab 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DevicePosition.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DevicePosition.cpp @@ -19,40 +19,47 @@ namespace Model { DevicePosition::DevicePosition() : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), - m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_receivedTimeHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { } DevicePosition::DevicePosition(JsonView jsonValue) : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), - m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_receivedTimeHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { *this = jsonValue; } DevicePosition& DevicePosition::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Accuracy")) + if(jsonValue.ValueExists("DeviceId")) { - m_accuracy = jsonValue.GetObject("Accuracy"); + m_deviceId = jsonValue.GetString("DeviceId"); - m_accuracyHasBeenSet = true; + m_deviceIdHasBeenSet = true; } - if(jsonValue.ValueExists("DeviceId")) + if(jsonValue.ValueExists("SampleTime")) { - m_deviceId = jsonValue.GetString("DeviceId"); + m_sampleTime = jsonValue.GetString("SampleTime"); - m_deviceIdHasBeenSet = true; + m_sampleTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ReceivedTime")) + { + m_receivedTime = jsonValue.GetString("ReceivedTime"); + + m_receivedTimeHasBeenSet = true; } if(jsonValue.ValueExists("Position")) @@ -65,6 +72,13 @@ DevicePosition& DevicePosition::operator =(JsonView jsonValue) m_positionHasBeenSet = true; } + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + m_accuracyHasBeenSet = true; + } + if(jsonValue.ValueExists("PositionProperties")) { Aws::Map positionPropertiesJsonMap = jsonValue.GetObject("PositionProperties").GetAllObjects(); @@ -75,20 +89,6 @@ DevicePosition& DevicePosition::operator =(JsonView jsonValue) m_positionPropertiesHasBeenSet = true; } - if(jsonValue.ValueExists("ReceivedTime")) - { - m_receivedTime = jsonValue.GetString("ReceivedTime"); - - m_receivedTimeHasBeenSet = true; - } - - if(jsonValue.ValueExists("SampleTime")) - { - m_sampleTime = jsonValue.GetString("SampleTime"); - - m_sampleTimeHasBeenSet = true; - } - return *this; } @@ -96,16 +96,20 @@ JsonValue DevicePosition::Jsonize() const { JsonValue payload; - if(m_accuracyHasBeenSet) + if(m_deviceIdHasBeenSet) { - payload.WithObject("Accuracy", m_accuracy.Jsonize()); + payload.WithString("DeviceId", m_deviceId); } - if(m_deviceIdHasBeenSet) + if(m_sampleTimeHasBeenSet) { - payload.WithString("DeviceId", m_deviceId); + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_receivedTimeHasBeenSet) + { + payload.WithString("ReceivedTime", m_receivedTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_positionHasBeenSet) @@ -119,6 +123,12 @@ JsonValue DevicePosition::Jsonize() const } + if(m_accuracyHasBeenSet) + { + payload.WithObject("Accuracy", m_accuracy.Jsonize()); + + } + if(m_positionPropertiesHasBeenSet) { JsonValue positionPropertiesJsonMap; @@ -130,16 +140,6 @@ JsonValue DevicePosition::Jsonize() const } - if(m_receivedTimeHasBeenSet) - { - payload.WithString("ReceivedTime", m_receivedTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_sampleTimeHasBeenSet) - { - payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/DevicePositionUpdate.cpp b/generated/src/aws-cpp-sdk-location/source/model/DevicePositionUpdate.cpp index abb77006f00..8048f83d54f 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DevicePositionUpdate.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DevicePositionUpdate.cpp @@ -19,38 +19,38 @@ namespace Model { DevicePositionUpdate::DevicePositionUpdate() : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { } DevicePositionUpdate::DevicePositionUpdate(JsonView jsonValue) : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { *this = jsonValue; } DevicePositionUpdate& DevicePositionUpdate::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Accuracy")) + if(jsonValue.ValueExists("DeviceId")) { - m_accuracy = jsonValue.GetObject("Accuracy"); + m_deviceId = jsonValue.GetString("DeviceId"); - m_accuracyHasBeenSet = true; + m_deviceIdHasBeenSet = true; } - if(jsonValue.ValueExists("DeviceId")) + if(jsonValue.ValueExists("SampleTime")) { - m_deviceId = jsonValue.GetString("DeviceId"); + m_sampleTime = jsonValue.GetString("SampleTime"); - m_deviceIdHasBeenSet = true; + m_sampleTimeHasBeenSet = true; } if(jsonValue.ValueExists("Position")) @@ -63,6 +63,13 @@ DevicePositionUpdate& DevicePositionUpdate::operator =(JsonView jsonValue) m_positionHasBeenSet = true; } + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + m_accuracyHasBeenSet = true; + } + if(jsonValue.ValueExists("PositionProperties")) { Aws::Map positionPropertiesJsonMap = jsonValue.GetObject("PositionProperties").GetAllObjects(); @@ -73,13 +80,6 @@ DevicePositionUpdate& DevicePositionUpdate::operator =(JsonView jsonValue) m_positionPropertiesHasBeenSet = true; } - if(jsonValue.ValueExists("SampleTime")) - { - m_sampleTime = jsonValue.GetString("SampleTime"); - - m_sampleTimeHasBeenSet = true; - } - return *this; } @@ -87,16 +87,15 @@ JsonValue DevicePositionUpdate::Jsonize() const { JsonValue payload; - if(m_accuracyHasBeenSet) + if(m_deviceIdHasBeenSet) { - payload.WithObject("Accuracy", m_accuracy.Jsonize()); + payload.WithString("DeviceId", m_deviceId); } - if(m_deviceIdHasBeenSet) + if(m_sampleTimeHasBeenSet) { - payload.WithString("DeviceId", m_deviceId); - + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_positionHasBeenSet) @@ -110,6 +109,12 @@ JsonValue DevicePositionUpdate::Jsonize() const } + if(m_accuracyHasBeenSet) + { + payload.WithObject("Accuracy", m_accuracy.Jsonize()); + + } + if(m_positionPropertiesHasBeenSet) { JsonValue positionPropertiesJsonMap; @@ -121,11 +126,6 @@ JsonValue DevicePositionUpdate::Jsonize() const } - if(m_sampleTimeHasBeenSet) - { - payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/DeviceState.cpp b/generated/src/aws-cpp-sdk-location/source/model/DeviceState.cpp new file mode 100644 index 00000000000..a30adc62dd1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/DeviceState.cpp @@ -0,0 +1,164 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +DeviceState::DeviceState() : + m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_ipv4AddressHasBeenSet(false), + m_wiFiAccessPointsHasBeenSet(false), + m_cellSignalsHasBeenSet(false) +{ +} + +DeviceState::DeviceState(JsonView jsonValue) : + m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_ipv4AddressHasBeenSet(false), + m_wiFiAccessPointsHasBeenSet(false), + m_cellSignalsHasBeenSet(false) +{ + *this = jsonValue; +} + +DeviceState& DeviceState::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DeviceId")) + { + m_deviceId = jsonValue.GetString("DeviceId"); + + m_deviceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("SampleTime")) + { + m_sampleTime = jsonValue.GetString("SampleTime"); + + m_sampleTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Position")) + { + Aws::Utils::Array positionJsonList = jsonValue.GetArray("Position"); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + m_position.push_back(positionJsonList[positionIndex].AsDouble()); + } + m_positionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + m_accuracyHasBeenSet = true; + } + + if(jsonValue.ValueExists("Ipv4Address")) + { + m_ipv4Address = jsonValue.GetString("Ipv4Address"); + + m_ipv4AddressHasBeenSet = true; + } + + if(jsonValue.ValueExists("WiFiAccessPoints")) + { + Aws::Utils::Array wiFiAccessPointsJsonList = jsonValue.GetArray("WiFiAccessPoints"); + for(unsigned wiFiAccessPointsIndex = 0; wiFiAccessPointsIndex < wiFiAccessPointsJsonList.GetLength(); ++wiFiAccessPointsIndex) + { + m_wiFiAccessPoints.push_back(wiFiAccessPointsJsonList[wiFiAccessPointsIndex].AsObject()); + } + m_wiFiAccessPointsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CellSignals")) + { + m_cellSignals = jsonValue.GetObject("CellSignals"); + + m_cellSignalsHasBeenSet = true; + } + + return *this; +} + +JsonValue DeviceState::Jsonize() const +{ + JsonValue payload; + + if(m_deviceIdHasBeenSet) + { + payload.WithString("DeviceId", m_deviceId); + + } + + if(m_sampleTimeHasBeenSet) + { + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_positionHasBeenSet) + { + Aws::Utils::Array positionJsonList(m_position.size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); + } + payload.WithArray("Position", std::move(positionJsonList)); + + } + + if(m_accuracyHasBeenSet) + { + payload.WithObject("Accuracy", m_accuracy.Jsonize()); + + } + + if(m_ipv4AddressHasBeenSet) + { + payload.WithString("Ipv4Address", m_ipv4Address); + + } + + if(m_wiFiAccessPointsHasBeenSet) + { + Aws::Utils::Array wiFiAccessPointsJsonList(m_wiFiAccessPoints.size()); + for(unsigned wiFiAccessPointsIndex = 0; wiFiAccessPointsIndex < wiFiAccessPointsJsonList.GetLength(); ++wiFiAccessPointsIndex) + { + wiFiAccessPointsJsonList[wiFiAccessPointsIndex].AsObject(m_wiFiAccessPoints[wiFiAccessPointsIndex].Jsonize()); + } + payload.WithArray("WiFiAccessPoints", std::move(wiFiAccessPointsJsonList)); + + } + + if(m_cellSignalsHasBeenSet) + { + payload.WithObject("CellSignals", m_cellSignals.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/DisassociateTrackerConsumerRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/DisassociateTrackerConsumerRequest.cpp index 6bf862ca3ad..0b0a2a6348b 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/DisassociateTrackerConsumerRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/DisassociateTrackerConsumerRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DisassociateTrackerConsumerRequest::DisassociateTrackerConsumerRequest() : - m_consumerArnHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_trackerNameHasBeenSet(false), + m_consumerArnHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsDeviceState.cpp b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsDeviceState.cpp new file mode 100644 index 00000000000..0ba6559f090 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsDeviceState.cpp @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +ForecastGeofenceEventsDeviceState::ForecastGeofenceEventsDeviceState() : + m_positionHasBeenSet(false), + m_speed(0.0), + m_speedHasBeenSet(false) +{ +} + +ForecastGeofenceEventsDeviceState::ForecastGeofenceEventsDeviceState(JsonView jsonValue) : + m_positionHasBeenSet(false), + m_speed(0.0), + m_speedHasBeenSet(false) +{ + *this = jsonValue; +} + +ForecastGeofenceEventsDeviceState& ForecastGeofenceEventsDeviceState::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Position")) + { + Aws::Utils::Array positionJsonList = jsonValue.GetArray("Position"); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + m_position.push_back(positionJsonList[positionIndex].AsDouble()); + } + m_positionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Speed")) + { + m_speed = jsonValue.GetDouble("Speed"); + + m_speedHasBeenSet = true; + } + + return *this; +} + +JsonValue ForecastGeofenceEventsDeviceState::Jsonize() const +{ + JsonValue payload; + + if(m_positionHasBeenSet) + { + Aws::Utils::Array positionJsonList(m_position.size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); + } + payload.WithArray("Position", std::move(positionJsonList)); + + } + + if(m_speedHasBeenSet) + { + payload.WithDouble("Speed", m_speed); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsRequest.cpp new file mode 100644 index 00000000000..9c1b5ba24c6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsRequest.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::LocationService::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ForecastGeofenceEventsRequest::ForecastGeofenceEventsRequest() : + m_collectionNameHasBeenSet(false), + m_deviceStateHasBeenSet(false), + m_timeHorizonMinutes(0.0), + m_timeHorizonMinutesHasBeenSet(false), + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false), + m_speedUnit(SpeedUnit::NOT_SET), + m_speedUnitHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ForecastGeofenceEventsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_deviceStateHasBeenSet) + { + payload.WithObject("DeviceState", m_deviceState.Jsonize()); + + } + + if(m_timeHorizonMinutesHasBeenSet) + { + payload.WithDouble("TimeHorizonMinutes", m_timeHorizonMinutes); + + } + + if(m_distanceUnitHasBeenSet) + { + payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); + } + + if(m_speedUnitHasBeenSet) + { + payload.WithString("SpeedUnit", SpeedUnitMapper::GetNameForSpeedUnit(m_speedUnit)); + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsResult.cpp new file mode 100644 index 00000000000..eb9155fd953 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/ForecastGeofenceEventsResult.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::LocationService::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ForecastGeofenceEventsResult::ForecastGeofenceEventsResult() : + m_distanceUnit(DistanceUnit::NOT_SET), + m_speedUnit(SpeedUnit::NOT_SET) +{ +} + +ForecastGeofenceEventsResult::ForecastGeofenceEventsResult(const Aws::AmazonWebServiceResult& result) : + m_distanceUnit(DistanceUnit::NOT_SET), + m_speedUnit(SpeedUnit::NOT_SET) +{ + *this = result; +} + +ForecastGeofenceEventsResult& ForecastGeofenceEventsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ForecastedEvents")) + { + Aws::Utils::Array forecastedEventsJsonList = jsonValue.GetArray("ForecastedEvents"); + for(unsigned forecastedEventsIndex = 0; forecastedEventsIndex < forecastedEventsJsonList.GetLength(); ++forecastedEventsIndex) + { + m_forecastedEvents.push_back(forecastedEventsJsonList[forecastedEventsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("DistanceUnit")) + { + m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); + + } + + if(jsonValue.ValueExists("SpeedUnit")) + { + m_speedUnit = SpeedUnitMapper::GetSpeedUnitForName(jsonValue.GetString("SpeedUnit")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-location/source/model/ForecastedEvent.cpp b/generated/src/aws-cpp-sdk-location/source/model/ForecastedEvent.cpp new file mode 100644 index 00000000000..ed6143e19e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/ForecastedEvent.cpp @@ -0,0 +1,161 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +ForecastedEvent::ForecastedEvent() : + m_eventIdHasBeenSet(false), + m_geofenceIdHasBeenSet(false), + m_isDeviceInGeofence(false), + m_isDeviceInGeofenceHasBeenSet(false), + m_nearestDistance(0.0), + m_nearestDistanceHasBeenSet(false), + m_eventType(ForecastedGeofenceEventType::NOT_SET), + m_eventTypeHasBeenSet(false), + m_forecastedBreachTimeHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) +{ +} + +ForecastedEvent::ForecastedEvent(JsonView jsonValue) : + m_eventIdHasBeenSet(false), + m_geofenceIdHasBeenSet(false), + m_isDeviceInGeofence(false), + m_isDeviceInGeofenceHasBeenSet(false), + m_nearestDistance(0.0), + m_nearestDistanceHasBeenSet(false), + m_eventType(ForecastedGeofenceEventType::NOT_SET), + m_eventTypeHasBeenSet(false), + m_forecastedBreachTimeHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) +{ + *this = jsonValue; +} + +ForecastedEvent& ForecastedEvent::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("EventId")) + { + m_eventId = jsonValue.GetString("EventId"); + + m_eventIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("GeofenceId")) + { + m_geofenceId = jsonValue.GetString("GeofenceId"); + + m_geofenceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("IsDeviceInGeofence")) + { + m_isDeviceInGeofence = jsonValue.GetBool("IsDeviceInGeofence"); + + m_isDeviceInGeofenceHasBeenSet = true; + } + + if(jsonValue.ValueExists("NearestDistance")) + { + m_nearestDistance = jsonValue.GetDouble("NearestDistance"); + + m_nearestDistanceHasBeenSet = true; + } + + if(jsonValue.ValueExists("EventType")) + { + m_eventType = ForecastedGeofenceEventTypeMapper::GetForecastedGeofenceEventTypeForName(jsonValue.GetString("EventType")); + + m_eventTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ForecastedBreachTime")) + { + m_forecastedBreachTime = jsonValue.GetString("ForecastedBreachTime"); + + m_forecastedBreachTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("GeofenceProperties")) + { + Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); + for(auto& geofencePropertiesItem : geofencePropertiesJsonMap) + { + m_geofenceProperties[geofencePropertiesItem.first] = geofencePropertiesItem.second.AsString(); + } + m_geofencePropertiesHasBeenSet = true; + } + + return *this; +} + +JsonValue ForecastedEvent::Jsonize() const +{ + JsonValue payload; + + if(m_eventIdHasBeenSet) + { + payload.WithString("EventId", m_eventId); + + } + + if(m_geofenceIdHasBeenSet) + { + payload.WithString("GeofenceId", m_geofenceId); + + } + + if(m_isDeviceInGeofenceHasBeenSet) + { + payload.WithBool("IsDeviceInGeofence", m_isDeviceInGeofence); + + } + + if(m_nearestDistanceHasBeenSet) + { + payload.WithDouble("NearestDistance", m_nearestDistance); + + } + + if(m_eventTypeHasBeenSet) + { + payload.WithString("EventType", ForecastedGeofenceEventTypeMapper::GetNameForForecastedGeofenceEventType(m_eventType)); + } + + if(m_forecastedBreachTimeHasBeenSet) + { + payload.WithString("ForecastedBreachTime", m_forecastedBreachTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_geofencePropertiesHasBeenSet) + { + JsonValue geofencePropertiesJsonMap; + for(auto& geofencePropertiesItem : m_geofenceProperties) + { + geofencePropertiesJsonMap.WithString(geofencePropertiesItem.first, geofencePropertiesItem.second); + } + payload.WithObject("GeofenceProperties", std::move(geofencePropertiesJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/ForecastedGeofenceEventType.cpp b/generated/src/aws-cpp-sdk-location/source/model/ForecastedGeofenceEventType.cpp new file mode 100644 index 00000000000..aa680b9d24e --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/ForecastedGeofenceEventType.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace LocationService + { + namespace Model + { + namespace ForecastedGeofenceEventTypeMapper + { + + static const int ENTER_HASH = HashingUtils::HashString("ENTER"); + static const int EXIT_HASH = HashingUtils::HashString("EXIT"); + static const int IDLE_HASH = HashingUtils::HashString("IDLE"); + + + ForecastedGeofenceEventType GetForecastedGeofenceEventTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENTER_HASH) + { + return ForecastedGeofenceEventType::ENTER; + } + else if (hashCode == EXIT_HASH) + { + return ForecastedGeofenceEventType::EXIT; + } + else if (hashCode == IDLE_HASH) + { + return ForecastedGeofenceEventType::IDLE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ForecastedGeofenceEventType::NOT_SET; + } + + Aws::String GetNameForForecastedGeofenceEventType(ForecastedGeofenceEventType enumValue) + { + switch(enumValue) + { + case ForecastedGeofenceEventType::NOT_SET: + return {}; + case ForecastedGeofenceEventType::ENTER: + return "ENTER"; + case ForecastedGeofenceEventType::EXIT: + return "EXIT"; + case ForecastedGeofenceEventType::IDLE: + return "IDLE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ForecastedGeofenceEventTypeMapper + } // namespace Model + } // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/GeofenceGeometry.cpp b/generated/src/aws-cpp-sdk-location/source/model/GeofenceGeometry.cpp index 96b86dbfbf9..4f2a22fc19b 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GeofenceGeometry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GeofenceGeometry.cpp @@ -5,6 +5,7 @@ #include #include +#include #include @@ -19,27 +20,22 @@ namespace Model { GeofenceGeometry::GeofenceGeometry() : + m_polygonHasBeenSet(false), m_circleHasBeenSet(false), - m_polygonHasBeenSet(false) + m_geobufHasBeenSet(false) { } GeofenceGeometry::GeofenceGeometry(JsonView jsonValue) : + m_polygonHasBeenSet(false), m_circleHasBeenSet(false), - m_polygonHasBeenSet(false) + m_geobufHasBeenSet(false) { *this = jsonValue; } GeofenceGeometry& GeofenceGeometry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Circle")) - { - m_circle = jsonValue.GetObject("Circle"); - - m_circleHasBeenSet = true; - } - if(jsonValue.ValueExists("Polygon")) { Aws::Utils::Array polygonJsonList = jsonValue.GetArray("Polygon"); @@ -64,6 +60,19 @@ GeofenceGeometry& GeofenceGeometry::operator =(JsonView jsonValue) m_polygonHasBeenSet = true; } + if(jsonValue.ValueExists("Circle")) + { + m_circle = jsonValue.GetObject("Circle"); + + m_circleHasBeenSet = true; + } + + if(jsonValue.ValueExists("Geobuf")) + { + m_geobuf = HashingUtils::Base64Decode(jsonValue.GetString("Geobuf")); + m_geobufHasBeenSet = true; + } + return *this; } @@ -71,12 +80,6 @@ JsonValue GeofenceGeometry::Jsonize() const { JsonValue payload; - if(m_circleHasBeenSet) - { - payload.WithObject("Circle", m_circle.Jsonize()); - - } - if(m_polygonHasBeenSet) { Aws::Utils::Array polygonJsonList(m_polygon.size()); @@ -98,6 +101,17 @@ JsonValue GeofenceGeometry::Jsonize() const } + if(m_circleHasBeenSet) + { + payload.WithObject("Circle", m_circle.Jsonize()); + + } + + if(m_geobufHasBeenSet) + { + payload.WithString("Geobuf", HashingUtils::Base64Encode(m_geobuf)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionHistoryRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionHistoryRequest.cpp index 934d3bbb5b4..32c757bbecb 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionHistoryRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionHistoryRequest.cpp @@ -13,13 +13,13 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; GetDevicePositionHistoryRequest::GetDevicePositionHistoryRequest() : + m_trackerNameHasBeenSet(false), m_deviceIdHasBeenSet(false), - m_endTimeExclusiveHasBeenSet(false), - m_maxResults(0), - m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), m_startTimeInclusiveHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_endTimeExclusiveHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) { } @@ -27,26 +27,26 @@ Aws::String GetDevicePositionHistoryRequest::SerializePayload() const { JsonValue payload; - if(m_endTimeExclusiveHasBeenSet) + if(m_nextTokenHasBeenSet) { - payload.WithString("EndTimeExclusive", m_endTimeExclusive.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("NextToken", m_nextToken); + } - if(m_maxResultsHasBeenSet) + if(m_startTimeInclusiveHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); - + payload.WithString("StartTimeInclusive", m_startTimeInclusive.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_nextTokenHasBeenSet) + if(m_endTimeExclusiveHasBeenSet) { - payload.WithString("NextToken", m_nextToken); - + payload.WithString("EndTimeExclusive", m_endTimeExclusive.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_startTimeInclusiveHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("StartTimeInclusive", m_startTimeInclusive.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithInteger("MaxResults", m_maxResults); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionRequest.cpp index a6911b7437a..25119957ca1 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; GetDevicePositionRequest::GetDevicePositionRequest() : - m_deviceIdHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_trackerNameHasBeenSet(false), + m_deviceIdHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionResult.cpp index 419101a4427..5b7b209ce3b 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetDevicePositionResult.cpp @@ -29,15 +29,21 @@ GetDevicePositionResult::GetDevicePositionResult(const Aws::AmazonWebServiceResu GetDevicePositionResult& GetDevicePositionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("Accuracy")) + if(jsonValue.ValueExists("DeviceId")) { - m_accuracy = jsonValue.GetObject("Accuracy"); + m_deviceId = jsonValue.GetString("DeviceId"); } - if(jsonValue.ValueExists("DeviceId")) + if(jsonValue.ValueExists("SampleTime")) { - m_deviceId = jsonValue.GetString("DeviceId"); + m_sampleTime = jsonValue.GetString("SampleTime"); + + } + + if(jsonValue.ValueExists("ReceivedTime")) + { + m_receivedTime = jsonValue.GetString("ReceivedTime"); } @@ -50,6 +56,12 @@ GetDevicePositionResult& GetDevicePositionResult::operator =(const Aws::AmazonWe } } + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + } + if(jsonValue.ValueExists("PositionProperties")) { Aws::Map positionPropertiesJsonMap = jsonValue.GetObject("PositionProperties").GetAllObjects(); @@ -59,18 +71,6 @@ GetDevicePositionResult& GetDevicePositionResult::operator =(const Aws::AmazonWe } } - if(jsonValue.ValueExists("ReceivedTime")) - { - m_receivedTime = jsonValue.GetString("ReceivedTime"); - - } - - if(jsonValue.ValueExists("SampleTime")) - { - m_sampleTime = jsonValue.GetString("SampleTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetGeofenceResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetGeofenceResult.cpp index cd7c151b24a..3bbbb95de20 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetGeofenceResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetGeofenceResult.cpp @@ -29,27 +29,12 @@ GetGeofenceResult::GetGeofenceResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) - { - m_createTime = jsonValue.GetString("CreateTime"); - - } - if(jsonValue.ValueExists("GeofenceId")) { m_geofenceId = jsonValue.GetString("GeofenceId"); } - if(jsonValue.ValueExists("GeofenceProperties")) - { - Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); - for(auto& geofencePropertiesItem : geofencePropertiesJsonMap) - { - m_geofenceProperties[geofencePropertiesItem.first] = geofencePropertiesItem.second.AsString(); - } - } - if(jsonValue.ValueExists("Geometry")) { m_geometry = jsonValue.GetObject("Geometry"); @@ -62,12 +47,27 @@ GetGeofenceResult& GetGeofenceResult::operator =(const Aws::AmazonWebServiceResu } + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetString("CreateTime"); + + } + if(jsonValue.ValueExists("UpdateTime")) { m_updateTime = jsonValue.GetString("UpdateTime"); } + if(jsonValue.ValueExists("GeofenceProperties")) + { + Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); + for(auto& geofencePropertiesItem : geofencePropertiesJsonMap) + { + m_geofenceProperties[geofencePropertiesItem.first] = geofencePropertiesItem.second.AsString(); + } + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsRequest.cpp index a57474b5a31..dacf74f00cf 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsRequest.cpp @@ -16,10 +16,10 @@ using namespace Aws::Utils; using namespace Aws::Http; GetMapGlyphsRequest::GetMapGlyphsRequest() : + m_mapNameHasBeenSet(false), m_fontStackHasBeenSet(false), m_fontUnicodeRangeHasBeenSet(false), - m_keyHasBeenSet(false), - m_mapNameHasBeenSet(false) + m_keyHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsResult.cpp index aef6b44bc19..551957854d1 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapGlyphsResult.cpp @@ -22,8 +22,8 @@ GetMapGlyphsResult::GetMapGlyphsResult() GetMapGlyphsResult::GetMapGlyphsResult(GetMapGlyphsResult&& toMove) : m_blob(std::move(toMove.m_blob)), - m_cacheControl(std::move(toMove.m_cacheControl)), m_contentType(std::move(toMove.m_contentType)), + m_cacheControl(std::move(toMove.m_cacheControl)), m_requestId(std::move(toMove.m_requestId)) { } @@ -36,8 +36,8 @@ GetMapGlyphsResult& GetMapGlyphsResult::operator=(GetMapGlyphsResult&& toMove) } m_blob = std::move(toMove.m_blob); - m_cacheControl = std::move(toMove.m_cacheControl); m_contentType = std::move(toMove.m_contentType); + m_cacheControl = std::move(toMove.m_cacheControl); m_requestId = std::move(toMove.m_requestId); return *this; @@ -53,18 +53,18 @@ GetMapGlyphsResult& GetMapGlyphsResult::operator =(Aws::AmazonWebServiceResultsecond; - } - const auto& contentTypeIter = headers.find("content-type"); if(contentTypeIter != headers.end()) { m_contentType = contentTypeIter->second; } + const auto& cacheControlIter = headers.find("cache-control"); + if(cacheControlIter != headers.end()) + { + m_cacheControl = cacheControlIter->second; + } + const auto& requestIdIter = headers.find("x-amzn-requestid"); if(requestIdIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesRequest.cpp index 232c8b4d6fb..9034a914a94 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesRequest.cpp @@ -16,9 +16,9 @@ using namespace Aws::Utils; using namespace Aws::Http; GetMapSpritesRequest::GetMapSpritesRequest() : + m_mapNameHasBeenSet(false), m_fileNameHasBeenSet(false), - m_keyHasBeenSet(false), - m_mapNameHasBeenSet(false) + m_keyHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesResult.cpp index 39fc5d7bcfa..a4bca1fa959 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapSpritesResult.cpp @@ -22,8 +22,8 @@ GetMapSpritesResult::GetMapSpritesResult() GetMapSpritesResult::GetMapSpritesResult(GetMapSpritesResult&& toMove) : m_blob(std::move(toMove.m_blob)), - m_cacheControl(std::move(toMove.m_cacheControl)), m_contentType(std::move(toMove.m_contentType)), + m_cacheControl(std::move(toMove.m_cacheControl)), m_requestId(std::move(toMove.m_requestId)) { } @@ -36,8 +36,8 @@ GetMapSpritesResult& GetMapSpritesResult::operator=(GetMapSpritesResult&& toMove } m_blob = std::move(toMove.m_blob); - m_cacheControl = std::move(toMove.m_cacheControl); m_contentType = std::move(toMove.m_contentType); + m_cacheControl = std::move(toMove.m_cacheControl); m_requestId = std::move(toMove.m_requestId); return *this; @@ -53,18 +53,18 @@ GetMapSpritesResult& GetMapSpritesResult::operator =(Aws::AmazonWebServiceResult m_blob = result.TakeOwnershipOfPayload(); const auto& headers = result.GetHeaderValueCollection(); - const auto& cacheControlIter = headers.find("cache-control"); - if(cacheControlIter != headers.end()) - { - m_cacheControl = cacheControlIter->second; - } - const auto& contentTypeIter = headers.find("content-type"); if(contentTypeIter != headers.end()) { m_contentType = contentTypeIter->second; } + const auto& cacheControlIter = headers.find("cache-control"); + if(cacheControlIter != headers.end()) + { + m_cacheControl = cacheControlIter->second; + } + const auto& requestIdIter = headers.find("x-amzn-requestid"); if(requestIdIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorRequest.cpp index ac474634b20..f979d54fa95 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorRequest.cpp @@ -16,8 +16,8 @@ using namespace Aws::Utils; using namespace Aws::Http; GetMapStyleDescriptorRequest::GetMapStyleDescriptorRequest() : - m_keyHasBeenSet(false), - m_mapNameHasBeenSet(false) + m_mapNameHasBeenSet(false), + m_keyHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorResult.cpp index 8b71be411e3..8c9dff4d172 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapStyleDescriptorResult.cpp @@ -22,8 +22,8 @@ GetMapStyleDescriptorResult::GetMapStyleDescriptorResult() GetMapStyleDescriptorResult::GetMapStyleDescriptorResult(GetMapStyleDescriptorResult&& toMove) : m_blob(std::move(toMove.m_blob)), - m_cacheControl(std::move(toMove.m_cacheControl)), m_contentType(std::move(toMove.m_contentType)), + m_cacheControl(std::move(toMove.m_cacheControl)), m_requestId(std::move(toMove.m_requestId)) { } @@ -36,8 +36,8 @@ GetMapStyleDescriptorResult& GetMapStyleDescriptorResult::operator=(GetMapStyleD } m_blob = std::move(toMove.m_blob); - m_cacheControl = std::move(toMove.m_cacheControl); m_contentType = std::move(toMove.m_contentType); + m_cacheControl = std::move(toMove.m_cacheControl); m_requestId = std::move(toMove.m_requestId); return *this; @@ -53,18 +53,18 @@ GetMapStyleDescriptorResult& GetMapStyleDescriptorResult::operator =(Aws::Amazon m_blob = result.TakeOwnershipOfPayload(); const auto& headers = result.GetHeaderValueCollection(); - const auto& cacheControlIter = headers.find("cache-control"); - if(cacheControlIter != headers.end()) - { - m_cacheControl = cacheControlIter->second; - } - const auto& contentTypeIter = headers.find("content-type"); if(contentTypeIter != headers.end()) { m_contentType = contentTypeIter->second; } + const auto& cacheControlIter = headers.find("cache-control"); + if(cacheControlIter != headers.end()) + { + m_cacheControl = cacheControlIter->second; + } + const auto& requestIdIter = headers.find("x-amzn-requestid"); if(requestIdIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapTileRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapTileRequest.cpp index 6827cccdcc0..9bb9c5fb877 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapTileRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapTileRequest.cpp @@ -16,11 +16,11 @@ using namespace Aws::Utils; using namespace Aws::Http; GetMapTileRequest::GetMapTileRequest() : - m_keyHasBeenSet(false), m_mapNameHasBeenSet(false), + m_zHasBeenSet(false), m_xHasBeenSet(false), m_yHasBeenSet(false), - m_zHasBeenSet(false) + m_keyHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetMapTileResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetMapTileResult.cpp index a3f94e5389d..3eeece2fe12 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetMapTileResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetMapTileResult.cpp @@ -22,8 +22,8 @@ GetMapTileResult::GetMapTileResult() GetMapTileResult::GetMapTileResult(GetMapTileResult&& toMove) : m_blob(std::move(toMove.m_blob)), - m_cacheControl(std::move(toMove.m_cacheControl)), m_contentType(std::move(toMove.m_contentType)), + m_cacheControl(std::move(toMove.m_cacheControl)), m_requestId(std::move(toMove.m_requestId)) { } @@ -36,8 +36,8 @@ GetMapTileResult& GetMapTileResult::operator=(GetMapTileResult&& toMove) } m_blob = std::move(toMove.m_blob); - m_cacheControl = std::move(toMove.m_cacheControl); m_contentType = std::move(toMove.m_contentType); + m_cacheControl = std::move(toMove.m_cacheControl); m_requestId = std::move(toMove.m_requestId); return *this; @@ -53,18 +53,18 @@ GetMapTileResult& GetMapTileResult::operator =(Aws::AmazonWebServiceResultsecond; - } - const auto& contentTypeIter = headers.find("content-type"); if(contentTypeIter != headers.end()) { m_contentType = contentTypeIter->second; } + const auto& cacheControlIter = headers.find("cache-control"); + if(cacheControlIter != headers.end()) + { + m_cacheControl = cacheControlIter->second; + } + const auto& requestIdIter = headers.find("x-amzn-requestid"); if(requestIdIter != headers.end()) { diff --git a/generated/src/aws-cpp-sdk-location/source/model/GetPlaceRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/GetPlaceRequest.cpp index 8531d5278b7..27171461160 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/GetPlaceRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/GetPlaceRequest.cpp @@ -17,9 +17,9 @@ using namespace Aws::Http; GetPlaceRequest::GetPlaceRequest() : m_indexNameHasBeenSet(false), - m_keyHasBeenSet(false), + m_placeIdHasBeenSet(false), m_languageHasBeenSet(false), - m_placeIdHasBeenSet(false) + m_keyHasBeenSet(false) { } @@ -31,17 +31,17 @@ Aws::String GetPlaceRequest::SerializePayload() const void GetPlaceRequest::AddQueryStringParameters(URI& uri) const { Aws::StringStream ss; - if(m_keyHasBeenSet) + if(m_languageHasBeenSet) { - ss << m_key; - uri.AddQueryStringParameter("key", ss.str()); + ss << m_language; + uri.AddQueryStringParameter("language", ss.str()); ss.str(""); } - if(m_languageHasBeenSet) + if(m_keyHasBeenSet) { - ss << m_language; - uri.AddQueryStringParameter("language", ss.str()); + ss << m_key; + uri.AddQueryStringParameter("key", ss.str()); ss.str(""); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/InferredState.cpp b/generated/src/aws-cpp-sdk-location/source/model/InferredState.cpp new file mode 100644 index 00000000000..46641374ea0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/InferredState.cpp @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +InferredState::InferredState() : + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_deviationDistance(0.0), + m_deviationDistanceHasBeenSet(false), + m_proxyDetected(false), + m_proxyDetectedHasBeenSet(false) +{ +} + +InferredState::InferredState(JsonView jsonValue) : + m_positionHasBeenSet(false), + m_accuracyHasBeenSet(false), + m_deviationDistance(0.0), + m_deviationDistanceHasBeenSet(false), + m_proxyDetected(false), + m_proxyDetectedHasBeenSet(false) +{ + *this = jsonValue; +} + +InferredState& InferredState::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Position")) + { + Aws::Utils::Array positionJsonList = jsonValue.GetArray("Position"); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + m_position.push_back(positionJsonList[positionIndex].AsDouble()); + } + m_positionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + m_accuracyHasBeenSet = true; + } + + if(jsonValue.ValueExists("DeviationDistance")) + { + m_deviationDistance = jsonValue.GetDouble("DeviationDistance"); + + m_deviationDistanceHasBeenSet = true; + } + + if(jsonValue.ValueExists("ProxyDetected")) + { + m_proxyDetected = jsonValue.GetBool("ProxyDetected"); + + m_proxyDetectedHasBeenSet = true; + } + + return *this; +} + +JsonValue InferredState::Jsonize() const +{ + JsonValue payload; + + if(m_positionHasBeenSet) + { + Aws::Utils::Array positionJsonList(m_position.size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); + } + payload.WithArray("Position", std::move(positionJsonList)); + + } + + if(m_accuracyHasBeenSet) + { + payload.WithObject("Accuracy", m_accuracy.Jsonize()); + + } + + if(m_deviationDistanceHasBeenSet) + { + payload.WithDouble("DeviationDistance", m_deviationDistance); + + } + + if(m_proxyDetectedHasBeenSet) + { + payload.WithBool("ProxyDetected", m_proxyDetected); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/Leg.cpp b/generated/src/aws-cpp-sdk-location/source/model/Leg.cpp index 3faade8a7ae..4552893439a 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/Leg.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/Leg.cpp @@ -19,25 +19,25 @@ namespace Model { Leg::Leg() : + m_startPositionHasBeenSet(false), + m_endPositionHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_endPositionHasBeenSet(false), m_geometryHasBeenSet(false), - m_startPositionHasBeenSet(false), m_stepsHasBeenSet(false) { } Leg::Leg(JsonView jsonValue) : + m_startPositionHasBeenSet(false), + m_endPositionHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_endPositionHasBeenSet(false), m_geometryHasBeenSet(false), - m_startPositionHasBeenSet(false), m_stepsHasBeenSet(false) { *this = jsonValue; @@ -45,6 +45,26 @@ Leg::Leg(JsonView jsonValue) : Leg& Leg::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("StartPosition")) + { + Aws::Utils::Array startPositionJsonList = jsonValue.GetArray("StartPosition"); + for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) + { + m_startPosition.push_back(startPositionJsonList[startPositionIndex].AsDouble()); + } + m_startPositionHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndPosition")) + { + Aws::Utils::Array endPositionJsonList = jsonValue.GetArray("EndPosition"); + for(unsigned endPositionIndex = 0; endPositionIndex < endPositionJsonList.GetLength(); ++endPositionIndex) + { + m_endPosition.push_back(endPositionJsonList[endPositionIndex].AsDouble()); + } + m_endPositionHasBeenSet = true; + } + if(jsonValue.ValueExists("Distance")) { m_distance = jsonValue.GetDouble("Distance"); @@ -59,16 +79,6 @@ Leg& Leg::operator =(JsonView jsonValue) m_durationSecondsHasBeenSet = true; } - if(jsonValue.ValueExists("EndPosition")) - { - Aws::Utils::Array endPositionJsonList = jsonValue.GetArray("EndPosition"); - for(unsigned endPositionIndex = 0; endPositionIndex < endPositionJsonList.GetLength(); ++endPositionIndex) - { - m_endPosition.push_back(endPositionJsonList[endPositionIndex].AsDouble()); - } - m_endPositionHasBeenSet = true; - } - if(jsonValue.ValueExists("Geometry")) { m_geometry = jsonValue.GetObject("Geometry"); @@ -76,16 +86,6 @@ Leg& Leg::operator =(JsonView jsonValue) m_geometryHasBeenSet = true; } - if(jsonValue.ValueExists("StartPosition")) - { - Aws::Utils::Array startPositionJsonList = jsonValue.GetArray("StartPosition"); - for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) - { - m_startPosition.push_back(startPositionJsonList[startPositionIndex].AsDouble()); - } - m_startPositionHasBeenSet = true; - } - if(jsonValue.ValueExists("Steps")) { Aws::Utils::Array stepsJsonList = jsonValue.GetArray("Steps"); @@ -103,15 +103,14 @@ JsonValue Leg::Jsonize() const { JsonValue payload; - if(m_distanceHasBeenSet) - { - payload.WithDouble("Distance", m_distance); - - } - - if(m_durationSecondsHasBeenSet) + if(m_startPositionHasBeenSet) { - payload.WithDouble("DurationSeconds", m_durationSeconds); + Aws::Utils::Array startPositionJsonList(m_startPosition.size()); + for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) + { + startPositionJsonList[startPositionIndex].AsDouble(m_startPosition[startPositionIndex]); + } + payload.WithArray("StartPosition", std::move(startPositionJsonList)); } @@ -126,20 +125,21 @@ JsonValue Leg::Jsonize() const } - if(m_geometryHasBeenSet) + if(m_distanceHasBeenSet) { - payload.WithObject("Geometry", m_geometry.Jsonize()); + payload.WithDouble("Distance", m_distance); } - if(m_startPositionHasBeenSet) + if(m_durationSecondsHasBeenSet) { - Aws::Utils::Array startPositionJsonList(m_startPosition.size()); - for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) - { - startPositionJsonList[startPositionIndex].AsDouble(m_startPosition[startPositionIndex]); - } - payload.WithArray("StartPosition", std::move(startPositionJsonList)); + payload.WithDouble("DurationSeconds", m_durationSeconds); + + } + + if(m_geometryHasBeenSet) + { + payload.WithObject("Geometry", m_geometry.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsRequest.cpp index acf856b4118..96f29d3a614 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsRequest.cpp @@ -13,11 +13,11 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListDevicePositionsRequest::ListDevicePositionsRequest() : - m_filterGeometryHasBeenSet(false), + m_trackerNameHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_nextTokenHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_filterGeometryHasBeenSet(false) { } @@ -25,12 +25,6 @@ Aws::String ListDevicePositionsRequest::SerializePayload() const { JsonValue payload; - if(m_filterGeometryHasBeenSet) - { - payload.WithObject("FilterGeometry", m_filterGeometry.Jsonize()); - - } - if(m_maxResultsHasBeenSet) { payload.WithInteger("MaxResults", m_maxResults); @@ -43,6 +37,12 @@ Aws::String ListDevicePositionsRequest::SerializePayload() const } + if(m_filterGeometryHasBeenSet) + { + payload.WithObject("FilterGeometry", m_filterGeometry.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsResponseEntry.cpp index 24fdc2e62ef..433238115ba 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListDevicePositionsResponseEntry.cpp @@ -19,38 +19,38 @@ namespace Model { ListDevicePositionsResponseEntry::ListDevicePositionsResponseEntry() : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { } ListDevicePositionsResponseEntry::ListDevicePositionsResponseEntry(JsonView jsonValue) : - m_accuracyHasBeenSet(false), m_deviceIdHasBeenSet(false), + m_sampleTimeHasBeenSet(false), m_positionHasBeenSet(false), - m_positionPropertiesHasBeenSet(false), - m_sampleTimeHasBeenSet(false) + m_accuracyHasBeenSet(false), + m_positionPropertiesHasBeenSet(false) { *this = jsonValue; } ListDevicePositionsResponseEntry& ListDevicePositionsResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Accuracy")) + if(jsonValue.ValueExists("DeviceId")) { - m_accuracy = jsonValue.GetObject("Accuracy"); + m_deviceId = jsonValue.GetString("DeviceId"); - m_accuracyHasBeenSet = true; + m_deviceIdHasBeenSet = true; } - if(jsonValue.ValueExists("DeviceId")) + if(jsonValue.ValueExists("SampleTime")) { - m_deviceId = jsonValue.GetString("DeviceId"); + m_sampleTime = jsonValue.GetString("SampleTime"); - m_deviceIdHasBeenSet = true; + m_sampleTimeHasBeenSet = true; } if(jsonValue.ValueExists("Position")) @@ -63,6 +63,13 @@ ListDevicePositionsResponseEntry& ListDevicePositionsResponseEntry::operator =(J m_positionHasBeenSet = true; } + if(jsonValue.ValueExists("Accuracy")) + { + m_accuracy = jsonValue.GetObject("Accuracy"); + + m_accuracyHasBeenSet = true; + } + if(jsonValue.ValueExists("PositionProperties")) { Aws::Map positionPropertiesJsonMap = jsonValue.GetObject("PositionProperties").GetAllObjects(); @@ -73,13 +80,6 @@ ListDevicePositionsResponseEntry& ListDevicePositionsResponseEntry::operator =(J m_positionPropertiesHasBeenSet = true; } - if(jsonValue.ValueExists("SampleTime")) - { - m_sampleTime = jsonValue.GetString("SampleTime"); - - m_sampleTimeHasBeenSet = true; - } - return *this; } @@ -87,16 +87,15 @@ JsonValue ListDevicePositionsResponseEntry::Jsonize() const { JsonValue payload; - if(m_accuracyHasBeenSet) + if(m_deviceIdHasBeenSet) { - payload.WithObject("Accuracy", m_accuracy.Jsonize()); + payload.WithString("DeviceId", m_deviceId); } - if(m_deviceIdHasBeenSet) + if(m_sampleTimeHasBeenSet) { - payload.WithString("DeviceId", m_deviceId); - + payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_positionHasBeenSet) @@ -110,6 +109,12 @@ JsonValue ListDevicePositionsResponseEntry::Jsonize() const } + if(m_accuracyHasBeenSet) + { + payload.WithObject("Accuracy", m_accuracy.Jsonize()); + + } + if(m_positionPropertiesHasBeenSet) { JsonValue positionPropertiesJsonMap; @@ -121,11 +126,6 @@ JsonValue ListDevicePositionsResponseEntry::Jsonize() const } - if(m_sampleTimeHasBeenSet) - { - payload.WithString("SampleTime", m_sampleTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceCollectionsResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceCollectionsResponseEntry.cpp index cc48a319af0..2d09d5853f9 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceCollectionsResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceCollectionsResponseEntry.cpp @@ -20,16 +20,16 @@ namespace Model ListGeofenceCollectionsResponseEntry::ListGeofenceCollectionsResponseEntry() : m_collectionNameHasBeenSet(false), - m_createTimeHasBeenSet(false), m_descriptionHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListGeofenceCollectionsResponseEntry::ListGeofenceCollectionsResponseEntry(JsonView jsonValue) : m_collectionNameHasBeenSet(false), - m_createTimeHasBeenSet(false), m_descriptionHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -44,18 +44,18 @@ ListGeofenceCollectionsResponseEntry& ListGeofenceCollectionsResponseEntry::oper m_collectionNameHasBeenSet = true; } - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("Description")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_description = jsonValue.GetString("Description"); - m_createTimeHasBeenSet = true; + m_descriptionHasBeenSet = true; } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("CreateTime")) { - m_description = jsonValue.GetString("Description"); + m_createTime = jsonValue.GetString("CreateTime"); - m_descriptionHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -78,17 +78,17 @@ JsonValue ListGeofenceCollectionsResponseEntry::Jsonize() const } - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_descriptionHasBeenSet) { payload.WithString("Description", m_description); } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_updateTimeHasBeenSet) { payload.WithString("UpdateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceResponseEntry.cpp index 465a9a7eaf1..f54c34dbedb 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListGeofenceResponseEntry.cpp @@ -19,35 +19,28 @@ namespace Model { ListGeofenceResponseEntry::ListGeofenceResponseEntry() : - m_createTimeHasBeenSet(false), m_geofenceIdHasBeenSet(false), - m_geofencePropertiesHasBeenSet(false), m_geometryHasBeenSet(false), m_statusHasBeenSet(false), - m_updateTimeHasBeenSet(false) + m_createTimeHasBeenSet(false), + m_updateTimeHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) { } ListGeofenceResponseEntry::ListGeofenceResponseEntry(JsonView jsonValue) : - m_createTimeHasBeenSet(false), m_geofenceIdHasBeenSet(false), - m_geofencePropertiesHasBeenSet(false), m_geometryHasBeenSet(false), m_statusHasBeenSet(false), - m_updateTimeHasBeenSet(false) + m_createTimeHasBeenSet(false), + m_updateTimeHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) { *this = jsonValue; } ListGeofenceResponseEntry& ListGeofenceResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) - { - m_createTime = jsonValue.GetString("CreateTime"); - - m_createTimeHasBeenSet = true; - } - if(jsonValue.ValueExists("GeofenceId")) { m_geofenceId = jsonValue.GetString("GeofenceId"); @@ -55,16 +48,6 @@ ListGeofenceResponseEntry& ListGeofenceResponseEntry::operator =(JsonView jsonVa m_geofenceIdHasBeenSet = true; } - if(jsonValue.ValueExists("GeofenceProperties")) - { - Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); - for(auto& geofencePropertiesItem : geofencePropertiesJsonMap) - { - m_geofenceProperties[geofencePropertiesItem.first] = geofencePropertiesItem.second.AsString(); - } - m_geofencePropertiesHasBeenSet = true; - } - if(jsonValue.ValueExists("Geometry")) { m_geometry = jsonValue.GetObject("Geometry"); @@ -79,6 +62,13 @@ ListGeofenceResponseEntry& ListGeofenceResponseEntry::operator =(JsonView jsonVa m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetString("CreateTime"); + + m_createTimeHasBeenSet = true; + } + if(jsonValue.ValueExists("UpdateTime")) { m_updateTime = jsonValue.GetString("UpdateTime"); @@ -86,6 +76,16 @@ ListGeofenceResponseEntry& ListGeofenceResponseEntry::operator =(JsonView jsonVa m_updateTimeHasBeenSet = true; } + if(jsonValue.ValueExists("GeofenceProperties")) + { + Aws::Map geofencePropertiesJsonMap = jsonValue.GetObject("GeofenceProperties").GetAllObjects(); + for(auto& geofencePropertiesItem : geofencePropertiesJsonMap) + { + m_geofenceProperties[geofencePropertiesItem.first] = geofencePropertiesItem.second.AsString(); + } + m_geofencePropertiesHasBeenSet = true; + } + return *this; } @@ -93,28 +93,12 @@ JsonValue ListGeofenceResponseEntry::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_geofenceIdHasBeenSet) { payload.WithString("GeofenceId", m_geofenceId); } - if(m_geofencePropertiesHasBeenSet) - { - JsonValue geofencePropertiesJsonMap; - for(auto& geofencePropertiesItem : m_geofenceProperties) - { - geofencePropertiesJsonMap.WithString(geofencePropertiesItem.first, geofencePropertiesItem.second); - } - payload.WithObject("GeofenceProperties", std::move(geofencePropertiesJsonMap)); - - } - if(m_geometryHasBeenSet) { payload.WithObject("Geometry", m_geometry.Jsonize()); @@ -127,11 +111,27 @@ JsonValue ListGeofenceResponseEntry::Jsonize() const } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_updateTimeHasBeenSet) { payload.WithString("UpdateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } + if(m_geofencePropertiesHasBeenSet) + { + JsonValue geofencePropertiesJsonMap; + for(auto& geofencePropertiesItem : m_geofenceProperties) + { + geofencePropertiesJsonMap.WithString(geofencePropertiesItem.first, geofencePropertiesItem.second); + } + payload.WithObject("GeofenceProperties", std::move(geofencePropertiesJsonMap)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListGeofencesRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListGeofencesRequest.cpp index cf99ef3e30b..f6dfcc7fde6 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListGeofencesRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListGeofencesRequest.cpp @@ -14,9 +14,9 @@ using namespace Aws::Utils; ListGeofencesRequest::ListGeofencesRequest() : m_collectionNameHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -24,15 +24,15 @@ Aws::String ListGeofencesRequest::SerializePayload() const { JsonValue payload; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("NextToken", m_nextToken); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("NextToken", m_nextToken); + payload.WithInteger("MaxResults", m_maxResults); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListKeysRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListKeysRequest.cpp index 9532e7a33a9..f02145b2474 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListKeysRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListKeysRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListKeysRequest::ListKeysRequest() : - m_filterHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_nextTokenHasBeenSet(false), + m_filterHasBeenSet(false) { } @@ -24,12 +24,6 @@ Aws::String ListKeysRequest::SerializePayload() const { JsonValue payload; - if(m_filterHasBeenSet) - { - payload.WithObject("Filter", m_filter.Jsonize()); - - } - if(m_maxResultsHasBeenSet) { payload.WithInteger("MaxResults", m_maxResults); @@ -42,6 +36,12 @@ Aws::String ListKeysRequest::SerializePayload() const } + if(m_filterHasBeenSet) + { + payload.WithObject("Filter", m_filter.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListKeysResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListKeysResponseEntry.cpp index ad68519df11..8cf502aae2e 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListKeysResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListKeysResponseEntry.cpp @@ -19,21 +19,21 @@ namespace Model { ListKeysResponseEntry::ListKeysResponseEntry() : - m_createTimeHasBeenSet(false), - m_descriptionHasBeenSet(false), - m_expireTimeHasBeenSet(false), m_keyNameHasBeenSet(false), + m_expireTimeHasBeenSet(false), + m_descriptionHasBeenSet(false), m_restrictionsHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListKeysResponseEntry::ListKeysResponseEntry(JsonView jsonValue) : - m_createTimeHasBeenSet(false), - m_descriptionHasBeenSet(false), - m_expireTimeHasBeenSet(false), m_keyNameHasBeenSet(false), + m_expireTimeHasBeenSet(false), + m_descriptionHasBeenSet(false), m_restrictionsHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -41,18 +41,11 @@ ListKeysResponseEntry::ListKeysResponseEntry(JsonView jsonValue) : ListKeysResponseEntry& ListKeysResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) - { - m_createTime = jsonValue.GetString("CreateTime"); - - m_createTimeHasBeenSet = true; - } - - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("KeyName")) { - m_description = jsonValue.GetString("Description"); + m_keyName = jsonValue.GetString("KeyName"); - m_descriptionHasBeenSet = true; + m_keyNameHasBeenSet = true; } if(jsonValue.ValueExists("ExpireTime")) @@ -62,11 +55,11 @@ ListKeysResponseEntry& ListKeysResponseEntry::operator =(JsonView jsonValue) m_expireTimeHasBeenSet = true; } - if(jsonValue.ValueExists("KeyName")) + if(jsonValue.ValueExists("Description")) { - m_keyName = jsonValue.GetString("KeyName"); + m_description = jsonValue.GetString("Description"); - m_keyNameHasBeenSet = true; + m_descriptionHasBeenSet = true; } if(jsonValue.ValueExists("Restrictions")) @@ -76,6 +69,13 @@ ListKeysResponseEntry& ListKeysResponseEntry::operator =(JsonView jsonValue) m_restrictionsHasBeenSet = true; } + if(jsonValue.ValueExists("CreateTime")) + { + m_createTime = jsonValue.GetString("CreateTime"); + + m_createTimeHasBeenSet = true; + } + if(jsonValue.ValueExists("UpdateTime")) { m_updateTime = jsonValue.GetString("UpdateTime"); @@ -90,14 +90,9 @@ JsonValue ListKeysResponseEntry::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_descriptionHasBeenSet) + if(m_keyNameHasBeenSet) { - payload.WithString("Description", m_description); + payload.WithString("KeyName", m_keyName); } @@ -106,9 +101,9 @@ JsonValue ListKeysResponseEntry::Jsonize() const payload.WithString("ExpireTime", m_expireTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_keyNameHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("KeyName", m_keyName); + payload.WithString("Description", m_description); } @@ -118,6 +113,11 @@ JsonValue ListKeysResponseEntry::Jsonize() const } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_updateTimeHasBeenSet) { payload.WithString("UpdateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListMapsResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListMapsResponseEntry.cpp index 4d9bd290494..440ed85284f 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListMapsResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListMapsResponseEntry.cpp @@ -19,19 +19,19 @@ namespace Model { ListMapsResponseEntry::ListMapsResponseEntry() : - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), - m_descriptionHasBeenSet(false), m_mapNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListMapsResponseEntry::ListMapsResponseEntry(JsonView jsonValue) : - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), - m_descriptionHasBeenSet(false), m_mapNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -39,32 +39,32 @@ ListMapsResponseEntry::ListMapsResponseEntry(JsonView jsonValue) : ListMapsResponseEntry& ListMapsResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("MapName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_mapName = jsonValue.GetString("MapName"); - m_createTimeHasBeenSet = true; + m_mapNameHasBeenSet = true; } - if(jsonValue.ValueExists("DataSource")) + if(jsonValue.ValueExists("Description")) { - m_dataSource = jsonValue.GetString("DataSource"); + m_description = jsonValue.GetString("Description"); - m_dataSourceHasBeenSet = true; + m_descriptionHasBeenSet = true; } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("DataSource")) { - m_description = jsonValue.GetString("Description"); + m_dataSource = jsonValue.GetString("DataSource"); - m_descriptionHasBeenSet = true; + m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("MapName")) + if(jsonValue.ValueExists("CreateTime")) { - m_mapName = jsonValue.GetString("MapName"); + m_createTime = jsonValue.GetString("CreateTime"); - m_mapNameHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -81,14 +81,9 @@ JsonValue ListMapsResponseEntry::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_dataSourceHasBeenSet) + if(m_mapNameHasBeenSet) { - payload.WithString("DataSource", m_dataSource); + payload.WithString("MapName", m_mapName); } @@ -98,10 +93,15 @@ JsonValue ListMapsResponseEntry::Jsonize() const } - if(m_mapNameHasBeenSet) + if(m_dataSourceHasBeenSet) { - payload.WithString("MapName", m_mapName); + payload.WithString("DataSource", m_dataSource); + + } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updateTimeHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListPlaceIndexesResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListPlaceIndexesResponseEntry.cpp index 493ca79383f..c9a6f27e0f3 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListPlaceIndexesResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListPlaceIndexesResponseEntry.cpp @@ -19,19 +19,19 @@ namespace Model { ListPlaceIndexesResponseEntry::ListPlaceIndexesResponseEntry() : - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), - m_descriptionHasBeenSet(false), m_indexNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListPlaceIndexesResponseEntry::ListPlaceIndexesResponseEntry(JsonView jsonValue) : - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), - m_descriptionHasBeenSet(false), m_indexNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -39,32 +39,32 @@ ListPlaceIndexesResponseEntry::ListPlaceIndexesResponseEntry(JsonView jsonValue) ListPlaceIndexesResponseEntry& ListPlaceIndexesResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("IndexName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_indexName = jsonValue.GetString("IndexName"); - m_createTimeHasBeenSet = true; + m_indexNameHasBeenSet = true; } - if(jsonValue.ValueExists("DataSource")) + if(jsonValue.ValueExists("Description")) { - m_dataSource = jsonValue.GetString("DataSource"); + m_description = jsonValue.GetString("Description"); - m_dataSourceHasBeenSet = true; + m_descriptionHasBeenSet = true; } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("DataSource")) { - m_description = jsonValue.GetString("Description"); + m_dataSource = jsonValue.GetString("DataSource"); - m_descriptionHasBeenSet = true; + m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("IndexName")) + if(jsonValue.ValueExists("CreateTime")) { - m_indexName = jsonValue.GetString("IndexName"); + m_createTime = jsonValue.GetString("CreateTime"); - m_indexNameHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -81,14 +81,9 @@ JsonValue ListPlaceIndexesResponseEntry::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) - { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_dataSourceHasBeenSet) + if(m_indexNameHasBeenSet) { - payload.WithString("DataSource", m_dataSource); + payload.WithString("IndexName", m_indexName); } @@ -98,10 +93,15 @@ JsonValue ListPlaceIndexesResponseEntry::Jsonize() const } - if(m_indexNameHasBeenSet) + if(m_dataSourceHasBeenSet) { - payload.WithString("IndexName", m_indexName); + payload.WithString("DataSource", m_dataSource); + + } + if(m_createTimeHasBeenSet) + { + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updateTimeHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListRouteCalculatorsResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListRouteCalculatorsResponseEntry.cpp index 646aa96b709..ad3e360d3b9 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListRouteCalculatorsResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListRouteCalculatorsResponseEntry.cpp @@ -20,18 +20,18 @@ namespace Model ListRouteCalculatorsResponseEntry::ListRouteCalculatorsResponseEntry() : m_calculatorNameHasBeenSet(false), - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListRouteCalculatorsResponseEntry::ListRouteCalculatorsResponseEntry(JsonView jsonValue) : m_calculatorNameHasBeenSet(false), - m_createTimeHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_descriptionHasBeenSet(false), + m_dataSourceHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -46,11 +46,11 @@ ListRouteCalculatorsResponseEntry& ListRouteCalculatorsResponseEntry::operator = m_calculatorNameHasBeenSet = true; } - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("Description")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_description = jsonValue.GetString("Description"); - m_createTimeHasBeenSet = true; + m_descriptionHasBeenSet = true; } if(jsonValue.ValueExists("DataSource")) @@ -60,11 +60,11 @@ ListRouteCalculatorsResponseEntry& ListRouteCalculatorsResponseEntry::operator = m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("Description")) + if(jsonValue.ValueExists("CreateTime")) { - m_description = jsonValue.GetString("Description"); + m_createTime = jsonValue.GetString("CreateTime"); - m_descriptionHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -87,9 +87,10 @@ JsonValue ListRouteCalculatorsResponseEntry::Jsonize() const } - if(m_createTimeHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("Description", m_description); + } if(m_dataSourceHasBeenSet) @@ -98,10 +99,9 @@ JsonValue ListRouteCalculatorsResponseEntry::Jsonize() const } - if(m_descriptionHasBeenSet) + if(m_createTimeHasBeenSet) { - payload.WithString("Description", m_description); - + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updateTimeHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListTrackerConsumersRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListTrackerConsumersRequest.cpp index ad7c51cdcd9..32a95bf1bd4 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListTrackerConsumersRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListTrackerConsumersRequest.cpp @@ -13,10 +13,10 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListTrackerConsumersRequest::ListTrackerConsumersRequest() : + m_trackerNameHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_nextTokenHasBeenSet(false) { } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ListTrackersResponseEntry.cpp b/generated/src/aws-cpp-sdk-location/source/model/ListTrackersResponseEntry.cpp index edbc94e26a5..b938936a0a2 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ListTrackersResponseEntry.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ListTrackersResponseEntry.cpp @@ -19,17 +19,17 @@ namespace Model { ListTrackersResponseEntry::ListTrackersResponseEntry() : - m_createTimeHasBeenSet(false), - m_descriptionHasBeenSet(false), m_trackerNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { } ListTrackersResponseEntry::ListTrackersResponseEntry(JsonView jsonValue) : - m_createTimeHasBeenSet(false), - m_descriptionHasBeenSet(false), m_trackerNameHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false) { *this = jsonValue; @@ -37,11 +37,11 @@ ListTrackersResponseEntry::ListTrackersResponseEntry(JsonView jsonValue) : ListTrackersResponseEntry& ListTrackersResponseEntry::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("TrackerName")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_trackerName = jsonValue.GetString("TrackerName"); - m_createTimeHasBeenSet = true; + m_trackerNameHasBeenSet = true; } if(jsonValue.ValueExists("Description")) @@ -51,11 +51,11 @@ ListTrackersResponseEntry& ListTrackersResponseEntry::operator =(JsonView jsonVa m_descriptionHasBeenSet = true; } - if(jsonValue.ValueExists("TrackerName")) + if(jsonValue.ValueExists("CreateTime")) { - m_trackerName = jsonValue.GetString("TrackerName"); + m_createTime = jsonValue.GetString("CreateTime"); - m_trackerNameHasBeenSet = true; + m_createTimeHasBeenSet = true; } if(jsonValue.ValueExists("UpdateTime")) @@ -72,9 +72,10 @@ JsonValue ListTrackersResponseEntry::Jsonize() const { JsonValue payload; - if(m_createTimeHasBeenSet) + if(m_trackerNameHasBeenSet) { - payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("TrackerName", m_trackerName); + } if(m_descriptionHasBeenSet) @@ -83,10 +84,9 @@ JsonValue ListTrackersResponseEntry::Jsonize() const } - if(m_trackerNameHasBeenSet) + if(m_createTimeHasBeenSet) { - payload.WithString("TrackerName", m_trackerName); - + payload.WithString("CreateTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_updateTimeHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-location/source/model/LteCellDetails.cpp b/generated/src/aws-cpp-sdk-location/source/model/LteCellDetails.cpp new file mode 100644 index 00000000000..700781e78e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/LteCellDetails.cpp @@ -0,0 +1,218 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +LteCellDetails::LteCellDetails() : + m_cellId(0), + m_cellIdHasBeenSet(false), + m_mcc(0), + m_mccHasBeenSet(false), + m_mnc(0), + m_mncHasBeenSet(false), + m_localIdHasBeenSet(false), + m_networkMeasurementsHasBeenSet(false), + m_timingAdvance(0), + m_timingAdvanceHasBeenSet(false), + m_nrCapable(false), + m_nrCapableHasBeenSet(false), + m_rsrp(0), + m_rsrpHasBeenSet(false), + m_rsrq(0.0), + m_rsrqHasBeenSet(false), + m_tac(0), + m_tacHasBeenSet(false) +{ +} + +LteCellDetails::LteCellDetails(JsonView jsonValue) : + m_cellId(0), + m_cellIdHasBeenSet(false), + m_mcc(0), + m_mccHasBeenSet(false), + m_mnc(0), + m_mncHasBeenSet(false), + m_localIdHasBeenSet(false), + m_networkMeasurementsHasBeenSet(false), + m_timingAdvance(0), + m_timingAdvanceHasBeenSet(false), + m_nrCapable(false), + m_nrCapableHasBeenSet(false), + m_rsrp(0), + m_rsrpHasBeenSet(false), + m_rsrq(0.0), + m_rsrqHasBeenSet(false), + m_tac(0), + m_tacHasBeenSet(false) +{ + *this = jsonValue; +} + +LteCellDetails& LteCellDetails::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CellId")) + { + m_cellId = jsonValue.GetInteger("CellId"); + + m_cellIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mcc")) + { + m_mcc = jsonValue.GetInteger("Mcc"); + + m_mccHasBeenSet = true; + } + + if(jsonValue.ValueExists("Mnc")) + { + m_mnc = jsonValue.GetInteger("Mnc"); + + m_mncHasBeenSet = true; + } + + if(jsonValue.ValueExists("LocalId")) + { + m_localId = jsonValue.GetObject("LocalId"); + + m_localIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("NetworkMeasurements")) + { + Aws::Utils::Array networkMeasurementsJsonList = jsonValue.GetArray("NetworkMeasurements"); + for(unsigned networkMeasurementsIndex = 0; networkMeasurementsIndex < networkMeasurementsJsonList.GetLength(); ++networkMeasurementsIndex) + { + m_networkMeasurements.push_back(networkMeasurementsJsonList[networkMeasurementsIndex].AsObject()); + } + m_networkMeasurementsHasBeenSet = true; + } + + if(jsonValue.ValueExists("TimingAdvance")) + { + m_timingAdvance = jsonValue.GetInteger("TimingAdvance"); + + m_timingAdvanceHasBeenSet = true; + } + + if(jsonValue.ValueExists("NrCapable")) + { + m_nrCapable = jsonValue.GetBool("NrCapable"); + + m_nrCapableHasBeenSet = true; + } + + if(jsonValue.ValueExists("Rsrp")) + { + m_rsrp = jsonValue.GetInteger("Rsrp"); + + m_rsrpHasBeenSet = true; + } + + if(jsonValue.ValueExists("Rsrq")) + { + m_rsrq = jsonValue.GetDouble("Rsrq"); + + m_rsrqHasBeenSet = true; + } + + if(jsonValue.ValueExists("Tac")) + { + m_tac = jsonValue.GetInteger("Tac"); + + m_tacHasBeenSet = true; + } + + return *this; +} + +JsonValue LteCellDetails::Jsonize() const +{ + JsonValue payload; + + if(m_cellIdHasBeenSet) + { + payload.WithInteger("CellId", m_cellId); + + } + + if(m_mccHasBeenSet) + { + payload.WithInteger("Mcc", m_mcc); + + } + + if(m_mncHasBeenSet) + { + payload.WithInteger("Mnc", m_mnc); + + } + + if(m_localIdHasBeenSet) + { + payload.WithObject("LocalId", m_localId.Jsonize()); + + } + + if(m_networkMeasurementsHasBeenSet) + { + Aws::Utils::Array networkMeasurementsJsonList(m_networkMeasurements.size()); + for(unsigned networkMeasurementsIndex = 0; networkMeasurementsIndex < networkMeasurementsJsonList.GetLength(); ++networkMeasurementsIndex) + { + networkMeasurementsJsonList[networkMeasurementsIndex].AsObject(m_networkMeasurements[networkMeasurementsIndex].Jsonize()); + } + payload.WithArray("NetworkMeasurements", std::move(networkMeasurementsJsonList)); + + } + + if(m_timingAdvanceHasBeenSet) + { + payload.WithInteger("TimingAdvance", m_timingAdvance); + + } + + if(m_nrCapableHasBeenSet) + { + payload.WithBool("NrCapable", m_nrCapable); + + } + + if(m_rsrpHasBeenSet) + { + payload.WithInteger("Rsrp", m_rsrp); + + } + + if(m_rsrqHasBeenSet) + { + payload.WithDouble("Rsrq", m_rsrq); + + } + + if(m_tacHasBeenSet) + { + payload.WithInteger("Tac", m_tac); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/LteLocalId.cpp b/generated/src/aws-cpp-sdk-location/source/model/LteLocalId.cpp new file mode 100644 index 00000000000..ccc2de250ff --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/LteLocalId.cpp @@ -0,0 +1,78 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +LteLocalId::LteLocalId() : + m_earfcn(0), + m_earfcnHasBeenSet(false), + m_pci(0), + m_pciHasBeenSet(false) +{ +} + +LteLocalId::LteLocalId(JsonView jsonValue) : + m_earfcn(0), + m_earfcnHasBeenSet(false), + m_pci(0), + m_pciHasBeenSet(false) +{ + *this = jsonValue; +} + +LteLocalId& LteLocalId::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Earfcn")) + { + m_earfcn = jsonValue.GetInteger("Earfcn"); + + m_earfcnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Pci")) + { + m_pci = jsonValue.GetInteger("Pci"); + + m_pciHasBeenSet = true; + } + + return *this; +} + +JsonValue LteLocalId::Jsonize() const +{ + JsonValue payload; + + if(m_earfcnHasBeenSet) + { + payload.WithInteger("Earfcn", m_earfcn); + + } + + if(m_pciHasBeenSet) + { + payload.WithInteger("Pci", m_pci); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/LteNetworkMeasurements.cpp b/generated/src/aws-cpp-sdk-location/source/model/LteNetworkMeasurements.cpp new file mode 100644 index 00000000000..d342e9ffd52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/LteNetworkMeasurements.cpp @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +LteNetworkMeasurements::LteNetworkMeasurements() : + m_earfcn(0), + m_earfcnHasBeenSet(false), + m_cellId(0), + m_cellIdHasBeenSet(false), + m_pci(0), + m_pciHasBeenSet(false), + m_rsrp(0), + m_rsrpHasBeenSet(false), + m_rsrq(0.0), + m_rsrqHasBeenSet(false) +{ +} + +LteNetworkMeasurements::LteNetworkMeasurements(JsonView jsonValue) : + m_earfcn(0), + m_earfcnHasBeenSet(false), + m_cellId(0), + m_cellIdHasBeenSet(false), + m_pci(0), + m_pciHasBeenSet(false), + m_rsrp(0), + m_rsrpHasBeenSet(false), + m_rsrq(0.0), + m_rsrqHasBeenSet(false) +{ + *this = jsonValue; +} + +LteNetworkMeasurements& LteNetworkMeasurements::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Earfcn")) + { + m_earfcn = jsonValue.GetInteger("Earfcn"); + + m_earfcnHasBeenSet = true; + } + + if(jsonValue.ValueExists("CellId")) + { + m_cellId = jsonValue.GetInteger("CellId"); + + m_cellIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("Pci")) + { + m_pci = jsonValue.GetInteger("Pci"); + + m_pciHasBeenSet = true; + } + + if(jsonValue.ValueExists("Rsrp")) + { + m_rsrp = jsonValue.GetInteger("Rsrp"); + + m_rsrpHasBeenSet = true; + } + + if(jsonValue.ValueExists("Rsrq")) + { + m_rsrq = jsonValue.GetDouble("Rsrq"); + + m_rsrqHasBeenSet = true; + } + + return *this; +} + +JsonValue LteNetworkMeasurements::Jsonize() const +{ + JsonValue payload; + + if(m_earfcnHasBeenSet) + { + payload.WithInteger("Earfcn", m_earfcn); + + } + + if(m_cellIdHasBeenSet) + { + payload.WithInteger("CellId", m_cellId); + + } + + if(m_pciHasBeenSet) + { + payload.WithInteger("Pci", m_pci); + + } + + if(m_rsrpHasBeenSet) + { + payload.WithInteger("Rsrp", m_rsrp); + + } + + if(m_rsrqHasBeenSet) + { + payload.WithDouble("Rsrq", m_rsrq); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/MapConfiguration.cpp b/generated/src/aws-cpp-sdk-location/source/model/MapConfiguration.cpp index ff152ab2526..8787de2d4f8 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/MapConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/MapConfiguration.cpp @@ -19,30 +19,27 @@ namespace Model { MapConfiguration::MapConfiguration() : - m_customLayersHasBeenSet(false), + m_styleHasBeenSet(false), m_politicalViewHasBeenSet(false), - m_styleHasBeenSet(false) + m_customLayersHasBeenSet(false) { } MapConfiguration::MapConfiguration(JsonView jsonValue) : - m_customLayersHasBeenSet(false), + m_styleHasBeenSet(false), m_politicalViewHasBeenSet(false), - m_styleHasBeenSet(false) + m_customLayersHasBeenSet(false) { *this = jsonValue; } MapConfiguration& MapConfiguration::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("CustomLayers")) + if(jsonValue.ValueExists("Style")) { - Aws::Utils::Array customLayersJsonList = jsonValue.GetArray("CustomLayers"); - for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex) - { - m_customLayers.push_back(customLayersJsonList[customLayersIndex].AsString()); - } - m_customLayersHasBeenSet = true; + m_style = jsonValue.GetString("Style"); + + m_styleHasBeenSet = true; } if(jsonValue.ValueExists("PoliticalView")) @@ -52,11 +49,14 @@ MapConfiguration& MapConfiguration::operator =(JsonView jsonValue) m_politicalViewHasBeenSet = true; } - if(jsonValue.ValueExists("Style")) + if(jsonValue.ValueExists("CustomLayers")) { - m_style = jsonValue.GetString("Style"); - - m_styleHasBeenSet = true; + Aws::Utils::Array customLayersJsonList = jsonValue.GetArray("CustomLayers"); + for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex) + { + m_customLayers.push_back(customLayersJsonList[customLayersIndex].AsString()); + } + m_customLayersHasBeenSet = true; } return *this; @@ -66,14 +66,9 @@ JsonValue MapConfiguration::Jsonize() const { JsonValue payload; - if(m_customLayersHasBeenSet) + if(m_styleHasBeenSet) { - Aws::Utils::Array customLayersJsonList(m_customLayers.size()); - for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex) - { - customLayersJsonList[customLayersIndex].AsString(m_customLayers[customLayersIndex]); - } - payload.WithArray("CustomLayers", std::move(customLayersJsonList)); + payload.WithString("Style", m_style); } @@ -83,9 +78,14 @@ JsonValue MapConfiguration::Jsonize() const } - if(m_styleHasBeenSet) + if(m_customLayersHasBeenSet) { - payload.WithString("Style", m_style); + Aws::Utils::Array customLayersJsonList(m_customLayers.size()); + for(unsigned customLayersIndex = 0; customLayersIndex < customLayersJsonList.GetLength(); ++customLayersIndex) + { + customLayersJsonList[customLayersIndex].AsString(m_customLayers[customLayersIndex]); + } + payload.WithArray("CustomLayers", std::move(customLayersJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/MapConfigurationUpdate.cpp b/generated/src/aws-cpp-sdk-location/source/model/MapConfigurationUpdate.cpp index 71a6e0c080d..5a73cf30dc1 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/MapConfigurationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/MapConfigurationUpdate.cpp @@ -19,20 +19,27 @@ namespace Model { MapConfigurationUpdate::MapConfigurationUpdate() : - m_customLayersHasBeenSet(false), - m_politicalViewHasBeenSet(false) + m_politicalViewHasBeenSet(false), + m_customLayersHasBeenSet(false) { } MapConfigurationUpdate::MapConfigurationUpdate(JsonView jsonValue) : - m_customLayersHasBeenSet(false), - m_politicalViewHasBeenSet(false) + m_politicalViewHasBeenSet(false), + m_customLayersHasBeenSet(false) { *this = jsonValue; } MapConfigurationUpdate& MapConfigurationUpdate::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("PoliticalView")) + { + m_politicalView = jsonValue.GetString("PoliticalView"); + + m_politicalViewHasBeenSet = true; + } + if(jsonValue.ValueExists("CustomLayers")) { Aws::Utils::Array customLayersJsonList = jsonValue.GetArray("CustomLayers"); @@ -43,13 +50,6 @@ MapConfigurationUpdate& MapConfigurationUpdate::operator =(JsonView jsonValue) m_customLayersHasBeenSet = true; } - if(jsonValue.ValueExists("PoliticalView")) - { - m_politicalView = jsonValue.GetString("PoliticalView"); - - m_politicalViewHasBeenSet = true; - } - return *this; } @@ -57,6 +57,12 @@ JsonValue MapConfigurationUpdate::Jsonize() const { JsonValue payload; + if(m_politicalViewHasBeenSet) + { + payload.WithString("PoliticalView", m_politicalView); + + } + if(m_customLayersHasBeenSet) { Aws::Utils::Array customLayersJsonList(m_customLayers.size()); @@ -68,12 +74,6 @@ JsonValue MapConfigurationUpdate::Jsonize() const } - if(m_politicalViewHasBeenSet) - { - payload.WithString("PoliticalView", m_politicalView); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/Place.cpp b/generated/src/aws-cpp-sdk-location/source/model/Place.cpp index 1fe0edac8f5..a28374dbb4b 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/Place.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/Place.cpp @@ -19,95 +19,85 @@ namespace Model { Place::Place() : + m_labelHasBeenSet(false), + m_geometryHasBeenSet(false), m_addressNumberHasBeenSet(false), - m_categoriesHasBeenSet(false), + m_streetHasBeenSet(false), + m_neighborhoodHasBeenSet(false), + m_municipalityHasBeenSet(false), + m_subRegionHasBeenSet(false), + m_regionHasBeenSet(false), m_countryHasBeenSet(false), - m_geometryHasBeenSet(false), + m_postalCodeHasBeenSet(false), m_interpolated(false), m_interpolatedHasBeenSet(false), - m_labelHasBeenSet(false), - m_municipalityHasBeenSet(false), - m_neighborhoodHasBeenSet(false), - m_postalCodeHasBeenSet(false), - m_regionHasBeenSet(false), - m_streetHasBeenSet(false), - m_subMunicipalityHasBeenSet(false), - m_subRegionHasBeenSet(false), - m_supplementalCategoriesHasBeenSet(false), m_timeZoneHasBeenSet(false), + m_unitTypeHasBeenSet(false), m_unitNumberHasBeenSet(false), - m_unitTypeHasBeenSet(false) + m_categoriesHasBeenSet(false), + m_supplementalCategoriesHasBeenSet(false), + m_subMunicipalityHasBeenSet(false) { } Place::Place(JsonView jsonValue) : + m_labelHasBeenSet(false), + m_geometryHasBeenSet(false), m_addressNumberHasBeenSet(false), - m_categoriesHasBeenSet(false), + m_streetHasBeenSet(false), + m_neighborhoodHasBeenSet(false), + m_municipalityHasBeenSet(false), + m_subRegionHasBeenSet(false), + m_regionHasBeenSet(false), m_countryHasBeenSet(false), - m_geometryHasBeenSet(false), + m_postalCodeHasBeenSet(false), m_interpolated(false), m_interpolatedHasBeenSet(false), - m_labelHasBeenSet(false), - m_municipalityHasBeenSet(false), - m_neighborhoodHasBeenSet(false), - m_postalCodeHasBeenSet(false), - m_regionHasBeenSet(false), - m_streetHasBeenSet(false), - m_subMunicipalityHasBeenSet(false), - m_subRegionHasBeenSet(false), - m_supplementalCategoriesHasBeenSet(false), m_timeZoneHasBeenSet(false), + m_unitTypeHasBeenSet(false), m_unitNumberHasBeenSet(false), - m_unitTypeHasBeenSet(false) + m_categoriesHasBeenSet(false), + m_supplementalCategoriesHasBeenSet(false), + m_subMunicipalityHasBeenSet(false) { *this = jsonValue; } Place& Place::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("AddressNumber")) + if(jsonValue.ValueExists("Label")) { - m_addressNumber = jsonValue.GetString("AddressNumber"); - - m_addressNumberHasBeenSet = true; - } + m_label = jsonValue.GetString("Label"); - if(jsonValue.ValueExists("Categories")) - { - Aws::Utils::Array categoriesJsonList = jsonValue.GetArray("Categories"); - for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) - { - m_categories.push_back(categoriesJsonList[categoriesIndex].AsString()); - } - m_categoriesHasBeenSet = true; + m_labelHasBeenSet = true; } - if(jsonValue.ValueExists("Country")) + if(jsonValue.ValueExists("Geometry")) { - m_country = jsonValue.GetString("Country"); + m_geometry = jsonValue.GetObject("Geometry"); - m_countryHasBeenSet = true; + m_geometryHasBeenSet = true; } - if(jsonValue.ValueExists("Geometry")) + if(jsonValue.ValueExists("AddressNumber")) { - m_geometry = jsonValue.GetObject("Geometry"); + m_addressNumber = jsonValue.GetString("AddressNumber"); - m_geometryHasBeenSet = true; + m_addressNumberHasBeenSet = true; } - if(jsonValue.ValueExists("Interpolated")) + if(jsonValue.ValueExists("Street")) { - m_interpolated = jsonValue.GetBool("Interpolated"); + m_street = jsonValue.GetString("Street"); - m_interpolatedHasBeenSet = true; + m_streetHasBeenSet = true; } - if(jsonValue.ValueExists("Label")) + if(jsonValue.ValueExists("Neighborhood")) { - m_label = jsonValue.GetString("Label"); + m_neighborhood = jsonValue.GetString("Neighborhood"); - m_labelHasBeenSet = true; + m_neighborhoodHasBeenSet = true; } if(jsonValue.ValueExists("Municipality")) @@ -117,11 +107,25 @@ Place& Place::operator =(JsonView jsonValue) m_municipalityHasBeenSet = true; } - if(jsonValue.ValueExists("Neighborhood")) + if(jsonValue.ValueExists("SubRegion")) { - m_neighborhood = jsonValue.GetString("Neighborhood"); + m_subRegion = jsonValue.GetString("SubRegion"); - m_neighborhoodHasBeenSet = true; + m_subRegionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Country")) + { + m_country = jsonValue.GetString("Country"); + + m_countryHasBeenSet = true; } if(jsonValue.ValueExists("PostalCode")) @@ -131,32 +135,42 @@ Place& Place::operator =(JsonView jsonValue) m_postalCodeHasBeenSet = true; } - if(jsonValue.ValueExists("Region")) + if(jsonValue.ValueExists("Interpolated")) { - m_region = jsonValue.GetString("Region"); + m_interpolated = jsonValue.GetBool("Interpolated"); - m_regionHasBeenSet = true; + m_interpolatedHasBeenSet = true; } - if(jsonValue.ValueExists("Street")) + if(jsonValue.ValueExists("TimeZone")) { - m_street = jsonValue.GetString("Street"); + m_timeZone = jsonValue.GetObject("TimeZone"); - m_streetHasBeenSet = true; + m_timeZoneHasBeenSet = true; } - if(jsonValue.ValueExists("SubMunicipality")) + if(jsonValue.ValueExists("UnitType")) { - m_subMunicipality = jsonValue.GetString("SubMunicipality"); + m_unitType = jsonValue.GetString("UnitType"); - m_subMunicipalityHasBeenSet = true; + m_unitTypeHasBeenSet = true; } - if(jsonValue.ValueExists("SubRegion")) + if(jsonValue.ValueExists("UnitNumber")) { - m_subRegion = jsonValue.GetString("SubRegion"); + m_unitNumber = jsonValue.GetString("UnitNumber"); - m_subRegionHasBeenSet = true; + m_unitNumberHasBeenSet = true; + } + + if(jsonValue.ValueExists("Categories")) + { + Aws::Utils::Array categoriesJsonList = jsonValue.GetArray("Categories"); + for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) + { + m_categories.push_back(categoriesJsonList[categoriesIndex].AsString()); + } + m_categoriesHasBeenSet = true; } if(jsonValue.ValueExists("SupplementalCategories")) @@ -169,33 +183,31 @@ Place& Place::operator =(JsonView jsonValue) m_supplementalCategoriesHasBeenSet = true; } - if(jsonValue.ValueExists("TimeZone")) + if(jsonValue.ValueExists("SubMunicipality")) { - m_timeZone = jsonValue.GetObject("TimeZone"); + m_subMunicipality = jsonValue.GetString("SubMunicipality"); - m_timeZoneHasBeenSet = true; + m_subMunicipalityHasBeenSet = true; } - if(jsonValue.ValueExists("UnitNumber")) - { - m_unitNumber = jsonValue.GetString("UnitNumber"); + return *this; +} - m_unitNumberHasBeenSet = true; - } +JsonValue Place::Jsonize() const +{ + JsonValue payload; - if(jsonValue.ValueExists("UnitType")) + if(m_labelHasBeenSet) { - m_unitType = jsonValue.GetString("UnitType"); + payload.WithString("Label", m_label); - m_unitTypeHasBeenSet = true; } - return *this; -} + if(m_geometryHasBeenSet) + { + payload.WithObject("Geometry", m_geometry.Jsonize()); -JsonValue Place::Jsonize() const -{ - JsonValue payload; + } if(m_addressNumberHasBeenSet) { @@ -203,80 +215,80 @@ JsonValue Place::Jsonize() const } - if(m_categoriesHasBeenSet) + if(m_streetHasBeenSet) { - Aws::Utils::Array categoriesJsonList(m_categories.size()); - for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) - { - categoriesJsonList[categoriesIndex].AsString(m_categories[categoriesIndex]); - } - payload.WithArray("Categories", std::move(categoriesJsonList)); + payload.WithString("Street", m_street); } - if(m_countryHasBeenSet) + if(m_neighborhoodHasBeenSet) { - payload.WithString("Country", m_country); + payload.WithString("Neighborhood", m_neighborhood); } - if(m_geometryHasBeenSet) + if(m_municipalityHasBeenSet) { - payload.WithObject("Geometry", m_geometry.Jsonize()); + payload.WithString("Municipality", m_municipality); } - if(m_interpolatedHasBeenSet) + if(m_subRegionHasBeenSet) { - payload.WithBool("Interpolated", m_interpolated); + payload.WithString("SubRegion", m_subRegion); } - if(m_labelHasBeenSet) + if(m_regionHasBeenSet) { - payload.WithString("Label", m_label); + payload.WithString("Region", m_region); } - if(m_municipalityHasBeenSet) + if(m_countryHasBeenSet) { - payload.WithString("Municipality", m_municipality); + payload.WithString("Country", m_country); } - if(m_neighborhoodHasBeenSet) + if(m_postalCodeHasBeenSet) { - payload.WithString("Neighborhood", m_neighborhood); + payload.WithString("PostalCode", m_postalCode); } - if(m_postalCodeHasBeenSet) + if(m_interpolatedHasBeenSet) { - payload.WithString("PostalCode", m_postalCode); + payload.WithBool("Interpolated", m_interpolated); } - if(m_regionHasBeenSet) + if(m_timeZoneHasBeenSet) { - payload.WithString("Region", m_region); + payload.WithObject("TimeZone", m_timeZone.Jsonize()); } - if(m_streetHasBeenSet) + if(m_unitTypeHasBeenSet) { - payload.WithString("Street", m_street); + payload.WithString("UnitType", m_unitType); } - if(m_subMunicipalityHasBeenSet) + if(m_unitNumberHasBeenSet) { - payload.WithString("SubMunicipality", m_subMunicipality); + payload.WithString("UnitNumber", m_unitNumber); } - if(m_subRegionHasBeenSet) + if(m_categoriesHasBeenSet) { - payload.WithString("SubRegion", m_subRegion); + Aws::Utils::Array categoriesJsonList(m_categories.size()); + for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) + { + categoriesJsonList[categoriesIndex].AsString(m_categories[categoriesIndex]); + } + payload.WithArray("Categories", std::move(categoriesJsonList)); } @@ -291,21 +303,9 @@ JsonValue Place::Jsonize() const } - if(m_timeZoneHasBeenSet) - { - payload.WithObject("TimeZone", m_timeZone.Jsonize()); - - } - - if(m_unitNumberHasBeenSet) - { - payload.WithString("UnitNumber", m_unitNumber); - - } - - if(m_unitTypeHasBeenSet) + if(m_subMunicipalityHasBeenSet) { - payload.WithString("UnitType", m_unitType); + payload.WithString("SubMunicipality", m_subMunicipality); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceRequest.cpp index 02f073277d8..720a1597e32 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceRequest.cpp @@ -15,8 +15,8 @@ using namespace Aws::Utils; PutGeofenceRequest::PutGeofenceRequest() : m_collectionNameHasBeenSet(false), m_geofenceIdHasBeenSet(false), - m_geofencePropertiesHasBeenSet(false), - m_geometryHasBeenSet(false) + m_geometryHasBeenSet(false), + m_geofencePropertiesHasBeenSet(false) { } @@ -24,6 +24,12 @@ Aws::String PutGeofenceRequest::SerializePayload() const { JsonValue payload; + if(m_geometryHasBeenSet) + { + payload.WithObject("Geometry", m_geometry.Jsonize()); + + } + if(m_geofencePropertiesHasBeenSet) { JsonValue geofencePropertiesJsonMap; @@ -35,12 +41,6 @@ Aws::String PutGeofenceRequest::SerializePayload() const } - if(m_geometryHasBeenSet) - { - payload.WithObject("Geometry", m_geometry.Jsonize()); - - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceResult.cpp index 407c2727d98..5883bea1f86 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/PutGeofenceResult.cpp @@ -29,15 +29,15 @@ PutGeofenceResult::PutGeofenceResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CreateTime")) + if(jsonValue.ValueExists("GeofenceId")) { - m_createTime = jsonValue.GetString("CreateTime"); + m_geofenceId = jsonValue.GetString("GeofenceId"); } - if(jsonValue.ValueExists("GeofenceId")) + if(jsonValue.ValueExists("CreateTime")) { - m_geofenceId = jsonValue.GetString("GeofenceId"); + m_createTime = jsonValue.GetString("CreateTime"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchForPositionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchForPositionResult.cpp index c4f681d755a..7105c517bd3 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchForPositionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchForPositionResult.cpp @@ -19,17 +19,17 @@ namespace Model { SearchForPositionResult::SearchForPositionResult() : + m_placeHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_placeHasBeenSet(false), m_placeIdHasBeenSet(false) { } SearchForPositionResult::SearchForPositionResult(JsonView jsonValue) : + m_placeHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_placeHasBeenSet(false), m_placeIdHasBeenSet(false) { *this = jsonValue; @@ -37,18 +37,18 @@ SearchForPositionResult::SearchForPositionResult(JsonView jsonValue) : SearchForPositionResult& SearchForPositionResult::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Distance")) + if(jsonValue.ValueExists("Place")) { - m_distance = jsonValue.GetDouble("Distance"); + m_place = jsonValue.GetObject("Place"); - m_distanceHasBeenSet = true; + m_placeHasBeenSet = true; } - if(jsonValue.ValueExists("Place")) + if(jsonValue.ValueExists("Distance")) { - m_place = jsonValue.GetObject("Place"); + m_distance = jsonValue.GetDouble("Distance"); - m_placeHasBeenSet = true; + m_distanceHasBeenSet = true; } if(jsonValue.ValueExists("PlaceId")) @@ -65,15 +65,15 @@ JsonValue SearchForPositionResult::Jsonize() const { JsonValue payload; - if(m_distanceHasBeenSet) + if(m_placeHasBeenSet) { - payload.WithDouble("Distance", m_distance); + payload.WithObject("Place", m_place.Jsonize()); } - if(m_placeHasBeenSet) + if(m_distanceHasBeenSet) { - payload.WithObject("Place", m_place.Jsonize()); + payload.WithDouble("Distance", m_distance); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchForSuggestionsResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchForSuggestionsResult.cpp index c908e8a611b..628745a39f1 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchForSuggestionsResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchForSuggestionsResult.cpp @@ -19,32 +19,29 @@ namespace Model { SearchForSuggestionsResult::SearchForSuggestionsResult() : - m_categoriesHasBeenSet(false), + m_textHasBeenSet(false), m_placeIdHasBeenSet(false), - m_supplementalCategoriesHasBeenSet(false), - m_textHasBeenSet(false) + m_categoriesHasBeenSet(false), + m_supplementalCategoriesHasBeenSet(false) { } SearchForSuggestionsResult::SearchForSuggestionsResult(JsonView jsonValue) : - m_categoriesHasBeenSet(false), + m_textHasBeenSet(false), m_placeIdHasBeenSet(false), - m_supplementalCategoriesHasBeenSet(false), - m_textHasBeenSet(false) + m_categoriesHasBeenSet(false), + m_supplementalCategoriesHasBeenSet(false) { *this = jsonValue; } SearchForSuggestionsResult& SearchForSuggestionsResult::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Categories")) + if(jsonValue.ValueExists("Text")) { - Aws::Utils::Array categoriesJsonList = jsonValue.GetArray("Categories"); - for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) - { - m_categories.push_back(categoriesJsonList[categoriesIndex].AsString()); - } - m_categoriesHasBeenSet = true; + m_text = jsonValue.GetString("Text"); + + m_textHasBeenSet = true; } if(jsonValue.ValueExists("PlaceId")) @@ -54,6 +51,16 @@ SearchForSuggestionsResult& SearchForSuggestionsResult::operator =(JsonView json m_placeIdHasBeenSet = true; } + if(jsonValue.ValueExists("Categories")) + { + Aws::Utils::Array categoriesJsonList = jsonValue.GetArray("Categories"); + for(unsigned categoriesIndex = 0; categoriesIndex < categoriesJsonList.GetLength(); ++categoriesIndex) + { + m_categories.push_back(categoriesJsonList[categoriesIndex].AsString()); + } + m_categoriesHasBeenSet = true; + } + if(jsonValue.ValueExists("SupplementalCategories")) { Aws::Utils::Array supplementalCategoriesJsonList = jsonValue.GetArray("SupplementalCategories"); @@ -64,13 +71,6 @@ SearchForSuggestionsResult& SearchForSuggestionsResult::operator =(JsonView json m_supplementalCategoriesHasBeenSet = true; } - if(jsonValue.ValueExists("Text")) - { - m_text = jsonValue.GetString("Text"); - - m_textHasBeenSet = true; - } - return *this; } @@ -78,6 +78,18 @@ JsonValue SearchForSuggestionsResult::Jsonize() const { JsonValue payload; + if(m_textHasBeenSet) + { + payload.WithString("Text", m_text); + + } + + if(m_placeIdHasBeenSet) + { + payload.WithString("PlaceId", m_placeId); + + } + if(m_categoriesHasBeenSet) { Aws::Utils::Array categoriesJsonList(m_categories.size()); @@ -89,12 +101,6 @@ JsonValue SearchForSuggestionsResult::Jsonize() const } - if(m_placeIdHasBeenSet) - { - payload.WithString("PlaceId", m_placeId); - - } - if(m_supplementalCategoriesHasBeenSet) { Aws::Utils::Array supplementalCategoriesJsonList(m_supplementalCategories.size()); @@ -106,12 +112,6 @@ JsonValue SearchForSuggestionsResult::Jsonize() const } - if(m_textHasBeenSet) - { - payload.WithString("Text", m_text); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchForTextResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchForTextResult.cpp index 5ab014cdc85..27765d8ca35 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchForTextResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchForTextResult.cpp @@ -19,35 +19,28 @@ namespace Model { SearchForTextResult::SearchForTextResult() : + m_placeHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_placeHasBeenSet(false), - m_placeIdHasBeenSet(false), m_relevance(0.0), - m_relevanceHasBeenSet(false) + m_relevanceHasBeenSet(false), + m_placeIdHasBeenSet(false) { } SearchForTextResult::SearchForTextResult(JsonView jsonValue) : + m_placeHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), - m_placeHasBeenSet(false), - m_placeIdHasBeenSet(false), m_relevance(0.0), - m_relevanceHasBeenSet(false) + m_relevanceHasBeenSet(false), + m_placeIdHasBeenSet(false) { *this = jsonValue; } SearchForTextResult& SearchForTextResult::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Distance")) - { - m_distance = jsonValue.GetDouble("Distance"); - - m_distanceHasBeenSet = true; - } - if(jsonValue.ValueExists("Place")) { m_place = jsonValue.GetObject("Place"); @@ -55,11 +48,11 @@ SearchForTextResult& SearchForTextResult::operator =(JsonView jsonValue) m_placeHasBeenSet = true; } - if(jsonValue.ValueExists("PlaceId")) + if(jsonValue.ValueExists("Distance")) { - m_placeId = jsonValue.GetString("PlaceId"); + m_distance = jsonValue.GetDouble("Distance"); - m_placeIdHasBeenSet = true; + m_distanceHasBeenSet = true; } if(jsonValue.ValueExists("Relevance")) @@ -69,6 +62,13 @@ SearchForTextResult& SearchForTextResult::operator =(JsonView jsonValue) m_relevanceHasBeenSet = true; } + if(jsonValue.ValueExists("PlaceId")) + { + m_placeId = jsonValue.GetString("PlaceId"); + + m_placeIdHasBeenSet = true; + } + return *this; } @@ -76,21 +76,15 @@ JsonValue SearchForTextResult::Jsonize() const { JsonValue payload; - if(m_distanceHasBeenSet) - { - payload.WithDouble("Distance", m_distance); - - } - if(m_placeHasBeenSet) { payload.WithObject("Place", m_place.Jsonize()); } - if(m_placeIdHasBeenSet) + if(m_distanceHasBeenSet) { - payload.WithString("PlaceId", m_placeId); + payload.WithDouble("Distance", m_distance); } @@ -100,6 +94,12 @@ JsonValue SearchForTextResult::Jsonize() const } + if(m_placeIdHasBeenSet) + { + payload.WithString("PlaceId", m_placeId); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionRequest.cpp index 73b0f2beb30..1315ee0dbde 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionRequest.cpp @@ -17,11 +17,11 @@ using namespace Aws::Http; SearchPlaceIndexForPositionRequest::SearchPlaceIndexForPositionRequest() : m_indexNameHasBeenSet(false), - m_keyHasBeenSet(false), - m_languageHasBeenSet(false), + m_positionHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_positionHasBeenSet(false) + m_languageHasBeenSet(false), + m_keyHasBeenSet(false) { } @@ -29,9 +29,14 @@ Aws::String SearchPlaceIndexForPositionRequest::SerializePayload() const { JsonValue payload; - if(m_languageHasBeenSet) + if(m_positionHasBeenSet) { - payload.WithString("Language", m_language); + Aws::Utils::Array positionJsonList(m_position.size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); + } + payload.WithArray("Position", std::move(positionJsonList)); } @@ -41,14 +46,9 @@ Aws::String SearchPlaceIndexForPositionRequest::SerializePayload() const } - if(m_positionHasBeenSet) + if(m_languageHasBeenSet) { - Aws::Utils::Array positionJsonList(m_position.size()); - for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) - { - positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); - } - payload.WithArray("Position", std::move(positionJsonList)); + payload.WithString("Language", m_language); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionResult.cpp index 07ae8afe33f..ec0b166dae3 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionResult.cpp @@ -29,6 +29,12 @@ SearchPlaceIndexForPositionResult::SearchPlaceIndexForPositionResult(const Aws:: SearchPlaceIndexForPositionResult& SearchPlaceIndexForPositionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Summary")) + { + m_summary = jsonValue.GetObject("Summary"); + + } + if(jsonValue.ValueExists("Results")) { Aws::Utils::Array resultsJsonList = jsonValue.GetArray("Results"); @@ -38,12 +44,6 @@ SearchPlaceIndexForPositionResult& SearchPlaceIndexForPositionResult::operator = } } - if(jsonValue.ValueExists("Summary")) - { - m_summary = jsonValue.GetObject("Summary"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionSummary.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionSummary.cpp index 617352bb4b5..33032f366db 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionSummary.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForPositionSummary.cpp @@ -19,55 +19,55 @@ namespace Model { SearchPlaceIndexForPositionSummary::SearchPlaceIndexForPositionSummary() : - m_dataSourceHasBeenSet(false), - m_languageHasBeenSet(false), + m_positionHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_positionHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false) { } SearchPlaceIndexForPositionSummary::SearchPlaceIndexForPositionSummary(JsonView jsonValue) : - m_dataSourceHasBeenSet(false), - m_languageHasBeenSet(false), + m_positionHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_positionHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false) { *this = jsonValue; } SearchPlaceIndexForPositionSummary& SearchPlaceIndexForPositionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("DataSource")) + if(jsonValue.ValueExists("Position")) { - m_dataSource = jsonValue.GetString("DataSource"); - - m_dataSourceHasBeenSet = true; + Aws::Utils::Array positionJsonList = jsonValue.GetArray("Position"); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + m_position.push_back(positionJsonList[positionIndex].AsDouble()); + } + m_positionHasBeenSet = true; } - if(jsonValue.ValueExists("Language")) + if(jsonValue.ValueExists("MaxResults")) { - m_language = jsonValue.GetString("Language"); + m_maxResults = jsonValue.GetInteger("MaxResults"); - m_languageHasBeenSet = true; + m_maxResultsHasBeenSet = true; } - if(jsonValue.ValueExists("MaxResults")) + if(jsonValue.ValueExists("DataSource")) { - m_maxResults = jsonValue.GetInteger("MaxResults"); + m_dataSource = jsonValue.GetString("DataSource"); - m_maxResultsHasBeenSet = true; + m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("Position")) + if(jsonValue.ValueExists("Language")) { - Aws::Utils::Array positionJsonList = jsonValue.GetArray("Position"); - for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) - { - m_position.push_back(positionJsonList[positionIndex].AsDouble()); - } - m_positionHasBeenSet = true; + m_language = jsonValue.GetString("Language"); + + m_languageHasBeenSet = true; } return *this; @@ -77,32 +77,32 @@ JsonValue SearchPlaceIndexForPositionSummary::Jsonize() const { JsonValue payload; - if(m_dataSourceHasBeenSet) + if(m_positionHasBeenSet) { - payload.WithString("DataSource", m_dataSource); + Aws::Utils::Array positionJsonList(m_position.size()); + for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) + { + positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); + } + payload.WithArray("Position", std::move(positionJsonList)); } - if(m_languageHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("Language", m_language); + payload.WithInteger("MaxResults", m_maxResults); } - if(m_maxResultsHasBeenSet) + if(m_dataSourceHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("DataSource", m_dataSource); } - if(m_positionHasBeenSet) + if(m_languageHasBeenSet) { - Aws::Utils::Array positionJsonList(m_position.size()); - for(unsigned positionIndex = 0; positionIndex < positionJsonList.GetLength(); ++positionIndex) - { - positionJsonList[positionIndex].AsDouble(m_position[positionIndex]); - } - payload.WithArray("Position", std::move(positionJsonList)); + payload.WithString("Language", m_language); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsRequest.cpp index 26fc3a5134a..df1bfd998f6 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsRequest.cpp @@ -16,16 +16,16 @@ using namespace Aws::Utils; using namespace Aws::Http; SearchPlaceIndexForSuggestionsRequest::SearchPlaceIndexForSuggestionsRequest() : + m_indexNameHasBeenSet(false), + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_indexNameHasBeenSet(false), - m_keyHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_textHasBeenSet(false) + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false), + m_keyHasBeenSet(false) { } @@ -33,6 +33,12 @@ Aws::String SearchPlaceIndexForSuggestionsRequest::SerializePayload() const { JsonValue payload; + if(m_textHasBeenSet) + { + payload.WithString("Text", m_text); + + } + if(m_biasPositionHasBeenSet) { Aws::Utils::Array biasPositionJsonList(m_biasPosition.size()); @@ -55,17 +61,6 @@ Aws::String SearchPlaceIndexForSuggestionsRequest::SerializePayload() const } - if(m_filterCategoriesHasBeenSet) - { - Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); - } - payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); - - } - if(m_filterCountriesHasBeenSet) { Aws::Utils::Array filterCountriesJsonList(m_filterCountries.size()); @@ -77,21 +72,26 @@ Aws::String SearchPlaceIndexForSuggestionsRequest::SerializePayload() const } - if(m_languageHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("Language", m_language); + payload.WithInteger("MaxResults", m_maxResults); } - if(m_maxResultsHasBeenSet) + if(m_languageHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("Language", m_language); } - if(m_textHasBeenSet) + if(m_filterCategoriesHasBeenSet) { - payload.WithString("Text", m_text); + Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); + } + payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsResult.cpp index b6171d395ee..ec696c99643 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsResult.cpp @@ -29,6 +29,12 @@ SearchPlaceIndexForSuggestionsResult::SearchPlaceIndexForSuggestionsResult(const SearchPlaceIndexForSuggestionsResult& SearchPlaceIndexForSuggestionsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Summary")) + { + m_summary = jsonValue.GetObject("Summary"); + + } + if(jsonValue.ValueExists("Results")) { Aws::Utils::Array resultsJsonList = jsonValue.GetArray("Results"); @@ -38,12 +44,6 @@ SearchPlaceIndexForSuggestionsResult& SearchPlaceIndexForSuggestionsResult::oper } } - if(jsonValue.ValueExists("Summary")) - { - m_summary = jsonValue.GetObject("Summary"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsSummary.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsSummary.cpp index 1a4bf7dd342..f7fc2bacaf3 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsSummary.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForSuggestionsSummary.cpp @@ -19,34 +19,41 @@ namespace Model { SearchPlaceIndexForSuggestionsSummary::SearchPlaceIndexForSuggestionsSummary() : + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_textHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false) { } SearchPlaceIndexForSuggestionsSummary::SearchPlaceIndexForSuggestionsSummary(JsonView jsonValue) : + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_textHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false) { *this = jsonValue; } SearchPlaceIndexForSuggestionsSummary& SearchPlaceIndexForSuggestionsSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("Text")) + { + m_text = jsonValue.GetString("Text"); + + m_textHasBeenSet = true; + } + if(jsonValue.ValueExists("BiasPosition")) { Aws::Utils::Array biasPositionJsonList = jsonValue.GetArray("BiasPosition"); @@ -57,13 +64,6 @@ SearchPlaceIndexForSuggestionsSummary& SearchPlaceIndexForSuggestionsSummary::op m_biasPositionHasBeenSet = true; } - if(jsonValue.ValueExists("DataSource")) - { - m_dataSource = jsonValue.GetString("DataSource"); - - m_dataSourceHasBeenSet = true; - } - if(jsonValue.ValueExists("FilterBBox")) { Aws::Utils::Array filterBBoxJsonList = jsonValue.GetArray("FilterBBox"); @@ -74,16 +74,6 @@ SearchPlaceIndexForSuggestionsSummary& SearchPlaceIndexForSuggestionsSummary::op m_filterBBoxHasBeenSet = true; } - if(jsonValue.ValueExists("FilterCategories")) - { - Aws::Utils::Array filterCategoriesJsonList = jsonValue.GetArray("FilterCategories"); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - m_filterCategories.push_back(filterCategoriesJsonList[filterCategoriesIndex].AsString()); - } - m_filterCategoriesHasBeenSet = true; - } - if(jsonValue.ValueExists("FilterCountries")) { Aws::Utils::Array filterCountriesJsonList = jsonValue.GetArray("FilterCountries"); @@ -94,25 +84,35 @@ SearchPlaceIndexForSuggestionsSummary& SearchPlaceIndexForSuggestionsSummary::op m_filterCountriesHasBeenSet = true; } - if(jsonValue.ValueExists("Language")) + if(jsonValue.ValueExists("MaxResults")) { - m_language = jsonValue.GetString("Language"); + m_maxResults = jsonValue.GetInteger("MaxResults"); - m_languageHasBeenSet = true; + m_maxResultsHasBeenSet = true; } - if(jsonValue.ValueExists("MaxResults")) + if(jsonValue.ValueExists("DataSource")) { - m_maxResults = jsonValue.GetInteger("MaxResults"); + m_dataSource = jsonValue.GetString("DataSource"); - m_maxResultsHasBeenSet = true; + m_dataSourceHasBeenSet = true; } - if(jsonValue.ValueExists("Text")) + if(jsonValue.ValueExists("Language")) { - m_text = jsonValue.GetString("Text"); + m_language = jsonValue.GetString("Language"); - m_textHasBeenSet = true; + m_languageHasBeenSet = true; + } + + if(jsonValue.ValueExists("FilterCategories")) + { + Aws::Utils::Array filterCategoriesJsonList = jsonValue.GetArray("FilterCategories"); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + m_filterCategories.push_back(filterCategoriesJsonList[filterCategoriesIndex].AsString()); + } + m_filterCategoriesHasBeenSet = true; } return *this; @@ -122,6 +122,12 @@ JsonValue SearchPlaceIndexForSuggestionsSummary::Jsonize() const { JsonValue payload; + if(m_textHasBeenSet) + { + payload.WithString("Text", m_text); + + } + if(m_biasPositionHasBeenSet) { Aws::Utils::Array biasPositionJsonList(m_biasPosition.size()); @@ -133,12 +139,6 @@ JsonValue SearchPlaceIndexForSuggestionsSummary::Jsonize() const } - if(m_dataSourceHasBeenSet) - { - payload.WithString("DataSource", m_dataSource); - - } - if(m_filterBBoxHasBeenSet) { Aws::Utils::Array filterBBoxJsonList(m_filterBBox.size()); @@ -150,17 +150,6 @@ JsonValue SearchPlaceIndexForSuggestionsSummary::Jsonize() const } - if(m_filterCategoriesHasBeenSet) - { - Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); - } - payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); - - } - if(m_filterCountriesHasBeenSet) { Aws::Utils::Array filterCountriesJsonList(m_filterCountries.size()); @@ -172,21 +161,32 @@ JsonValue SearchPlaceIndexForSuggestionsSummary::Jsonize() const } - if(m_languageHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("Language", m_language); + payload.WithInteger("MaxResults", m_maxResults); } - if(m_maxResultsHasBeenSet) + if(m_dataSourceHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("DataSource", m_dataSource); } - if(m_textHasBeenSet) + if(m_languageHasBeenSet) { - payload.WithString("Text", m_text); + payload.WithString("Language", m_language); + + } + + if(m_filterCategoriesHasBeenSet) + { + Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); + } + payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextRequest.cpp index dfcce0fb900..bcdba0318dd 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextRequest.cpp @@ -16,16 +16,16 @@ using namespace Aws::Utils; using namespace Aws::Http; SearchPlaceIndexForTextRequest::SearchPlaceIndexForTextRequest() : + m_indexNameHasBeenSet(false), + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_indexNameHasBeenSet(false), - m_keyHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), - m_textHasBeenSet(false) + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false), + m_keyHasBeenSet(false) { } @@ -33,6 +33,12 @@ Aws::String SearchPlaceIndexForTextRequest::SerializePayload() const { JsonValue payload; + if(m_textHasBeenSet) + { + payload.WithString("Text", m_text); + + } + if(m_biasPositionHasBeenSet) { Aws::Utils::Array biasPositionJsonList(m_biasPosition.size()); @@ -55,17 +61,6 @@ Aws::String SearchPlaceIndexForTextRequest::SerializePayload() const } - if(m_filterCategoriesHasBeenSet) - { - Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); - } - payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); - - } - if(m_filterCountriesHasBeenSet) { Aws::Utils::Array filterCountriesJsonList(m_filterCountries.size()); @@ -77,21 +72,26 @@ Aws::String SearchPlaceIndexForTextRequest::SerializePayload() const } - if(m_languageHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("Language", m_language); + payload.WithInteger("MaxResults", m_maxResults); } - if(m_maxResultsHasBeenSet) + if(m_languageHasBeenSet) { - payload.WithInteger("MaxResults", m_maxResults); + payload.WithString("Language", m_language); } - if(m_textHasBeenSet) + if(m_filterCategoriesHasBeenSet) { - payload.WithString("Text", m_text); + Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); + } + payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextResult.cpp index 43d67e90a40..f0f3a46d190 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextResult.cpp @@ -29,6 +29,12 @@ SearchPlaceIndexForTextResult::SearchPlaceIndexForTextResult(const Aws::AmazonWe SearchPlaceIndexForTextResult& SearchPlaceIndexForTextResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Summary")) + { + m_summary = jsonValue.GetObject("Summary"); + + } + if(jsonValue.ValueExists("Results")) { Aws::Utils::Array resultsJsonList = jsonValue.GetArray("Results"); @@ -38,12 +44,6 @@ SearchPlaceIndexForTextResult& SearchPlaceIndexForTextResult::operator =(const A } } - if(jsonValue.ValueExists("Summary")) - { - m_summary = jsonValue.GetObject("Summary"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextSummary.cpp b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextSummary.cpp index ce5e2749f9a..83af89906a8 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextSummary.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/SearchPlaceIndexForTextSummary.cpp @@ -19,36 +19,43 @@ namespace Model { SearchPlaceIndexForTextSummary::SearchPlaceIndexForTextSummary() : + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_resultBBoxHasBeenSet(false), - m_textHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false) { } SearchPlaceIndexForTextSummary::SearchPlaceIndexForTextSummary(JsonView jsonValue) : + m_textHasBeenSet(false), m_biasPositionHasBeenSet(false), - m_dataSourceHasBeenSet(false), m_filterBBoxHasBeenSet(false), - m_filterCategoriesHasBeenSet(false), m_filterCountriesHasBeenSet(false), - m_languageHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_resultBBoxHasBeenSet(false), - m_textHasBeenSet(false) + m_dataSourceHasBeenSet(false), + m_languageHasBeenSet(false), + m_filterCategoriesHasBeenSet(false) { *this = jsonValue; } SearchPlaceIndexForTextSummary& SearchPlaceIndexForTextSummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("Text")) + { + m_text = jsonValue.GetString("Text"); + + m_textHasBeenSet = true; + } + if(jsonValue.ValueExists("BiasPosition")) { Aws::Utils::Array biasPositionJsonList = jsonValue.GetArray("BiasPosition"); @@ -59,13 +66,6 @@ SearchPlaceIndexForTextSummary& SearchPlaceIndexForTextSummary::operator =(JsonV m_biasPositionHasBeenSet = true; } - if(jsonValue.ValueExists("DataSource")) - { - m_dataSource = jsonValue.GetString("DataSource"); - - m_dataSourceHasBeenSet = true; - } - if(jsonValue.ValueExists("FilterBBox")) { Aws::Utils::Array filterBBoxJsonList = jsonValue.GetArray("FilterBBox"); @@ -76,16 +76,6 @@ SearchPlaceIndexForTextSummary& SearchPlaceIndexForTextSummary::operator =(JsonV m_filterBBoxHasBeenSet = true; } - if(jsonValue.ValueExists("FilterCategories")) - { - Aws::Utils::Array filterCategoriesJsonList = jsonValue.GetArray("FilterCategories"); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - m_filterCategories.push_back(filterCategoriesJsonList[filterCategoriesIndex].AsString()); - } - m_filterCategoriesHasBeenSet = true; - } - if(jsonValue.ValueExists("FilterCountries")) { Aws::Utils::Array filterCountriesJsonList = jsonValue.GetArray("FilterCountries"); @@ -96,13 +86,6 @@ SearchPlaceIndexForTextSummary& SearchPlaceIndexForTextSummary::operator =(JsonV m_filterCountriesHasBeenSet = true; } - if(jsonValue.ValueExists("Language")) - { - m_language = jsonValue.GetString("Language"); - - m_languageHasBeenSet = true; - } - if(jsonValue.ValueExists("MaxResults")) { m_maxResults = jsonValue.GetInteger("MaxResults"); @@ -120,11 +103,28 @@ SearchPlaceIndexForTextSummary& SearchPlaceIndexForTextSummary::operator =(JsonV m_resultBBoxHasBeenSet = true; } - if(jsonValue.ValueExists("Text")) + if(jsonValue.ValueExists("DataSource")) { - m_text = jsonValue.GetString("Text"); + m_dataSource = jsonValue.GetString("DataSource"); - m_textHasBeenSet = true; + m_dataSourceHasBeenSet = true; + } + + if(jsonValue.ValueExists("Language")) + { + m_language = jsonValue.GetString("Language"); + + m_languageHasBeenSet = true; + } + + if(jsonValue.ValueExists("FilterCategories")) + { + Aws::Utils::Array filterCategoriesJsonList = jsonValue.GetArray("FilterCategories"); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + m_filterCategories.push_back(filterCategoriesJsonList[filterCategoriesIndex].AsString()); + } + m_filterCategoriesHasBeenSet = true; } return *this; @@ -134,6 +134,12 @@ JsonValue SearchPlaceIndexForTextSummary::Jsonize() const { JsonValue payload; + if(m_textHasBeenSet) + { + payload.WithString("Text", m_text); + + } + if(m_biasPositionHasBeenSet) { Aws::Utils::Array biasPositionJsonList(m_biasPosition.size()); @@ -145,12 +151,6 @@ JsonValue SearchPlaceIndexForTextSummary::Jsonize() const } - if(m_dataSourceHasBeenSet) - { - payload.WithString("DataSource", m_dataSource); - - } - if(m_filterBBoxHasBeenSet) { Aws::Utils::Array filterBBoxJsonList(m_filterBBox.size()); @@ -162,17 +162,6 @@ JsonValue SearchPlaceIndexForTextSummary::Jsonize() const } - if(m_filterCategoriesHasBeenSet) - { - Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); - for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) - { - filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); - } - payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); - - } - if(m_filterCountriesHasBeenSet) { Aws::Utils::Array filterCountriesJsonList(m_filterCountries.size()); @@ -184,12 +173,6 @@ JsonValue SearchPlaceIndexForTextSummary::Jsonize() const } - if(m_languageHasBeenSet) - { - payload.WithString("Language", m_language); - - } - if(m_maxResultsHasBeenSet) { payload.WithInteger("MaxResults", m_maxResults); @@ -207,9 +190,26 @@ JsonValue SearchPlaceIndexForTextSummary::Jsonize() const } - if(m_textHasBeenSet) + if(m_dataSourceHasBeenSet) { - payload.WithString("Text", m_text); + payload.WithString("DataSource", m_dataSource); + + } + + if(m_languageHasBeenSet) + { + payload.WithString("Language", m_language); + + } + + if(m_filterCategoriesHasBeenSet) + { + Aws::Utils::Array filterCategoriesJsonList(m_filterCategories.size()); + for(unsigned filterCategoriesIndex = 0; filterCategoriesIndex < filterCategoriesJsonList.GetLength(); ++filterCategoriesIndex) + { + filterCategoriesJsonList[filterCategoriesIndex].AsString(m_filterCategories[filterCategoriesIndex]); + } + payload.WithArray("FilterCategories", std::move(filterCategoriesJsonList)); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/SpeedUnit.cpp b/generated/src/aws-cpp-sdk-location/source/model/SpeedUnit.cpp new file mode 100644 index 00000000000..861f9531d54 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/SpeedUnit.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace LocationService + { + namespace Model + { + namespace SpeedUnitMapper + { + + static const int KilometersPerHour_HASH = HashingUtils::HashString("KilometersPerHour"); + static const int MilesPerHour_HASH = HashingUtils::HashString("MilesPerHour"); + + + SpeedUnit GetSpeedUnitForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == KilometersPerHour_HASH) + { + return SpeedUnit::KilometersPerHour; + } + else if (hashCode == MilesPerHour_HASH) + { + return SpeedUnit::MilesPerHour; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SpeedUnit::NOT_SET; + } + + Aws::String GetNameForSpeedUnit(SpeedUnit enumValue) + { + switch(enumValue) + { + case SpeedUnit::NOT_SET: + return {}; + case SpeedUnit::KilometersPerHour: + return "KilometersPerHour"; + case SpeedUnit::MilesPerHour: + return "MilesPerHour"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SpeedUnitMapper + } // namespace Model + } // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-location/source/model/Step.cpp b/generated/src/aws-cpp-sdk-location/source/model/Step.cpp index 2142d924d10..255cd4eda78 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/Step.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/Step.cpp @@ -19,32 +19,52 @@ namespace Model { Step::Step() : + m_startPositionHasBeenSet(false), + m_endPositionHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_endPositionHasBeenSet(false), m_geometryOffset(0), - m_geometryOffsetHasBeenSet(false), - m_startPositionHasBeenSet(false) + m_geometryOffsetHasBeenSet(false) { } Step::Step(JsonView jsonValue) : + m_startPositionHasBeenSet(false), + m_endPositionHasBeenSet(false), m_distance(0.0), m_distanceHasBeenSet(false), m_durationSeconds(0.0), m_durationSecondsHasBeenSet(false), - m_endPositionHasBeenSet(false), m_geometryOffset(0), - m_geometryOffsetHasBeenSet(false), - m_startPositionHasBeenSet(false) + m_geometryOffsetHasBeenSet(false) { *this = jsonValue; } Step& Step::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("StartPosition")) + { + Aws::Utils::Array startPositionJsonList = jsonValue.GetArray("StartPosition"); + for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) + { + m_startPosition.push_back(startPositionJsonList[startPositionIndex].AsDouble()); + } + m_startPositionHasBeenSet = true; + } + + if(jsonValue.ValueExists("EndPosition")) + { + Aws::Utils::Array endPositionJsonList = jsonValue.GetArray("EndPosition"); + for(unsigned endPositionIndex = 0; endPositionIndex < endPositionJsonList.GetLength(); ++endPositionIndex) + { + m_endPosition.push_back(endPositionJsonList[endPositionIndex].AsDouble()); + } + m_endPositionHasBeenSet = true; + } + if(jsonValue.ValueExists("Distance")) { m_distance = jsonValue.GetDouble("Distance"); @@ -59,16 +79,6 @@ Step& Step::operator =(JsonView jsonValue) m_durationSecondsHasBeenSet = true; } - if(jsonValue.ValueExists("EndPosition")) - { - Aws::Utils::Array endPositionJsonList = jsonValue.GetArray("EndPosition"); - for(unsigned endPositionIndex = 0; endPositionIndex < endPositionJsonList.GetLength(); ++endPositionIndex) - { - m_endPosition.push_back(endPositionJsonList[endPositionIndex].AsDouble()); - } - m_endPositionHasBeenSet = true; - } - if(jsonValue.ValueExists("GeometryOffset")) { m_geometryOffset = jsonValue.GetInteger("GeometryOffset"); @@ -76,16 +86,6 @@ Step& Step::operator =(JsonView jsonValue) m_geometryOffsetHasBeenSet = true; } - if(jsonValue.ValueExists("StartPosition")) - { - Aws::Utils::Array startPositionJsonList = jsonValue.GetArray("StartPosition"); - for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) - { - m_startPosition.push_back(startPositionJsonList[startPositionIndex].AsDouble()); - } - m_startPositionHasBeenSet = true; - } - return *this; } @@ -93,15 +93,14 @@ JsonValue Step::Jsonize() const { JsonValue payload; - if(m_distanceHasBeenSet) - { - payload.WithDouble("Distance", m_distance); - - } - - if(m_durationSecondsHasBeenSet) + if(m_startPositionHasBeenSet) { - payload.WithDouble("DurationSeconds", m_durationSeconds); + Aws::Utils::Array startPositionJsonList(m_startPosition.size()); + for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) + { + startPositionJsonList[startPositionIndex].AsDouble(m_startPosition[startPositionIndex]); + } + payload.WithArray("StartPosition", std::move(startPositionJsonList)); } @@ -116,20 +115,21 @@ JsonValue Step::Jsonize() const } - if(m_geometryOffsetHasBeenSet) + if(m_distanceHasBeenSet) { - payload.WithInteger("GeometryOffset", m_geometryOffset); + payload.WithDouble("Distance", m_distance); } - if(m_startPositionHasBeenSet) + if(m_durationSecondsHasBeenSet) { - Aws::Utils::Array startPositionJsonList(m_startPosition.size()); - for(unsigned startPositionIndex = 0; startPositionIndex < startPositionJsonList.GetLength(); ++startPositionIndex) - { - startPositionJsonList[startPositionIndex].AsDouble(m_startPosition[startPositionIndex]); - } - payload.WithArray("StartPosition", std::move(startPositionJsonList)); + payload.WithDouble("DurationSeconds", m_durationSeconds); + + } + + if(m_geometryOffsetHasBeenSet) + { + payload.WithInteger("GeometryOffset", m_geometryOffset); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/TruckDimensions.cpp b/generated/src/aws-cpp-sdk-location/source/model/TruckDimensions.cpp index 57641132bbb..8e4c7957394 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/TruckDimensions.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/TruckDimensions.cpp @@ -19,39 +19,32 @@ namespace Model { TruckDimensions::TruckDimensions() : - m_height(0.0), - m_heightHasBeenSet(false), m_length(0.0), m_lengthHasBeenSet(false), - m_unit(DimensionUnit::NOT_SET), - m_unitHasBeenSet(false), + m_height(0.0), + m_heightHasBeenSet(false), m_width(0.0), - m_widthHasBeenSet(false) + m_widthHasBeenSet(false), + m_unit(DimensionUnit::NOT_SET), + m_unitHasBeenSet(false) { } TruckDimensions::TruckDimensions(JsonView jsonValue) : - m_height(0.0), - m_heightHasBeenSet(false), m_length(0.0), m_lengthHasBeenSet(false), - m_unit(DimensionUnit::NOT_SET), - m_unitHasBeenSet(false), + m_height(0.0), + m_heightHasBeenSet(false), m_width(0.0), - m_widthHasBeenSet(false) + m_widthHasBeenSet(false), + m_unit(DimensionUnit::NOT_SET), + m_unitHasBeenSet(false) { *this = jsonValue; } TruckDimensions& TruckDimensions::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("Height")) - { - m_height = jsonValue.GetDouble("Height"); - - m_heightHasBeenSet = true; - } - if(jsonValue.ValueExists("Length")) { m_length = jsonValue.GetDouble("Length"); @@ -59,11 +52,11 @@ TruckDimensions& TruckDimensions::operator =(JsonView jsonValue) m_lengthHasBeenSet = true; } - if(jsonValue.ValueExists("Unit")) + if(jsonValue.ValueExists("Height")) { - m_unit = DimensionUnitMapper::GetDimensionUnitForName(jsonValue.GetString("Unit")); + m_height = jsonValue.GetDouble("Height"); - m_unitHasBeenSet = true; + m_heightHasBeenSet = true; } if(jsonValue.ValueExists("Width")) @@ -73,6 +66,13 @@ TruckDimensions& TruckDimensions::operator =(JsonView jsonValue) m_widthHasBeenSet = true; } + if(jsonValue.ValueExists("Unit")) + { + m_unit = DimensionUnitMapper::GetDimensionUnitForName(jsonValue.GetString("Unit")); + + m_unitHasBeenSet = true; + } + return *this; } @@ -80,21 +80,16 @@ JsonValue TruckDimensions::Jsonize() const { JsonValue payload; - if(m_heightHasBeenSet) - { - payload.WithDouble("Height", m_height); - - } - if(m_lengthHasBeenSet) { payload.WithDouble("Length", m_length); } - if(m_unitHasBeenSet) + if(m_heightHasBeenSet) { - payload.WithString("Unit", DimensionUnitMapper::GetNameForDimensionUnit(m_unit)); + payload.WithDouble("Height", m_height); + } if(m_widthHasBeenSet) @@ -103,6 +98,11 @@ JsonValue TruckDimensions::Jsonize() const } + if(m_unitHasBeenSet) + { + payload.WithString("Unit", DimensionUnitMapper::GetNameForDimensionUnit(m_unit)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateGeofenceCollectionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateGeofenceCollectionResult.cpp index e716dc14563..9b33839731e 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateGeofenceCollectionResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateGeofenceCollectionResult.cpp @@ -29,15 +29,15 @@ UpdateGeofenceCollectionResult::UpdateGeofenceCollectionResult(const Aws::Amazon UpdateGeofenceCollectionResult& UpdateGeofenceCollectionResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CollectionArn")) + if(jsonValue.ValueExists("CollectionName")) { - m_collectionArn = jsonValue.GetString("CollectionArn"); + m_collectionName = jsonValue.GetString("CollectionName"); } - if(jsonValue.ValueExists("CollectionName")) + if(jsonValue.ValueExists("CollectionArn")) { - m_collectionName = jsonValue.GetString("CollectionName"); + m_collectionArn = jsonValue.GetString("CollectionArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateKeyRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateKeyRequest.cpp index 8197a434bb8..ca4dd89561a 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateKeyRequest.cpp @@ -13,13 +13,13 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateKeyRequest::UpdateKeyRequest() : + m_keyNameHasBeenSet(false), m_descriptionHasBeenSet(false), m_expireTimeHasBeenSet(false), - m_forceUpdate(false), - m_forceUpdateHasBeenSet(false), - m_keyNameHasBeenSet(false), m_noExpiry(false), m_noExpiryHasBeenSet(false), + m_forceUpdate(false), + m_forceUpdateHasBeenSet(false), m_restrictionsHasBeenSet(false) { } @@ -39,15 +39,15 @@ Aws::String UpdateKeyRequest::SerializePayload() const payload.WithString("ExpireTime", m_expireTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_forceUpdateHasBeenSet) + if(m_noExpiryHasBeenSet) { - payload.WithBool("ForceUpdate", m_forceUpdate); + payload.WithBool("NoExpiry", m_noExpiry); } - if(m_noExpiryHasBeenSet) + if(m_forceUpdateHasBeenSet) { - payload.WithBool("NoExpiry", m_noExpiry); + payload.WithBool("ForceUpdate", m_forceUpdate); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateMapRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateMapRequest.cpp index d01a0f15676..21429730573 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateMapRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateMapRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateMapRequest::UpdateMapRequest() : - m_configurationUpdateHasBeenSet(false), + m_mapNameHasBeenSet(false), m_descriptionHasBeenSet(false), - m_mapNameHasBeenSet(false) + m_configurationUpdateHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String UpdateMapRequest::SerializePayload() const { JsonValue payload; - if(m_configurationUpdateHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithObject("ConfigurationUpdate", m_configurationUpdate.Jsonize()); + payload.WithString("Description", m_description); } - if(m_descriptionHasBeenSet) + if(m_configurationUpdateHasBeenSet) { - payload.WithString("Description", m_description); + payload.WithObject("ConfigurationUpdate", m_configurationUpdate.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateMapResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateMapResult.cpp index 9214d18d43f..a79efac6d9d 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateMapResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateMapResult.cpp @@ -29,15 +29,15 @@ UpdateMapResult::UpdateMapResult(const Aws::AmazonWebServiceResult& r UpdateMapResult& UpdateMapResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("MapArn")) + if(jsonValue.ValueExists("MapName")) { - m_mapArn = jsonValue.GetString("MapArn"); + m_mapName = jsonValue.GetString("MapName"); } - if(jsonValue.ValueExists("MapName")) + if(jsonValue.ValueExists("MapArn")) { - m_mapName = jsonValue.GetString("MapName"); + m_mapArn = jsonValue.GetString("MapArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexRequest.cpp index 38b75b00f2f..b901b27d69e 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdatePlaceIndexRequest::UpdatePlaceIndexRequest() : - m_dataSourceConfigurationHasBeenSet(false), + m_indexNameHasBeenSet(false), m_descriptionHasBeenSet(false), - m_indexNameHasBeenSet(false) + m_dataSourceConfigurationHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String UpdatePlaceIndexRequest::SerializePayload() const { JsonValue payload; - if(m_dataSourceConfigurationHasBeenSet) + if(m_descriptionHasBeenSet) { - payload.WithObject("DataSourceConfiguration", m_dataSourceConfiguration.Jsonize()); + payload.WithString("Description", m_description); } - if(m_descriptionHasBeenSet) + if(m_dataSourceConfigurationHasBeenSet) { - payload.WithString("Description", m_description); + payload.WithObject("DataSourceConfiguration", m_dataSourceConfiguration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexResult.cpp index 0d50e67d7e1..c8e0a8262a3 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdatePlaceIndexResult.cpp @@ -29,15 +29,15 @@ UpdatePlaceIndexResult::UpdatePlaceIndexResult(const Aws::AmazonWebServiceResult UpdatePlaceIndexResult& UpdatePlaceIndexResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("IndexArn")) + if(jsonValue.ValueExists("IndexName")) { - m_indexArn = jsonValue.GetString("IndexArn"); + m_indexName = jsonValue.GetString("IndexName"); } - if(jsonValue.ValueExists("IndexName")) + if(jsonValue.ValueExists("IndexArn")) { - m_indexName = jsonValue.GetString("IndexName"); + m_indexArn = jsonValue.GetString("IndexArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp index 33839f07e01..e1a8f3bb90c 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateRouteCalculatorResult.cpp @@ -29,15 +29,15 @@ UpdateRouteCalculatorResult::UpdateRouteCalculatorResult(const Aws::AmazonWebSer UpdateRouteCalculatorResult& UpdateRouteCalculatorResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("CalculatorArn")) + if(jsonValue.ValueExists("CalculatorName")) { - m_calculatorArn = jsonValue.GetString("CalculatorArn"); + m_calculatorName = jsonValue.GetString("CalculatorName"); } - if(jsonValue.ValueExists("CalculatorName")) + if(jsonValue.ValueExists("CalculatorArn")) { - m_calculatorName = jsonValue.GetString("CalculatorName"); + m_calculatorArn = jsonValue.GetString("CalculatorArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerRequest.cpp index 45b6dfaece3..19f346eb0cb 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerRequest.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerRequest.cpp @@ -13,14 +13,14 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateTrackerRequest::UpdateTrackerRequest() : + m_trackerNameHasBeenSet(false), m_descriptionHasBeenSet(false), + m_positionFiltering(PositionFiltering::NOT_SET), + m_positionFilteringHasBeenSet(false), m_eventBridgeEnabled(false), m_eventBridgeEnabledHasBeenSet(false), m_kmsKeyEnableGeospatialQueries(false), - m_kmsKeyEnableGeospatialQueriesHasBeenSet(false), - m_positionFiltering(PositionFiltering::NOT_SET), - m_positionFilteringHasBeenSet(false), - m_trackerNameHasBeenSet(false) + m_kmsKeyEnableGeospatialQueriesHasBeenSet(false) { } @@ -34,6 +34,11 @@ Aws::String UpdateTrackerRequest::SerializePayload() const } + if(m_positionFilteringHasBeenSet) + { + payload.WithString("PositionFiltering", PositionFilteringMapper::GetNameForPositionFiltering(m_positionFiltering)); + } + if(m_eventBridgeEnabledHasBeenSet) { payload.WithBool("EventBridgeEnabled", m_eventBridgeEnabled); @@ -46,11 +51,6 @@ Aws::String UpdateTrackerRequest::SerializePayload() const } - if(m_positionFilteringHasBeenSet) - { - payload.WithString("PositionFiltering", PositionFilteringMapper::GetNameForPositionFiltering(m_positionFiltering)); - } - return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerResult.cpp index 3670d2cff1a..a066a41c45d 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerResult.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/UpdateTrackerResult.cpp @@ -29,15 +29,15 @@ UpdateTrackerResult::UpdateTrackerResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("TrackerArn")) + if(jsonValue.ValueExists("TrackerName")) { - m_trackerArn = jsonValue.GetString("TrackerArn"); + m_trackerName = jsonValue.GetString("TrackerName"); } - if(jsonValue.ValueExists("TrackerName")) + if(jsonValue.ValueExists("TrackerArn")) { - m_trackerName = jsonValue.GetString("TrackerName"); + m_trackerArn = jsonValue.GetString("TrackerArn"); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-location/source/model/ValidationException.cpp index 8b89875bbfb..4bf91a2981f 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ValidationException.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ValidationException.cpp @@ -19,34 +19,24 @@ namespace Model { ValidationException::ValidationException() : - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false) { } ValidationException::ValidationException(JsonView jsonValue) : - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false) { *this = jsonValue; } ValidationException& ValidationException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("fieldList")) - { - Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); - } - m_fieldListHasBeenSet = true; - } - if(jsonValue.ValueExists("message")) { m_message = jsonValue.GetString("message"); @@ -61,6 +51,16 @@ ValidationException& ValidationException::operator =(JsonView jsonValue) m_reasonHasBeenSet = true; } + if(jsonValue.ValueExists("fieldList")) + { + Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); + } + m_fieldListHasBeenSet = true; + } + return *this; } @@ -68,17 +68,6 @@ JsonValue ValidationException::Jsonize() const { JsonValue payload; - if(m_fieldListHasBeenSet) - { - Aws::Utils::Array fieldListJsonList(m_fieldList.size()); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); - } - payload.WithArray("fieldList", std::move(fieldListJsonList)); - - } - if(m_messageHasBeenSet) { payload.WithString("message", m_message); @@ -90,6 +79,17 @@ JsonValue ValidationException::Jsonize() const payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); } + if(m_fieldListHasBeenSet) + { + Aws::Utils::Array fieldListJsonList(m_fieldList.size()); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); + } + payload.WithArray("fieldList", std::move(fieldListJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-location/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-location/source/model/ValidationExceptionField.cpp index 07f9d6ae5b5..9db7d2baffb 100644 --- a/generated/src/aws-cpp-sdk-location/source/model/ValidationExceptionField.cpp +++ b/generated/src/aws-cpp-sdk-location/source/model/ValidationExceptionField.cpp @@ -19,32 +19,32 @@ namespace Model { ValidationExceptionField::ValidationExceptionField() : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { } ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { *this = jsonValue; } ValidationExceptionField& ValidationExceptionField::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("message")) + if(jsonValue.ValueExists("name")) { - m_message = jsonValue.GetString("message"); + m_name = jsonValue.GetString("name"); - m_messageHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("message")) { - m_name = jsonValue.GetString("name"); + m_message = jsonValue.GetString("message"); - m_nameHasBeenSet = true; + m_messageHasBeenSet = true; } return *this; @@ -54,15 +54,15 @@ JsonValue ValidationExceptionField::Jsonize() const { JsonValue payload; - if(m_messageHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_messageHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionRequest.cpp b/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionRequest.cpp new file mode 100644 index 00000000000..e595bf112ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::LocationService::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +VerifyDevicePositionRequest::VerifyDevicePositionRequest() : + m_trackerNameHasBeenSet(false), + m_deviceStateHasBeenSet(false), + m_distanceUnit(DistanceUnit::NOT_SET), + m_distanceUnitHasBeenSet(false) +{ +} + +Aws::String VerifyDevicePositionRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_deviceStateHasBeenSet) + { + payload.WithObject("DeviceState", m_deviceState.Jsonize()); + + } + + if(m_distanceUnitHasBeenSet) + { + payload.WithString("DistanceUnit", DistanceUnitMapper::GetNameForDistanceUnit(m_distanceUnit)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionResult.cpp b/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionResult.cpp new file mode 100644 index 00000000000..27b9c5e99c1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/VerifyDevicePositionResult.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::LocationService::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +VerifyDevicePositionResult::VerifyDevicePositionResult() : + m_distanceUnit(DistanceUnit::NOT_SET) +{ +} + +VerifyDevicePositionResult::VerifyDevicePositionResult(const Aws::AmazonWebServiceResult& result) : + m_distanceUnit(DistanceUnit::NOT_SET) +{ + *this = result; +} + +VerifyDevicePositionResult& VerifyDevicePositionResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("InferredState")) + { + m_inferredState = jsonValue.GetObject("InferredState"); + + } + + if(jsonValue.ValueExists("DeviceId")) + { + m_deviceId = jsonValue.GetString("DeviceId"); + + } + + if(jsonValue.ValueExists("SampleTime")) + { + m_sampleTime = jsonValue.GetString("SampleTime"); + + } + + if(jsonValue.ValueExists("ReceivedTime")) + { + m_receivedTime = jsonValue.GetString("ReceivedTime"); + + } + + if(jsonValue.ValueExists("DistanceUnit")) + { + m_distanceUnit = DistanceUnitMapper::GetDistanceUnitForName(jsonValue.GetString("DistanceUnit")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-location/source/model/WiFiAccessPoint.cpp b/generated/src/aws-cpp-sdk-location/source/model/WiFiAccessPoint.cpp new file mode 100644 index 00000000000..5eca974dd32 --- /dev/null +++ b/generated/src/aws-cpp-sdk-location/source/model/WiFiAccessPoint.cpp @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace LocationService +{ +namespace Model +{ + +WiFiAccessPoint::WiFiAccessPoint() : + m_macAddressHasBeenSet(false), + m_rss(0), + m_rssHasBeenSet(false) +{ +} + +WiFiAccessPoint::WiFiAccessPoint(JsonView jsonValue) : + m_macAddressHasBeenSet(false), + m_rss(0), + m_rssHasBeenSet(false) +{ + *this = jsonValue; +} + +WiFiAccessPoint& WiFiAccessPoint::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("MacAddress")) + { + m_macAddress = jsonValue.GetString("MacAddress"); + + m_macAddressHasBeenSet = true; + } + + if(jsonValue.ValueExists("Rss")) + { + m_rss = jsonValue.GetInteger("Rss"); + + m_rssHasBeenSet = true; + } + + return *this; +} + +JsonValue WiFiAccessPoint::Jsonize() const +{ + JsonValue payload; + + if(m_macAddressHasBeenSet) + { + payload.WithString("MacAddress", m_macAddress); + + } + + if(m_rssHasBeenSet) + { + payload.WithInteger("Rss", m_rss); + + } + + return payload; +} + +} // namespace Model +} // namespace LocationService +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/SNSClient.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/SNSClient.h index 3efe0d6ac82..55e88d247b4 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/SNSClient.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/SNSClient.h @@ -197,18 +197,17 @@ namespace SNS * PlatformPrincipal and PlatformCredential attributes * when using the CreatePlatformApplication action.

                                                * PlatformPrincipal and PlatformCredential are received - * from the notification service.

                                                • For ADM, + * from the notification service.

                                                  • For ADM, * PlatformPrincipal is client id and * PlatformCredential is client secret.

                                                  • - *

                                                    For Baidu, PlatformPrincipal is API - * key and PlatformCredential is secret key.

                                                    - *
                                                  • For APNS and APNS_SANDBOX using - * certificate credentials, PlatformPrincipal is SSL - * certificate and PlatformCredential is private - * key.

                                                  • For APNS and - * APNS_SANDBOX using token credentials, + *

                                                    For APNS and APNS_SANDBOX using certificate credentials, + * PlatformPrincipal is SSL certificate and + * PlatformCredential is private key.

                                                  • + *

                                                    For APNS and APNS_SANDBOX using token credentials, * PlatformPrincipal is signing key ID and * PlatformCredential is signing key.

                                                  • + *

                                                    For Baidu, PlatformPrincipal is API key and + * PlatformCredential is secret key.

                                                  • *

                                                    For GCM (Firebase Cloud Messaging) using key credentials, there is no * PlatformPrincipal. The PlatformCredential is API * key.

                                                  • For GCM (Firebase Cloud Messaging) using token @@ -217,14 +216,14 @@ namespace SNS * the Amazon Web Services CLI, the file must be in string format and special * characters must be ignored. To format the file correctly, Amazon SNS recommends * using the following command: SERVICE_JSON=`jq @json <<< cat - * service.json`.

                                                  • For MPNS, - * PlatformPrincipal is TLS certificate and - * PlatformCredential is private key.

                                                  • - *

                                                    For WNS, PlatformPrincipal is Package - * Security Identifier and PlatformCredential is secret - * key.

                                                  You can use the returned - * PlatformApplicationArn as an attribute for the - * CreatePlatformEndpoint action.

                                                  See Also:

                                                  .

                                                • For MPNS, PlatformPrincipal + * is TLS certificate and PlatformCredential is + * private key.

                                                • For WNS, + * PlatformPrincipal is Package Security Identifier and + * PlatformCredential is secret key.

                                                + *

                                                You can use the returned PlatformApplicationArn as an attribute + * for the CreatePlatformEndpoint action.

                                                See Also:

                                                + *
                                                AWS * API Reference

                                                */ diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/CreateTopicRequest.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/CreateTopicRequest.h index cb374cf0a2d..ed78f7eeff6 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/CreateTopicRequest.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/CreateTopicRequest.h @@ -117,8 +117,8 @@ namespace Model /** *

                                                A map of attributes with their corresponding values.

                                                The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                  • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                  • * DisplayName – The display name to use for a topic with SMS @@ -170,8 +170,8 @@ namespace Model /** *

                                                    A map of attributes with their corresponding values.

                                                    The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                    • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                      • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                      • * DisplayName – The display name to use for a topic with SMS @@ -223,8 +223,8 @@ namespace Model /** *

                                                        A map of attributes with their corresponding values.

                                                        The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                        • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                          • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                          • * DisplayName – The display name to use for a topic with SMS @@ -276,8 +276,8 @@ namespace Model /** *

                                                            A map of attributes with their corresponding values.

                                                            The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                            • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                              • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                              • * DisplayName – The display name to use for a topic with SMS @@ -329,8 +329,8 @@ namespace Model /** *

                                                                A map of attributes with their corresponding values.

                                                                The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                  • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                  • * DisplayName – The display name to use for a topic with SMS @@ -382,8 +382,8 @@ namespace Model /** *

                                                                    A map of attributes with their corresponding values.

                                                                    The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                    • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                      • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                      • * DisplayName – The display name to use for a topic with SMS @@ -435,8 +435,8 @@ namespace Model /** *

                                                                        A map of attributes with their corresponding values.

                                                                        The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                        • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                          • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                          • * DisplayName – The display name to use for a topic with SMS @@ -488,8 +488,8 @@ namespace Model /** *

                                                                            A map of attributes with their corresponding values.

                                                                            The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                            • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                              • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                              • * DisplayName – The display name to use for a topic with SMS @@ -541,8 +541,8 @@ namespace Model /** *

                                                                                A map of attributes with their corresponding values.

                                                                                The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                                • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                                  • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                                  • * DisplayName – The display name to use for a topic with SMS @@ -594,8 +594,8 @@ namespace Model /** *

                                                                                    A map of attributes with their corresponding values.

                                                                                    The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                                    • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                                      • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                                      • * DisplayName – The display name to use for a topic with SMS @@ -647,8 +647,8 @@ namespace Model /** *

                                                                                        A map of attributes with their corresponding values.

                                                                                        The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                                        • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                                          • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                                          • * DisplayName – The display name to use for a topic with SMS @@ -700,8 +700,8 @@ namespace Model /** *

                                                                                            A map of attributes with their corresponding values.

                                                                                            The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                                            • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                                              • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                                              • * DisplayName – The display name to use for a topic with SMS @@ -753,8 +753,8 @@ namespace Model /** *

                                                                                                A map of attributes with their corresponding values.

                                                                                                The following - * lists the names, descriptions, and values of the special request parameters that - * the CreateTopic action uses:

                                                                                                • + * lists names, descriptions, and values of the special request parameters that the + * CreateTopic action uses:

                                                                                                  • * DeliveryPolicy – The policy that defines how Amazon SNS retries * failed deliveries to HTTP/S endpoints.

                                                                                                  • * DisplayName – The display name to use for a topic with SMS diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/GetSubscriptionAttributesResult.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/GetSubscriptionAttributesResult.h index 26f65f579fb..1cc59682f1d 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/GetSubscriptionAttributesResult.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/GetSubscriptionAttributesResult.h @@ -71,16 +71,15 @@ namespace Model * reprocessing.

                                                                                                  • SubscriptionArn – The * subscription's ARN.

                                                                                                  • TopicArn – The topic ARN * that the subscription is associated with.

                                                                                                  The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                                                  • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                                                    • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                                                    • Amazon SNS listed as a - * trusted entity

                                                                                                    Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                                                  • Amazon SNS listed as a trusted + * entity

                                                                                                  Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                                                + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                                                + *
                                                                                              */ inline const Aws::Map& GetAttributes() const{ return m_attributes; } @@ -116,16 +115,15 @@ namespace Model * reprocessing.

                                                                                            • SubscriptionArn – The * subscription's ARN.

                                                                                            • TopicArn – The topic ARN * that the subscription is associated with.

                                                                                            The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                                            • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                                              • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                                              • Amazon SNS listed as a - * trusted entity

                                                                                              Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                                            • Amazon SNS listed as a trusted + * entity

                                                                                            Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                                          + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                                          + *
                                                                                        */ inline void SetAttributes(const Aws::Map& value) { m_attributes = value; } @@ -161,16 +159,15 @@ namespace Model * reprocessing.

                                                                                      • SubscriptionArn – The * subscription's ARN.

                                                                                      • TopicArn – The topic ARN * that the subscription is associated with.

                                                                                      The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                                      • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                                        • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                                        • Amazon SNS listed as a - * trusted entity

                                                                                        Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                                      • Amazon SNS listed as a trusted + * entity

                                                                                      Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                                    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                                    + *
                                                                                  */ inline void SetAttributes(Aws::Map&& value) { m_attributes = std::move(value); } @@ -206,16 +203,15 @@ namespace Model * reprocessing.

                                                                                • SubscriptionArn – The * subscription's ARN.

                                                                                • TopicArn – The topic ARN * that the subscription is associated with.

                                                                                The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                                • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                                  • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                                  • Amazon SNS listed as a - * trusted entity

                                                                                  Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                                • Amazon SNS listed as a trusted + * entity

                                                                                Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                              + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                              + *
                                                                            */ inline GetSubscriptionAttributesResult& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} @@ -251,16 +247,15 @@ namespace Model * reprocessing.

                                                                          • SubscriptionArn – The * subscription's ARN.

                                                                          • TopicArn – The topic ARN * that the subscription is associated with.

                                                                          The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                          • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                            • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                            • Amazon SNS listed as a - * trusted entity

                                                                            Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                          • Amazon SNS listed as a trusted + * entity

                                                                          Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                        + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                        + *
                                                                      */ inline GetSubscriptionAttributesResult& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} @@ -296,16 +291,15 @@ namespace Model * reprocessing.

                                                                    • SubscriptionArn – The * subscription's ARN.

                                                                    • TopicArn – The topic ARN * that the subscription is associated with.

                                                                    The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                                    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                      • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                      • Amazon SNS listed as a - * trusted entity

                                                                      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                                    • Amazon SNS listed as a trusted + * entity

                                                                    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                                  + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                                  + *
                                                                */ inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; } @@ -341,16 +335,15 @@ namespace Model * reprocessing.

                                                              • SubscriptionArn – The * subscription's ARN.

                                                              • TopicArn – The topic ARN * that the subscription is associated with.

                                                              The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                              • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                                • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                                • Amazon SNS listed as a - * trusted entity

                                                                Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                              • Amazon SNS listed as a trusted + * entity

                                                              Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                            + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                            + *
                                                          */ inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; } @@ -386,16 +379,15 @@ namespace Model * reprocessing.

                                                        • SubscriptionArn – The * subscription's ARN.

                                                        • TopicArn – The topic ARN * that the subscription is associated with.

                                                        The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                        • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                          • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                          • Amazon SNS listed as a - * trusted entity

                                                          Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                        • Amazon SNS listed as a trusted + * entity

                                                        Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                      + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                      + *
                                                    */ inline GetSubscriptionAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } @@ -431,16 +423,15 @@ namespace Model * reprocessing.

                                                  • SubscriptionArn – The * subscription's ARN.

                                                  • TopicArn – The topic ARN * that the subscription is associated with.

                                                  The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                                  • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                                    • Permission to write to the - * Kinesis Data Firehose delivery stream

                                                    • Amazon SNS listed as a - * trusted entity

                                                    Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                                  • Amazon SNS listed as a trusted + * entity

                                                  Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                                + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                                + *
                                              */ inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; } @@ -476,16 +467,15 @@ namespace Model * reprocessing.

                                            • SubscriptionArn – The * subscription's ARN.

                                            • TopicArn – The topic ARN * that the subscription is associated with.

                                            The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                            • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                              • Permission to write to the - * Kinesis Data Firehose delivery stream

                                              • Amazon SNS listed as a - * trusted entity

                                              Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                            • Amazon SNS listed as a trusted + * entity

                                            Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                          + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                          + *
                                        */ inline GetSubscriptionAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } @@ -521,16 +511,15 @@ namespace Model * reprocessing.

                                      • SubscriptionArn – The * subscription's ARN.

                                      • TopicArn – The topic ARN * that the subscription is associated with.

                                      The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                      • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                        • Permission to write to the - * Kinesis Data Firehose delivery stream

                                        • Amazon SNS listed as a - * trusted entity

                                        Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                      • Amazon SNS listed as a trusted + * entity

                                      Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                                    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                                    + *
                                  */ inline GetSubscriptionAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; } @@ -566,16 +555,15 @@ namespace Model * reprocessing.

                                • SubscriptionArn – The * subscription's ARN.

                                • TopicArn – The topic ARN * that the subscription is associated with.

                                The following - * attribute applies only to Amazon Kinesis Data Firehose delivery stream + * attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                                • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                                  • Permission to write to the - * Kinesis Data Firehose delivery stream

                                  • Amazon SNS listed as a - * trusted entity

                                  Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                                • Amazon SNS listed as a trusted + * entity

                                Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                              + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                              + *
                            */ inline GetSubscriptionAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; } diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/PublishRequest.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/PublishRequest.h index e2cc41f7c1e..a26646ea688 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/PublishRequest.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/PublishRequest.h @@ -481,9 +481,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline const Aws::String& GetSubject() const{ return m_subject; } @@ -491,9 +490,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline bool SubjectHasBeenSet() const { return m_subjectHasBeenSet; } @@ -501,9 +499,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline void SetSubject(const Aws::String& value) { m_subjectHasBeenSet = true; m_subject = value; } @@ -511,9 +508,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline void SetSubject(Aws::String&& value) { m_subjectHasBeenSet = true; m_subject = std::move(value); } @@ -521,9 +517,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline void SetSubject(const char* value) { m_subjectHasBeenSet = true; m_subject.assign(value); } @@ -531,9 +526,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline PublishRequest& WithSubject(const Aws::String& value) { SetSubject(value); return *this;} @@ -541,9 +535,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline PublishRequest& WithSubject(Aws::String&& value) { SetSubject(std::move(value)); return *this;} @@ -551,9 +544,8 @@ namespace Model *

                            Optional parameter to be used as the "Subject" line when the message is * delivered to email endpoints. This field will also be included, if present, in * the standard JSON messages delivered to other endpoints.

                            Constraints: - * Subjects must be ASCII text that begins with a letter, number, or punctuation - * mark; must not include line breaks or control characters; and must be less than - * 100 characters long.

                            + * Subjects must be UTF-8 text with no line breaks or control characters, and less + * than 100 characters long.

                            */ inline PublishRequest& WithSubject(const char* value) { SetSubject(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SetSubscriptionAttributesRequest.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SetSubscriptionAttributesRequest.h index cce6e9804cd..0a92ff73adb 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SetSubscriptionAttributesRequest.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SetSubscriptionAttributesRequest.h @@ -102,16 +102,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

                          The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                          • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                            • Permission to write to the - * Kinesis Data Firehose delivery stream

                            • Amazon SNS listed as a - * trusted entity

                            Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                          • Amazon SNS listed as a trusted + * entity

                          Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                        + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                        + *
                      */ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } @@ -137,16 +136,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

                    The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

                    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                      • Permission to write to the - * Kinesis Data Firehose delivery stream

                      • Amazon SNS listed as a - * trusted entity

                      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

                    • Amazon SNS listed as a trusted + * entity

                    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

                  + * to Firehose delivery streams in the Amazon SNS Developer Guide.

                  + *
                */ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } @@ -172,16 +170,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

              The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

              • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

                • Permission to write to the - * Kinesis Data Firehose delivery stream

                • Amazon SNS listed as a - * trusted entity

                Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

              • Amazon SNS listed as a trusted + * entity

              Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

            + * to Firehose delivery streams in the Amazon SNS Developer Guide.

            + *
          */ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } @@ -207,16 +204,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

        The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

        • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

          • Permission to write to the - * Kinesis Data Firehose delivery stream

          • Amazon SNS listed as a - * trusted entity

          Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

        • Amazon SNS listed as a trusted + * entity

        Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

      + * to Firehose delivery streams in the Amazon SNS Developer Guide.

      + *
    */ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } @@ -242,16 +238,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

    The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

      • Permission to write to the - * Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a - * trusted entity

      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

    • Amazon SNS listed as a trusted + * entity

    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

    + * */ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } @@ -277,16 +272,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

    The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

      • Permission to write to the - * Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a - * trusted entity

      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

    • Amazon SNS listed as a trusted + * entity

    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

    + * */ inline SetSubscriptionAttributesRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} @@ -312,16 +306,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

    The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

      • Permission to write to the - * Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a - * trusted entity

      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

    • Amazon SNS listed as a trusted + * entity

    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

    + * */ inline SetSubscriptionAttributesRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} @@ -347,16 +340,15 @@ namespace Model * subscribed endpoint is unreachable) or server errors (for example, when the * service that powers the subscribed endpoint becomes unavailable) are held in the * dead-letter queue for further analysis or reprocessing.

    The - * following attribute applies only to Amazon Kinesis Data Firehose delivery stream + * following attribute applies only to Amazon Data Firehose delivery stream * subscriptions:

    • SubscriptionRoleArn – The ARN of * the IAM role that has the following:

      • Permission to write to the - * Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a - * trusted entity

      Specifying a valid ARN for this attribute is - * required for Kinesis Data Firehose delivery stream subscriptions. For more - * information, see

    • Amazon SNS listed as a trusted + * entity

    Specifying a valid ARN for this attribute is required + * for Firehose delivery stream subscriptions. For more information, see Fanout - * to Kinesis Data Firehose delivery streams in the Amazon SNS Developer - * Guide.

    + * to Firehose delivery streams in the Amazon SNS Developer Guide.

    + * */ inline SetSubscriptionAttributesRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SubscribeRequest.h b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SubscribeRequest.h index 2a0c86f39dd..475ac68aaf5 100644 --- a/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SubscribeRequest.h +++ b/generated/src/aws-cpp-sdk-sns/include/aws/sns/model/SubscribeRequest.h @@ -386,15 +386,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -434,15 +434,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -482,15 +482,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -530,15 +530,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -578,15 +578,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -626,15 +626,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -674,15 +674,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -722,15 +722,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -770,15 +770,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -818,15 +818,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -866,15 +866,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -914,15 +914,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the @@ -962,15 +962,15 @@ namespace Model * server errors (for example, when the service that powers the subscribed endpoint * becomes unavailable) are held in the dead-letter queue for further analysis or * reprocessing.

    The following attribute applies only to Amazon - * Kinesis Data Firehose delivery stream subscriptions:

    The following attributes apply only to FIFO * topics:

    • ReplayPolicy – Adds or updates an * inline policy document for a subscription to replay messages stored in the diff --git a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/SQSClient.h b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/SQSClient.h index e9874fb866c..75e5c29fa9a 100644 --- a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/SQSClient.h +++ b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/SQSClient.h @@ -785,12 +785,16 @@ namespace SQS /** *

      Delivers a message to the specified queue.

      A message can * include only XML, JSON, and unformatted text. The following Unicode characters - * are allowed:

      #x9 | #xA | #xD | + * are allowed. For more information, see the W3C specification for + * characters.

      #x9 | #xA | #xD | * #x20 to #xD7FF | #xE000 to - * #xFFFD | #x10000 to #x10FFFF

      Any - * characters not included in this list will be rejected. For more information, see - * the W3C specification for - * characters.

      See Also:

      #xFFFD
      | #x10000 to #x10FFFF

      + *

      Amazon SQS does not throw an exception or completely reject the message if it + * contains invalid characters. Instead, it replaces those invalid characters with + * U+FFFD before storing the message in the queue, as long as the + * message body contains at least one valid character.

      See + * Also:

      AWS API * Reference

      */ @@ -827,15 +831,17 @@ namespace SQS * maximum total payload size (the sum of the individual lengths of all of the * batched messages) are both 256 KiB (262,144 bytes).

      A message * can include only XML, JSON, and unformatted text. The following Unicode - * characters are allowed:

      #x9 | #xA | - * #xD | #x20 to #xD7FF | - * #xE000 to #xFFFD | #x10000 to - * #x10FFFF

      Any characters not included in this list will be - * rejected. For more information, see the W3C specification for - * characters.

      If you don't specify the - * DelaySeconds parameter for an entry, Amazon SQS uses the default - * value for the queue.

      See Also:

      .

      #x9 | #xA | #xD | + * #x20 to #xD7FF | #xE000 to + * #xFFFD | #x10000 to #x10FFFF

      + *

      Amazon SQS does not throw an exception or completely reject the message if it + * contains invalid characters. Instead, it replaces those invalid characters with + * U+FFFD before storing the message in the queue, as long as the + * message body contains at least one valid character.

      If you + * don't specify the DelaySeconds parameter for an entry, Amazon SQS + * uses the default value for the queue.

      See Also:

      AWS * API Reference

      */ diff --git a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/CreateQueueRequest.h b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/CreateQueueRequest.h index 822a585ae6e..7c4c517fa8b 100644 --- a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/CreateQueueRequest.h +++ b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/CreateQueueRequest.h @@ -195,7 +195,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -343,7 +343,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -491,7 +491,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -639,7 +639,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -787,7 +787,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -935,7 +935,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1083,7 +1083,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1231,7 +1231,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1379,7 +1379,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1527,7 +1527,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1675,7 +1675,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer @@ -1823,7 +1823,7 @@ namespace Model * example, be alias/MyAlias . For more examples, see KeyId * in the Key Management Service API Reference.

    • - * KmsDataKeyReusePeriodSeconds �� The length of time, in seconds, for + * KmsDataKeyReusePeriodSeconds – The length of time, in seconds, for * which Amazon SQS can reuse a data * key to encrypt or decrypt messages before calling KMS again. An integer diff --git a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/SendMessageRequest.h b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/SendMessageRequest.h index 166f3829ea5..46e7b2e9461 100644 --- a/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/SendMessageRequest.h +++ b/generated/src/aws-cpp-sdk-sqs/include/aws/sqs/model/SendMessageRequest.h @@ -93,104 +93,128 @@ namespace Model /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline const Aws::String& GetMessageBody() const{ return m_messageBody; } /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline bool MessageBodyHasBeenSet() const { return m_messageBodyHasBeenSet; } /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline void SetMessageBody(const Aws::String& value) { m_messageBodyHasBeenSet = true; m_messageBody = value; } /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline void SetMessageBody(Aws::String&& value) { m_messageBodyHasBeenSet = true; m_messageBody = std::move(value); } /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline void SetMessageBody(const char* value) { m_messageBodyHasBeenSet = true; m_messageBody.assign(value); } /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline SendMessageRequest& WithMessageBody(const Aws::String& value) { SetMessageBody(value); return *this;} /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline SendMessageRequest& WithMessageBody(Aws::String&& value) { SetMessageBody(std::move(value)); return *this;} /** *

      The message to send. The minimum size is one character. The maximum size is * 256 KiB.

      A message can include only XML, JSON, and - * unformatted text. The following Unicode characters are allowed:

      - * #x9 | #xA | #xD | #x20 to - * #xD7FF | #xE000 to #xFFFD | - * #x10000 to #x10FFFF

      Any characters not - * included in this list will be rejected. For more information, see the W3C specification for - * characters.

      + * unformatted text. The following Unicode characters are allowed. For more + * information, see the W3C + * specification for characters.

      #x9 | #xA | + * #xD | #x20 to #xD7FF | + * #xE000 to #xFFFD | #x10000 to + * #x10FFFF

      Amazon SQS does not throw an exception or + * completely reject the message if it contains invalid characters. Instead, it + * replaces those invalid characters with U+FFFD before storing the + * message in the queue, as long as the message body contains at least one valid + * character.

      */ inline SendMessageRequest& WithMessageBody(const char* value) { SetMessageBody(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/StorageGatewayClient.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/StorageGatewayClient.h index b77f750b44a..e98a0628912 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/StorageGatewayClient.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/StorageGatewayClient.h @@ -1290,8 +1290,9 @@ namespace StorageGateway } /** - *

      Returns your gateway's weekly maintenance start time including the day and - * time of the week. Note that values are in terms of the gateway's time + *

      Returns your gateway's maintenance window schedule information, with values + * for monthly or weekly cadence, specific day and time to begin maintenance, and + * which types of updates to apply. Time values returned are for the gateway's time * zone.

      See Also:

      AWS * API Reference

      @@ -2629,12 +2630,12 @@ namespace StorageGateway } /** - *

      Updates a gateway's metadata, which includes the gateway's name and time - * zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of - * the gateway in your request.

      For gateways activated after - * September 2, 2015, the gateway's ARN contains the gateway ID rather than the - * gateway name. However, changing the name of the gateway has no effect on the - * gateway's ARN.

      See Also:

      Updates a gateway's metadata, which includes the gateway's name, time zone, + * and metadata cache size. To specify which gateway to update, use the Amazon + * Resource Name (ARN) of the gateway in your request.

      For gateways + * activated after September 2, 2015, the gateway's ARN contains the gateway ID + * rather than the gateway name. However, changing the name of the gateway has no + * effect on the gateway's ARN.

      See Also:

      AWS * API Reference

      */ @@ -2697,9 +2698,19 @@ namespace StorageGateway } /** - *

      Updates a gateway's weekly maintenance start time information, including day - * and time of the week. The maintenance time is the time in your gateway's time - * zone.

      See Also:

      Updates a gateway's maintenance window schedule, with settings for monthly or + * weekly cadence, specific day and time to begin maintenance, and which types of + * updates to apply. Time configuration uses the gateway's time zone. You can pass + * values for a complete maintenance schedule, or update policy, or both. Previous + * values will persist for whichever setting you choose not to modify. If an + * incomplete or invalid maintenance schedule is passed, the entire request will be + * rejected with an error and no changes will occur.

      A complete maintenance + * schedule must include values for both MinuteOfHour and + * HourOfDay, and either DayOfMonth or + * DayOfWeek.

      We recommend keeping maintenance updates + * turned on, except in specific use cases where the brief disruptions caused by + * updating the gateway could critically impact your deployment.

      + *

      See Also:

      AWS * API Reference

      */ @@ -2847,9 +2858,13 @@ namespace StorageGateway } /** - *

      Updates the SMB security strategy on a file gateway. This action is only - * supported in file gateways.

      This API is called Security level in - * the User Guide.

      A higher security level can affect performance of the + *

      Updates the SMB security strategy level for an Amazon S3 file gateway. This + * action is only supported for Amazon S3 file gateways.

      For + * information about configuring this setting using the Amazon Web Services + * console, see Setting + * a security level for your gateway in the Amazon S3 File Gateway User + * Guide.

      A higher security strategy level can affect performance of the * gateway.

      See Also:

      AWS * API Reference

      diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/AutomaticUpdatePolicy.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/AutomaticUpdatePolicy.h new file mode 100644 index 00000000000..65734752327 --- /dev/null +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/AutomaticUpdatePolicy.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace StorageGateway +{ +namespace Model +{ + enum class AutomaticUpdatePolicy + { + NOT_SET, + ALL_VERSIONS, + EMERGENCY_VERSIONS_ONLY + }; + +namespace AutomaticUpdatePolicyMapper +{ +AWS_STORAGEGATEWAY_API AutomaticUpdatePolicy GetAutomaticUpdatePolicyForName(const Aws::String& name); + +AWS_STORAGEGATEWAY_API Aws::String GetNameForAutomaticUpdatePolicy(AutomaticUpdatePolicy value); +} // namespace AutomaticUpdatePolicyMapper +} // namespace Model +} // namespace StorageGateway +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeMaintenanceStartTimeResult.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeMaintenanceStartTimeResult.h index c73878d432e..57d718e9dc3 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeMaintenanceStartTimeResult.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeMaintenanceStartTimeResult.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include namespace Aws @@ -26,8 +27,9 @@ namespace Model { /** *

      A JSON object containing the following fields:

      See @@ -133,22 +135,25 @@ namespace Model /** *

      The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

      + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

      */ inline int GetDayOfMonth() const{ return m_dayOfMonth; } /** *

      The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

      + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

      */ inline void SetDayOfMonth(int value) { m_dayOfMonth = value; } /** *

      The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

      + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

      */ inline DescribeMaintenanceStartTimeResult& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} @@ -196,6 +201,52 @@ namespace Model inline DescribeMaintenanceStartTimeResult& WithTimezone(const char* value) { SetTimezone(value); return *this;} + /** + *

      A set of variables indicating the software update preferences for the + * gateway.

      Includes AutomaticUpdatePolicy field with the + * following inputs:

      ALL_VERSIONS - Enables regular gateway + * maintenance updates.

      EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

      + */ + inline const SoftwareUpdatePreferences& GetSoftwareUpdatePreferences() const{ return m_softwareUpdatePreferences; } + + /** + *

      A set of variables indicating the software update preferences for the + * gateway.

      Includes AutomaticUpdatePolicy field with the + * following inputs:

      ALL_VERSIONS - Enables regular gateway + * maintenance updates.

      EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

      + */ + inline void SetSoftwareUpdatePreferences(const SoftwareUpdatePreferences& value) { m_softwareUpdatePreferences = value; } + + /** + *

      A set of variables indicating the software update preferences for the + * gateway.

      Includes AutomaticUpdatePolicy field with the + * following inputs:

      ALL_VERSIONS - Enables regular gateway + * maintenance updates.

      EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

      + */ + inline void SetSoftwareUpdatePreferences(SoftwareUpdatePreferences&& value) { m_softwareUpdatePreferences = std::move(value); } + + /** + *

      A set of variables indicating the software update preferences for the + * gateway.

      Includes AutomaticUpdatePolicy field with the + * following inputs:

      ALL_VERSIONS - Enables regular gateway + * maintenance updates.

      EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

      + */ + inline DescribeMaintenanceStartTimeResult& WithSoftwareUpdatePreferences(const SoftwareUpdatePreferences& value) { SetSoftwareUpdatePreferences(value); return *this;} + + /** + *

      A set of variables indicating the software update preferences for the + * gateway.

      Includes AutomaticUpdatePolicy field with the + * following inputs:

      ALL_VERSIONS - Enables regular gateway + * maintenance updates.

      EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

      + */ + inline DescribeMaintenanceStartTimeResult& WithSoftwareUpdatePreferences(SoftwareUpdatePreferences&& value) { SetSoftwareUpdatePreferences(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -231,6 +282,8 @@ namespace Model Aws::String m_timezone; + SoftwareUpdatePreferences m_softwareUpdatePreferences; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeSMBSettingsResult.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeSMBSettingsResult.h index 42e0c477005..e2df2ee0784 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeSMBSettingsResult.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/DescribeSMBSettingsResult.h @@ -210,19 +210,19 @@ namespace Model * established based on what is negotiated by the client. This option is * recommended when you want to maximize compatibility across different clients in * your environment. Supported only for S3 File Gateway.

    • - * MandatorySigning: If you use this option, File Gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing turned on. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or - * later.

    • MandatoryEncryption: If you use this - * option, File Gateway only allows connections from SMBv3 clients that have + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing turned on. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, + * or later.

    • MandatoryEncryption: If you choose + * this option, File Gateway only allows connections from SMBv3 clients that have * encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with * SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    • - *
    • EnforceEncryption: If you use this option, File Gateway - * only allows connections from SMBv3 clients that use 256-bit AES encryption - * algorithms. 128-bit algorithms are not allowed. This option is recommended for - * environments that handle sensitive data. It works with SMB clients on Microsoft - * Windows 8, Windows Server 2012, or later.

    + *
  • MandatoryEncryptionNoAes128: If you choose this option, + * File Gateway only allows connections from SMBv3 clients that use 256-bit AES + * encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

  • */ inline const SMBSecurityStrategy& GetSMBSecurityStrategy() const{ return m_sMBSecurityStrategy; } @@ -232,19 +232,19 @@ namespace Model * established based on what is negotiated by the client. This option is * recommended when you want to maximize compatibility across different clients in * your environment. Supported only for S3 File Gateway.

  • - * MandatorySigning: If you use this option, File Gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing turned on. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or - * later.

  • MandatoryEncryption: If you use this - * option, File Gateway only allows connections from SMBv3 clients that have + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing turned on. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, + * or later.

  • MandatoryEncryption: If you choose + * this option, File Gateway only allows connections from SMBv3 clients that have * encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with * SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

  • - *
  • EnforceEncryption: If you use this option, File Gateway - * only allows connections from SMBv3 clients that use 256-bit AES encryption - * algorithms. 128-bit algorithms are not allowed. This option is recommended for - * environments that handle sensitive data. It works with SMB clients on Microsoft - * Windows 8, Windows Server 2012, or later.

  • + *
  • MandatoryEncryptionNoAes128: If you choose this option, + * File Gateway only allows connections from SMBv3 clients that use 256-bit AES + * encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

  • */ inline void SetSMBSecurityStrategy(const SMBSecurityStrategy& value) { m_sMBSecurityStrategy = value; } @@ -254,19 +254,19 @@ namespace Model * established based on what is negotiated by the client. This option is * recommended when you want to maximize compatibility across different clients in * your environment. Supported only for S3 File Gateway.

  • - * MandatorySigning: If you use this option, File Gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing turned on. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or - * later.

  • MandatoryEncryption: If you use this - * option, File Gateway only allows connections from SMBv3 clients that have + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing turned on. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, + * or later.

  • MandatoryEncryption: If you choose + * this option, File Gateway only allows connections from SMBv3 clients that have * encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with * SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

  • - *
  • EnforceEncryption: If you use this option, File Gateway - * only allows connections from SMBv3 clients that use 256-bit AES encryption - * algorithms. 128-bit algorithms are not allowed. This option is recommended for - * environments that handle sensitive data. It works with SMB clients on Microsoft - * Windows 8, Windows Server 2012, or later.

  • + *
  • MandatoryEncryptionNoAes128: If you choose this option, + * File Gateway only allows connections from SMBv3 clients that use 256-bit AES + * encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

  • */ inline void SetSMBSecurityStrategy(SMBSecurityStrategy&& value) { m_sMBSecurityStrategy = std::move(value); } @@ -276,19 +276,19 @@ namespace Model * established based on what is negotiated by the client. This option is * recommended when you want to maximize compatibility across different clients in * your environment. Supported only for S3 File Gateway.

  • - * MandatorySigning: If you use this option, File Gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing turned on. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or - * later.

  • MandatoryEncryption: If you use this - * option, File Gateway only allows connections from SMBv3 clients that have + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing turned on. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, + * or later.

  • MandatoryEncryption: If you choose + * this option, File Gateway only allows connections from SMBv3 clients that have * encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with * SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

  • - *
  • EnforceEncryption: If you use this option, File Gateway - * only allows connections from SMBv3 clients that use 256-bit AES encryption - * algorithms. 128-bit algorithms are not allowed. This option is recommended for - * environments that handle sensitive data. It works with SMB clients on Microsoft - * Windows 8, Windows Server 2012, or later.

  • + *
  • MandatoryEncryptionNoAes128: If you choose this option, + * File Gateway only allows connections from SMBv3 clients that use 256-bit AES + * encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

  • */ inline DescribeSMBSettingsResult& WithSMBSecurityStrategy(const SMBSecurityStrategy& value) { SetSMBSecurityStrategy(value); return *this;} @@ -298,19 +298,19 @@ namespace Model * established based on what is negotiated by the client. This option is * recommended when you want to maximize compatibility across different clients in * your environment. Supported only for S3 File Gateway.

  • - * MandatorySigning: If you use this option, File Gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing turned on. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or - * later.

  • MandatoryEncryption: If you use this - * option, File Gateway only allows connections from SMBv3 clients that have + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing turned on. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, + * or later.

  • MandatoryEncryption: If you choose + * this option, File Gateway only allows connections from SMBv3 clients that have * encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This * option is recommended for environments that handle sensitive data. It works with * SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

  • - *
  • EnforceEncryption: If you use this option, File Gateway - * only allows connections from SMBv3 clients that use 256-bit AES encryption - * algorithms. 128-bit algorithms are not allowed. This option is recommended for - * environments that handle sensitive data. It works with SMB clients on Microsoft - * Windows 8, Windows Server 2012, or later.

  • + *
  • MandatoryEncryptionNoAes128: If you choose this option, + * File Gateway only allows connections from SMBv3 clients that use 256-bit AES + * encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

  • */ inline DescribeSMBSettingsResult& WithSMBSecurityStrategy(SMBSecurityStrategy&& value) { SetSMBSecurityStrategy(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/SoftwareUpdatePreferences.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/SoftwareUpdatePreferences.h new file mode 100644 index 00000000000..689e4cbd4b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/SoftwareUpdatePreferences.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace StorageGateway +{ +namespace Model +{ + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    See Also:

    AWS + * API Reference

    + */ + class SoftwareUpdatePreferences + { + public: + AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences(); + AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences(Aws::Utils::Json::JsonView jsonValue); + AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline const AutomaticUpdatePolicy& GetAutomaticUpdatePolicy() const{ return m_automaticUpdatePolicy; } + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline bool AutomaticUpdatePolicyHasBeenSet() const { return m_automaticUpdatePolicyHasBeenSet; } + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline void SetAutomaticUpdatePolicy(const AutomaticUpdatePolicy& value) { m_automaticUpdatePolicyHasBeenSet = true; m_automaticUpdatePolicy = value; } + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline void SetAutomaticUpdatePolicy(AutomaticUpdatePolicy&& value) { m_automaticUpdatePolicyHasBeenSet = true; m_automaticUpdatePolicy = std::move(value); } + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline SoftwareUpdatePreferences& WithAutomaticUpdatePolicy(const AutomaticUpdatePolicy& value) { SetAutomaticUpdatePolicy(value); return *this;} + + /** + *

    Indicates the automatic update policy for a gateway.

    + * ALL_VERSIONS - Enables regular gateway maintenance updates.

    + * EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance + * updates.

    + */ + inline SoftwareUpdatePreferences& WithAutomaticUpdatePolicy(AutomaticUpdatePolicy&& value) { SetAutomaticUpdatePolicy(std::move(value)); return *this;} + + private: + + AutomaticUpdatePolicy m_automaticUpdatePolicy; + bool m_automaticUpdatePolicyHasBeenSet = false; + }; + +} // namespace Model +} // namespace StorageGateway +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateGatewayInformationRequest.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateGatewayInformationRequest.h index 909ea2b1482..9e38bb1ba5d 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateGatewayInformationRequest.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateGatewayInformationRequest.h @@ -200,32 +200,56 @@ namespace Model /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline const GatewayCapacity& GetGatewayCapacity() const{ return m_gatewayCapacity; } /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline bool GatewayCapacityHasBeenSet() const { return m_gatewayCapacityHasBeenSet; } /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline void SetGatewayCapacity(const GatewayCapacity& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = value; } /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline void SetGatewayCapacity(GatewayCapacity&& value) { m_gatewayCapacityHasBeenSet = true; m_gatewayCapacity = std::move(value); } /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline UpdateGatewayInformationRequest& WithGatewayCapacity(const GatewayCapacity& value) { SetGatewayCapacity(value); return *this;} /** - *

    Specifies the size of the gateway's metadata cache.

    + *

    Specifies the size of the gateway's metadata cache. This setting impacts + * gateway performance and hardware recommendations. For more information, see Performance + * guidance for gateways with multiple file shares in the Amazon S3 File + * Gateway User Guide.

    */ inline UpdateGatewayInformationRequest& WithGatewayCapacity(GatewayCapacity&& value) { SetGatewayCapacity(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateMaintenanceStartTimeRequest.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateMaintenanceStartTimeRequest.h index 769181b60a6..5f0c508a757 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateMaintenanceStartTimeRequest.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateMaintenanceStartTimeRequest.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -18,7 +19,8 @@ namespace Model /** *

    A JSON object containing the following fields:

    See @@ -127,57 +129,120 @@ namespace Model /** *

    The day of the week component of the maintenance start time week represented - * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

    + * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents + * Saturday.

    */ inline int GetDayOfWeek() const{ return m_dayOfWeek; } /** *

    The day of the week component of the maintenance start time week represented - * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

    + * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents + * Saturday.

    */ inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; } /** *

    The day of the week component of the maintenance start time week represented - * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

    + * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents + * Saturday.

    */ inline void SetDayOfWeek(int value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; } /** *

    The day of the week component of the maintenance start time week represented - * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

    + * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents + * Saturday.

    */ inline UpdateMaintenanceStartTimeRequest& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;} /** *

    The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

    + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

    */ inline int GetDayOfMonth() const{ return m_dayOfMonth; } /** *

    The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

    + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

    */ inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; } /** *

    The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

    + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

    */ inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; } /** *

    The day of the month component of the maintenance start time represented as - * an ordinal number from 1 to 28, where 1 represents the first day of the month - * and 28 represents the last day of the month.

    + * an ordinal number from 1 to 28, where 1 represents the first day of the month. + * It is not possible to set the maintenance schedule to start on days 29 through + * 31.

    */ inline UpdateMaintenanceStartTimeRequest& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline const SoftwareUpdatePreferences& GetSoftwareUpdatePreferences() const{ return m_softwareUpdatePreferences; } + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline bool SoftwareUpdatePreferencesHasBeenSet() const { return m_softwareUpdatePreferencesHasBeenSet; } + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline void SetSoftwareUpdatePreferences(const SoftwareUpdatePreferences& value) { m_softwareUpdatePreferencesHasBeenSet = true; m_softwareUpdatePreferences = value; } + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline void SetSoftwareUpdatePreferences(SoftwareUpdatePreferences&& value) { m_softwareUpdatePreferencesHasBeenSet = true; m_softwareUpdatePreferences = std::move(value); } + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline UpdateMaintenanceStartTimeRequest& WithSoftwareUpdatePreferences(const SoftwareUpdatePreferences& value) { SetSoftwareUpdatePreferences(value); return *this;} + + /** + *

    A set of variables indicating the software update preferences for the + * gateway.

    Includes AutomaticUpdatePolicy field with the + * following inputs:

    ALL_VERSIONS - Enables regular gateway + * maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables + * regular gateway maintenance updates.

    + */ + inline UpdateMaintenanceStartTimeRequest& WithSoftwareUpdatePreferences(SoftwareUpdatePreferences&& value) { SetSoftwareUpdatePreferences(std::move(value)); return *this;} + private: Aws::String m_gatewayARN; @@ -194,6 +259,9 @@ namespace Model int m_dayOfMonth; bool m_dayOfMonthHasBeenSet = false; + + SoftwareUpdatePreferences m_softwareUpdatePreferences; + bool m_softwareUpdatePreferencesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateSMBSecurityStrategyRequest.h b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateSMBSecurityStrategyRequest.h index 700c4829222..74706b5888f 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateSMBSecurityStrategyRequest.h +++ b/generated/src/aws-cpp-sdk-storagegateway/include/aws/storagegateway/model/UpdateSMBSecurityStrategyRequest.h @@ -61,92 +61,128 @@ namespace Model /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline const SMBSecurityStrategy& GetSMBSecurityStrategy() const{ return m_sMBSecurityStrategy; } /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline bool SMBSecurityStrategyHasBeenSet() const { return m_sMBSecurityStrategyHasBeenSet; } /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline void SetSMBSecurityStrategy(const SMBSecurityStrategy& value) { m_sMBSecurityStrategyHasBeenSet = true; m_sMBSecurityStrategy = value; } /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline void SetSMBSecurityStrategy(SMBSecurityStrategy&& value) { m_sMBSecurityStrategyHasBeenSet = true; m_sMBSecurityStrategy = std::move(value); } /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline UpdateSMBSecurityStrategyRequest& WithSMBSecurityStrategy(const SMBSecurityStrategy& value) { SetSMBSecurityStrategy(value); return *this;} /** - *

    Specifies the type of security strategy.

    ClientSpecified: if you use - * this option, requests are established based on what is negotiated by the client. - * This option is recommended when you want to maximize compatibility across - * different clients in your environment. Supported only in S3 File Gateway.

    - *

    MandatorySigning: if you use this option, file gateway only allows - * connections from SMBv2 or SMBv3 clients that have signing enabled. This option - * works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or - * newer.

    MandatoryEncryption: if you use this option, file gateway only - * allows connections from SMBv3 clients that have encryption enabled. This option - * is highly recommended for environments that handle sensitive data. This option - * works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    + *

    Specifies the type of security strategy.

    + * ClientSpecified: If you choose this option, requests are + * established based on what is negotiated by the client. This option is + * recommended when you want to maximize compatibility across different clients in + * your environment. Supported only for S3 File Gateway.

    + * MandatorySigning: If you choose this option, File Gateway only + * allows connections from SMBv2 or SMBv3 clients that have signing enabled. This + * option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or + * newer.

    MandatoryEncryption: If you choose this option, File + * Gateway only allows connections from SMBv3 clients that have encryption enabled. + * This option is recommended for environments that handle sensitive data. This + * option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or + * newer.

    MandatoryEncryptionNoAes128: If you choose this + * option, File Gateway only allows connections from SMBv3 clients that use 256-bit + * AES encryption algorithms. 128-bit algorithms are not allowed. This option is + * recommended for environments that handle sensitive data. It works with SMB + * clients on Microsoft Windows 8, Windows Server 2012, or later.

    */ inline UpdateSMBSecurityStrategyRequest& WithSMBSecurityStrategy(SMBSecurityStrategy&& value) { SetSMBSecurityStrategy(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-storagegateway/source/model/AutomaticUpdatePolicy.cpp b/generated/src/aws-cpp-sdk-storagegateway/source/model/AutomaticUpdatePolicy.cpp new file mode 100644 index 00000000000..720e1d165f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-storagegateway/source/model/AutomaticUpdatePolicy.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace StorageGateway + { + namespace Model + { + namespace AutomaticUpdatePolicyMapper + { + + static const int ALL_VERSIONS_HASH = HashingUtils::HashString("ALL_VERSIONS"); + static const int EMERGENCY_VERSIONS_ONLY_HASH = HashingUtils::HashString("EMERGENCY_VERSIONS_ONLY"); + + + AutomaticUpdatePolicy GetAutomaticUpdatePolicyForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ALL_VERSIONS_HASH) + { + return AutomaticUpdatePolicy::ALL_VERSIONS; + } + else if (hashCode == EMERGENCY_VERSIONS_ONLY_HASH) + { + return AutomaticUpdatePolicy::EMERGENCY_VERSIONS_ONLY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AutomaticUpdatePolicy::NOT_SET; + } + + Aws::String GetNameForAutomaticUpdatePolicy(AutomaticUpdatePolicy enumValue) + { + switch(enumValue) + { + case AutomaticUpdatePolicy::NOT_SET: + return {}; + case AutomaticUpdatePolicy::ALL_VERSIONS: + return "ALL_VERSIONS"; + case AutomaticUpdatePolicy::EMERGENCY_VERSIONS_ONLY: + return "EMERGENCY_VERSIONS_ONLY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AutomaticUpdatePolicyMapper + } // namespace Model + } // namespace StorageGateway +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-storagegateway/source/model/DescribeMaintenanceStartTimeResult.cpp b/generated/src/aws-cpp-sdk-storagegateway/source/model/DescribeMaintenanceStartTimeResult.cpp index 3e1c2529970..3b764484798 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/source/model/DescribeMaintenanceStartTimeResult.cpp +++ b/generated/src/aws-cpp-sdk-storagegateway/source/model/DescribeMaintenanceStartTimeResult.cpp @@ -73,6 +73,12 @@ DescribeMaintenanceStartTimeResult& DescribeMaintenanceStartTimeResult::operator } + if(jsonValue.ValueExists("SoftwareUpdatePreferences")) + { + m_softwareUpdatePreferences = jsonValue.GetObject("SoftwareUpdatePreferences"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-storagegateway/source/model/SoftwareUpdatePreferences.cpp b/generated/src/aws-cpp-sdk-storagegateway/source/model/SoftwareUpdatePreferences.cpp new file mode 100644 index 00000000000..09652543299 --- /dev/null +++ b/generated/src/aws-cpp-sdk-storagegateway/source/model/SoftwareUpdatePreferences.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace StorageGateway +{ +namespace Model +{ + +SoftwareUpdatePreferences::SoftwareUpdatePreferences() : + m_automaticUpdatePolicy(AutomaticUpdatePolicy::NOT_SET), + m_automaticUpdatePolicyHasBeenSet(false) +{ +} + +SoftwareUpdatePreferences::SoftwareUpdatePreferences(JsonView jsonValue) : + m_automaticUpdatePolicy(AutomaticUpdatePolicy::NOT_SET), + m_automaticUpdatePolicyHasBeenSet(false) +{ + *this = jsonValue; +} + +SoftwareUpdatePreferences& SoftwareUpdatePreferences::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AutomaticUpdatePolicy")) + { + m_automaticUpdatePolicy = AutomaticUpdatePolicyMapper::GetAutomaticUpdatePolicyForName(jsonValue.GetString("AutomaticUpdatePolicy")); + + m_automaticUpdatePolicyHasBeenSet = true; + } + + return *this; +} + +JsonValue SoftwareUpdatePreferences::Jsonize() const +{ + JsonValue payload; + + if(m_automaticUpdatePolicyHasBeenSet) + { + payload.WithString("AutomaticUpdatePolicy", AutomaticUpdatePolicyMapper::GetNameForAutomaticUpdatePolicy(m_automaticUpdatePolicy)); + } + + return payload; +} + +} // namespace Model +} // namespace StorageGateway +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-storagegateway/source/model/UpdateMaintenanceStartTimeRequest.cpp b/generated/src/aws-cpp-sdk-storagegateway/source/model/UpdateMaintenanceStartTimeRequest.cpp index e7af7d73c81..04a16c67982 100644 --- a/generated/src/aws-cpp-sdk-storagegateway/source/model/UpdateMaintenanceStartTimeRequest.cpp +++ b/generated/src/aws-cpp-sdk-storagegateway/source/model/UpdateMaintenanceStartTimeRequest.cpp @@ -21,7 +21,8 @@ UpdateMaintenanceStartTimeRequest::UpdateMaintenanceStartTimeRequest() : m_dayOfWeek(0), m_dayOfWeekHasBeenSet(false), m_dayOfMonth(0), - m_dayOfMonthHasBeenSet(false) + m_dayOfMonthHasBeenSet(false), + m_softwareUpdatePreferencesHasBeenSet(false) { } @@ -59,6 +60,12 @@ Aws::String UpdateMaintenanceStartTimeRequest::SerializePayload() const } + if(m_softwareUpdatePreferencesHasBeenSet) + { + payload.WithObject("SoftwareUpdatePreferences", m_softwareUpdatePreferences.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 58f5a5204c5..09560b3280e 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.343" +#define AWS_SDK_VERSION_STRING "1.11.344" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 343 +#define AWS_SDK_VERSION_PATCH 344 diff --git a/tools/code-generation/api-descriptions/account-2021-02-01.normal.json b/tools/code-generation/api-descriptions/account-2021-02-01.normal.json index 65ba47afbbc..5620b7d1c0f 100644 --- a/tools/code-generation/api-descriptions/account-2021-02-01.normal.json +++ b/tools/code-generation/api-descriptions/account-2021-02-01.normal.json @@ -12,6 +12,25 @@ "uid":"account-2021-02-01" }, "operations":{ + "AcceptPrimaryEmailUpdate":{ + "name":"AcceptPrimaryEmailUpdate", + "http":{ + "method":"POST", + "requestUri":"/acceptPrimaryEmailUpdate", + "responseCode":200 + }, + "input":{"shape":"AcceptPrimaryEmailUpdateRequest"}, + "output":{"shape":"AcceptPrimaryEmailUpdateResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.

    " + }, "DeleteAlternateContact":{ "name":"DeleteAlternateContact", "http":{ @@ -45,7 +64,7 @@ {"shape":"TooManyRequestsException"}, {"shape":"InternalServerException"} ], - "documentation":"

    Disables (opts-out) a particular Region for an account.

    " + "documentation":"

    Disables (opts-out) a particular Region for an account.

    The act of disabling a Region will remove all IAM access to any resources that reside in that Region.

    " }, "EnableRegion":{ "name":"EnableRegion", @@ -100,6 +119,24 @@ ], "documentation":"

    Retrieves the primary contact information of an Amazon Web Services account.

    For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.

    " }, + "GetPrimaryEmail":{ + "name":"GetPrimaryEmail", + "http":{ + "method":"POST", + "requestUri":"/getPrimaryEmail", + "responseCode":200 + }, + "input":{"shape":"GetPrimaryEmailRequest"}, + "output":{"shape":"GetPrimaryEmailResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    Retrieves the primary email address for the specified account.

    " + }, "GetRegionOptStatus":{ "name":"GetRegionOptStatus", "http":{ @@ -167,9 +204,59 @@ ], "documentation":"

    Updates the primary contact information of an Amazon Web Services account.

    For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.

    ", "idempotent":true + }, + "StartPrimaryEmailUpdate":{ + "name":"StartPrimaryEmailUpdate", + "http":{ + "method":"POST", + "requestUri":"/startPrimaryEmailUpdate", + "responseCode":200 + }, + "input":{"shape":"StartPrimaryEmailUpdateRequest"}, + "output":{"shape":"StartPrimaryEmailUpdateResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"AccessDeniedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    Starts the process to update the primary email address for the specified account.

    " } }, "shapes":{ + "AcceptPrimaryEmailUpdateRequest":{ + "type":"structure", + "required":[ + "AccountId", + "Otp", + "PrimaryEmail" + ], + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    This operation can only be called from the management account or the delegated administrator account of an organization for a member account.

    The management account can't specify its own AccountId.

    " + }, + "Otp":{ + "shape":"Otp", + "documentation":"

    The OTP code sent to the PrimaryEmail specified on the StartPrimaryEmailUpdate API call.

    " + }, + "PrimaryEmail":{ + "shape":"PrimaryEmailAddress", + "documentation":"

    The new primary email address for use with the specified account. This must match the PrimaryEmail from the StartPrimaryEmailUpdate API call.

    " + } + } + }, + "AcceptPrimaryEmailUpdateResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"PrimaryEmailUpdateStatus", + "documentation":"

    Retrieves the status of the accepted primary email update request.

    " + } + } + }, "AccessDeniedException":{ "type":"structure", "required":["message"], @@ -305,7 +392,7 @@ }, "StateOrRegion":{ "shape":"StateOrRegion", - "documentation":"

    The state or region of the primary contact address. This field is required in selected countries.

    " + "documentation":"

    The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, NJ) or the full state name (for example, New Jersey). This field is required in the following countries: US, CA, GB, DE, JP, IN, and BR.

    " }, "WebsiteUrl":{ "shape":"WebsiteUrl", @@ -347,7 +434,7 @@ "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " }, "RegionName":{ "shape":"RegionName", @@ -374,7 +461,7 @@ "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " }, "RegionName":{ "shape":"RegionName", @@ -416,7 +503,7 @@ "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " } } }, @@ -429,13 +516,32 @@ } } }, + "GetPrimaryEmailRequest":{ + "type":"structure", + "required":["AccountId"], + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    This operation can only be called from the management account or the delegated administrator account of an organization for a member account.

    The management account can't specify its own AccountId.

    " + } + } + }, + "GetPrimaryEmailResponse":{ + "type":"structure", + "members":{ + "PrimaryEmail":{ + "shape":"PrimaryEmailAddress", + "documentation":"

    Retrieves the primary email address associated with the specified account.

    " + } + } + }, "GetRegionOptStatusRequest":{ "type":"structure", "required":["RegionName"], "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " }, "RegionName":{ "shape":"RegionName", @@ -473,7 +579,7 @@ "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " }, "MaxResults":{ "shape":"ListRegionsRequestMaxResultsInteger", @@ -519,6 +625,11 @@ "min":1, "sensitive":true }, + "Otp":{ + "type":"string", + "pattern":"^[a-zA-Z0-9]{6}$", + "sensitive":true + }, "PhoneNumber":{ "type":"string", "max":25, @@ -532,6 +643,19 @@ "min":1, "sensitive":true }, + "PrimaryEmailAddress":{ + "type":"string", + "max":64, + "min":5, + "sensitive":true + }, + "PrimaryEmailUpdateStatus":{ + "type":"string", + "enum":[ + "PENDING", + "ACCEPTED" + ] + }, "PutAlternateContactRequest":{ "type":"structure", "required":[ @@ -574,7 +698,7 @@ "members":{ "AccountId":{ "shape":"AccountId", - "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter.

    To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.

    " }, "ContactInformation":{ "shape":"ContactInformation", @@ -636,6 +760,32 @@ "type":"string", "sensitive":true }, + "StartPrimaryEmailUpdateRequest":{ + "type":"structure", + "required":[ + "AccountId", + "PrimaryEmail" + ], + "members":{ + "AccountId":{ + "shape":"AccountId", + "documentation":"

    Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned.

    This operation can only be called from the management account or the delegated administrator account of an organization for a member account.

    The management account can't specify its own AccountId.

    " + }, + "PrimaryEmail":{ + "shape":"PrimaryEmailAddress", + "documentation":"

    The new primary email address (also known as the root user email address) to use in the specified account.

    " + } + } + }, + "StartPrimaryEmailUpdateResponse":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"PrimaryEmailUpdateStatus", + "documentation":"

    The status of the primary email update request.

    " + } + } + }, "StateOrRegion":{ "type":"string", "max":50, diff --git a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json index 646a6268014..5c6548c588f 100644 --- a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json +++ b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"firehose", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"Firehose", "serviceFullName":"Amazon Kinesis Firehose", "serviceId":"Firehose", @@ -130,7 +131,7 @@ {"shape":"LimitExceededException"}, {"shape":"InvalidKMSResourceException"} ], - "documentation":"

    Enables server-side encryption (SSE) for the delivery stream.

    This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.

    To check the encryption status of a delivery stream, use DescribeDeliveryStream.

    Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.

    For the KMS grant creation to be successful, Firehose APIs StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old.

    If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.

    If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations.

    You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source.

    The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.

    " + "documentation":"

    Enables server-side encryption (SSE) for the delivery stream.

    This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively.

    To check the encryption status of a delivery stream, use DescribeDeliveryStream.

    Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant.

    For the KMS grant creation to be successful, the Firehose API operations StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old.

    If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK.

    If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations.

    You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source.

    The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.

    " }, "StopDeliveryStreamEncryption":{ "name":"StopDeliveryStreamEncryption", @@ -1842,7 +1843,7 @@ "CloudWatchLoggingOptions":{"shape":"CloudWatchLoggingOptions"}, "RequestConfiguration":{ "shape":"HttpEndpointRequestConfiguration", - "documentation":"

    The configuration of the requeste sent to the HTTP endpoint specified as the destination.

    " + "documentation":"

    The configuration of the request sent to the HTTP endpoint that is specified as the destination.

    " }, "ProcessingConfiguration":{"shape":"ProcessingConfiguration"}, "RoleARN":{ @@ -1857,7 +1858,11 @@ "shape":"HttpEndpointS3BackupMode", "documentation":"

    Describes the S3 bucket backup options for the data that Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData) or only the documents that Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).

    " }, - "S3Configuration":{"shape":"S3DestinationConfiguration"} + "S3Configuration":{"shape":"S3DestinationConfiguration"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for HTTP Endpoint destination.

    " + } }, "documentation":"

    Describes the configuration of the HTTP endpoint destination.

    " }, @@ -1890,7 +1895,11 @@ "shape":"HttpEndpointS3BackupMode", "documentation":"

    Describes the S3 bucket backup options for the data that Kinesis Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData) or only the documents that Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).

    " }, - "S3DestinationDescription":{"shape":"S3DestinationDescription"} + "S3DestinationDescription":{"shape":"S3DestinationDescription"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for HTTP Endpoint destination.

    " + } }, "documentation":"

    Describes the HTTP endpoint destination.

    " }, @@ -1923,7 +1932,11 @@ "shape":"HttpEndpointS3BackupMode", "documentation":"

    Describes the S3 bucket backup options for the data that Kinesis Firehose delivers to the HTTP endpoint destination. You can back up all documents (AllData) or only the documents that Firehose could not deliver to the specified HTTP endpoint destination (FailedDataOnly).

    " }, - "S3Update":{"shape":"S3DestinationUpdate"} + "S3Update":{"shape":"S3DestinationUpdate"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for HTTP Endpoint destination.

    " + } }, "documentation":"

    Updates the specified HTTP endpoint destination.

    " }, @@ -2404,7 +2417,7 @@ "documentation":"

    Indicates the version of row format to output. The possible values are V1 and V2. The default is V1.

    " } }, - "documentation":"

    A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.

    " + "documentation":"

    A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see Apache Parquet.

    " }, "ParquetWriterVersion":{ "type":"string", @@ -2639,8 +2652,6 @@ "RoleARN", "ClusterJDBCURL", "CopyCommand", - "Username", - "Password", "S3Configuration" ], "members":{ @@ -2687,6 +2698,10 @@ "CloudWatchLoggingOptions":{ "shape":"CloudWatchLoggingOptions", "documentation":"

    The CloudWatch logging options for your delivery stream.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Amazon Redshift.

    " } }, "documentation":"

    Describes the configuration of a destination in Amazon Redshift.

    " @@ -2697,7 +2712,6 @@ "RoleARN", "ClusterJDBCURL", "CopyCommand", - "Username", "S3DestinationDescription" ], "members":{ @@ -2740,6 +2754,10 @@ "CloudWatchLoggingOptions":{ "shape":"CloudWatchLoggingOptions", "documentation":"

    The Amazon CloudWatch logging options for your delivery stream.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Amazon Redshift.

    " } }, "documentation":"

    Describes a destination in Amazon Redshift.

    " @@ -2790,6 +2808,10 @@ "CloudWatchLoggingOptions":{ "shape":"CloudWatchLoggingOptions", "documentation":"

    The Amazon CloudWatch logging options for your delivery stream.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Amazon Redshift.

    " } }, "documentation":"

    Describes an update for a destination in Amazon Redshift.

    " @@ -3021,6 +3043,31 @@ }, "documentation":"

    Specifies the schema to which you want Firehose to configure your data before it writes it to Amazon S3. This parameter is required if Enabled is set to true.

    " }, + "SecretARN":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"arn:.*" + }, + "SecretsManagerConfiguration":{ + "type":"structure", + "required":["Enabled"], + "members":{ + "SecretARN":{ + "shape":"SecretARN", + "documentation":"

    The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream and the role. The secret ARN can reside in a different account than the delivery stream and role as Firehose supports cross-account secret access. This parameter is required when Enabled is set to True.

    " + }, + "RoleARN":{ + "shape":"RoleARN", + "documentation":"

    Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk.

    " + }, + "Enabled":{ + "shape":"BooleanObject", + "documentation":"

    Specifies whether you want to use the the secrets manager feature. When set as True the secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set to False Firehose falls back to the credentials in the destination configuration.

    " + } + }, + "documentation":"

    The structure that defines how Firehose accesses the secret.

    " + }, "SecurityGroupIdList":{ "type":"list", "member":{"shape":"NonEmptyStringWithoutWhitespace"}, @@ -3089,8 +3136,6 @@ "type":"structure", "required":[ "AccountUrl", - "PrivateKey", - "User", "Database", "Schema", "Table", @@ -3160,7 +3205,11 @@ "shape":"SnowflakeS3BackupMode", "documentation":"

    Choose an S3 backup mode

    " }, - "S3Configuration":{"shape":"S3DestinationConfiguration"} + "S3Configuration":{"shape":"S3DestinationConfiguration"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Snowflake.

    " + } }, "documentation":"

    Configure Snowflake destination

    " }, @@ -3221,7 +3270,11 @@ "shape":"SnowflakeS3BackupMode", "documentation":"

    Choose an S3 backup mode

    " }, - "S3DestinationDescription":{"shape":"S3DestinationDescription"} + "S3DestinationDescription":{"shape":"S3DestinationDescription"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Snowflake.

    " + } }, "documentation":"

    Optional Snowflake destination description

    " }, @@ -3286,7 +3339,11 @@ "shape":"SnowflakeS3BackupMode", "documentation":"

    Choose an S3 backup mode

    " }, - "S3Update":{"shape":"S3DestinationUpdate"} + "S3Update":{"shape":"S3DestinationUpdate"}, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    Describes the Secrets Manager configuration in Snowflake.

    " + } }, "documentation":"

    Update to configuration settings

    " }, @@ -3430,7 +3487,6 @@ "required":[ "HECEndpoint", "HECEndpointType", - "HECToken", "S3Configuration" ], "members":{ @@ -3473,6 +3529,10 @@ "BufferingHints":{ "shape":"SplunkBufferingHints", "documentation":"

    The buffering options. If no value is specified, the default values for Splunk are used.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Splunk.

    " } }, "documentation":"

    Describes the configuration of a destination in Splunk.

    " @@ -3519,6 +3579,10 @@ "BufferingHints":{ "shape":"SplunkBufferingHints", "documentation":"

    The buffering options. If no value is specified, the default values for Splunk are used.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Splunk.

    " } }, "documentation":"

    Describes a destination in Splunk.

    " @@ -3565,6 +3629,10 @@ "BufferingHints":{ "shape":"SplunkBufferingHints", "documentation":"

    The buffering options. If no value is specified, the default values for Splunk are used.

    " + }, + "SecretsManagerConfiguration":{ + "shape":"SecretsManagerConfiguration", + "documentation":"

    The configuration that defines how you access secrets for Splunk.

    " } }, "documentation":"

    Describes an update for a destination in Splunk.

    " @@ -3776,7 +3844,7 @@ }, "SnowflakeDestinationUpdate":{ "shape":"SnowflakeDestinationUpdate", - "documentation":"

    Update to the Snowflake destination condiguration settings

    " + "documentation":"

    Update to the Snowflake destination configuration settings.

    " } } }, @@ -3844,5 +3912,5 @@ "documentation":"

    The details of the VPC of the Amazon ES destination.

    " } }, - "documentation":"Amazon Data Firehose

    Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.

    Amazon Data Firehose is a fully managed service that delivers real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon OpenSearch Service, Amazon Redshift, Splunk, and various other supportd destinations.

    " + "documentation":"Amazon Data Firehose

    Amazon Data Firehose was previously known as Amazon Kinesis Data Firehose.

    Amazon Data Firehose is a fully managed service that delivers real-time streaming data to destinations such as Amazon Simple Storage Service (Amazon S3), Amazon OpenSearch Service, Amazon Redshift, Splunk, and various other supported destinations.

    " } diff --git a/tools/code-generation/api-descriptions/fsx-2018-03-01.normal.json b/tools/code-generation/api-descriptions/fsx-2018-03-01.normal.json index a26b252ce26..3d15bca4b38 100644 --- a/tools/code-generation/api-descriptions/fsx-2018-03-01.normal.json +++ b/tools/code-generation/api-descriptions/fsx-2018-03-01.normal.json @@ -5,6 +5,7 @@ "endpointPrefix":"fsx", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"Amazon FSx", "serviceId":"FSx", "signatureVersion":"v4", @@ -187,7 +188,7 @@ {"shape":"InternalServerError"}, {"shape":"MissingFileSystemConfiguration"} ], - "documentation":"

    Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation:

    • Amazon FSx for Lustre

    • Amazon FSx for NetApp ONTAP

    • Amazon FSx for OpenZFS

    • Amazon FSx for Windows File Server

    This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

    If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following:

    • Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING.

    • Returns the description of the file system in JSON format.

    The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

    " + "documentation":"

    Creates a new, empty Amazon FSx file system. You can create the following supported Amazon FSx file systems using the CreateFileSystem API operation:

    • Amazon FSx for Lustre

    • Amazon FSx for NetApp ONTAP

    • Amazon FSx for OpenZFS

    • Amazon FSx for Windows File Server

    This operation requires a client request token in the request that Amazon FSx uses to ensure idempotent creation. This means that calling the operation multiple times with the same client request token has no effect. By using the idempotent operation, you can retry a CreateFileSystem operation without the risk of creating an extra file system. This approach can be useful when an initial call fails in a way that makes it unclear whether a file system was created. Examples are if a transport level timeout occurred, or your connection was reset. If you use the same client request token and the initial call created a file system, the client receives success as long as the parameters are the same.

    If a file system with the specified client request token exists and the parameters match, CreateFileSystem returns the description of the existing file system. If a file system with the specified client request token exists and the parameters don't match, this call returns IncompatibleParameterError. If a file system with the specified client request token doesn't exist, CreateFileSystem does the following:

    • Creates a new, empty Amazon FSx file system with an assigned ID, and an initial lifecycle state of CREATING.

    • Returns the description of the file system in JSON format.

    The CreateFileSystem call returns while the file system's lifecycle state is still CREATING. You can check the file-system creation status by calling the DescribeFileSystems operation, which returns the file system state along with other information.

    " }, "CreateFileSystemFromBackup":{ "name":"CreateFileSystemFromBackup", @@ -357,7 +358,7 @@ {"shape":"ServiceLimitExceeded"}, {"shape":"InternalServerError"} ], - "documentation":"

    Deletes a file system. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups and snapshots are also deleted.

    To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes and storage virtual machines (SVMs) on the file system. Then provide a FileSystemId value to the DeleFileSystem operation.

    By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup isn't subject to the file system's retention policy, and must be manually deleted.

    To delete an Amazon FSx for Lustre file system, first unmount it from every connected Amazon EC2 instance, then provide a FileSystemId value to the DeleFileSystem operation. By default, Amazon FSx will not take a final backup when the DeleteFileSystem operation is invoked. On file systems not linked to an Amazon S3 bucket, set SkipFinalBackup to false to take a final backup of the file system you are deleting. Backups cannot be enabled on S3-linked file systems. To ensure all of your data is written back to S3 before deleting your file system, you can either monitor for the AgeOfOldestQueuedMessage metric to be zero (if using automatic export) or you can run an export data repository task. If you have automatic export enabled and want to use an export data repository task, you have to disable automatic export before executing the export data repository task.

    The DeleteFileSystem operation returns while the file system has the DELETING status. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your account. If you pass the file system ID for a deleted file system, the DescribeFileSystems operation returns a FileSystemNotFound error.

    If a data repository task is in a PENDING or EXECUTING state, deleting an Amazon FSx for Lustre file system will fail with an HTTP status code 400 (Bad Request).

    The data in a deleted file system is also deleted and can't be recovered by any means.

    ", + "documentation":"

    Deletes a file system. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups and snapshots are also deleted.

    To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes and storage virtual machines (SVMs) on the file system. Then provide a FileSystemId value to the DeleteFileSystem operation.

    By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup isn't subject to the file system's retention policy, and must be manually deleted.

    To delete an Amazon FSx for Lustre file system, first unmount it from every connected Amazon EC2 instance, then provide a FileSystemId value to the DeleteFileSystem operation. By default, Amazon FSx will not take a final backup when the DeleteFileSystem operation is invoked. On file systems not linked to an Amazon S3 bucket, set SkipFinalBackup to false to take a final backup of the file system you are deleting. Backups cannot be enabled on S3-linked file systems. To ensure all of your data is written back to S3 before deleting your file system, you can either monitor for the AgeOfOldestQueuedMessage metric to be zero (if using automatic export) or you can run an export data repository task. If you have automatic export enabled and want to use an export data repository task, you have to disable automatic export before executing the export data repository task.

    The DeleteFileSystem operation returns while the file system has the DELETING status. You can check the file system deletion status by calling the DescribeFileSystems operation, which returns a list of file systems in your account. If you pass the file system ID for a deleted file system, the DescribeFileSystems operation returns a FileSystemNotFound error.

    If a data repository task is in a PENDING or EXECUTING state, deleting an Amazon FSx for Lustre file system will fail with an HTTP status code 400 (Bad Request).

    The data in a deleted file system is also deleted and can't be recovered by any means.

    ", "idempotent":true }, "DeleteSnapshot":{ @@ -738,7 +739,7 @@ {"shape":"MissingFileSystemConfiguration"}, {"shape":"ServiceLimitExceeded"} ], - "documentation":"

    Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.

    For FSx for Windows File Server file systems, you can update the following properties:

    • AuditLogConfiguration

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • SelfManagedActiveDirectoryConfiguration

    • StorageCapacity

    • StorageType

    • ThroughputCapacity

    • DiskIopsConfiguration

    • WeeklyMaintenanceStartTime

    For FSx for Lustre file systems, you can update the following properties:

    • AutoImportPolicy

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • DataCompressionType

    • LogConfiguration

    • LustreRootSquashConfiguration

    • PerUnitStorageThroughput

    • StorageCapacity

    • WeeklyMaintenanceStartTime

    For FSx for ONTAP file systems, you can update the following properties:

    • AddRouteTableIds

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • DiskIopsConfiguration

    • FsxAdminPassword

    • HAPairs

    • RemoveRouteTableIds

    • StorageCapacity

    • ThroughputCapacity

    • ThroughputCapacityPerHAPair

    • WeeklyMaintenanceStartTime

    For FSx for OpenZFS file systems, you can update the following properties:

    • AddRouteTableIds

    • AutomaticBackupRetentionDays

    • CopyTagsToBackups

    • CopyTagsToVolumes

    • DailyAutomaticBackupStartTime

    • DiskIopsConfiguration

    • RemoveRouteTableIds

    • StorageCapacity

    • ThroughputCapacity

    • WeeklyMaintenanceStartTime

    " + "documentation":"

    Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.

    For FSx for Windows File Server file systems, you can update the following properties:

    • AuditLogConfiguration

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • SelfManagedActiveDirectoryConfiguration

    • StorageCapacity

    • StorageType

    • ThroughputCapacity

    • DiskIopsConfiguration

    • WeeklyMaintenanceStartTime

    For FSx for Lustre file systems, you can update the following properties:

    • AutoImportPolicy

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • DataCompressionType

    • LogConfiguration

    • LustreRootSquashConfiguration

    • MetadataConfiguration

    • PerUnitStorageThroughput

    • StorageCapacity

    • WeeklyMaintenanceStartTime

    For FSx for ONTAP file systems, you can update the following properties:

    • AddRouteTableIds

    • AutomaticBackupRetentionDays

    • DailyAutomaticBackupStartTime

    • DiskIopsConfiguration

    • FsxAdminPassword

    • HAPairs

    • RemoveRouteTableIds

    • StorageCapacity

    • ThroughputCapacity

    • ThroughputCapacityPerHAPair

    • WeeklyMaintenanceStartTime

    For FSx for OpenZFS file systems, you can update the following properties:

    • AddRouteTableIds

    • AutomaticBackupRetentionDays

    • CopyTagsToBackups

    • CopyTagsToVolumes

    • DailyAutomaticBackupStartTime

    • DiskIopsConfiguration

    • RemoveRouteTableIds

    • StorageCapacity

    • ThroughputCapacity

    • WeeklyMaintenanceStartTime

    " }, "UpdateSharedVpcConfiguration":{ "name":"UpdateSharedVpcConfiguration", @@ -1718,7 +1719,7 @@ }, "DeploymentType":{ "shape":"LustreDeploymentType", - "documentation":"

    (Optional) Choose SCRATCH_1 and SCRATCH_2 deployment types when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1.

    Choose PERSISTENT_1 for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. PERSISTENT_1 supports encryption of data in transit, and is available in all Amazon Web Services Regions in which FSx for Lustre is available.

    Choose PERSISTENT_2 for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). PERSISTENT_2 is available in a limited number of Amazon Web Services Regions. For more information, and an up-to-date list of Amazon Web Services Regions in which PERSISTENT_2 is available, see File system deployment options for FSx for Lustre in the Amazon FSx for Lustre User Guide.

    If you choose PERSISTENT_2, and you set FileSystemTypeVersion to 2.10, the CreateFileSystem operation fails.

    Encryption of data in transit is automatically turned on when you access SCRATCH_2, PERSISTENT_1 and PERSISTENT_2 file systems from Amazon EC2 instances that support automatic encryption in the Amazon Web Services Regions where they are available. For more information about encryption in transit for FSx for Lustre file systems, see Encrypting data in transit in the Amazon FSx for Lustre User Guide.

    (Default = SCRATCH_1)

    " + "documentation":"

    (Optional) Choose SCRATCH_1 and SCRATCH_2 deployment types when you need temporary storage and shorter-term processing of data. The SCRATCH_2 deployment type provides in-transit encryption of data and higher burst throughput capacity than SCRATCH_1.

    Choose PERSISTENT_1 for longer-term storage and for throughput-focused workloads that aren’t latency-sensitive. PERSISTENT_1 supports encryption of data in transit, and is available in all Amazon Web Services Regions in which FSx for Lustre is available.

    Choose PERSISTENT_2 for longer-term storage and for latency-sensitive workloads that require the highest levels of IOPS/throughput. PERSISTENT_2 supports SSD storage, and offers higher PerUnitStorageThroughput (up to 1000 MB/s/TiB). You can optionally specify a metadata configuration mode for PERSISTENT_2 which supports increasing metadata performance. PERSISTENT_2 is available in a limited number of Amazon Web Services Regions. For more information, and an up-to-date list of Amazon Web Services Regions in which PERSISTENT_2 is available, see File system deployment options for FSx for Lustre in the Amazon FSx for Lustre User Guide.

    If you choose PERSISTENT_2, and you set FileSystemTypeVersion to 2.10, the CreateFileSystem operation fails.

    Encryption of data in transit is automatically turned on when you access SCRATCH_2, PERSISTENT_1, and PERSISTENT_2 file systems from Amazon EC2 instances that support automatic encryption in the Amazon Web Services Regions where they are available. For more information about encryption in transit for FSx for Lustre file systems, see Encrypting data in transit in the Amazon FSx for Lustre User Guide.

    (Default = SCRATCH_1)

    " }, "AutoImportPolicy":{ "shape":"AutoImportPolicyType", @@ -1752,10 +1753,29 @@ "RootSquashConfiguration":{ "shape":"LustreRootSquashConfiguration", "documentation":"

    The Lustre root squash configuration used when creating an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user.

    " + }, + "MetadataConfiguration":{ + "shape":"CreateFileSystemLustreMetadataConfiguration", + "documentation":"

    The Lustre metadata performance configuration for the creation of an FSx for Lustre file system using a PERSISTENT_2 deployment type.

    " } }, "documentation":"

    The Lustre configuration for the file system being created.

    The following parameters are not supported for file systems with a data repository association created with .

    • AutoImportPolicy

    • ExportPath

    • ImportedFileChunkSize

    • ImportPath

    " }, + "CreateFileSystemLustreMetadataConfiguration":{ + "type":"structure", + "required":["Mode"], + "members":{ + "Iops":{ + "shape":"MetadataIops", + "documentation":"

    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to provision for the file system. This parameter sets the maximum rate of metadata disk IOPS supported by the file system. Valid values are 1500, 3000, 6000, 12000, and multiples of 12000 up to a maximum of 192000.

    Iops doesn’t have a default value. If you're using USER_PROVISIONED mode, you can choose to specify a valid value. If you're using AUTOMATIC mode, you cannot specify a value because FSx for Lustre automatically sets the value based on your file system storage capacity.

    " + }, + "Mode":{ + "shape":"MetadataConfigurationMode", + "documentation":"

    The metadata configuration mode for provisioning Metadata IOPS for an FSx for Lustre file system using a PERSISTENT_2 deployment type.

    • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales the number of Metadata IOPS for your file system based on your file system storage capacity.

    • In USER_PROVISIONED mode, you specify the number of Metadata IOPS to provision for your file system.

    " + } + }, + "documentation":"

    The Lustre metadata performance configuration for the creation of an Amazon FSx for Lustre file system using a PERSISTENT_2 deployment type. The configuration uses a Metadata IOPS value to set the maximum rate of metadata disk IOPS supported by the file system.

    After creation, the file system supports increasing metadata performance. For more information on Metadata IOPS, see Lustre metadata performance configuration in the Amazon FSx for Lustre User Guide.

    " + }, "CreateFileSystemOntapConfiguration":{ "type":"structure", "required":["DeploymentType"], @@ -1793,7 +1813,7 @@ "WeeklyMaintenanceStartTime":{"shape":"WeeklyTime"}, "HAPairs":{ "shape":"HAPairs", - "documentation":"

    Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide.

    Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

    • The value of HAPairs is less than 1 or greater than 12.

    • The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1 or MULTI_AZ_1.

    " + "documentation":"

    Specifies how many high-availability (HA) pairs of file servers will power your file system. Scale-up file systems are powered by 1 HA pair. The default value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA pairs. The value of this property affects the values of StorageCapacity, Iops, and ThroughputCapacity. For more information, see High-availability (HA) pairs in the FSx for ONTAP user guide.

    Amazon FSx responds with an HTTP status code 400 (Bad Request) for the following conditions:

    • The value of HAPairs is less than 1 or greater than 12.

    • The value of HAPairs is greater than 1 and the value of DeploymentType is SINGLE_AZ_1 or MULTI_AZ_1.

    " }, "ThroughputCapacityPerHAPair":{ "shape":"ThroughputCapacityPerHAPair", @@ -1867,11 +1887,11 @@ }, "StorageCapacity":{ "shape":"StorageCapacity", - "documentation":"

    Sets the storage capacity of the file system that you're creating, in gibibytes (GiB).

    FSx for Lustre file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType and the Lustre DeploymentType, as follows:

    • For SCRATCH_2, PERSISTENT_2 and PERSISTENT_1 deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

    • For PERSISTENT_1 HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems.

    • For SCRATCH_1 deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.

    FSx for ONTAP file systems - The amount of storage capacity that you can configure depends on the value of the HAPairs property. The minimum value is calculated as 1,024 * HAPairs and the maximum is calculated as 524,288 * HAPairs.

    FSx for OpenZFS file systems - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB).

    FSx for Windows File Server file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType as follows:

    • For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB).

    • For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).

    " + "documentation":"

    Sets the storage capacity of the file system that you're creating, in gibibytes (GiB).

    FSx for Lustre file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType and the Lustre DeploymentType, as follows:

    • For SCRATCH_2, PERSISTENT_2, and PERSISTENT_1 deployment types using SSD storage type, the valid values are 1200 GiB, 2400 GiB, and increments of 2400 GiB.

    • For PERSISTENT_1 HDD file systems, valid values are increments of 6000 GiB for 12 MB/s/TiB file systems and increments of 1800 GiB for 40 MB/s/TiB file systems.

    • For SCRATCH_1 deployment type, valid values are 1200 GiB, 2400 GiB, and increments of 3600 GiB.

    FSx for ONTAP file systems - The amount of storage capacity that you can configure depends on the value of the HAPairs property. The minimum value is calculated as 1,024 * HAPairs and the maximum is calculated as 524,288 * HAPairs.

    FSx for OpenZFS file systems - The amount of storage capacity that you can configure is from 64 GiB up to 524,288 GiB (512 TiB).

    FSx for Windows File Server file systems - The amount of storage capacity that you can configure depends on the value that you set for StorageType as follows:

    • For SSD storage, valid values are 32 GiB-65,536 GiB (64 TiB).

    • For HDD storage, valid values are 2000 GiB-65,536 GiB (64 TiB).

    " }, "StorageType":{ "shape":"StorageType", - "documentation":"

    Sets the storage type for the file system that you're creating. Valid values are SSD and HDD.

    • Set to SSD to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types.

    • Set to HDD to use hard disk drive storage. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types, and on PERSISTENT_1 Lustre file system deployment types.

    Default value is SSD. For more information, see Storage type options in the FSx for Windows File Server User Guide and Multiple storage options in the FSx for Lustre User Guide.

    " + "documentation":"

    Sets the storage type for the file system that you're creating. Valid values are SSD and HDD.

    • Set to SSD to use solid state drive storage. SSD is supported on all Windows, Lustre, ONTAP, and OpenZFS deployment types.

    • Set to HDD to use hard disk drive storage. HDD is supported on SINGLE_AZ_2 and MULTI_AZ_1 Windows file system deployment types, and on PERSISTENT_1 Lustre file system deployment types.

    Default value is SSD. For more information, see Storage type options in the FSx for Windows File Server User Guide and Multiple storage options in the FSx for Lustre User Guide.

    " }, "SubnetIds":{ "shape":"SubnetIds", @@ -1894,7 +1914,7 @@ "OntapConfiguration":{"shape":"CreateFileSystemOntapConfiguration"}, "FileSystemTypeVersion":{ "shape":"FileSystemTypeVersion", - "documentation":"

    (Optional) For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are 2.10, 2.12, and 2.15:

    • 2.10 is supported by the Scratch and Persistent_1 Lustre deployment types.

    • 2.12 and 2.15 are supported by all Lustre deployment types. 2.12 or 2.15 is required when setting FSx for Lustre DeploymentType to PERSISTENT_2.

    Default value = 2.10, except when DeploymentType is set to PERSISTENT_2, then the default is 2.12.

    If you set FileSystemTypeVersion to 2.10 for a PERSISTENT_2 Lustre deployment type, the CreateFileSystem operation fails.

    " + "documentation":"

    For FSx for Lustre file systems, sets the Lustre version for the file system that you're creating. Valid values are 2.10, 2.12, and 2.15:

    • 2.10 is supported by the Scratch and Persistent_1 Lustre deployment types.

    • 2.12 is supported by all Lustre deployment types, except for PERSISTENT_2 with a metadata configuration mode.

    • 2.15 is supported by all Lustre deployment types and is recommended for all new file systems.

    Default value is 2.10, except for the following deployments:

    • Default value is 2.12 when DeploymentType is set to PERSISTENT_2 without a metadata configuration mode.

    • Default value is 2.15 when DeploymentType is set to PERSISTENT_2 with a metadata configuration mode.

    " }, "OpenZFSConfiguration":{ "shape":"CreateFileSystemOpenZFSConfiguration", @@ -1975,7 +1995,7 @@ }, "SecurityStyle":{ "shape":"SecurityStyle", - "documentation":"

    Specifies the security style for the volume. If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide. Specify one of the following values:

    • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

    • NTFS if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.

    • MIXED This is an advanced setting. For more information, see the topic What the security styles and their effects are in the NetApp Documentation Center.

    For more information, see Volume security style in the FSx for ONTAP User Guide.

    " + "documentation":"

    Specifies the security style for the volume. If a volume's security style is not specified, it is automatically set to the root volume's security style. The security style determines the type of permissions that FSx for ONTAP uses to control data access. Specify one of the following values:

    • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

    • NTFS if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account.

    • MIXED This is an advanced setting. For more information, see the topic What the security styles and their effects are in the NetApp Documentation Center.

    For more information, see Volume security style in the FSx for ONTAP User Guide.

    " }, "SizeInMegabytes":{ "shape":"VolumeCapacity", @@ -1994,7 +2014,7 @@ "TieringPolicy":{"shape":"TieringPolicy"}, "OntapVolumeType":{ "shape":"InputOntapVolumeType", - "documentation":"

    Specifies the type of volume you are creating. Valid values are the following:

    • RW specifies a read/write volume. RW is the default.

    • DP specifies a data-protection volume. A DP volume is read-only and can be used as the destination of a NetApp SnapMirror relationship.

    For more information, see Volume types in the Amazon FSx for NetApp ONTAP User Guide.

    " + "documentation":"

    Specifies the type of volume you are creating. Valid values are the following:

    • RW specifies a read/write volume. RW is the default.

    • DP specifies a data-protection volume. A DP volume is read-only and can be used as the destination of a NetApp SnapMirror relationship.

    For more information, see Volume types in the Amazon FSx for NetApp ONTAP User Guide.

    " }, "SnapshotPolicy":{ "shape":"SnapshotPolicy", @@ -2010,7 +2030,7 @@ }, "VolumeStyle":{ "shape":"VolumeStyle", - "documentation":"

    Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see Volume styles in the Amazon FSx for NetApp ONTAP User Guide.

    " + "documentation":"

    Use to specify the style of an ONTAP volume. FSx for ONTAP offers two styles of volumes that you can use for different purposes, FlexVol and FlexGroup volumes. For more information, see Volume styles in the Amazon FSx for NetApp ONTAP User Guide.

    " }, "AggregateConfiguration":{ "shape":"CreateAggregateConfiguration", @@ -2174,7 +2194,7 @@ "Tags":{"shape":"Tags"}, "RootVolumeSecurityStyle":{ "shape":"StorageVirtualMachineRootVolumeSecurityStyle", - "documentation":"

    The security style of the root volume of the SVM. Specify one of the following values:

    • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

    • NTFS if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account.

    • MIXED This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.

    " + "documentation":"

    The security style of the root volume of the SVM. Specify one of the following values:

    • UNIX if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.

    • NTFS if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account.

    • MIXED This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.

    " } } }, @@ -3487,7 +3507,7 @@ }, "DataRepositoryPath":{ "shape":"ArchivePath", - "documentation":"

    The path to the S3 or NFS data repository that links to the cache. You must provide one of the following paths:

    • The path can be an NFS data repository that links to the cache. The path can be in one of two formats:

      • If you are not using the DataRepositorySubdirectories parameter, the path is to an NFS Export directory (or one of its subdirectories) in the format nsf://nfs-domain-name/exportpath. You can therefore link a single NFS Export to a single data repository association.

      • If you are using the DataRepositorySubdirectories parameter, the path is the domain name of the NFS file system in the format nfs://filer-domain-name, which indicates the root of the subdirectories specified with the DataRepositorySubdirectories parameter.

    • The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/.

    " + "documentation":"

    The path to the S3 or NFS data repository that links to the cache. You must provide one of the following paths:

    • The path can be an NFS data repository that links to the cache. The path can be in one of two formats:

      • If you are not using the DataRepositorySubdirectories parameter, the path is to an NFS Export directory (or one of its subdirectories) in the format nfs://nfs-domain-name/exportpath. You can therefore link a single NFS Export to a single data repository association.

      • If you are using the DataRepositorySubdirectories parameter, the path is the domain name of the NFS file system in the format nfs://filer-domain-name, which indicates the root of the subdirectories specified with the DataRepositorySubdirectories parameter.

    • The path can be an S3 bucket or prefix in the format s3://myBucket/myPrefix/.

    " }, "DataRepositorySubdirectories":{ "shape":"SubDirectoriesPaths", @@ -3756,6 +3776,21 @@ "MISCONFIGURED_UNAVAILABLE" ] }, + "FileSystemLustreMetadataConfiguration":{ + "type":"structure", + "required":["Mode"], + "members":{ + "Iops":{ + "shape":"MetadataIops", + "documentation":"

    The number of Metadata IOPS provisioned for the file system. Valid values are 1500, 3000, 6000, 12000, and multiples of 12000 up to a maximum of 192000.

    " + }, + "Mode":{ + "shape":"MetadataConfigurationMode", + "documentation":"

    The metadata configuration mode for provisioning Metadata IOPS for the file system.

    • In AUTOMATIC mode, FSx for Lustre automatically provisions and scales the number of Metadata IOPS on your file system based on your file system storage capacity.

    • In USER_PROVISIONED mode, you can choose to specify the number of Metadata IOPS to provision for your file system.

    " + } + }, + "documentation":"

    The Lustre metadata performance configuration of an Amazon FSx for Lustre file system using a PERSISTENT_2 deployment type. The configuration enables the file system to support increasing metadata performance.

    " + }, "FileSystemMaintenanceOperation":{ "type":"string", "documentation":"

    An enumeration specifying the currently ongoing maintenance operation.

    ", @@ -4133,6 +4168,10 @@ "RootSquashConfiguration":{ "shape":"LustreRootSquashConfiguration", "documentation":"

    The Lustre root squash configuration for an Amazon FSx for Lustre file system. When enabled, root squash restricts root-level access from clients that try to access your file system as a root user.

    " + }, + "MetadataConfiguration":{ + "shape":"FileSystemLustreMetadataConfiguration", + "documentation":"

    The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a PERSISTENT_2 deployment type.

    " } }, "documentation":"

    The configuration for the Amazon FSx for Lustre file system.

    " @@ -4221,6 +4260,18 @@ "max":100000, "min":8 }, + "MetadataConfigurationMode":{ + "type":"string", + "enum":[ + "AUTOMATIC", + "USER_PROVISIONED" + ] + }, + "MetadataIops":{ + "type":"integer", + "max":192000, + "min":1500 + }, "MetadataStorageCapacity":{ "type":"integer", "max":2147483647, @@ -5054,30 +5105,30 @@ "members":{ "UserName":{ "shape":"DirectoryUserName", - "documentation":"

    Specifies the updated user name for the service account on your self-managed AD domain. Amazon FSx uses this account to join to your self-managed AD domain.

    This account must have the permissions required to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName.

    " + "documentation":"

    Specifies the updated user name for the service account on your self-managed Active Directory domain. Amazon FSx uses this account to join to your self-managed Active Directory domain.

    This account must have the permissions required to join computers to the domain in the organizational unit provided in OrganizationalUnitDistinguishedName.

    " }, "Password":{ "shape":"DirectoryPassword", - "documentation":"

    Specifies the updated password for the service account on your self-managed AD domain. Amazon FSx uses this account to join to your self-managed AD domain.

    " + "documentation":"

    Specifies the updated password for the service account on your self-managed Active Directory domain. Amazon FSx uses this account to join to your self-managed Active Directory domain.

    " }, "DnsIps":{ "shape":"DnsIps", - "documentation":"

    A list of up to three DNS server or domain controller IP addresses in your self-managed AD domain.

    " + "documentation":"

    A list of up to three DNS server or domain controller IP addresses in your self-managed Active Directory domain.

    " }, "DomainName":{ "shape":"ActiveDirectoryFullyQualifiedName", - "documentation":"

    Specifies an updated fully qualified domain name of your self-managed AD configuration.

    " + "documentation":"

    Specifies an updated fully qualified domain name of your self-managed Active Directory configuration.

    " }, "OrganizationalUnitDistinguishedName":{ "shape":"OrganizationalUnitDistinguishedName", - "documentation":"

    Specifies an updated fully qualified distinguished name of the organization unit within your self-managed AD.

    " + "documentation":"

    Specifies an updated fully qualified distinguished name of the organization unit within your self-managed Active Directory.

    " }, "FileSystemAdministratorsGroup":{ "shape":"FileSystemAdministratorsGroupName", - "documentation":"

    Specifies the updated name of the self-managed AD domain group whose members are granted administrative privileges for the Amazon FSx resource.

    " + "documentation":"

    For FSx for ONTAP file systems only - Specifies the updated name of the self-managed Active Directory domain group whose members are granted administrative privileges for the Amazon FSx resource.

    " } }, - "documentation":"

    Specifies changes you are making to the self-managed Microsoft Active Directory (AD) configuration to which an FSx for Windows File Server file system or an FSx for ONTAP SVM is joined.

    " + "documentation":"

    Specifies changes you are making to the self-managed Microsoft Active Directory configuration to which an FSx for Windows File Server file system or an FSx for ONTAP SVM is joined.

    " }, "ServiceLimit":{ "type":"string", @@ -5793,10 +5844,28 @@ "PerUnitStorageThroughput":{ "shape":"PerUnitStorageThroughput", "documentation":"

    The throughput of an Amazon FSx for Lustre Persistent SSD-based file system, measured in megabytes per second per tebibyte (MB/s/TiB). You can increase or decrease your file system's throughput. Valid values depend on the deployment type of the file system, as follows:

    • For PERSISTENT_1 SSD-based deployment types, valid values are 50, 100, and 200 MB/s/TiB.

    • For PERSISTENT_2 SSD-based deployment types, valid values are 125, 250, 500, and 1000 MB/s/TiB.

    For more information, see Managing throughput capacity.

    " + }, + "MetadataConfiguration":{ + "shape":"UpdateFileSystemLustreMetadataConfiguration", + "documentation":"

    The Lustre metadata performance configuration for an Amazon FSx for Lustre file system using a PERSISTENT_2 deployment type. When this configuration is enabled, the file system supports increasing metadata performance.

    " } }, "documentation":"

    The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem operation.

    " }, + "UpdateFileSystemLustreMetadataConfiguration":{ + "type":"structure", + "members":{ + "Iops":{ + "shape":"MetadataIops", + "documentation":"

    (USER_PROVISIONED mode only) Specifies the number of Metadata IOPS to provision for your file system. Valid values are 1500, 3000, 6000, 12000, and multiples of 12000 up to a maximum of 192000.

    The value you provide must be greater than or equal to the current number of Metadata IOPS provisioned for the file system.

    " + }, + "Mode":{ + "shape":"MetadataConfigurationMode", + "documentation":"

    The metadata configuration mode for provisioning Metadata IOPS for an FSx for Lustre file system using a PERSISTENT_2 deployment type.

    • To increase the Metadata IOPS or to switch from AUTOMATIC mode, specify USER_PROVISIONED as the value for this parameter. Then use the Iops parameter to provide a Metadata IOPS value that is greater than or equal to the current number of Metadata IOPS provisioned for the file system.

    • To switch from USER_PROVISIONED mode, specify AUTOMATIC as the value for this parameter, but do not input a value for Iops.

      If you request to switch from USER_PROVISIONED to AUTOMATIC mode and the current Metadata IOPS value is greater than the automated default, FSx for Lustre rejects the request because downscaling Metadata IOPS is not supported.

    " + } + }, + "documentation":"

    The Lustre metadata performance configuration update for an Amazon FSx for Lustre file system using a PERSISTENT_2 deployment type. You can request an increase in your file system's Metadata IOPS and/or switch your file system's metadata configuration mode. For more information, see Managing metadata performance in the Amazon FSx for Lustre User Guide.

    " + }, "UpdateFileSystemOntapConfiguration":{ "type":"structure", "members":{ diff --git a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json index e1b73c913f1..3d9c0c27f87 100644 --- a/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json +++ b/tools/code-generation/api-descriptions/glue-2017-03-31.normal.json @@ -20530,6 +20530,10 @@ "TargetTable":{ "shape":"TableIdentifier", "documentation":"

    A TableIdentifier structure that describes a target table for resource linking.

    " + }, + "ViewDefinition":{ + "shape":"ViewDefinitionInput", + "documentation":"

    A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.

    " } }, "documentation":"

    A structure used to define a table.

    " @@ -22091,6 +22095,14 @@ "VersionId":{ "shape":"VersionString", "documentation":"

    The version ID at which to update the table contents.

    " + }, + "ViewUpdateAction":{ + "shape":"ViewUpdateAction", + "documentation":"

    The operation to be performed when updating the view.

    " + }, + "Force":{ + "shape":"Boolean", + "documentation":"

    A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.

    " } } }, @@ -22369,6 +22381,28 @@ }, "documentation":"

    A structure containing details for representations.

    " }, + "ViewDefinitionInput":{ + "type":"structure", + "members":{ + "IsProtected":{ + "shape":"NullableBoolean", + "documentation":"

    You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.

    " + }, + "Definer":{ + "shape":"ArnString", + "documentation":"

    The definer of a view in SQL.

    " + }, + "Representations":{ + "shape":"ViewRepresentationInputList", + "documentation":"

    A list of structures that contains the dialect of the view, and the query that defines the view.

    " + }, + "SubObjects":{ + "shape":"ViewSubObjectsList", + "documentation":"

    A list of base table ARNs that make up the view.

    " + } + }, + "documentation":"

    A structure containing details for creating or updating an Glue view.

    " + }, "ViewDialect":{ "type":"string", "enum":[ @@ -22401,6 +22435,10 @@ "shape":"ViewTextString", "documentation":"

    The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform ViewOriginalText to ViewExpandedText. For example:

    • Fully qualified identifiers: SELECT * from table1 -> SELECT * from db1.table1

    " }, + "ValidationConnection":{ + "shape":"NameString", + "documentation":"

    The name of the connection to be used to validate the specific representation of the view.

    " + }, "IsStale":{ "shape":"NullableBoolean", "documentation":"

    Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.

    " @@ -22408,6 +22446,38 @@ }, "documentation":"

    A structure that contains the dialect of the view, and the query that defines the view.

    " }, + "ViewRepresentationInput":{ + "type":"structure", + "members":{ + "Dialect":{ + "shape":"ViewDialect", + "documentation":"

    A parameter that specifies the engine type of a specific representation.

    " + }, + "DialectVersion":{ + "shape":"ViewDialectVersionString", + "documentation":"

    A parameter that specifies the version of the engine of a specific representation.

    " + }, + "ViewOriginalText":{ + "shape":"ViewTextString", + "documentation":"

    A string that represents the original SQL query that describes the view.

    " + }, + "ValidationConnection":{ + "shape":"NameString", + "documentation":"

    The name of the connection to be used to validate the specific representation of the view.

    " + }, + "ViewExpandedText":{ + "shape":"ViewTextString", + "documentation":"

    A string that represents the SQL query that describes the view with expanded resource ARNs

    " + } + }, + "documentation":"

    A structure containing details of a representation to update or create a Lake Formation view.

    " + }, + "ViewRepresentationInputList":{ + "type":"list", + "member":{"shape":"ViewRepresentationInput"}, + "max":10, + "min":1 + }, "ViewRepresentationList":{ "type":"list", "member":{"shape":"ViewRepresentation"}, @@ -22424,6 +22494,15 @@ "type":"string", "max":409600 }, + "ViewUpdateAction":{ + "type":"string", + "enum":[ + "ADD", + "REPLACE", + "ADD_OR_REPLACE", + "DROP" + ] + }, "WorkerType":{ "type":"string", "enum":[ diff --git a/tools/code-generation/api-descriptions/iotwireless-2020-11-22.normal.json b/tools/code-generation/api-descriptions/iotwireless-2020-11-22.normal.json index 840f1342f12..abb9ee7f49b 100644 --- a/tools/code-generation/api-descriptions/iotwireless-2020-11-22.normal.json +++ b/tools/code-generation/api-descriptions/iotwireless-2020-11-22.normal.json @@ -4,6 +4,7 @@ "apiVersion":"2020-11-22", "endpointPrefix":"api.iotwireless", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS IoT Wireless", "serviceId":"IoT Wireless", "signatureVersion":"v4", @@ -3936,7 +3937,8 @@ "MissingFrag", "MemoryError", "MICError", - "Successful" + "Successful", + "Device_exist_in_conflict_fuota_task" ] }, "FuotaTask":{ diff --git a/tools/code-generation/api-descriptions/location-2020-11-19.normal.json b/tools/code-generation/api-descriptions/location-2020-11-19.normal.json index d9ac4344fe2..c9deaf2ba2b 100644 --- a/tools/code-generation/api-descriptions/location-2020-11-19.normal.json +++ b/tools/code-generation/api-descriptions/location-2020-11-19.normal.json @@ -3,8 +3,8 @@ "metadata":{ "apiVersion":"2020-11-19", "endpointPrefix":"geo", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon Location Service", "serviceId":"Location", "signatureVersion":"v4", @@ -564,6 +564,25 @@ "documentation":"

    Removes the association between a tracker resource and a geofence collection.

    Once you unlink a tracker resource from a geofence collection, the tracker positions will no longer be automatically evaluated against geofences.

    ", "endpoint":{"hostPrefix":"cp.tracking."} }, + "ForecastGeofenceEvents":{ + "name":"ForecastGeofenceEvents", + "http":{ + "method":"POST", + "requestUri":"/geofencing/v0/collections/{CollectionName}/forecast-geofence-events", + "responseCode":200 + }, + "input":{"shape":"ForecastGeofenceEventsRequest"}, + "output":{"shape":"ForecastGeofenceEventsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Evaluates device positions against geofence geometries from a given geofence collection. The event forecasts three states for which a device can be in relative to a geofence:

    ENTER: If a device is outside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.

    EXIT: If a device is inside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.

    IDLE: If a device is inside of a geofence, and the device is not moving.

    ", + "endpoint":{"hostPrefix":"geofencing."} + }, "GetDevicePosition":{ "name":"GetDevicePosition", "http":{ @@ -618,7 +637,7 @@ {"shape":"ValidationException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Retrieves the geofence details from a geofence collection.

    ", + "documentation":"

    Retrieves the geofence details from a geofence collection.

    The returned geometry will always match the geometry format used when the geofence was created.

    ", "endpoint":{"hostPrefix":"geofencing."} }, "GetMapGlyphs":{ @@ -1134,6 +1153,25 @@ "documentation":"

    Updates the specified properties of a given tracker resource.

    ", "endpoint":{"hostPrefix":"cp.tracking."}, "idempotent":true + }, + "VerifyDevicePosition":{ + "name":"VerifyDevicePosition", + "http":{ + "method":"POST", + "requestUri":"/tracking/v0/trackers/{TrackerName}/positions/verify", + "responseCode":200 + }, + "input":{"shape":"VerifyDevicePositionRequest"}, + "output":{"shape":"VerifyDevicePositionResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"} + ], + "documentation":"

    Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.

    ", + "endpoint":{"hostPrefix":"tracking."} } }, "shapes":{ @@ -1163,7 +1201,7 @@ "type":"string", "max":200, "min":5, - "pattern":"^geo:\\w*\\*?$" + "pattern":"(geo|geo-routes|geo-places|geo-maps):\\w*\\*?" }, "ApiKeyFilter":{ "type":"structure", @@ -1186,13 +1224,13 @@ "shape":"ApiKeyRestrictionsAllowActionsList", "documentation":"

    A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action.

    The following are valid values for the actions.

    • Map actions

      • geo:GetMap* - Allows all actions needed for map rendering.

    • Place actions

      • geo:SearchPlaceIndexForText - Allows geocoding.

      • geo:SearchPlaceIndexForPosition - Allows reverse geocoding.

      • geo:SearchPlaceIndexForSuggestions - Allows generating suggestions from text.

      • GetPlace - Allows finding a place by place ID.

    • Route actions

      • geo:CalculateRoute - Allows point to point routing.

      • geo:CalculateRouteMatrix - Allows calculating a matrix of routes.

    You must use these strings exactly. For example, to provide access to map rendering, the only valid action is geo:GetMap* as an input to the list. [\"geo:GetMap*\"] is valid but [\"geo:GetMapTile\"] is not. Similarly, you cannot use [\"geo:SearchPlaceIndexFor*\"] - you must list each of the Place actions separately.

    " }, - "AllowReferers":{ - "shape":"ApiKeyRestrictionsAllowReferersList", - "documentation":"

    An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9) or any symbols in this list $\\-._+!*`(),;/?:@=&

    • May contain a percent (%) if followed by 2 hexadecimal digits (A-F, a-f, 0-9); this is used for URL encoding purposes.

    • May contain wildcard characters question mark (?) and asterisk (*).

      Question mark (?) will replace any single character (including hexadecimal digits).

      Asterisk (*) will replace any multiple characters (including multiple hexadecimal digits).

    • No spaces allowed. For example, https://example.com.

    " - }, "AllowResources":{ "shape":"ApiKeyRestrictionsAllowResourcesList", "documentation":"

    A list of allowed resource ARNs that a API key bearer can perform actions on.

    • The ARN must be the correct ARN for a map, place, or route ARN. You may include wildcards in the resource-id to match multiple resources of the same type.

    • The resources must be in the same partition, region, and account-id as the key that is being created.

    • Other than wildcards, you must include the full ARN, including the arn, partition, service, region, account-id and resource-id delimited by colons (:).

    • No spaces allowed, even with wildcards. For example, arn:aws:geo:region:account-id:map/ExampleMap*.

    For more information about ARN format, see Amazon Resource Names (ARNs).

    " + }, + "AllowReferers":{ + "shape":"ApiKeyRestrictionsAllowReferersList", + "documentation":"

    An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9) or any symbols in this list $\\-._+!*`(),;/?:@=&

    • May contain a percent (%) if followed by 2 hexadecimal digits (A-F, a-f, 0-9); this is used for URL encoding purposes.

    • May contain wildcard characters question mark (?) and asterisk (*).

      Question mark (?) will replace any single character (including hexadecimal digits).

      Asterisk (*) will replace any multiple characters (including multiple hexadecimal digits).

    • No spaces allowed. For example, https://example.com.

    " } }, "documentation":"

    API Restrictions on the allowed actions, resources, and referers for an API key resource.

    " @@ -1211,7 +1249,7 @@ }, "ApiKeyRestrictionsAllowResourcesList":{ "type":"list", - "member":{"shape":"GeoArn"}, + "member":{"shape":"GeoArnV2"}, "max":5, "min":1 }, @@ -1219,7 +1257,7 @@ "type":"string", "max":1600, "min":0, - "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?$" + "pattern":"arn(:[a-z0-9]+([.-][a-z0-9]+)*){2}(:([a-z0-9]+([.-][a-z0-9]+)*)?){2}:([^/].*)?" }, "ArnList":{ "type":"list", @@ -1228,19 +1266,19 @@ "AssociateTrackerConsumerRequest":{ "type":"structure", "required":[ - "ConsumerArn", - "TrackerName" + "TrackerName", + "ConsumerArn" ], "members":{ - "ConsumerArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

    " - }, "TrackerName":{ "shape":"ResourceName", "documentation":"

    The name of the tracker resource to be associated with a geofence collection.

    ", "location":"uri", "locationName":"TrackerName" + }, + "ConsumerArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection to be associated to tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

    " } } }, @@ -1249,6 +1287,12 @@ "members":{ } }, + "Base64EncodedGeobuf":{ + "type":"blob", + "max":600000, + "min":0, + "sensitive":true + }, "BatchDeleteDevicePositionHistoryError":{ "type":"structure", "required":[ @@ -1271,19 +1315,19 @@ "BatchDeleteDevicePositionHistoryRequest":{ "type":"structure", "required":[ - "DeviceIds", - "TrackerName" + "TrackerName", + "DeviceIds" ], "members":{ - "DeviceIds":{ - "shape":"BatchDeleteDevicePositionHistoryRequestDeviceIdsList", - "documentation":"

    Devices whose position history you want to delete.

    • For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    " - }, "TrackerName":{ "shape":"ResourceName", "documentation":"

    The name of the tracker resource to delete the device position history from.

    ", "location":"uri", "locationName":"TrackerName" + }, + "DeviceIds":{ + "shape":"BatchDeleteDevicePositionHistoryRequestDeviceIdsList", + "documentation":"

    Devices whose position history you want to delete.

    • For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

    " } } }, @@ -1306,17 +1350,17 @@ "BatchDeleteGeofenceError":{ "type":"structure", "required":[ - "Error", - "GeofenceId" + "GeofenceId", + "Error" ], "members":{ - "Error":{ - "shape":"BatchItemError", - "documentation":"

    Contains details associated to the batch error.

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence associated with the error message.

    " + }, + "Error":{ + "shape":"BatchItemError", + "documentation":"

    Contains details associated to the batch error.

    " } }, "documentation":"

    Contains error details for each geofence that failed to delete from the geofence collection.

    " @@ -1364,21 +1408,21 @@ "type":"structure", "required":[ "DeviceId", - "Error", - "SampleTime" + "SampleTime", + "Error" ], "members":{ "DeviceId":{ "shape":"Id", "documentation":"

    The device associated with the position evaluation error.

    " }, - "Error":{ - "shape":"BatchItemError", - "documentation":"

    Contains details associated to the batch error.

    " - }, "SampleTime":{ "shape":"Timestamp", "documentation":"

    Specifies a timestamp for when the error occurred in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "Error":{ + "shape":"BatchItemError", + "documentation":"

    Contains details associated to the batch error.

    " } }, "documentation":"

    Contains error details for each device that failed to evaluate its position against the geofences in a given geofence collection.

    " @@ -1447,19 +1491,19 @@ "BatchGetDevicePositionRequest":{ "type":"structure", "required":[ - "DeviceIds", - "TrackerName" + "TrackerName", + "DeviceIds" ], "members":{ - "DeviceIds":{ - "shape":"BatchGetDevicePositionRequestDeviceIdsList", - "documentation":"

    Devices whose position you want to retrieve.

    • For example, for two devices: device-ids=DeviceId1&device-ids=DeviceId2

    " - }, "TrackerName":{ "shape":"BatchGetDevicePositionRequestTrackerNameString", "documentation":"

    The tracker resource retrieving the device position.

    ", "location":"uri", "locationName":"TrackerName" + }, + "DeviceIds":{ + "shape":"BatchGetDevicePositionRequestDeviceIdsList", + "documentation":"

    Devices whose position you want to retrieve.

    • For example, for two devices: device-ids=DeviceId1&device-ids=DeviceId2

    " } } }, @@ -1472,22 +1516,22 @@ "BatchGetDevicePositionRequestTrackerNameString":{ "type":"string", "min":1, - "pattern":"^[-._\\w]+$" + "pattern":"[-._\\w]+" }, "BatchGetDevicePositionResponse":{ "type":"structure", "required":[ - "DevicePositions", - "Errors" + "Errors", + "DevicePositions" ], "members":{ - "DevicePositions":{ - "shape":"DevicePositionList", - "documentation":"

    Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.

    " - }, "Errors":{ "shape":"BatchGetDevicePositionErrorList", "documentation":"

    Contains error details for each device that failed to send its position to the tracker resource.

    " + }, + "DevicePositions":{ + "shape":"DevicePositionList", + "documentation":"

    Contains device position details such as the device ID, position, and timestamps for when the position was received and sampled.

    " } } }, @@ -1519,17 +1563,17 @@ "BatchPutGeofenceError":{ "type":"structure", "required":[ - "Error", - "GeofenceId" + "GeofenceId", + "Error" ], "members":{ - "Error":{ - "shape":"BatchItemError", - "documentation":"

    Contains details associated to the batch error.

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence associated with the error message.

    " + }, + "Error":{ + "shape":"BatchItemError", + "documentation":"

    Contains details associated to the batch error.

    " } }, "documentation":"

    Contains error details for each geofence that failed to be stored in a given geofence collection.

    " @@ -1574,13 +1618,13 @@ "shape":"Id", "documentation":"

    The identifier for the geofence to be stored in a given geofence collection.

    " }, + "Geometry":{ + "shape":"GeofenceGeometry", + "documentation":"

    Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.

    The geofence polygon format supports a maximum of 1,000 vertices. The Geofence geobuf format supports a maximum of 100,000 vertices.

    " + }, "GeofenceProperties":{ "shape":"PropertyMap", "documentation":"

    Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " - }, - "Geometry":{ - "shape":"GeofenceGeometry", - "documentation":"

    Contains the details of the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

    Each geofence polygon can have a maximum of 1,000 vertices.

    " } }, "documentation":"

    Contains geofence geometry details.

    " @@ -1588,36 +1632,36 @@ "BatchPutGeofenceResponse":{ "type":"structure", "required":[ - "Errors", - "Successes" + "Successes", + "Errors" ], "members":{ - "Errors":{ - "shape":"BatchPutGeofenceErrorList", - "documentation":"

    Contains additional error details for each geofence that failed to be stored in a geofence collection.

    " - }, "Successes":{ "shape":"BatchPutGeofenceSuccessList", "documentation":"

    Contains each geofence that was successfully stored in a geofence collection.

    " + }, + "Errors":{ + "shape":"BatchPutGeofenceErrorList", + "documentation":"

    Contains additional error details for each geofence that failed to be stored in a geofence collection.

    " } } }, "BatchPutGeofenceSuccess":{ "type":"structure", "required":[ - "CreateTime", "GeofenceId", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence successfully stored in a geofence collection.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " @@ -1633,21 +1677,21 @@ "type":"structure", "required":[ "DeviceId", - "Error", - "SampleTime" + "SampleTime", + "Error" ], "members":{ "DeviceId":{ "shape":"Id", "documentation":"

    The device associated with the failed location update.

    " }, - "Error":{ - "shape":"BatchItemError", - "documentation":"

    Contains details related to the error code such as the error code and error message.

    " - }, "SampleTime":{ "shape":"Timestamp", "documentation":"

    The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "Error":{ + "shape":"BatchItemError", + "documentation":"

    Contains details related to the error code such as the error code and error message.

    " } }, "documentation":"

    Contains error details for each device that failed to update its position.

    " @@ -1731,43 +1775,43 @@ "location":"uri", "locationName":"CalculatorName" }, - "CarModeOptions":{ - "shape":"CalculateRouteCarModeOptions", - "documentation":"

    Specifies route preferences when traveling by Car, such as avoiding routes that use ferries or tolls.

    Requirements: TravelMode must be specified as Car.

    " - }, - "DepartNow":{ - "shape":"Boolean", - "documentation":"

    Sets the time of departure as the current time. Uses the current time to calculate the route matrix. You can't set both DepartureTime and DepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.

    Default Value: false

    Valid Values: false | true

    " - }, "DeparturePositions":{ "shape":"CalculateRouteMatrixRequestDeparturePositionsList", "documentation":"

    The list of departure (origin) positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]. For example, [-123.115, 49.285].

    Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide.

    For route calculators that use Esri as the data provider, if you specify a departure that's not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in SnappedDeparturePositions.

    Valid Values: [-180 to 180,-90 to 90]

    " }, + "DestinationPositions":{ + "shape":"CalculateRouteMatrixRequestDestinationPositionsList", + "documentation":"

    The list of destination positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]. For example, [-122.339, 47.615]

    Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide.

    For route calculators that use Esri as the data provider, if you specify a destination that's not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in SnappedDestinationPositions.

    Valid Values: [-180 to 180,-90 to 90]

    " + }, + "TravelMode":{ + "shape":"TravelMode", + "documentation":"

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

    The TravelMode you specify also determines how you specify route preferences:

    • If traveling by Car use the CarModeOptions parameter.

    • If traveling by Truck use the TruckModeOptions parameter.

    Bicycle or Motorcycle are only valid when using Grab as a data provider, and only within Southeast Asia.

    Truck is not available for Grab.

    For more information about using Grab as a data provider, see GrabMaps in the Amazon Location Service Developer Guide.

    Default Value: Car

    " + }, "DepartureTime":{ "shape":"Timestamp", "documentation":"

    Specifies the desired time of departure. Uses the given time to calculate the route matrix. You can't set both DepartureTime and DepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.

    Setting a departure time in the past returns a 400 ValidationException error.

    • In ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00

    " }, - "DestinationPositions":{ - "shape":"CalculateRouteMatrixRequestDestinationPositionsList", - "documentation":"

    The list of destination positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]. For example, [-122.339, 47.615]

    Depending on the data provider selected in the route calculator resource there may be additional restrictions on the inputs you can choose. See Position restrictions in the Amazon Location Service Developer Guide.

    For route calculators that use Esri as the data provider, if you specify a destination that's not located on a road, Amazon Location moves the position to the nearest road. The snapped value is available in the result in SnappedDestinationPositions.

    Valid Values: [-180 to 180,-90 to 90]

    " + "DepartNow":{ + "shape":"Boolean", + "documentation":"

    Sets the time of departure as the current time. Uses the current time to calculate the route matrix. You can't set both DepartureTime and DepartNow. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.

    Default Value: false

    Valid Values: false | true

    " }, "DistanceUnit":{ "shape":"DistanceUnit", "documentation":"

    Set the unit system to specify the distance.

    Default Value: Kilometers

    " }, + "CarModeOptions":{ + "shape":"CalculateRouteCarModeOptions", + "documentation":"

    Specifies route preferences when traveling by Car, such as avoiding routes that use ferries or tolls.

    Requirements: TravelMode must be specified as Car.

    " + }, + "TruckModeOptions":{ + "shape":"CalculateRouteTruckModeOptions", + "documentation":"

    Specifies route preferences when traveling by Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.

    Requirements: TravelMode must be specified as Truck.

    " + }, "Key":{ "shape":"ApiKey", "documentation":"

    The optional API key to authorize the request.

    ", "location":"querystring", "locationName":"key" - }, - "TravelMode":{ - "shape":"TravelMode", - "documentation":"

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.

    The TravelMode you specify also determines how you specify route preferences:

    • If traveling by Car use the CarModeOptions parameter.

    • If traveling by Truck use the TruckModeOptions parameter.

    Bicycle or Motorcycle are only valid when using Grab as a data provider, and only within Southeast Asia.

    Truck is not available for Grab.

    For more information about using Grab as a data provider, see GrabMaps in the Amazon Location Service Developer Guide.

    Default Value: Car

    " - }, - "TruckModeOptions":{ - "shape":"CalculateRouteTruckModeOptions", - "documentation":"

    Specifies route preferences when traveling by Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.

    Requirements: TravelMode must be specified as Truck.

    " } } }, @@ -1825,26 +1869,26 @@ "type":"structure", "required":[ "DataSource", - "DistanceUnit", + "RouteCount", "ErrorCount", - "RouteCount" + "DistanceUnit" ], "members":{ "DataSource":{ "shape":"String", "documentation":"

    The data provider of traffic and road network data used to calculate the routes. Indicates one of the available providers:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " }, - "DistanceUnit":{ - "shape":"DistanceUnit", - "documentation":"

    The unit of measurement for route distances.

    " + "RouteCount":{ + "shape":"CalculateRouteMatrixSummaryRouteCountInteger", + "documentation":"

    The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

    " }, "ErrorCount":{ "shape":"CalculateRouteMatrixSummaryErrorCountInteger", "documentation":"

    The count of error results in the route matrix. If this number is 0, all routes were calculated successfully.

    " }, - "RouteCount":{ - "shape":"CalculateRouteMatrixSummaryRouteCountInteger", - "documentation":"

    The count of cells in the route matrix. Equal to the number of DeparturePositions multiplied by the number of DestinationPositions.

    " + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The unit of measurement for route distances.

    " } }, "documentation":"

    A summary of the calculated route matrix.

    " @@ -1869,35 +1913,35 @@ "DestinationPosition" ], "members":{ - "ArrivalTime":{ - "shape":"Timestamp", - "documentation":"

    Specifies the desired time of arrival. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.

    ArrivalTime is not supported Esri.

    " - }, "CalculatorName":{ "shape":"ResourceName", "documentation":"

    The name of the route calculator resource that you want to use to calculate the route.

    ", "location":"uri", "locationName":"CalculatorName" }, - "CarModeOptions":{ - "shape":"CalculateRouteCarModeOptions", - "documentation":"

    Specifies route preferences when traveling by Car, such as avoiding routes that use ferries or tolls.

    Requirements: TravelMode must be specified as Car.

    " - }, - "DepartNow":{ - "shape":"Boolean", - "documentation":"

    Sets the time of departure as the current time. Uses the current time to calculate a route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.

    Default Value: false

    Valid Values: false | true

    " - }, "DeparturePosition":{ "shape":"Position", "documentation":"

    The start position for the route. Defined in World Geodetic System (WGS 84) format: [longitude, latitude].

    • For example, [-123.115, 49.285]

    If you specify a departure that's not located on a road, Amazon Location moves the position to the nearest road. If Esri is the provider for your route calculator, specifying a route that is longer than 400 km returns a 400 RoutesValidationException error.

    Valid Values: [-180 to 180,-90 to 90]

    " }, + "DestinationPosition":{ + "shape":"Position", + "documentation":"

    The finish position for the route. Defined in World Geodetic System (WGS 84) format: [longitude, latitude].

    • For example, [-122.339, 47.615]

    If you specify a destination that's not located on a road, Amazon Location moves the position to the nearest road.

    Valid Values: [-180 to 180,-90 to 90]

    " + }, + "WaypointPositions":{ + "shape":"CalculateRouteRequestWaypointPositionsList", + "documentation":"

    Specifies an ordered list of up to 23 intermediate positions to include along a route between the departure position and destination position.

    • For example, from the DeparturePosition [-123.115, 49.285], the route follows the order that the waypoint positions are given [[-122.757, 49.0021],[-122.349, 47.620]]

    If you specify a waypoint position that's not located on a road, Amazon Location moves the position to the nearest road.

    Specifying more than 23 waypoints returns a 400 ValidationException error.

    If Esri is the provider for your route calculator, specifying a route that is longer than 400 km returns a 400 RoutesValidationException error.

    Valid Values: [-180 to 180,-90 to 90]

    " + }, + "TravelMode":{ + "shape":"TravelMode", + "documentation":"

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. You can choose Car, Truck, Walking, Bicycle or Motorcycle as options for the TravelMode.

    Bicycle and Motorcycle are only valid when using Grab as a data provider, and only within Southeast Asia.

    Truck is not available for Grab.

    For more details on the using Grab for routing, including areas of coverage, see GrabMaps in the Amazon Location Service Developer Guide.

    The TravelMode you specify also determines how you specify route preferences:

    • If traveling by Car use the CarModeOptions parameter.

    • If traveling by Truck use the TruckModeOptions parameter.

    Default Value: Car

    " + }, "DepartureTime":{ "shape":"Timestamp", "documentation":"

    Specifies the desired time of departure. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.

    • In ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. For example, 2020–07-2T12:15:20.000Z+01:00

    " }, - "DestinationPosition":{ - "shape":"Position", - "documentation":"

    The finish position for the route. Defined in World Geodetic System (WGS 84) format: [longitude, latitude].

    • For example, [-122.339, 47.615]

    If you specify a destination that's not located on a road, Amazon Location moves the position to the nearest road.

    Valid Values: [-180 to 180,-90 to 90]

    " + "DepartNow":{ + "shape":"Boolean", + "documentation":"

    Sets the time of departure as the current time. Uses the current time to calculate a route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.

    Default Value: false

    Valid Values: false | true

    " }, "DistanceUnit":{ "shape":"DistanceUnit", @@ -1907,27 +1951,27 @@ "shape":"Boolean", "documentation":"

    Set to include the geometry details in the result for each path between a pair of positions.

    Default Value: false

    Valid Values: false | true

    " }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" - }, - "OptimizeFor":{ - "shape":"OptimizationMode", - "documentation":"

    Specifies the distance to optimize for when calculating a route.

    " - }, - "TravelMode":{ - "shape":"TravelMode", - "documentation":"

    Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. You can choose Car, Truck, Walking, Bicycle or Motorcycle as options for the TravelMode.

    Bicycle and Motorcycle are only valid when using Grab as a data provider, and only within Southeast Asia.

    Truck is not available for Grab.

    For more details on the using Grab for routing, including areas of coverage, see GrabMaps in the Amazon Location Service Developer Guide.

    The TravelMode you specify also determines how you specify route preferences:

    • If traveling by Car use the CarModeOptions parameter.

    • If traveling by Truck use the TruckModeOptions parameter.

    Default Value: Car

    " + "CarModeOptions":{ + "shape":"CalculateRouteCarModeOptions", + "documentation":"

    Specifies route preferences when traveling by Car, such as avoiding routes that use ferries or tolls.

    Requirements: TravelMode must be specified as Car.

    " }, "TruckModeOptions":{ "shape":"CalculateRouteTruckModeOptions", "documentation":"

    Specifies route preferences when traveling by Truck, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.

    Requirements: TravelMode must be specified as Truck.

    " }, - "WaypointPositions":{ - "shape":"CalculateRouteRequestWaypointPositionsList", - "documentation":"

    Specifies an ordered list of up to 23 intermediate positions to include along a route between the departure position and destination position.

    • For example, from the DeparturePosition [-123.115, 49.285], the route follows the order that the waypoint positions are given [[-122.757, 49.0021],[-122.349, 47.620]]

    If you specify a waypoint position that's not located on a road, Amazon Location moves the position to the nearest road.

    Specifying more than 23 waypoints returns a 400 ValidationException error.

    If Esri is the provider for your route calculator, specifying a route that is longer than 400 km returns a 400 RoutesValidationException error.

    Valid Values: [-180 to 180,-90 to 90]

    " + "ArrivalTime":{ + "shape":"Timestamp", + "documentation":"

    Specifies the desired time of arrival. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.

    ArrivalTime is not supported Esri.

    " + }, + "OptimizeFor":{ + "shape":"OptimizationMode", + "documentation":"

    Specifies the distance to optimize for when calculating a route.

    " + }, + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, @@ -1958,32 +2002,32 @@ "CalculateRouteSummary":{ "type":"structure", "required":[ + "RouteBBox", "DataSource", "Distance", - "DistanceUnit", "DurationSeconds", - "RouteBBox" + "DistanceUnit" ], "members":{ - "DataSource":{ - "shape":"String", + "RouteBBox":{ + "shape":"BoundingBox", + "documentation":"

    Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].

    The first 2 bbox parameters describe the lower southwest corner:

    • The first bbox position is the X coordinate or longitude of the lower southwest corner.

    • The second bbox position is the Y coordinate or latitude of the lower southwest corner.

    The next 2 bbox parameters describe the upper northeast corner:

    • The third bbox position is the X coordinate, or longitude of the upper northeast corner.

    • The fourth bbox position is the Y coordinate, or latitude of the upper northeast corner.

    " + }, + "DataSource":{ + "shape":"String", "documentation":"

    The data provider of traffic and road network data used to calculate the route. Indicates one of the available providers:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " }, "Distance":{ "shape":"CalculateRouteSummaryDistanceDouble", "documentation":"

    The total distance covered by the route. The sum of the distance travelled between every stop on the route.

    If Esri is the data source for the route calculator, the route distance can’t be greater than 400 km. If the route exceeds 400 km, the response is a 400 RoutesValidationException error.

    " }, - "DistanceUnit":{ - "shape":"DistanceUnit", - "documentation":"

    The unit of measurement for route distances.

    " - }, "DurationSeconds":{ "shape":"CalculateRouteSummaryDurationSecondsDouble", "documentation":"

    The total travel time for the route measured in seconds. The sum of the travel time between every stop on the route.

    " }, - "RouteBBox":{ - "shape":"BoundingBox", - "documentation":"

    Specifies a geographical box surrounding a route. Used to zoom into a route when displaying it in a map. For example, [min x, min y, max x, max y].

    The first 2 bbox parameters describe the lower southwest corner:

    • The first bbox position is the X coordinate or longitude of the lower southwest corner.

    • The second bbox position is the Y coordinate or latitude of the lower southwest corner.

    The next 2 bbox parameters describe the upper northeast corner:

    • The third bbox position is the X coordinate, or longitude of the upper northeast corner.

    • The fourth bbox position is the Y coordinate, or latitude of the upper northeast corner.

    " + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The unit of measurement for route distances.

    " } }, "documentation":"

    A summary of the calculated route.

    " @@ -2020,6 +2064,23 @@ }, "documentation":"

    Contains details about additional route preferences for requests that specify TravelMode as Truck.

    " }, + "CellSignals":{ + "type":"structure", + "required":["LteCellDetails"], + "members":{ + "LteCellDetails":{ + "shape":"CellSignalsLteCellDetailsList", + "documentation":"

    Information about the Long-Term Evolution (LTE) network the device is connected to.

    " + } + }, + "documentation":"

    The cellular network communication infrastructure that the device uses.

    " + }, + "CellSignalsLteCellDetailsList":{ + "type":"list", + "member":{"shape":"LteCellDetails"}, + "max":16, + "min":1 + }, "Circle":{ "type":"structure", "required":[ @@ -2055,25 +2116,21 @@ }, "exception":true }, - "CountryCode":{ - "type":"string", - "pattern":"^[A-Z]{3}$" - }, "CountryCode3":{ "type":"string", "max":3, "min":3, - "pattern":"^[A-Z]{3}$" + "pattern":"[A-Z]{3}" }, "CountryCode3OrEmpty":{ "type":"string", "max":3, "min":0, - "pattern":"^[A-Z]{3}$|^$" + "pattern":"[A-Z]{3}$|^" }, "CountryCodeList":{ "type":"list", - "member":{"shape":"CountryCode"}, + "member":{"shape":"CountryCode3"}, "max":100, "min":1 }, @@ -2085,14 +2142,6 @@ "shape":"ResourceName", "documentation":"

    A custom name for the geofence collection.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

    • Must be a unique geofence collection name.

    • No spaces allowed. For example, ExampleGeofenceCollection.

    " }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    An optional description for the geofence collection.

    " - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", @@ -2105,28 +2154,36 @@ "deprecated":true, "deprecatedMessage":"Deprecated. No longer allowed." }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    An optional description for the geofence collection.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the geofence collection. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource

    • Each resource tag must be unique with a maximum of one value.

    • Maximum key length: 128 Unicode characters in UTF-8

    • Maximum value length: 256 Unicode characters in UTF-8

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

    • Cannot use \"aws:\" as a prefix for a key.

    " + }, + "KmsKeyId":{ + "shape":"KmsKeyId", + "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.

    " } } }, "CreateGeofenceCollectionResponse":{ "type":"structure", "required":[ - "CollectionArn", "CollectionName", + "CollectionArn", "CreateTime" ], "members":{ - "CollectionArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " - }, "CollectionName":{ "shape":"ResourceName", "documentation":"

    The name for the geofence collection.

    " }, + "CollectionArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " + }, "CreateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " @@ -2140,6 +2197,14 @@ "Restrictions" ], "members":{ + "KeyName":{ + "shape":"ResourceName", + "documentation":"

    A custom name for the API key resource.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

    • Must be a unique API key name.

    • No spaces allowed. For example, ExampleAPIKey.

    " + }, + "Restrictions":{ + "shape":"ApiKeyRestrictions", + "documentation":"

    The API key restrictions for the API key resource.

    " + }, "Description":{ "shape":"ResourceDescription", "documentation":"

    An optional description for the API key resource.

    " @@ -2148,18 +2213,10 @@ "shape":"Timestamp", "documentation":"

    The optional timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. One of NoExpiry or ExpireTime must be set.

    " }, - "KeyName":{ - "shape":"ResourceName", - "documentation":"

    A custom name for the API key resource.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

    • Must be a unique API key name.

    • No spaces allowed. For example, ExampleAPIKey.

    " - }, "NoExpiry":{ "shape":"Boolean", "documentation":"

    Optionally set to true to set no expiration time for the API key. One of NoExpiry or ExpireTime must be set.

    " }, - "Restrictions":{ - "shape":"ApiKeyRestrictions", - "documentation":"

    The API key restrictions for the API key resource.

    " - }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the map resource. A tag is a key-value pair that helps manage, identify, search, and filter your resources by labelling them.

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource

    • Each resource tag must be unique with a maximum of one value.

    • Maximum key length: 128 Unicode characters in UTF-8

    • Maximum value length: 256 Unicode characters in UTF-8

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

    • Cannot use \"aws:\" as a prefix for a key.

    " @@ -2169,16 +2226,12 @@ "CreateKeyResponse":{ "type":"structure", "required":[ - "CreateTime", "Key", "KeyArn", - "KeyName" + "KeyName", + "CreateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, "Key":{ "shape":"ApiKey", "documentation":"

    The key value/string of an API key. This value is used when making API calls to authorize the call. For example, see GetMapGlyphs.

    " @@ -2190,34 +2243,38 @@ "KeyName":{ "shape":"ResourceName", "documentation":"

    The name of the API key resource.

    " + }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, "CreateMapRequest":{ "type":"structure", "required":[ - "Configuration", - "MapName" + "MapName", + "Configuration" ], "members":{ - "Configuration":{ - "shape":"MapConfiguration", - "documentation":"

    Specifies the MapConfiguration, including the map style, for the map resource that you create. The map style defines the look of maps and the data provider for your map resource.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    An optional description for the map resource.

    " - }, "MapName":{ "shape":"ResourceName", "documentation":"

    The name for the map resource.

    Requirements:

    • Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

    • Must be a unique map resource name.

    • No spaces allowed. For example, ExampleMap.

    " }, + "Configuration":{ + "shape":"MapConfiguration", + "documentation":"

    Specifies the MapConfiguration, including the map style, for the map resource that you create. The map style defines the look of maps and the data provider for your map resource.

    " + }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    An optional description for the map resource.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource

    • Each resource tag must be unique with a maximum of one value.

    • Maximum key length: 128 Unicode characters in UTF-8

    • Maximum value length: 256 Unicode characters in UTF-8

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

    • Cannot use \"aws:\" as a prefix for a key.

    " @@ -2227,54 +2284,54 @@ "CreateMapResponse":{ "type":"structure", "required":[ - "CreateTime", + "MapName", "MapArn", - "MapName" + "CreateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "MapName":{ + "shape":"ResourceName", + "documentation":"

    The name of the map resource.

    " }, "MapArn":{ "shape":"GeoArn", "documentation":"

    The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:map/ExampleMap

    " }, - "MapName":{ - "shape":"ResourceName", - "documentation":"

    The name of the map resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, "CreatePlaceIndexRequest":{ "type":"structure", "required":[ - "DataSource", - "IndexName" + "IndexName", + "DataSource" ], "members":{ - "DataSource":{ - "shape":"String", - "documentation":"

    Specifies the geospatial data provider for the new place index.

    This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

    Valid values include:

    For additional information , see Data providers on the Amazon Location Service Developer Guide.

    " - }, - "DataSourceConfiguration":{ - "shape":"DataSourceConfiguration", - "documentation":"

    Specifies the data storage option requesting Places.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description for the place index resource.

    " - }, "IndexName":{ "shape":"ResourceName", "documentation":"

    The name of the place index resource.

    Requirements:

    • Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).

    • Must be a unique place index resource name.

    • No spaces allowed. For example, ExamplePlaceIndex.

    " }, + "DataSource":{ + "shape":"String", + "documentation":"

    Specifies the geospatial data provider for the new place index.

    This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

    Valid values include:

    For additional information , see Data providers on the Amazon Location Service Developer Guide.

    " + }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description for the place index resource.

    " + }, + "DataSourceConfiguration":{ + "shape":"DataSourceConfiguration", + "documentation":"

    Specifies the data storage option requesting Places.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the place index resource. A tag is a key-value pair that helps you manage, identify, search, and filter your resources.

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource.

    • Each tag key must be unique and must have exactly one associated value.

    • Maximum key length: 128 Unicode characters in UTF-8.

    • Maximum value length: 256 Unicode characters in UTF-8.

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @

    • Cannot use \"aws:\" as a prefix for a key.

    " @@ -2284,22 +2341,22 @@ "CreatePlaceIndexResponse":{ "type":"structure", "required":[ - "CreateTime", + "IndexName", "IndexArn", - "IndexName" + "CreateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "IndexName":{ + "shape":"ResourceName", + "documentation":"

    The name for the place index resource.

    " }, "IndexArn":{ "shape":"GeoArn", "documentation":"

    The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    " }, - "IndexName":{ - "shape":"ResourceName", - "documentation":"

    The name for the place index resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, @@ -2318,16 +2375,16 @@ "shape":"String", "documentation":"

    Specifies the data provider of traffic and road network data.

    This field is case-sensitive. Enter the valid values as shown. For example, entering HERE returns an error.

    Valid values include:

    For additional information , see Data providers on the Amazon Location Service Developer Guide.

    " }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description for the route calculator resource.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description for the route calculator resource.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the route calculator resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

    • For example: { \"tag1\" : \"value1\", \"tag2\" : \"value2\"}

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource

    • Each resource tag must be unique with a maximum of one value.

    • Maximum key length: 128 Unicode characters in UTF-8

    • Maximum value length: 256 Unicode characters in UTF-8

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

    • Cannot use \"aws:\" as a prefix for a key.

    " @@ -2337,19 +2394,19 @@ "CreateRouteCalculatorResponse":{ "type":"structure", "required":[ - "CalculatorArn", "CalculatorName", + "CalculatorArn", "CreateTime" ], "members":{ - "CalculatorArn":{ - "shape":"GeoArn", - "documentation":"

    The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator

    " - }, "CalculatorName":{ "shape":"ResourceName", "documentation":"

    The name of the route calculator resource.

    • For example, ExampleRouteCalculator.

    " }, + "CalculatorArn":{ + "shape":"GeoArn", + "documentation":"

    The Amazon Resource Name (ARN) for the route calculator resource. Use the ARN when you specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator

    " + }, "CreateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " @@ -2360,25 +2417,9 @@ "type":"structure", "required":["TrackerName"], "members":{ - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    An optional description for the tracker resource.

    " - }, - "EventBridgeEnabled":{ - "shape":"Boolean", - "documentation":"

    Whether to enable position UPDATE events from this tracker to be sent to EventBridge.

    You do not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events are always sent to EventBridge.

    " - }, - "KmsKeyEnableGeospatialQueries":{ - "shape":"Boolean", - "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.

    You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries parameter to true when creating or updating a Tracker.

    " - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.

    " - }, - "PositionFiltering":{ - "shape":"PositionFiltering", - "documentation":"

    Specifies the position filtering for the tracker resource.

    Valid values:

    • TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.

    • DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.

    • AccuracyBased - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.

    This field is optional. If not specified, the default value is TimeBased.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name for the tracker resource.

    Requirements:

    • Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).

    • Must be a unique tracker resource name.

    • No spaces allowed. For example, ExampleTracker.

    " }, "PricingPlan":{ "shape":"PricingPlan", @@ -2386,41 +2427,57 @@ "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." }, + "KmsKeyId":{ + "shape":"KmsKeyId", + "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.

    " + }, "PricingPlanDataSource":{ "shape":"String", "documentation":"

    This parameter is no longer used.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. No longer allowed." }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    An optional description for the tracker resource.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Applies one or more tags to the tracker resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.

    Format: \"key\" : \"value\"

    Restrictions:

    • Maximum 50 tags per resource

    • Each resource tag must be unique with a maximum of one value.

    • Maximum key length: 128 Unicode characters in UTF-8

    • Maximum value length: 256 Unicode characters in UTF-8

    • Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.

    • Cannot use \"aws:\" as a prefix for a key.

    " }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The name for the tracker resource.

    Requirements:

    • Contain only alphanumeric characters (A-Z, a-z, 0-9) , hyphens (-), periods (.), and underscores (_).

    • Must be a unique tracker resource name.

    • No spaces allowed. For example, ExampleTracker.

    " + "PositionFiltering":{ + "shape":"PositionFiltering", + "documentation":"

    Specifies the position filtering for the tracker resource.

    Valid values:

    • TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.

    • DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.

    • AccuracyBased - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations.

    This field is optional. If not specified, the default value is TimeBased.

    " + }, + "EventBridgeEnabled":{ + "shape":"Boolean", + "documentation":"

    Whether to enable position UPDATE events from this tracker to be sent to EventBridge.

    You do not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events are always sent to EventBridge.

    " + }, + "KmsKeyEnableGeospatialQueries":{ + "shape":"Boolean", + "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.

    You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries parameter to true when creating or updating a Tracker.

    " } } }, "CreateTrackerResponse":{ "type":"structure", "required":[ - "CreateTime", + "TrackerName", "TrackerArn", - "TrackerName" + "CreateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name of the tracker resource.

    " }, "TrackerArn":{ "shape":"Arn", "documentation":"

    The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    " }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The name of the tracker resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, @@ -2428,7 +2485,7 @@ "type":"string", "max":100, "min":1, - "pattern":"^[-._\\w]+$" + "pattern":"[-._\\w]+" }, "CustomLayerList":{ "type":"list", @@ -2467,17 +2524,17 @@ "type":"structure", "required":["KeyName"], "members":{ - "ForceDelete":{ - "shape":"Boolean", - "documentation":"

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

    Valid values: true, or false.

    Required: No

    This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.

    ", - "location":"querystring", - "locationName":"forceDelete" - }, "KeyName":{ "shape":"ResourceName", "documentation":"

    The name of the API key to delete.

    ", "location":"uri", "locationName":"KeyName" + }, + "ForceDelete":{ + "shape":"Boolean", + "documentation":"

    ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

    Valid values: true, or false.

    Required: No

    This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.

    ", + "location":"querystring", + "locationName":"forceDelete" } } }, @@ -2569,37 +2626,25 @@ "DescribeGeofenceCollectionResponse":{ "type":"structure", "required":[ - "CollectionArn", "CollectionName", - "CreateTime", + "CollectionArn", "Description", + "CreateTime", "UpdateTime" ], "members":{ - "CollectionArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " - }, "CollectionName":{ "shape":"ResourceName", "documentation":"

    The name of the geofence collection.

    " }, - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, - "Description":{ + "CollectionArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " + }, + "Description":{ "shape":"ResourceDescription", "documentation":"

    The optional description for the geofence collection.

    " }, - "GeofenceCount":{ - "shape":"DescribeGeofenceCollectionResponseGeofenceCountInteger", - "documentation":"

    The number of geofences in the geofence collection.

    " - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. Always returns RequestBasedUsage.

    ", @@ -2612,13 +2657,25 @@ "deprecated":true, "deprecatedMessage":"Deprecated. Unused." }, + "KmsKeyId":{ + "shape":"KmsKeyId", + "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Displays the key, value pairs of tags associated with this resource.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "GeofenceCount":{ + "shape":"DescribeGeofenceCollectionResponseGeofenceCountInteger", + "documentation":"

    The number of geofences in the geofence collection.

    " } } }, @@ -2642,27 +2699,15 @@ "DescribeKeyResponse":{ "type":"structure", "required":[ - "CreateTime", - "ExpireTime", "Key", "KeyArn", "KeyName", "Restrictions", + "CreateTime", + "ExpireTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description for the API key resource.

    " - }, - "ExpireTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, "Key":{ "shape":"ApiKey", "documentation":"

    The key value/string of an API key.

    " @@ -2676,13 +2721,25 @@ "documentation":"

    The name of the API key resource.

    " }, "Restrictions":{"shape":"ApiKeyRestrictions"}, - "Tags":{ - "shape":"TagMap", - "documentation":"

    Tags associated with the API key resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the API key resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "ExpireTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the API key resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description for the API key resource.

    " + }, + "Tags":{ + "shape":"TagMap", + "documentation":"

    Tags associated with the API key resource.

    " } } }, @@ -2701,49 +2758,49 @@ "DescribeMapResponse":{ "type":"structure", "required":[ - "Configuration", - "CreateTime", + "MapName", + "MapArn", "DataSource", + "Configuration", "Description", - "MapArn", - "MapName", + "CreateTime", "UpdateTime" ], "members":{ - "Configuration":{ - "shape":"MapConfiguration", - "documentation":"

    Specifies the map tile style selected from a partner data provider.

    " - }, - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "DataSource":{ - "shape":"String", - "documentation":"

    Specifies the data provider for the associated map tiles.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description for the map resource.

    " + "MapName":{ + "shape":"ResourceName", + "documentation":"

    The map style selected from an available provider.

    " }, "MapArn":{ "shape":"GeoArn", "documentation":"

    The Amazon Resource Name (ARN) for the map resource. Used to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:map/ExampleMap

    " }, - "MapName":{ - "shape":"ResourceName", - "documentation":"

    The map style selected from an available provider.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. Always returns RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." }, + "DataSource":{ + "shape":"String", + "documentation":"

    Specifies the data provider for the associated map tiles.

    " + }, + "Configuration":{ + "shape":"MapConfiguration", + "documentation":"

    Specifies the map tile style selected from a partner data provider.

    " + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description for the map resource.

    " + }, "Tags":{ "shape":"TagMap", "documentation":"

    Tags associated with the map resource.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the map resource was last update in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -2765,52 +2822,52 @@ "DescribePlaceIndexResponse":{ "type":"structure", "required":[ + "IndexName", + "IndexArn", + "Description", "CreateTime", + "UpdateTime", "DataSource", - "DataSourceConfiguration", - "Description", - "IndexArn", - "IndexName", - "UpdateTime" + "DataSourceConfiguration" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "DataSource":{ - "shape":"String", - "documentation":"

    The data provider of geospatial data. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " - }, - "DataSourceConfiguration":{ - "shape":"DataSourceConfiguration", - "documentation":"

    The specified data storage option for requesting Places.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description for the place index resource.

    " + "IndexName":{ + "shape":"ResourceName", + "documentation":"

    The name of the place index resource being described.

    " }, "IndexArn":{ "shape":"GeoArn", "documentation":"

    The Amazon Resource Name (ARN) for the place index resource. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:place-index/ExamplePlaceIndex

    " }, - "IndexName":{ - "shape":"ResourceName", - "documentation":"

    The name of the place index resource being described.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. Always returns RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." }, - "Tags":{ - "shape":"TagMap", - "documentation":"

    Tags associated with place index resource.

    " + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description for the place index resource.

    " + }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "DataSource":{ + "shape":"String", + "documentation":"

    The data provider of geospatial data. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " + }, + "DataSourceConfiguration":{ + "shape":"DataSourceConfiguration", + "documentation":"

    The specified data storage option for requesting Places.

    " + }, + "Tags":{ + "shape":"TagMap", + "documentation":"

    Tags associated with place index resource.

    " } } }, @@ -2829,47 +2886,47 @@ "DescribeRouteCalculatorResponse":{ "type":"structure", "required":[ - "CalculatorArn", "CalculatorName", - "CreateTime", - "DataSource", + "CalculatorArn", "Description", - "UpdateTime" + "CreateTime", + "UpdateTime", + "DataSource" ], "members":{ + "CalculatorName":{ + "shape":"ResourceName", + "documentation":"

    The name of the route calculator resource being described.

    " + }, "CalculatorArn":{ "shape":"GeoArn", "documentation":"

    The Amazon Resource Name (ARN) for the Route calculator resource. Use the ARN when you specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:route-calculator/ExampleCalculator

    " }, - "CalculatorName":{ - "shape":"ResourceName", - "documentation":"

    The name of the route calculator resource being described.

    " + "PricingPlan":{ + "shape":"PricingPlan", + "documentation":"

    Always returns RequestBasedUsage.

    ", + "deprecated":true, + "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description of the route calculator resource.

    " }, "CreateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " }, + "UpdateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " + }, "DataSource":{ "shape":"String", "documentation":"

    The data provider of traffic and road network data. Indicates one of the available providers:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description of the route calculator resource.

    " - }, - "PricingPlan":{ - "shape":"PricingPlan", - "documentation":"

    Always returns RequestBasedUsage.

    ", - "deprecated":true, - "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." - }, "Tags":{ "shape":"TagMap", "documentation":"

    Tags associated with route calculator resource.

    " - }, - "UpdateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " } } }, @@ -2888,37 +2945,25 @@ "DescribeTrackerResponse":{ "type":"structure", "required":[ - "CreateTime", - "Description", - "TrackerArn", "TrackerName", + "TrackerArn", + "Description", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name of the tracker resource.

    " + }, + "TrackerArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    " }, "Description":{ "shape":"ResourceDescription", "documentation":"

    The optional description for the tracker resource.

    " }, - "EventBridgeEnabled":{ - "shape":"Boolean", - "documentation":"

    Whether UPDATE events from this tracker in EventBridge are enabled. If set to true these events will be sent to EventBridge.

    " - }, - "KmsKeyEnableGeospatialQueries":{ - "shape":"Boolean", - "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.

    You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries parameter to true when creating or updating a Tracker.

    " - }, - "KmsKeyId":{ - "shape":"KmsKeyId", - "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource.

    " - }, - "PositionFiltering":{ - "shape":"PositionFiltering", - "documentation":"

    The position filtering method of the tracker resource.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    Always returns RequestBasedUsage.

    ", @@ -2935,51 +2980,63 @@ "shape":"TagMap", "documentation":"

    The tags associated with the tracker resource.

    " }, - "TrackerArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) for the tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    " - }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The name of the tracker resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "KmsKeyId":{ + "shape":"KmsKeyId", + "documentation":"

    A key identifier for an Amazon Web Services KMS customer managed key assigned to the Amazon Location resource.

    " + }, + "PositionFiltering":{ + "shape":"PositionFiltering", + "documentation":"

    The position filtering method of the tracker resource.

    " + }, + "EventBridgeEnabled":{ + "shape":"Boolean", + "documentation":"

    Whether UPDATE events from this tracker in EventBridge are enabled. If set to true these events will be sent to EventBridge.

    " + }, + "KmsKeyEnableGeospatialQueries":{ + "shape":"Boolean", + "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    If you wish to encrypt your data using your own KMS customer managed key, then the Bounding Polygon Queries feature will be disabled by default. This is because by using this feature, a representation of your device positions will not be encrypted using the your KMS managed key. The exact device position, however; is still encrypted using your managed key.

    You can choose to opt-in to the Bounding Polygon Quseries feature. This is done by setting the KmsKeyEnableGeospatialQueries parameter to true when creating or updating a Tracker.

    " } } }, "DevicePosition":{ "type":"structure", "required":[ - "Position", + "SampleTime", "ReceivedTime", - "SampleTime" + "Position" ], "members":{ - "Accuracy":{ - "shape":"PositionalAccuracy", - "documentation":"

    The accuracy of the device position.

    " - }, "DeviceId":{ "shape":"Id", "documentation":"

    The device whose position you retrieved.

    " }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "ReceivedTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "Position":{ "shape":"Position", "documentation":"

    The last known device position.

    " }, + "Accuracy":{ + "shape":"PositionalAccuracy", + "documentation":"

    The accuracy of the device position.

    " + }, "PositionProperties":{ "shape":"PropertyMap", "documentation":"

    The properties associated with the position.

    " - }, - "ReceivedTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "SampleTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } }, "documentation":"

    Contains the device position details.

    " @@ -2992,32 +3049,72 @@ "type":"structure", "required":[ "DeviceId", - "Position", - "SampleTime" + "SampleTime", + "Position" ], "members":{ + "DeviceId":{ + "shape":"Id", + "documentation":"

    The device associated to the position update.

    " + }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "Position":{ + "shape":"Position", + "documentation":"

    The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

    " + }, "Accuracy":{ "shape":"PositionalAccuracy", "documentation":"

    The accuracy of the device position.

    " }, + "PositionProperties":{ + "shape":"PropertyMap", + "documentation":"

    Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.

    Format: \"key\" : \"value\"

    " + } + }, + "documentation":"

    Contains the position update details for a device.

    " + }, + "DeviceState":{ + "type":"structure", + "required":[ + "DeviceId", + "SampleTime", + "Position" + ], + "members":{ "DeviceId":{ "shape":"Id", - "documentation":"

    The device associated to the position update.

    " + "documentation":"

    The device identifier.

    " + }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "Position":{ "shape":"Position", - "documentation":"

    The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

    " + "documentation":"

    The last known device position.

    " }, - "PositionProperties":{ - "shape":"PropertyMap", - "documentation":"

    Associates one of more properties with the position update. A property is a key-value pair stored with the position update and added to any geofence event the update may trigger.

    Format: \"key\" : \"value\"

    " + "Accuracy":{"shape":"PositionalAccuracy"}, + "Ipv4Address":{ + "shape":"DeviceStateIpv4AddressString", + "documentation":"

    The device's Ipv4 address.

    " }, - "SampleTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + "WiFiAccessPoints":{ + "shape":"WiFiAccessPointList", + "documentation":"

    The Wi-Fi access points the device is using.

    " + }, + "CellSignals":{ + "shape":"CellSignals", + "documentation":"

    The cellular network infrastructure that the device is connected to.

    " } }, - "documentation":"

    Contains the position update details for a device.

    " + "documentation":"

    The device's position, IP address, and Wi-Fi access points.

    " + }, + "DeviceStateIpv4AddressString":{ + "type":"string", + "pattern":"(?:(?:25[0-5]|(?:2[0-4]|1\\d|[0-9]|)\\d)\\.?\\b){4}" }, "DimensionUnit":{ "type":"string", @@ -3029,21 +3126,21 @@ "DisassociateTrackerConsumerRequest":{ "type":"structure", "required":[ - "ConsumerArn", - "TrackerName" + "TrackerName", + "ConsumerArn" ], "members":{ - "ConsumerArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection to be disassociated from the tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

    ", - "location":"uri", - "locationName":"ConsumerArn" - }, "TrackerName":{ "shape":"ResourceName", "documentation":"

    The name of the tracker resource to be dissociated from the consumer.

    ", "location":"uri", "locationName":"TrackerName" + }, + "ConsumerArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) for the geofence collection to be disassociated from the tracker resource. Used when you need to specify a resource across all Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollectionConsumer

    ", + "location":"uri", + "locationName":"ConsumerArn" } } }, @@ -3063,53 +3160,220 @@ "type":"double", "box":true }, + "Earfcn":{ + "type":"integer", + "max":262143, + "min":0 + }, + "EutranCellId":{ + "type":"integer", + "max":268435455, + "min":0 + }, "FilterPlaceCategoryList":{ "type":"list", "member":{"shape":"PlaceCategory"}, "max":5, "min":1 }, + "ForecastGeofenceEventsDeviceState":{ + "type":"structure", + "required":["Position"], + "members":{ + "Position":{ + "shape":"Position", + "documentation":"

    The device's position.

    " + }, + "Speed":{ + "shape":"ForecastGeofenceEventsDeviceStateSpeedDouble", + "documentation":"

    The device's speed.

    " + } + }, + "documentation":"

    The device's position, IP address, and WiFi access points.

    " + }, + "ForecastGeofenceEventsDeviceStateSpeedDouble":{ + "type":"double", + "box":true, + "min":0 + }, + "ForecastGeofenceEventsRequest":{ + "type":"structure", + "required":[ + "CollectionName", + "DeviceState" + ], + "members":{ + "CollectionName":{ + "shape":"ResourceName", + "documentation":"

    The name of the geofence collection.

    ", + "location":"uri", + "locationName":"CollectionName" + }, + "DeviceState":{ + "shape":"ForecastGeofenceEventsDeviceState", + "documentation":"

    The device's state, including current position and speed.

    " + }, + "TimeHorizonMinutes":{ + "shape":"ForecastGeofenceEventsRequestTimeHorizonMinutesDouble", + "documentation":"

    Specifies the time horizon in minutes for the forecasted events.

    " + }, + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

    Default Value: Kilometers

    " + }, + "SpeedUnit":{ + "shape":"SpeedUnit", + "documentation":"

    The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

    Default Value: KilometersPerHour.

    " + }, + "NextToken":{ + "shape":"LargeToken", + "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " + }, + "MaxResults":{ + "shape":"ForecastGeofenceEventsRequestMaxResultsInteger", + "documentation":"

    An optional limit for the number of resources returned in a single call.

    Default value: 20

    " + } + } + }, + "ForecastGeofenceEventsRequestMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":20, + "min":1 + }, + "ForecastGeofenceEventsRequestTimeHorizonMinutesDouble":{ + "type":"double", + "box":true, + "min":0 + }, + "ForecastGeofenceEventsResponse":{ + "type":"structure", + "required":[ + "ForecastedEvents", + "DistanceUnit", + "SpeedUnit" + ], + "members":{ + "ForecastedEvents":{ + "shape":"ForecastedEventsList", + "documentation":"

    The list of forecasted events.

    " + }, + "NextToken":{ + "shape":"LargeToken", + "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    " + }, + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The distance unit for the forecasted events.

    " + }, + "SpeedUnit":{ + "shape":"SpeedUnit", + "documentation":"

    The speed unit for the forecasted events.

    " + } + } + }, + "ForecastedEvent":{ + "type":"structure", + "required":[ + "EventId", + "GeofenceId", + "IsDeviceInGeofence", + "NearestDistance", + "EventType" + ], + "members":{ + "EventId":{ + "shape":"Uuid", + "documentation":"

    The forecasted event identifier.

    " + }, + "GeofenceId":{ + "shape":"Id", + "documentation":"

    The geofence identifier pertaining to the forecasted event.

    " + }, + "IsDeviceInGeofence":{ + "shape":"Boolean", + "documentation":"

    Indicates if the device is located within the geofence.

    " + }, + "NearestDistance":{ + "shape":"NearestDistance", + "documentation":"

    The closest distance from the device's position to the geofence.

    " + }, + "EventType":{ + "shape":"ForecastedGeofenceEventType", + "documentation":"

    The event type, forecasting three states for which a device can be in relative to a geofence:

    ENTER: If a device is outside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.

    EXIT: If a device is inside of a geofence, but would breach the fence if the device is moving at its current speed within time horizon window.

    IDLE: If a device is inside of a geofence, and the device is not moving.

    " + }, + "ForecastedBreachTime":{ + "shape":"Timestamp", + "documentation":"

    The forecasted time the device will breach the geofence in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "GeofenceProperties":{ + "shape":"PropertyMap", + "documentation":"

    The geofence properties.

    " + } + }, + "documentation":"

    A forecasted event represents a geofence event in relation to the requested device state, that may occur given the provided device state and time horizon.

    " + }, + "ForecastedEventsList":{ + "type":"list", + "member":{"shape":"ForecastedEvent"} + }, + "ForecastedGeofenceEventType":{ + "type":"string", + "enum":[ + "ENTER", + "EXIT", + "IDLE" + ] + }, "GeoArn":{ "type":"string", "max":1600, "min":0, - "pattern":"^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0-9]+)*))(:[0-9]+):((\\*)|([-a-z]+[/][*-._\\w]+))$" + "pattern":"arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0-9]+)*))(:[0-9]+):((\\*)|([-a-z]+[/][*-._\\w]+))" + }, + "GeoArnV2":{ + "type":"string", + "max":1600, + "min":0, + "pattern":".*(^arn(:[a-z0-9]+([.-][a-z0-9]+)*):geo(:([a-z0-9]+([.-][a-z0-9]+)*))(:[0-9]+):((\\*)|([-a-z]+[/][*-._\\w]+))$)|(^arn(:[a-z0-9]+([.-][a-z0-9]+)*):(geo-routes|geo-places|geo-maps)(:((\\*)|([a-z0-9]+([.-][a-z0-9]+)*)))::((provider[\\/][*-._\\w]+))$).*" }, "GeofenceGeometry":{ "type":"structure", "members":{ + "Polygon":{ + "shape":"LinearRings", + "documentation":"

    A polygon is a list of linear rings which are each made up of a list of vertices.

    Each vertex is a 2-dimensional point of the form: [longitude, latitude]. This is represented as an array of doubles of length 2 (so [double, double]).

    An array of 4 or more vertices, where the first and last vertex are the same (to form a closed boundary), is called a linear ring. The linear ring vertices must be listed in counter-clockwise order around the ring’s interior. The linear ring is represented as an array of vertices, or an array of arrays of doubles ([[double, double], ...]).

    A geofence consists of a single linear ring. To allow for future expansion, the Polygon parameter takes an array of linear rings, which is represented as an array of arrays of arrays of doubles ([[[double, double], ...], ...]).

    A linear ring for use in geofences can consist of between 4 and 1,000 vertices.

    " + }, "Circle":{ "shape":"Circle", "documentation":"

    A circle on the earth, as defined by a center point and a radius.

    " }, - "Polygon":{ - "shape":"LinearRings", - "documentation":"

    A polygon is a list of linear rings which are each made up of a list of vertices.

    Each vertex is a 2-dimensional point of the form: [longitude, latitude]. This is represented as an array of doubles of length 2 (so [double, double]).

    An array of 4 or more vertices, where the first and last vertex are the same (to form a closed boundary), is called a linear ring. The linear ring vertices must be listed in counter-clockwise order around the ring’s interior. The linear ring is represented as an array of vertices, or an array of arrays of doubles ([[double, double], ...]).

    A geofence consists of a single linear ring. To allow for future expansion, the Polygon parameter takes an array of linear rings, which is represented as an array of arrays of arrays of doubles ([[[double, double], ...], ...]).

    A linear ring for use in geofences can consist of between 4 and 1,000 vertices.

    " + "Geobuf":{ + "shape":"Base64EncodedGeobuf", + "documentation":"

    Geobuf is a compact binary encoding for geographic data that provides lossless compression of GeoJSON polygons. The Geobuf must be Base64-encoded.

    A polygon in Geobuf format can have up to 100,000 vertices.

    " } }, - "documentation":"

    Contains the geofence geometry details.

    A geofence geometry is made up of either a polygon or a circle. Can be either a polygon or a circle. Including both will return a validation error.

    Amazon Location doesn't currently support polygons with holes, multipolygons, polygons that are wound clockwise, or that cross the antimeridian.

    " + "documentation":"

    Contains the geofence geometry details.

    A geofence geometry is made up of either a polygon or a circle. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.

    Amazon Location doesn't currently support polygons with holes, multipolygons, polygons that are wound clockwise, or that cross the antimeridian.

    " }, "GetDevicePositionHistoryRequest":{ "type":"structure", "required":[ - "DeviceId", - "TrackerName" + "TrackerName", + "DeviceId" ], "members":{ + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The tracker resource receiving the request for the device position history.

    ", + "location":"uri", + "locationName":"TrackerName" + }, "DeviceId":{ "shape":"Id", "documentation":"

    The device whose position history you want to retrieve.

    ", "location":"uri", "locationName":"DeviceId" }, - "EndTimeExclusive":{ - "shape":"Timestamp", - "documentation":"

    Specify the end time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made.

    Requirement:

    • The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.

    " - }, - "MaxResults":{ - "shape":"GetDevicePositionHistoryRequestMaxResultsInteger", - "documentation":"

    An optional limit for the number of device positions returned in a single call.

    Default value: 100

    " - }, "NextToken":{ "shape":"Token", "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " @@ -3118,11 +3382,13 @@ "shape":"Timestamp", "documentation":"

    Specify the start time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be 24 hours prior to the time that the request is made.

    Requirement:

    • The time specified for StartTimeInclusive must be before EndTimeExclusive.

    " }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The tracker resource receiving the request for the device position history.

    ", - "location":"uri", - "locationName":"TrackerName" + "EndTimeExclusive":{ + "shape":"Timestamp", + "documentation":"

    Specify the end time for the position history in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. By default, the value will be the time that the request is made.

    Requirement:

    • The time specified for EndTimeExclusive must be after the time for StartTimeInclusive.

    " + }, + "MaxResults":{ + "shape":"GetDevicePositionHistoryRequestMaxResultsInteger", + "documentation":"

    An optional limit for the number of device positions returned in a single call.

    Default value: 100

    " } } }, @@ -3149,55 +3415,55 @@ "GetDevicePositionRequest":{ "type":"structure", "required":[ - "DeviceId", - "TrackerName" + "TrackerName", + "DeviceId" ], "members":{ - "DeviceId":{ - "shape":"Id", - "documentation":"

    The device whose position you want to retrieve.

    ", - "location":"uri", - "locationName":"DeviceId" - }, "TrackerName":{ "shape":"ResourceName", "documentation":"

    The tracker resource receiving the position update.

    ", "location":"uri", "locationName":"TrackerName" + }, + "DeviceId":{ + "shape":"Id", + "documentation":"

    The device whose position you want to retrieve.

    ", + "location":"uri", + "locationName":"DeviceId" } } }, "GetDevicePositionResponse":{ "type":"structure", "required":[ - "Position", + "SampleTime", "ReceivedTime", - "SampleTime" + "Position" ], "members":{ - "Accuracy":{ - "shape":"PositionalAccuracy", - "documentation":"

    The accuracy of the device position.

    " - }, "DeviceId":{ "shape":"Id", "documentation":"

    The device whose position you retrieved.

    " }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "ReceivedTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource received the device position. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "Position":{ "shape":"Position", "documentation":"

    The last known device position.

    " }, + "Accuracy":{ + "shape":"PositionalAccuracy", + "documentation":"

    The accuracy of the device position.

    " + }, "PositionProperties":{ "shape":"PropertyMap", "documentation":"

    The properties associated with the position.

    " - }, - "ReceivedTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "SampleTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, @@ -3225,25 +3491,17 @@ "GetGeofenceResponse":{ "type":"structure", "required":[ - "CreateTime", "GeofenceId", "Geometry", "Status", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence identifier.

    " }, - "GeofenceProperties":{ - "shape":"PropertyMap", - "documentation":"

    User defined properties of the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " - }, "Geometry":{ "shape":"GeofenceGeometry", "documentation":"

    Contains the geofence geometry details describing a polygon or a circle.

    " @@ -3252,23 +3510,37 @@ "shape":"String", "documentation":"

    Identifies the state of the geofence. A geofence will hold one of the following states:

    • ACTIVE — The geofence has been indexed by the system.

    • PENDING — The geofence is being processed by the system.

    • FAILED — The geofence failed to be indexed by the system.

    • DELETED — The geofence has been deleted from the system index.

    • DELETING — The geofence is being deleted from the system index.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "GeofenceProperties":{ + "shape":"PropertyMap", + "documentation":"

    User defined properties of the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " } } }, "GetMapGlyphsRequest":{ "type":"structure", "required":[ + "MapName", "FontStack", - "FontUnicodeRange", - "MapName" + "FontUnicodeRange" ], "members":{ + "MapName":{ + "shape":"ResourceName", + "documentation":"

    The map resource associated with the glyph file.

    ", + "location":"uri", + "locationName":"MapName" + }, "FontStack":{ "shape":"String", - "documentation":"

    A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode.

    Valid font stacks for Esri styles:

    • VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | Ubuntu Italic | Ubuntu Regular | Ubuntu Bold

    • VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light | Ubuntu Bold

    • VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic

    • VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold

    • VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold | Arial Unicode MS Bold | Arial Unicode MS Regular

    Valid font stacks for HERE Technologies styles:

    • VectorHereContrast – Fira GO Regular | Fira GO Bold

    • VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | Noto Sans CJK JP Light | Noto Sans CJK JP Regular

    Valid font stacks for GrabMaps styles:

    • VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium | Noto Sans Bold

    Valid font stacks for Open Data styles:

    • VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | Amazon Ember Regular Italic,Noto Sans Italic | Amazon Ember Condensed RC Regular,Noto Sans Regular | Amazon Ember Condensed RC Bold,Noto Sans Bold | Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium

    The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs but Noto Sans for glyphs unsupported by Amazon Ember.

    ", + "documentation":"

    A comma-separated list of fonts to load glyphs from in order of preference. For example, Noto Sans Regular, Arial Unicode.

    Valid font stacks for Esri styles:

    • VectorEsriDarkGrayCanvas – Ubuntu Medium Italic | Ubuntu Medium | Ubuntu Italic | Ubuntu Regular | Ubuntu Bold

    • VectorEsriLightGrayCanvas – Ubuntu Italic | Ubuntu Regular | Ubuntu Light | Ubuntu Bold

    • VectorEsriTopographic – Noto Sans Italic | Noto Sans Regular | Noto Sans Bold | Noto Serif Regular | Roboto Condensed Light Italic

    • VectorEsriStreets – Arial Regular | Arial Italic | Arial Bold

    • VectorEsriNavigation – Arial Regular | Arial Italic | Arial Bold

    Valid font stacks for HERE Technologies styles:

    • VectorHereContrast – Fira GO Regular | Fira GO Bold

    • VectorHereExplore, VectorHereExploreTruck, HybridHereExploreSatellite – Fira GO Italic | Fira GO Map | Fira GO Map Bold | Noto Sans CJK JP Bold | Noto Sans CJK JP Light | Noto Sans CJK JP Regular

    Valid font stacks for GrabMaps styles:

    • VectorGrabStandardLight, VectorGrabStandardDark – Noto Sans Regular | Noto Sans Medium | Noto Sans Bold

    Valid font stacks for Open Data styles:

    • VectorOpenDataStandardLight, VectorOpenDataStandardDark, VectorOpenDataVisualizationLight, VectorOpenDataVisualizationDark – Amazon Ember Regular,Noto Sans Regular | Amazon Ember Bold,Noto Sans Bold | Amazon Ember Medium,Noto Sans Medium | Amazon Ember Regular Italic,Noto Sans Italic | Amazon Ember Condensed RC Regular,Noto Sans Regular | Amazon Ember Condensed RC Bold,Noto Sans Bold | Amazon Ember Regular,Noto Sans Regular,Noto Sans Arabic Regular | Amazon Ember Condensed RC Bold,Noto Sans Bold,Noto Sans Arabic Condensed Bold | Amazon Ember Bold,Noto Sans Bold,Noto Sans Arabic Bold | Amazon Ember Regular Italic,Noto Sans Italic,Noto Sans Arabic Regular | Amazon Ember Condensed RC Regular,Noto Sans Regular,Noto Sans Arabic Condensed Regular | Amazon Ember Medium,Noto Sans Medium,Noto Sans Arabic Medium

    The fonts used by the Open Data map styles are combined fonts that use Amazon Ember for most glyphs but Noto Sans for glyphs unsupported by Amazon Ember.

    ", "location":"uri", "locationName":"FontStack" }, @@ -3283,18 +3555,12 @@ "documentation":"

    The optional API key to authorize the request.

    ", "location":"querystring", "locationName":"key" - }, - "MapName":{ - "shape":"ResourceName", - "documentation":"

    The map resource associated with the glyph file.

    ", - "location":"uri", - "locationName":"MapName" } } }, "GetMapGlyphsRequestFontUnicodeRangeString":{ "type":"string", - "pattern":"^[0-9]+-[0-9]+\\.pbf$" + "pattern":"[0-9]+-[0-9]+\\.pbf" }, "GetMapGlyphsResponse":{ "type":"structure", @@ -3303,17 +3569,17 @@ "shape":"Blob", "documentation":"

    The glyph, as binary blob.

    " }, - "CacheControl":{ - "shape":"String", - "documentation":"

    The HTTP Cache-Control directive for the value.

    ", - "location":"header", - "locationName":"Cache-Control" - }, "ContentType":{ "shape":"String", "documentation":"

    The map glyph content type. For example, application/octet-stream.

    ", "location":"header", "locationName":"Content-Type" + }, + "CacheControl":{ + "shape":"String", + "documentation":"

    The HTTP Cache-Control directive for the value.

    ", + "location":"header", + "locationName":"Cache-Control" } }, "payload":"Blob" @@ -3321,33 +3587,33 @@ "GetMapSpritesRequest":{ "type":"structure", "required":[ - "FileName", - "MapName" + "MapName", + "FileName" ], "members":{ + "MapName":{ + "shape":"ResourceName", + "documentation":"

    The map resource associated with the sprite file.

    ", + "location":"uri", + "locationName":"MapName" + }, "FileName":{ "shape":"GetMapSpritesRequestFileNameString", "documentation":"

    The name of the sprite file. Use the following file names for the sprite sheet:

    • sprites.png

    • sprites@2x.png for high pixel density displays

    For the JSON document containing image offsets. Use the following file names:

    • sprites.json

    • sprites@2x.json for high pixel density displays

    ", "location":"uri", "locationName":"FileName" }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" - }, - "MapName":{ - "shape":"ResourceName", - "documentation":"

    The map resource associated with the sprite file.

    ", - "location":"uri", - "locationName":"MapName" + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, "GetMapSpritesRequestFileNameString":{ "type":"string", - "pattern":"^sprites(@2x)?\\.(png|json)$" + "pattern":"sprites(@2x)?\\.(png|json)" }, "GetMapSpritesResponse":{ "type":"structure", @@ -3356,17 +3622,17 @@ "shape":"Blob", "documentation":"

    Contains the body of the sprite sheet or JSON offset file.

    " }, - "CacheControl":{ - "shape":"String", - "documentation":"

    The HTTP Cache-Control directive for the value.

    ", - "location":"header", - "locationName":"Cache-Control" - }, "ContentType":{ "shape":"String", "documentation":"

    The content type of the sprite sheet and offsets. For example, the sprite sheet content type is image/png, and the sprite offset JSON document is application/json.

    ", "location":"header", "locationName":"Content-Type" + }, + "CacheControl":{ + "shape":"String", + "documentation":"

    The HTTP Cache-Control directive for the value.

    ", + "location":"header", + "locationName":"Cache-Control" } }, "payload":"Blob" @@ -3375,17 +3641,17 @@ "type":"structure", "required":["MapName"], "members":{ - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" - }, "MapName":{ "shape":"ResourceName", "documentation":"

    The map resource to retrieve the style descriptor from.

    ", "location":"uri", "locationName":"MapName" + }, + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, @@ -3396,17 +3662,17 @@ "shape":"Blob", "documentation":"

    Contains the body of the style descriptor.

    " }, - "CacheControl":{ - "shape":"String", - "documentation":"

    The HTTP Cache-Control directive for the value.

    ", - "location":"header", - "locationName":"Cache-Control" - }, "ContentType":{ "shape":"String", "documentation":"

    The style descriptor's content type. For example, application/json.

    ", "location":"header", "locationName":"Content-Type" + }, + "CacheControl":{ + "shape":"String", + "documentation":"

    The HTTP Cache-Control directive for the value.

    ", + "location":"header", + "locationName":"Cache-Control" } }, "payload":"Blob" @@ -3415,23 +3681,23 @@ "type":"structure", "required":[ "MapName", + "Z", "X", - "Y", - "Z" + "Y" ], "members":{ - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" - }, "MapName":{ "shape":"ResourceName", "documentation":"

    The map resource to retrieve the map tiles from.

    ", "location":"uri", "locationName":"MapName" }, + "Z":{ + "shape":"GetMapTileRequestZString", + "documentation":"

    The zoom value for the map tile.

    ", + "location":"uri", + "locationName":"Z" + }, "X":{ "shape":"GetMapTileRequestXString", "documentation":"

    The X axis value for the map tile.

    ", @@ -3444,25 +3710,25 @@ "location":"uri", "locationName":"Y" }, - "Z":{ - "shape":"GetMapTileRequestZString", - "documentation":"

    The zoom value for the map tile.

    ", - "location":"uri", - "locationName":"Z" + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, "GetMapTileRequestXString":{ "type":"string", - "pattern":"\\d+" + "pattern":".*\\d+.*" }, "GetMapTileRequestYString":{ "type":"string", - "pattern":"\\d+" + "pattern":".*\\d+.*" }, "GetMapTileRequestZString":{ "type":"string", - "pattern":"\\d+" + "pattern":".*\\d+.*" }, "GetMapTileResponse":{ "type":"structure", @@ -3471,17 +3737,17 @@ "shape":"Blob", "documentation":"

    Contains Mapbox Vector Tile (MVT) data.

    " }, - "CacheControl":{ - "shape":"String", - "documentation":"

    The HTTP Cache-Control directive for the value.

    ", - "location":"header", - "locationName":"Cache-Control" - }, "ContentType":{ "shape":"String", "documentation":"

    The map tile's content type. For example, application/vnd.mapbox-vector-tile.

    ", "location":"header", "locationName":"Content-Type" + }, + "CacheControl":{ + "shape":"String", + "documentation":"

    The HTTP Cache-Control directive for the value.

    ", + "location":"header", + "locationName":"Cache-Control" } }, "payload":"Blob" @@ -3499,11 +3765,11 @@ "location":"uri", "locationName":"IndexName" }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" + "PlaceId":{ + "shape":"PlaceId", + "documentation":"

    The identifier of the place to find.

    ", + "location":"uri", + "locationName":"PlaceId" }, "Language":{ "shape":"LanguageTag", @@ -3511,11 +3777,11 @@ "location":"querystring", "locationName":"language" }, - "PlaceId":{ - "shape":"PlaceId", - "documentation":"

    The identifier of the place to find.

    While you can use PlaceID in subsequent requests, PlaceID is not intended to be a permanent identifier and the ID can change between consecutive API calls. Please see the following PlaceID behaviour for each data provider:

    • Esri: Place IDs will change every quarter at a minimum. The typical time period for these changes would be March, June, September, and December. Place IDs might also change between the typical quarterly change but that will be much less frequent.

    • HERE: We recommend that you cache data for no longer than a week to keep your data data fresh. You can assume that less than 1% ID shifts will release over release which is approximately 1 - 2 times per week.

    • Grab: Place IDs can expire or become invalid in the following situations.

      • Data operations: The POI may be removed from Grab POI database by Grab Map Ops based on the ground-truth, such as being closed in the real world, being detected as a duplicate POI, or having incorrect information. Grab will synchronize data to the Waypoint environment on weekly basis.

      • Interpolated POI: Interpolated POI is a temporary POI generated in real time when serving a request, and it will be marked as derived in the place.result_type field in the response. The information of interpolated POIs will be retained for at least 30 days, which means that within 30 days, you are able to obtain POI details by Place ID from Place Details API. After 30 days, the interpolated POIs(both Place ID and details) may expire and inaccessible from the Places Details API.

    ", - "location":"uri", - "locationName":"PlaceId" + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, @@ -3533,7 +3799,30 @@ "type":"string", "max":100, "min":1, - "pattern":"^[-._\\p{L}\\p{N}]+$" + "pattern":"[-._\\p{L}\\p{N}]+" + }, + "InferredState":{ + "type":"structure", + "required":["ProxyDetected"], + "members":{ + "Position":{ + "shape":"Position", + "documentation":"

    The device position inferred by the provided position, IP address, cellular signals, and Wi-Fi- access points.

    " + }, + "Accuracy":{ + "shape":"PositionalAccuracy", + "documentation":"

    The level of certainty of the inferred position.

    " + }, + "DeviationDistance":{ + "shape":"Double", + "documentation":"

    The distance between the inferred position and the device's self-reported position.

    " + }, + "ProxyDetected":{ + "shape":"Boolean", + "documentation":"

    Indicates if a proxy was used.

    " + } + }, + "documentation":"

    The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.

    " }, "Integer":{ "type":"integer", @@ -3571,16 +3860,29 @@ "max":35, "min":2 }, + "LargeToken":{ + "type":"string", + "max":60000, + "min":1 + }, "Leg":{ "type":"structure", "required":[ + "StartPosition", + "EndPosition", "Distance", "DurationSeconds", - "EndPosition", - "StartPosition", "Steps" ], "members":{ + "StartPosition":{ + "shape":"Position", + "documentation":"

    The starting position of the leg. Follows the format [longitude,latitude].

    If the StartPosition isn't located on a road, it's snapped to a nearby road.

    " + }, + "EndPosition":{ + "shape":"Position", + "documentation":"

    The terminating position of the leg. Follows the format [longitude,latitude].

    If the EndPosition isn't located on a road, it's snapped to a nearby road.

    " + }, "Distance":{ "shape":"LegDistanceDouble", "documentation":"

    The distance between the leg's StartPosition and EndPosition along a calculated route.

    • The default measurement is Kilometers unless the request specifies a DistanceUnit of Miles.

    " @@ -3589,18 +3891,10 @@ "shape":"LegDurationSecondsDouble", "documentation":"

    The estimated travel time between the leg's StartPosition and EndPosition. The travel mode and departure time that you specify in the request determines the calculated time.

    " }, - "EndPosition":{ - "shape":"Position", - "documentation":"

    The terminating position of the leg. Follows the format [longitude,latitude].

    If the EndPosition isn't located on a road, it's snapped to a nearby road.

    " - }, "Geometry":{ "shape":"LegGeometry", "documentation":"

    Contains the calculated route's path as a linestring geometry.

    " }, - "StartPosition":{ - "shape":"Position", - "documentation":"

    The starting position of the leg. Follows the format [longitude,latitude].

    If the StartPosition isn't located on a road, it's snapped to a nearby road.

    " - }, "Steps":{ "shape":"StepList", "documentation":"

    Contains a list of steps, which represent subsections of a leg. Each step provides instructions for how to move to the next step in the leg such as the step's start position, end position, travel distance, travel duration, and geometry offset.

    " @@ -3651,9 +3945,11 @@ "type":"structure", "required":["TrackerName"], "members":{ - "FilterGeometry":{ - "shape":"TrackingFilterGeometry", - "documentation":"

    The geometry used to filter device positions.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The tracker resource containing the requested devices.

    ", + "location":"uri", + "locationName":"TrackerName" }, "MaxResults":{ "shape":"ListDevicePositionsRequestMaxResultsInteger", @@ -3663,11 +3959,9 @@ "shape":"Token", "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The tracker resource containing the requested devices.

    ", - "location":"uri", - "locationName":"TrackerName" + "FilterGeometry":{ + "shape":"TrackingFilterGeometry", + "documentation":"

    The geometry used to filter device positions.

    " } } }, @@ -3695,29 +3989,29 @@ "type":"structure", "required":[ "DeviceId", - "Position", - "SampleTime" + "SampleTime", + "Position" ], "members":{ - "Accuracy":{ - "shape":"PositionalAccuracy", - "documentation":"

    The accuracy of the device position.

    " - }, "DeviceId":{ "shape":"Id", "documentation":"

    The ID of the device for this position.

    " }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "Position":{ "shape":"Position", "documentation":"

    The last known device position. Empty if no positions currently stored.

    " }, + "Accuracy":{ + "shape":"PositionalAccuracy", + "documentation":"

    The accuracy of the device position.

    " + }, "PositionProperties":{ "shape":"PropertyMap", "documentation":"

    The properties associated with the position.

    " - }, - "SampleTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp at which the device position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } }, "documentation":"

    Contains the tracker resource details.

    " @@ -3763,8 +4057,8 @@ "type":"structure", "required":[ "CollectionName", - "CreateTime", "Description", + "CreateTime", "UpdateTime" ], "members":{ @@ -3772,10 +4066,6 @@ "shape":"ResourceName", "documentation":"

    The name of the geofence collection.

    " }, - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, "Description":{ "shape":"ResourceDescription", "documentation":"

    The description for the geofence collection

    " @@ -3792,12 +4082,16 @@ "deprecated":true, "deprecatedMessage":"Deprecated. Unused." }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence collection was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    Specifies a timestamp for when the resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " } }, - "documentation":"

    Contains the geofence collection details.

    " + "documentation":"

    Contains the geofence collection details.

    The returned geometry will always match the geometry format used when the geofence was created.

    " }, "ListGeofenceCollectionsResponseEntryList":{ "type":"list", @@ -3806,25 +4100,17 @@ "ListGeofenceResponseEntry":{ "type":"structure", "required":[ - "CreateTime", "GeofenceId", "Geometry", "Status", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence identifier.

    " }, - "GeofenceProperties":{ - "shape":"PropertyMap", - "documentation":"

    User defined properties of the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " - }, "Geometry":{ "shape":"GeofenceGeometry", "documentation":"

    Contains the geofence geometry details describing a polygon or a circle.

    " @@ -3833,12 +4119,20 @@ "shape":"String", "documentation":"

    Identifies the state of the geofence. A geofence will hold one of the following states:

    • ACTIVE — The geofence has been indexed by the system.

    • PENDING — The geofence is being processed by the system.

    • FAILED — The geofence failed to be indexed by the system.

    • DELETED — The geofence has been deleted from the system index.

    • DELETING — The geofence is being deleted from the system index.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence was stored in a geofence collection in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, + "GeofenceProperties":{ + "shape":"PropertyMap", + "documentation":"

    User defined properties of the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " } }, - "documentation":"

    Contains a list of geofences stored in a given geofence collection.

    " + "documentation":"

    Contains a list of geofences stored in a given geofence collection.

    The returned geometry will always match the geometry format used when the geofence was created.

    " }, "ListGeofenceResponseEntryList":{ "type":"list", @@ -3854,13 +4148,13 @@ "location":"uri", "locationName":"CollectionName" }, + "NextToken":{ + "shape":"LargeToken", + "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " + }, "MaxResults":{ "shape":"ListGeofencesRequestMaxResultsInteger", "documentation":"

    An optional limit for the number of geofences returned in a single call.

    Default value: 100

    " - }, - "NextToken":{ - "shape":"Token", - "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " } } }, @@ -3879,7 +4173,7 @@ "documentation":"

    Contains a list of geofences stored in the geofence collection.

    " }, "NextToken":{ - "shape":"Token", + "shape":"LargeToken", "documentation":"

    A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.

    " } } @@ -3887,10 +4181,6 @@ "ListKeysRequest":{ "type":"structure", "members":{ - "Filter":{ - "shape":"ApiKeyFilter", - "documentation":"

    Optionally filter the list to only Active or Expired API keys.

    " - }, "MaxResults":{ "shape":"ListKeysRequestMaxResultsInteger", "documentation":"

    An optional limit for the number of resources returned in a single call.

    Default value: 100

    " @@ -3898,6 +4188,10 @@ "NextToken":{ "shape":"Token", "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " + }, + "Filter":{ + "shape":"ApiKeyFilter", + "documentation":"

    Optionally filter the list to only Active or Expired API keys.

    " } } }, @@ -3924,30 +4218,30 @@ "ListKeysResponseEntry":{ "type":"structure", "required":[ - "CreateTime", - "ExpireTime", "KeyName", + "ExpireTime", "Restrictions", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ + "KeyName":{ + "shape":"ResourceName", + "documentation":"

    The name of the API key resource.

    " + }, + "ExpireTime":{ "shape":"Timestamp", - "documentation":"

    The timestamp of when the API key was created, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "documentation":"

    The timestamp for when the API key resource will expire, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "Description":{ "shape":"ResourceDescription", "documentation":"

    The optional description for the API key resource.

    " }, - "ExpireTime":{ + "Restrictions":{"shape":"ApiKeyRestrictions"}, + "CreateTime":{ "shape":"Timestamp", - "documentation":"

    The timestamp for when the API key resource will expire, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "KeyName":{ - "shape":"ResourceName", - "documentation":"

    The name of the API key resource.

    " + "documentation":"

    The timestamp of when the API key was created, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, - "Restrictions":{"shape":"ApiKeyRestrictions"}, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp of when the API key was last updated, in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -3995,28 +4289,24 @@ "ListMapsResponseEntry":{ "type":"structure", "required":[ - "CreateTime", - "DataSource", - "Description", "MapName", + "Description", + "DataSource", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "DataSource":{ - "shape":"String", - "documentation":"

    Specifies the data provider for the associated map tiles.

    " + "MapName":{ + "shape":"ResourceName", + "documentation":"

    The name of the associated map resource.

    " }, "Description":{ "shape":"ResourceDescription", "documentation":"

    The description for the map resource.

    " }, - "MapName":{ - "shape":"ResourceName", - "documentation":"

    The name of the associated map resource.

    " + "DataSource":{ + "shape":"String", + "documentation":"

    Specifies the data provider for the associated map tiles.

    " }, "PricingPlan":{ "shape":"PricingPlan", @@ -4024,6 +4314,10 @@ "deprecated":true, "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the map resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -4071,28 +4365,24 @@ "ListPlaceIndexesResponseEntry":{ "type":"structure", "required":[ - "CreateTime", - "DataSource", - "Description", "IndexName", + "Description", + "DataSource", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " - }, - "DataSource":{ - "shape":"String", - "documentation":"

    The data provider of geospatial data. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " + "IndexName":{ + "shape":"ResourceName", + "documentation":"

    The name of the place index resource.

    " }, "Description":{ "shape":"ResourceDescription", "documentation":"

    The optional description for the place index resource.

    " }, - "IndexName":{ - "shape":"ResourceName", - "documentation":"

    The name of the place index resource.

    " + "DataSource":{ + "shape":"String", + "documentation":"

    The data provider of geospatial data. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " }, "PricingPlan":{ "shape":"PricingPlan", @@ -4100,6 +4390,10 @@ "deprecated":true, "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the place index resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -4148,9 +4442,9 @@ "type":"structure", "required":[ "CalculatorName", - "CreateTime", - "DataSource", "Description", + "DataSource", + "CreateTime", "UpdateTime" ], "members":{ @@ -4158,24 +4452,24 @@ "shape":"ResourceName", "documentation":"

    The name of the route calculator resource.

    " }, - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    The optional description of the route calculator resource.

    " }, "DataSource":{ "shape":"String", "documentation":"

    The data provider of traffic and road network data. Indicates one of the available providers:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    The optional description of the route calculator resource.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    Always returns RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. Always returns RequestBasedUsage." }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp when the route calculator resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp when the route calculator resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    • For example, 2020–07-2T12:15:20.000Z+01:00

    " @@ -4212,6 +4506,12 @@ "type":"structure", "required":["TrackerName"], "members":{ + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The tracker resource whose associated geofence collections you want to list.

    ", + "location":"uri", + "locationName":"TrackerName" + }, "MaxResults":{ "shape":"ListTrackerConsumersRequestMaxResultsInteger", "documentation":"

    An optional limit for the number of resources returned in a single call.

    Default value: 100

    " @@ -4219,12 +4519,6 @@ "NextToken":{ "shape":"Token", "documentation":"

    The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    " - }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The tracker resource whose associated geofence collections you want to list.

    ", - "location":"uri", - "locationName":"TrackerName" } } }, @@ -4284,15 +4578,15 @@ "ListTrackersResponseEntry":{ "type":"structure", "required":[ - "CreateTime", - "Description", "TrackerName", + "Description", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name of the tracker resource.

    " }, "Description":{ "shape":"ResourceDescription", @@ -4310,9 +4604,9 @@ "deprecated":true, "deprecatedMessage":"Deprecated. Unused." }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The name of the tracker resource.

    " + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, "UpdateTime":{ "shape":"Timestamp", @@ -4325,21 +4619,151 @@ "type":"list", "member":{"shape":"ListTrackersResponseEntry"} }, + "LteCellDetails":{ + "type":"structure", + "required":[ + "CellId", + "Mcc", + "Mnc" + ], + "members":{ + "CellId":{ + "shape":"EutranCellId", + "documentation":"

    The E-UTRAN Cell Identifier (ECI).

    " + }, + "Mcc":{ + "shape":"LteCellDetailsMccInteger", + "documentation":"

    The Mobile Country Code (MCC).

    " + }, + "Mnc":{ + "shape":"LteCellDetailsMncInteger", + "documentation":"

    The Mobile Network Code (MNC)

    " + }, + "LocalId":{ + "shape":"LteLocalId", + "documentation":"

    The LTE local identification information (local ID).

    " + }, + "NetworkMeasurements":{ + "shape":"LteCellDetailsNetworkMeasurementsList", + "documentation":"

    The network measurements.

    " + }, + "TimingAdvance":{ + "shape":"LteCellDetailsTimingAdvanceInteger", + "documentation":"

    Timing Advance (TA).

    " + }, + "NrCapable":{ + "shape":"Boolean", + "documentation":"

    Indicates whether the LTE object is capable of supporting NR (new radio).

    " + }, + "Rsrp":{ + "shape":"Rsrp", + "documentation":"

    Signal power of the reference signal received, measured in decibel-milliwatts (dBm).

    " + }, + "Rsrq":{ + "shape":"Rsrq", + "documentation":"

    Signal quality of the reference Signal received, measured in decibels (dB).

    " + }, + "Tac":{ + "shape":"LteCellDetailsTacInteger", + "documentation":"

    LTE Tracking Area Code (TAC).

    " + } + }, + "documentation":"

    Details about the Long-Term Evolution (LTE) network.

    " + }, + "LteCellDetailsMccInteger":{ + "type":"integer", + "box":true, + "max":999, + "min":200 + }, + "LteCellDetailsMncInteger":{ + "type":"integer", + "box":true, + "max":999, + "min":0 + }, + "LteCellDetailsNetworkMeasurementsList":{ + "type":"list", + "member":{"shape":"LteNetworkMeasurements"}, + "max":32, + "min":1 + }, + "LteCellDetailsTacInteger":{ + "type":"integer", + "box":true, + "max":65535, + "min":0 + }, + "LteCellDetailsTimingAdvanceInteger":{ + "type":"integer", + "box":true, + "max":1282, + "min":0 + }, + "LteLocalId":{ + "type":"structure", + "required":[ + "Earfcn", + "Pci" + ], + "members":{ + "Earfcn":{ + "shape":"Earfcn", + "documentation":"

    E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency channel number (EARFCN).

    " + }, + "Pci":{ + "shape":"Pci", + "documentation":"

    Physical Cell ID (PCI).

    " + } + }, + "documentation":"

    LTE local identification information (local ID).

    " + }, + "LteNetworkMeasurements":{ + "type":"structure", + "required":[ + "Earfcn", + "CellId", + "Pci" + ], + "members":{ + "Earfcn":{ + "shape":"Earfcn", + "documentation":"

    E-UTRA (Evolved Universal Terrestrial Radio Access) absolute radio frequency channel number (EARFCN).

    " + }, + "CellId":{ + "shape":"EutranCellId", + "documentation":"

    E-UTRAN Cell Identifier (ECI).

    " + }, + "Pci":{ + "shape":"Pci", + "documentation":"

    Physical Cell ID (PCI).

    " + }, + "Rsrp":{ + "shape":"Rsrp", + "documentation":"

    Signal power of the reference signal received, measured in dBm (decibel-milliwatts).

    " + }, + "Rsrq":{ + "shape":"Rsrq", + "documentation":"

    Signal quality of the reference Signal received, measured in decibels (dB).

    " + } + }, + "documentation":"

    LTE network measurements.

    " + }, "MapConfiguration":{ "type":"structure", "required":["Style"], "members":{ - "CustomLayers":{ - "shape":"CustomLayerList", - "documentation":"

    Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style. Default is unset.

    Currenlty only VectorEsriNavigation supports CustomLayers. For more information, see Custom Layers.

    " + "Style":{ + "shape":"MapStyle", + "documentation":"

    Specifies the map style selected from an available data provider.

    Valid Esri map styles:

    • VectorEsriDarkGrayCanvas – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.

    • RasterEsriImagery – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.

    • VectorEsriLightGrayCanvas – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content.

    • VectorEsriTopographic – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style.

    • VectorEsriStreets – The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map.

    • VectorEsriNavigation – The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices.

    Valid HERE Technologies map styles:

    • VectorHereContrast – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.

      The VectorHereContrast style has been renamed from VectorHereBerlin. VectorHereBerlin has been deprecated, but will continue to work in applications that use it.

    • VectorHereExplore – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan.

    • VectorHereExploreTruck – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.

    • RasterHereExploreSatellite – A global map containing high resolution satellite imagery.

    • HybridHereExploreSatellite – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.

      Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.

    Valid GrabMaps map styles:

    • VectorGrabStandardLight – The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia.

    • VectorGrabStandardDark – The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia.

    Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region (ap-southeast-1). For more information, see GrabMaps countries and area covered.

    Valid Open Data map styles:

    • VectorOpenDataStandardLight – The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    • VectorOpenDataStandardDark – Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    • VectorOpenDataVisualizationLight – The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data.

    • VectorOpenDataVisualizationDark – The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data.

    " }, "PoliticalView":{ "shape":"CountryCode3", "documentation":"

    Specifies the political view for the style. Leave unset to not use a political view, or, for styles that support specific political views, you can choose a view, such as IND for the Indian view.

    Default is unset.

    Not all map resources or styles support political view styles. See Political views for more information.

    " }, - "Style":{ - "shape":"MapStyle", - "documentation":"

    Specifies the map style selected from an available data provider.

    Valid Esri map styles:

    • VectorEsriNavigation – The Esri Navigation map style, which provides a detailed basemap for the world symbolized with a custom navigation map style that's designed for use during the day in mobile devices. It also includes a richer set of places, such as shops, services, restaurants, attractions, and other points of interest. Enable the POI layer by setting it in CustomLayers to leverage the additional places data.

    • RasterEsriImagery – The Esri Imagery map style. A raster basemap that provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.

    • VectorEsriLightGrayCanvas – The Esri Light Gray Canvas map style, which provides a detailed vector basemap with a light gray, neutral background style with minimal colors, labels, and features that's designed to draw attention to your thematic content.

    • VectorEsriTopographic – The Esri Light map style, which provides a detailed vector basemap with a classic Esri map style.

    • VectorEsriStreets – The Esri Street Map style, which provides a detailed vector basemap for the world symbolized with a classic Esri street map style. The vector tile layer is similar in content and style to the World Street Map raster map.

    • VectorEsriDarkGrayCanvas – The Esri Dark Gray Canvas map style. A vector basemap with a dark gray, neutral background with minimal colors, labels, and features that's designed to draw attention to your thematic content.

    Valid HERE Technologies map styles:

    • VectorHereExplore – A default HERE map style containing a neutral, global map and its features including roads, buildings, landmarks, and water features. It also now includes a fully designed map of Japan.

    • RasterHereExploreSatellite – A global map containing high resolution satellite imagery.

    • HybridHereExploreSatellite – A global map displaying the road network, street names, and city labels over satellite imagery. This style will automatically retrieve both raster and vector tiles, and your charges will be based on total tiles retrieved.

      Hybrid styles use both vector and raster tiles when rendering the map that you see. This means that more tiles are retrieved than when using either vector or raster tiles alone. Your charges will include all tiles retrieved.

    • VectorHereContrast – The HERE Contrast (Berlin) map style is a high contrast detailed base map of the world that blends 3D and 2D rendering.

      The VectorHereContrast style has been renamed from VectorHereBerlin. VectorHereBerlin has been deprecated, but will continue to work in applications that use it.

    • VectorHereExploreTruck – A global map containing truck restrictions and attributes (e.g. width / height / HAZMAT) symbolized with highlighted segments and icons on top of HERE Explore to support use cases within transport and logistics.

    Valid GrabMaps map styles:

    • VectorGrabStandardLight – The Grab Standard Light map style provides a basemap with detailed land use coloring, area names, roads, landmarks, and points of interest covering Southeast Asia.

    • VectorGrabStandardDark – The Grab Standard Dark map style provides a dark variation of the standard basemap covering Southeast Asia.

    Grab provides maps only for countries in Southeast Asia, and is only available in the Asia Pacific (Singapore) Region (ap-southeast-1). For more information, see GrabMaps countries and area covered.

    Valid Open Data map styles:

    • VectorOpenDataStandardLight – The Open Data Standard Light map style provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    • VectorOpenDataStandardDark – Open Data Standard Dark is a dark-themed map style that provides a detailed basemap for the world suitable for website and mobile application use. The map includes highways major roads, minor roads, railways, water features, cities, parks, landmarks, building footprints, and administrative boundaries.

    • VectorOpenDataVisualizationLight – The Open Data Visualization Light map style is a light-themed style with muted colors and fewer features that aids in understanding overlaid data.

    • VectorOpenDataVisualizationDark – The Open Data Visualization Dark map style is a dark-themed style with muted colors and fewer features that aids in understanding overlaid data.

    " + "CustomLayers":{ + "shape":"CustomLayerList", + "documentation":"

    Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style. Default is unset.

    Not all map resources or styles support custom layers. See Custom Layers for more information.

    " } }, "documentation":"

    Specifies the map tile style selected from an available provider.

    " @@ -4347,13 +4771,13 @@ "MapConfigurationUpdate":{ "type":"structure", "members":{ - "CustomLayers":{ - "shape":"CustomLayerList", - "documentation":"

    Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style. Default is unset.

    Currenlty only VectorEsriNavigation supports CustomLayers. For more information, see Custom Layers.

    " - }, "PoliticalView":{ "shape":"CountryCode3OrEmpty", "documentation":"

    Specifies the political view for the style. Set to an empty string to not use a political view, or, for styles that support specific political views, you can choose a view, such as IND for the Indian view.

    Not all map resources or styles support political view styles. See Political views for more information.

    " + }, + "CustomLayers":{ + "shape":"CustomLayerList", + "documentation":"

    Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style. Default is unset.

    Not all map resources or styles support custom layers. See Custom Layers for more information.

    " } }, "documentation":"

    Specifies the political view for the style.

    " @@ -4362,7 +4786,11 @@ "type":"string", "max":100, "min":1, - "pattern":"^[-._\\w]+$" + "pattern":"[-._\\w]+" + }, + "NearestDistance":{ + "type":"double", + "min":0 }, "OptimizationMode":{ "type":"string", @@ -4371,74 +4799,79 @@ "ShortestRoute" ] }, + "Pci":{ + "type":"integer", + "max":503, + "min":0 + }, "Place":{ "type":"structure", "required":["Geometry"], "members":{ + "Label":{ + "shape":"String", + "documentation":"

    The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

    " + }, + "Geometry":{"shape":"PlaceGeometry"}, "AddressNumber":{ "shape":"String", "documentation":"

    The numerical portion of an address, such as a building number.

    " }, - "Categories":{ - "shape":"PlaceCategoryList", - "documentation":"

    The Amazon Location categories that describe this Place.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " - }, - "Country":{ + "Street":{ "shape":"String", - "documentation":"

    A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

    " - }, - "Geometry":{"shape":"PlaceGeometry"}, - "Interpolated":{ - "shape":"Boolean", - "documentation":"

    True if the result is interpolated from other known places.

    False if the Place is a known place.

    Not returned when the partner does not provide the information.

    For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

    " + "documentation":"

    The name for a street or a road to identify a location. For example, Main Street.

    " }, - "Label":{ + "Neighborhood":{ "shape":"String", - "documentation":"

    The full name and address of the point of interest such as a city, region, or country. For example, 123 Any Street, Any Town, USA.

    " + "documentation":"

    The name of a community district. For example, Downtown.

    " }, "Municipality":{ "shape":"String", "documentation":"

    A name for a local area, such as a city or town name. For example, Toronto.

    " }, - "Neighborhood":{ - "shape":"String", - "documentation":"

    The name of a community district. For example, Downtown.

    " - }, - "PostalCode":{ + "SubRegion":{ "shape":"String", - "documentation":"

    A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

    " + "documentation":"

    A county, or an area that's part of a larger region. For example, Metro Vancouver.

    " }, "Region":{ "shape":"String", "documentation":"

    A name for an area or geographical division, such as a province or state name. For example, British Columbia.

    " }, - "Street":{ - "shape":"String", - "documentation":"

    The name for a street or a road to identify a location. For example, Main Street.

    " - }, - "SubMunicipality":{ + "Country":{ "shape":"String", - "documentation":"

    An area that's part of a larger municipality. For example, Blissville is a submunicipality in the Queen County in New York.

    This property is only returned for a place index that uses Esri as a data provider. The property is represented as a district.

    For more information about data providers, see Amazon Location Service data providers.

    " + "documentation":"

    A country/region specified using ISO 3166 3-digit country/region code. For example, CAN.

    " }, - "SubRegion":{ + "PostalCode":{ "shape":"String", - "documentation":"

    A county, or an area that's part of a larger region. For example, Metro Vancouver.

    " + "documentation":"

    A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

    " }, - "SupplementalCategories":{ - "shape":"PlaceSupplementalCategoryList", - "documentation":"

    Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.

    " + "Interpolated":{ + "shape":"Boolean", + "documentation":"

    True if the result is interpolated from other known places.

    False if the Place is a known place.

    Not returned when the partner does not provide the information.

    For example, returns False for an address location that is found in the partner data, but returns True if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

    " }, "TimeZone":{ "shape":"TimeZone", "documentation":"

    The time zone in which the Place is located. Returned only when using HERE or Grab as the selected partner.

    " }, + "UnitType":{ + "shape":"String", + "documentation":"

    For addresses with a UnitNumber, the type of unit. For example, Apartment.

    Returned only for a place index that uses Esri as a data provider.

    " + }, "UnitNumber":{ "shape":"String", - "documentation":"

    For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.

    This property is returned only for a place index that uses Esri or Grab as a data provider. It is not returned for SearchPlaceIndexForPosition.

    " + "documentation":"

    For addresses with multiple units, the unit identifier. Can include numbers and letters, for example 3B or Unit 123.

    Returned only for a place index that uses Esri or Grab as a data provider. Is not returned for SearchPlaceIndexForPosition.

    " }, - "UnitType":{ + "Categories":{ + "shape":"PlaceCategoryList", + "documentation":"

    The Amazon Location categories that describe this Place.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " + }, + "SupplementalCategories":{ + "shape":"PlaceSupplementalCategoryList", + "documentation":"

    Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.

    " + }, + "SubMunicipality":{ "shape":"String", - "documentation":"

    For addresses with a UnitNumber, the type of unit. For example, Apartment.

    This property is returned only for a place index that uses Esri as a data provider.

    " + "documentation":"

    An area that's part of a larger municipality. For example, Blissville is a submunicipality in the Queen County in New York.

    This property supported by Esri and OpenData. The Esri property is district, and the OpenData property is borough.

    " } }, "documentation":"

    Contains details about addresses or points of interest that match the search criteria.

    Not all details are included with all responses. Some details may only be returned by specific data partners.

    " @@ -4511,7 +4944,7 @@ "PositionalAccuracyHorizontalDouble":{ "type":"double", "box":true, - "max":10000, + "max":10000000, "min":0 }, "PricingPlan":{ @@ -4560,32 +4993,32 @@ "location":"uri", "locationName":"GeofenceId" }, + "Geometry":{ + "shape":"GeofenceGeometry", + "documentation":"

    Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.

    The geofence polygon format supports a maximum of 1,000 vertices. The Geofence Geobuf format supports a maximum of 100,000 vertices.

    " + }, "GeofenceProperties":{ "shape":"PropertyMap", "documentation":"

    Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: \"key\" : \"value\"

    " - }, - "Geometry":{ - "shape":"GeofenceGeometry", - "documentation":"

    Contains the details to specify the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

    Each geofence polygon can have a maximum of 1,000 vertices.

    " } } }, "PutGeofenceResponse":{ "type":"structure", "required":[ - "CreateTime", "GeofenceId", + "CreateTime", "UpdateTime" ], "members":{ - "CreateTime":{ - "shape":"Timestamp", - "documentation":"

    The timestamp for when the geofence was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " - }, "GeofenceId":{ "shape":"Id", "documentation":"

    The geofence identifier entered in the request.

    " }, + "CreateTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the geofence was created in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the geofence was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " @@ -4596,7 +5029,7 @@ "type":"string", "max":253, "min":0, - "pattern":"^([$\\-._+!*\\x{60}(),;/?:@=&\\w]|%([0-9a-fA-F?]{2}|[0-9a-fA-F?]?[*]))+$" + "pattern":"([$\\-._+!*\\x{60}(),;/?:@=&\\w]|%([0-9a-fA-F?]{2}|[0-9a-fA-F?]?[*]))+" }, "ResourceDescription":{ "type":"string", @@ -4607,7 +5040,7 @@ "type":"string", "max":100, "min":1, - "pattern":"^[-._\\w]+$" + "pattern":"[-._\\w]+" }, "ResourceNotFoundException":{ "type":"structure", @@ -4687,21 +5120,33 @@ "type":"list", "member":{"shape":"RouteMatrixEntry"} }, + "Rsrp":{ + "type":"integer", + "box":true, + "max":-44, + "min":-140 + }, + "Rsrq":{ + "type":"float", + "box":true, + "max":-3, + "min":-19.5 + }, "SearchForPositionResult":{ "type":"structure", "required":[ - "Distance", - "Place" + "Place", + "Distance" ], "members":{ - "Distance":{ - "shape":"SearchForPositionResultDistanceDouble", - "documentation":"

    The distance in meters of a great-circle arc between the query position and the result.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

    " - }, "Place":{ "shape":"Place", "documentation":"

    Details about the search result, such as its address and position.

    " }, + "Distance":{ + "shape":"SearchForPositionResultDistanceDouble", + "documentation":"

    The distance in meters of a great-circle arc between the query position and the result.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

    " + }, "PlaceId":{ "shape":"PlaceId", "documentation":"

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

    " @@ -4722,21 +5167,21 @@ "type":"structure", "required":["Text"], "members":{ - "Categories":{ - "shape":"PlaceCategoryList", - "documentation":"

    The Amazon Location categories that describe the Place.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " + "Text":{ + "shape":"String", + "documentation":"

    The text of the place suggestion, typically formatted as an address string.

    " }, "PlaceId":{ "shape":"PlaceId", - "documentation":"

    The unique identifier of the Place. You can use this with the GetPlace operation to find the place again later, or to get full information for the Place.

    The GetPlace request must use the same PlaceIndex resource as the SearchPlaceIndexForSuggestions that generated the Place ID.

    For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use Esri, Grab, or HERE as data providers.

    While you can use PlaceID in subsequent requests, PlaceID is not intended to be a permanent identifier and the ID can change between consecutive API calls. Please see the following PlaceID behaviour for each data provider:

    • Esri: Place IDs will change every quarter at a minimum. The typical time period for these changes would be March, June, September, and December. Place IDs might also change between the typical quarterly change but that will be much less frequent.

    • HERE: We recommend that you cache data for no longer than a week to keep your data data fresh. You can assume that less than 1% ID shifts will release over release which is approximately 1 - 2 times per week.

    • Grab: Place IDs can expire or become invalid in the following situations.

      • Data operations: The POI may be removed from Grab POI database by Grab Map Ops based on the ground-truth, such as being closed in the real world, being detected as a duplicate POI, or having incorrect information. Grab will synchronize data to the Waypoint environment on weekly basis.

      • Interpolated POI: Interpolated POI is a temporary POI generated in real time when serving a request, and it will be marked as derived in the place.result_type field in the response. The information of interpolated POIs will be retained for at least 30 days, which means that within 30 days, you are able to obtain POI details by Place ID from Place Details API. After 30 days, the interpolated POIs(both Place ID and details) may expire and inaccessible from the Places Details API.

    " + "documentation":"

    The unique identifier of the Place. You can use this with the GetPlace operation to find the place again later, or to get full information for the Place.

    The GetPlace request must use the same PlaceIndex resource as the SearchPlaceIndexForSuggestions that generated the Place ID.

    For SearchPlaceIndexForSuggestions operations, the PlaceId is returned by place indexes that use Esri, Grab, or HERE as data providers.

    " + }, + "Categories":{ + "shape":"PlaceCategoryList", + "documentation":"

    The Amazon Location categories that describe the Place.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " }, "SupplementalCategories":{ "shape":"PlaceSupplementalCategoryList", "documentation":"

    Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.

    " - }, - "Text":{ - "shape":"String", - "documentation":"

    The text of the place suggestion, typically formatted as an address string.

    " } }, "documentation":"

    Contains a place suggestion resulting from a place suggestion query that is run on a place index resource.

    " @@ -4747,23 +5192,23 @@ }, "SearchForTextResult":{ "type":"structure", - "required":["Place"], - "members":{ - "Distance":{ - "shape":"SearchForTextResultDistanceDouble", - "documentation":"

    The distance in meters of a great-circle arc between the bias position specified and the result. Distance will be returned only if a bias position was specified in the query.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

    " - }, + "required":["Place"], + "members":{ "Place":{ "shape":"Place", "documentation":"

    Details about the search result, such as its address and position.

    " }, - "PlaceId":{ - "shape":"PlaceId", - "documentation":"

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

    " + "Distance":{ + "shape":"SearchForTextResultDistanceDouble", + "documentation":"

    The distance in meters of a great-circle arc between the bias position specified and the result. Distance will be returned only if a bias position was specified in the query.

    A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

    " }, "Relevance":{ "shape":"SearchForTextResultRelevanceDouble", "documentation":"

    The relative confidence in the match for a result among the results returned. For example, if more fields for an address match (including house number, street, city, country/region, and postal code), the relevance score is closer to 1.

    Returned only when the partner selected is Esri or Grab.

    " + }, + "PlaceId":{ + "shape":"PlaceId", + "documentation":"

    The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

    For SearchPlaceIndexForText operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

    " } }, "documentation":"

    Contains a search result from a text search query that is run on a place index resource.

    " @@ -4796,50 +5241,58 @@ "location":"uri", "locationName":"IndexName" }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" - }, - "Language":{ - "shape":"LanguageTag", - "documentation":"

    The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English.

    This setting affects the languages used in the results, but not the results themselves. If no language is specified, or not supported for a particular result, the partner automatically chooses a language for the result.

    For an example, we'll use the Greek language. You search for a location around Athens, Greece, with the language parameter set to en. The city in the results will most likely be returned as Athens.

    If you set the language parameter to el, for Greek, then the city in the results will more likely be returned as Αθήνα.

    If the data provider does not have a value for Greek, the result will be in a language that the provider does support.

    " + "Position":{ + "shape":"Position", + "documentation":"

    Specifies the longitude and latitude of the position to query.

    This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents a position with longitude -123.1174 and latitude 49.2847.

    " }, "MaxResults":{ "shape":"PlaceIndexSearchResultLimit", "documentation":"

    An optional parameter. The maximum number of results returned per request.

    Default value: 50

    " }, - "Position":{ - "shape":"Position", - "documentation":"

    Specifies the longitude and latitude of the position to query.

    This parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents a position with longitude -123.1174 and latitude 49.2847.

    " + "Language":{ + "shape":"LanguageTag", + "documentation":"

    The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English.

    This setting affects the languages used in the results, but not the results themselves. If no language is specified, or not supported for a particular result, the partner automatically chooses a language for the result.

    For an example, we'll use the Greek language. You search for a location around Athens, Greece, with the language parameter set to en. The city in the results will most likely be returned as Athens.

    If you set the language parameter to el, for Greek, then the city in the results will more likely be returned as Αθήνα.

    If the data provider does not have a value for Greek, the result will be in a language that the provider does support.

    " + }, + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, "SearchPlaceIndexForPositionResponse":{ "type":"structure", "required":[ - "Results", - "Summary" + "Summary", + "Results" ], "members":{ - "Results":{ - "shape":"SearchForPositionResultList", - "documentation":"

    Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.

    " - }, "Summary":{ "shape":"SearchPlaceIndexForPositionSummary", "documentation":"

    Contains a summary of the request. Echoes the input values for Position, Language, MaxResults, and the DataSource of the place index.

    " + }, + "Results":{ + "shape":"SearchForPositionResultList", + "documentation":"

    Returns a list of Places closest to the specified position. Each result contains additional information about the Places returned.

    " } } }, "SearchPlaceIndexForPositionSummary":{ "type":"structure", "required":[ - "DataSource", - "Position" + "Position", + "DataSource" ], "members":{ + "Position":{ + "shape":"Position", + "documentation":"

    The position specified in the request.

    " + }, + "MaxResults":{ + "shape":"PlaceIndexSearchResultLimit", + "documentation":"

    Contains the optional result count limit that is specified in the request.

    Default value: 50

    " + }, "DataSource":{ "shape":"String", "documentation":"

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " @@ -4847,14 +5300,6 @@ "Language":{ "shape":"LanguageTag", "documentation":"

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    " - }, - "MaxResults":{ - "shape":"PlaceIndexSearchResultLimit", - "documentation":"

    Contains the optional result count limit that is specified in the request.

    Default value: 50

    " - }, - "Position":{ - "shape":"Position", - "documentation":"

    The position specified in the request.

    " } }, "documentation":"

    A summary of the request sent by using SearchPlaceIndexForPosition.

    " @@ -4866,6 +5311,16 @@ "Text" ], "members":{ + "IndexName":{ + "shape":"ResourceName", + "documentation":"

    The name of the place index resource you want to use for the search.

    ", + "location":"uri", + "locationName":"IndexName" + }, + "Text":{ + "shape":"SearchPlaceIndexForSuggestionsRequestTextString", + "documentation":"

    The free-form partial text to use to generate place suggestions. For example, eiffel tow.

    " + }, "BiasPosition":{ "shape":"Position", "documentation":"

    An optional parameter that indicates a preference for place suggestions that are closer to a specified position.

    If provided, this parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

    BiasPosition and FilterBBox are mutually exclusive. Specifying both options results in an error.

    " @@ -4874,37 +5329,27 @@ "shape":"BoundingBox", "documentation":"

    An optional parameter that limits the search results by returning only suggestions within a specified bounding box.

    If provided, this parameter must contain a total of four consecutive numbers in two pairs. The first pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the southwest corner of the bounding box; the second pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the northeast corner of the bounding box.

    For example, [-12.7935, -37.4835, -12.0684, -36.9542] represents a bounding box where the southwest corner has longitude -12.7935 and latitude -37.4835, and the northeast corner has longitude -12.0684 and latitude -36.9542.

    FilterBBox and BiasPosition are mutually exclusive. Specifying both options results in an error.

    " }, - "FilterCategories":{ - "shape":"FilterPlaceCategoryList", - "documentation":"

    A list of one or more Amazon Location categories to filter the returned places. If you include more than one category, the results will include results that match any of the categories listed.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " - }, "FilterCountries":{ "shape":"CountryCodeList", "documentation":"

    An optional parameter that limits the search results by returning only suggestions within the provided list of countries.

    • Use the ISO 3166 3-digit country code. For example, Australia uses three upper-case characters: AUS.

    " }, - "IndexName":{ - "shape":"ResourceName", - "documentation":"

    The name of the place index resource you want to use for the search.

    ", - "location":"uri", - "locationName":"IndexName" - }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" + "MaxResults":{ + "shape":"SearchPlaceIndexForSuggestionsRequestMaxResultsInteger", + "documentation":"

    An optional parameter. The maximum number of results returned per request.

    The default: 5

    " }, "Language":{ "shape":"LanguageTag", "documentation":"

    The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English.

    This setting affects the languages used in the results. If no language is specified, or not supported for a particular result, the partner automatically chooses a language for the result.

    For an example, we'll use the Greek language. You search for Athens, Gr to get suggestions with the language parameter set to en. The results found will most likely be returned as Athens, Greece.

    If you set the language parameter to el, for Greek, then the result found will more likely be returned as Αθήνα, Ελλάδα.

    If the data provider does not have a value for Greek, the result will be in a language that the provider does support.

    " }, - "MaxResults":{ - "shape":"SearchPlaceIndexForSuggestionsRequestMaxResultsInteger", - "documentation":"

    An optional parameter. The maximum number of results returned per request.

    The default: 5

    " + "FilterCategories":{ + "shape":"FilterPlaceCategoryList", + "documentation":"

    A list of one or more Amazon Location categories to filter the returned places. If you include more than one category, the results will include results that match any of the categories listed.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " }, - "Text":{ - "shape":"SearchPlaceIndexForSuggestionsRequestTextString", - "documentation":"

    The free-form partial text to use to generate place suggestions. For example, eiffel tow.

    " + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, @@ -4923,58 +5368,58 @@ "SearchPlaceIndexForSuggestionsResponse":{ "type":"structure", "required":[ - "Results", - "Summary" + "Summary", + "Results" ], "members":{ - "Results":{ - "shape":"SearchForSuggestionsResultList", - "documentation":"

    A list of place suggestions that best match the search text.

    " - }, "Summary":{ "shape":"SearchPlaceIndexForSuggestionsSummary", "documentation":"

    Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index.

    " + }, + "Results":{ + "shape":"SearchForSuggestionsResultList", + "documentation":"

    A list of place suggestions that best match the search text.

    " } } }, "SearchPlaceIndexForSuggestionsSummary":{ "type":"structure", "required":[ - "DataSource", - "Text" + "Text", + "DataSource" ], "members":{ + "Text":{ + "shape":"SensitiveString", + "documentation":"

    The free-form partial text input specified in the request.

    " + }, "BiasPosition":{ "shape":"Position", "documentation":"

    Contains the coordinates for the optional bias position specified in the request.

    This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

    " }, - "DataSource":{ - "shape":"String", - "documentation":"

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " - }, "FilterBBox":{ "shape":"BoundingBox", "documentation":"

    Contains the coordinates for the optional bounding box specified in the request.

    " }, - "FilterCategories":{ - "shape":"FilterPlaceCategoryList", - "documentation":"

    The optional category filter specified in the request.

    " - }, "FilterCountries":{ "shape":"CountryCodeList", "documentation":"

    Contains the optional country filter specified in the request.

    " }, - "Language":{ - "shape":"LanguageTag", - "documentation":"

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    " - }, "MaxResults":{ "shape":"Integer", "documentation":"

    Contains the optional result count limit specified in the request.

    " }, - "Text":{ - "shape":"SensitiveString", - "documentation":"

    The free-form partial text input specified in the request.

    " + "DataSource":{ + "shape":"String", + "documentation":"

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " + }, + "Language":{ + "shape":"LanguageTag", + "documentation":"

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    " + }, + "FilterCategories":{ + "shape":"FilterPlaceCategoryList", + "documentation":"

    The optional category filter specified in the request.

    " } }, "documentation":"

    A summary of the request sent by using SearchPlaceIndexForSuggestions.

    " @@ -4986,6 +5431,16 @@ "Text" ], "members":{ + "IndexName":{ + "shape":"ResourceName", + "documentation":"

    The name of the place index resource you want to use for the search.

    ", + "location":"uri", + "locationName":"IndexName" + }, + "Text":{ + "shape":"SearchPlaceIndexForTextRequestTextString", + "documentation":"

    The address, name, city, or region to be used in the search in free-form text format. For example, 123 Any Street.

    " + }, "BiasPosition":{ "shape":"Position", "documentation":"

    An optional parameter that indicates a preference for places that are closer to a specified position.

    If provided, this parameter must contain a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

    BiasPosition and FilterBBox are mutually exclusive. Specifying both options results in an error.

    " @@ -4994,37 +5449,27 @@ "shape":"BoundingBox", "documentation":"

    An optional parameter that limits the search results by returning only places that are within the provided bounding box.

    If provided, this parameter must contain a total of four consecutive numbers in two pairs. The first pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the southwest corner of the bounding box; the second pair of numbers represents the X and Y coordinates (longitude and latitude, respectively) of the northeast corner of the bounding box.

    For example, [-12.7935, -37.4835, -12.0684, -36.9542] represents a bounding box where the southwest corner has longitude -12.7935 and latitude -37.4835, and the northeast corner has longitude -12.0684 and latitude -36.9542.

    FilterBBox and BiasPosition are mutually exclusive. Specifying both options results in an error.

    " }, - "FilterCategories":{ - "shape":"FilterPlaceCategoryList", - "documentation":"

    A list of one or more Amazon Location categories to filter the returned places. If you include more than one category, the results will include results that match any of the categories listed.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " - }, "FilterCountries":{ "shape":"CountryCodeList", "documentation":"

    An optional parameter that limits the search results by returning only places that are in a specified list of countries.

    • Valid values include ISO 3166 3-digit country codes. For example, Australia uses three upper-case characters: AUS.

    " }, - "IndexName":{ - "shape":"ResourceName", - "documentation":"

    The name of the place index resource you want to use for the search.

    ", - "location":"uri", - "locationName":"IndexName" - }, - "Key":{ - "shape":"ApiKey", - "documentation":"

    The optional API key to authorize the request.

    ", - "location":"querystring", - "locationName":"key" + "MaxResults":{ + "shape":"PlaceIndexSearchResultLimit", + "documentation":"

    An optional parameter. The maximum number of results returned per request.

    The default: 50

    " }, "Language":{ "shape":"LanguageTag", "documentation":"

    The preferred language used to return results. The value must be a valid BCP 47 language tag, for example, en for English.

    This setting affects the languages used in the results, but not the results themselves. If no language is specified, or not supported for a particular result, the partner automatically chooses a language for the result.

    For an example, we'll use the Greek language. You search for Athens, Greece, with the language parameter set to en. The result found will most likely be returned as Athens.

    If you set the language parameter to el, for Greek, then the result found will more likely be returned as Αθήνα.

    If the data provider does not have a value for Greek, the result will be in a language that the provider does support.

    " }, - "MaxResults":{ - "shape":"PlaceIndexSearchResultLimit", - "documentation":"

    An optional parameter. The maximum number of results returned per request.

    The default: 50

    " + "FilterCategories":{ + "shape":"FilterPlaceCategoryList", + "documentation":"

    A list of one or more Amazon Location categories to filter the returned places. If you include more than one category, the results will include results that match any of the categories listed.

    For more information about using categories, including a list of Amazon Location categories, see Categories and filtering, in the Amazon Location Service Developer Guide.

    " }, - "Text":{ - "shape":"SearchPlaceIndexForTextRequestTextString", - "documentation":"

    The address, name, city, or region to be used in the search in free-form text format. For example, 123 Any Street.

    " + "Key":{ + "shape":"ApiKey", + "documentation":"

    The optional API key to authorize the request.

    ", + "location":"querystring", + "locationName":"key" } } }, @@ -5037,51 +5482,43 @@ "SearchPlaceIndexForTextResponse":{ "type":"structure", "required":[ - "Results", - "Summary" + "Summary", + "Results" ], "members":{ - "Results":{ - "shape":"SearchForTextResultList", - "documentation":"

    A list of Places matching the input text. Each result contains additional information about the specific point of interest.

    Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

    " - }, "Summary":{ "shape":"SearchPlaceIndexForTextSummary", "documentation":"

    Contains a summary of the request. Echoes the input values for BiasPosition, FilterBBox, FilterCountries, Language, MaxResults, and Text. Also includes the DataSource of the place index and the bounding box, ResultBBox, which surrounds the search results.

    " + }, + "Results":{ + "shape":"SearchForTextResultList", + "documentation":"

    A list of Places matching the input text. Each result contains additional information about the specific point of interest.

    Not all response properties are included with all responses. Some properties may only be returned by specific data partners.

    " } } }, "SearchPlaceIndexForTextSummary":{ "type":"structure", "required":[ - "DataSource", - "Text" + "Text", + "DataSource" ], "members":{ + "Text":{ + "shape":"SensitiveString", + "documentation":"

    The search text specified in the request.

    " + }, "BiasPosition":{ "shape":"Position", "documentation":"

    Contains the coordinates for the optional bias position specified in the request.

    This parameter contains a pair of numbers. The first number represents the X coordinate, or longitude; the second number represents the Y coordinate, or latitude.

    For example, [-123.1174, 49.2847] represents the position with longitude -123.1174 and latitude 49.2847.

    " }, - "DataSource":{ - "shape":"String", - "documentation":"

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " - }, "FilterBBox":{ "shape":"BoundingBox", "documentation":"

    Contains the coordinates for the optional bounding box specified in the request.

    " }, - "FilterCategories":{ - "shape":"FilterPlaceCategoryList", - "documentation":"

    The optional category filter specified in the request.

    " - }, "FilterCountries":{ "shape":"CountryCodeList", "documentation":"

    Contains the optional country filter specified in the request.

    " }, - "Language":{ - "shape":"LanguageTag", - "documentation":"

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    " - }, "MaxResults":{ "shape":"PlaceIndexSearchResultLimit", "documentation":"

    Contains the optional result count limit specified in the request.

    " @@ -5090,9 +5527,17 @@ "shape":"BoundingBox", "documentation":"

    The bounding box that fully contains all search results.

    If you specified the optional FilterBBox parameter in the request, ResultBBox is contained within FilterBBox.

    " }, - "Text":{ - "shape":"SensitiveString", - "documentation":"

    The search text specified in the request.

    " + "DataSource":{ + "shape":"String", + "documentation":"

    The geospatial data provider attached to the place index resource specified in the request. Values can be one of the following:

    • Esri

    • Grab

    • Here

    For more information about data providers, see Amazon Location Service data providers.

    " + }, + "Language":{ + "shape":"LanguageTag", + "documentation":"

    The preferred language used to return results. Matches the language in the request. The value is a valid BCP 47 language tag, for example, en for English.

    " + }, + "FilterCategories":{ + "shape":"FilterPlaceCategoryList", + "documentation":"

    The optional category filter specified in the request.

    " } }, "documentation":"

    A summary of the request sent by using SearchPlaceIndexForText.

    " @@ -5118,6 +5563,13 @@ }, "exception":true }, + "SpeedUnit":{ + "type":"string", + "enum":[ + "KilometersPerHour", + "MilesPerHour" + ] + }, "Status":{ "type":"string", "enum":[ @@ -5128,31 +5580,31 @@ "Step":{ "type":"structure", "required":[ - "Distance", - "DurationSeconds", + "StartPosition", "EndPosition", - "StartPosition" + "Distance", + "DurationSeconds" ], "members":{ - "Distance":{ - "shape":"StepDistanceDouble", - "documentation":"

    The travel distance between the step's StartPosition and EndPosition.

    " - }, - "DurationSeconds":{ - "shape":"StepDurationSecondsDouble", - "documentation":"

    The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

    " + "StartPosition":{ + "shape":"Position", + "documentation":"

    The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

    " }, "EndPosition":{ "shape":"Position", "documentation":"

    The end position of a step. If the position the last step in the leg, this position is the same as the end position of the leg.

    " }, + "Distance":{ + "shape":"StepDistanceDouble", + "documentation":"

    The travel distance between the step's StartPosition and EndPosition.

    " + }, + "DurationSeconds":{ + "shape":"StepDurationSecondsDouble", + "documentation":"

    The estimated travel time, in seconds, from the step's StartPosition to the EndPosition. . The travel mode and departure time that you specify in the request determines the calculated time.

    " + }, "GeometryOffset":{ "shape":"StepGeometryOffsetInteger", "documentation":"

    Represents the start position, or index, in a sequence of steps within the leg's line string geometry. For example, the index of the first step in a leg geometry is 0.

    Included in the response for queries that set IncludeLegGeometry to True.

    " - }, - "StartPosition":{ - "shape":"Position", - "documentation":"

    The starting position of a step. If the position is the first step in the leg, this position is the same as the start position of the leg.

    " } }, "documentation":"

    Represents an element of a leg within a route. A step contains instructions for how to move to the next step in the leg.

    " @@ -5181,7 +5633,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^[a-zA-Z+-=._:/]+$" + "pattern":"[a-zA-Z+-=._:/]+" }, "TagKeys":{ "type":"list", @@ -5224,7 +5676,7 @@ "type":"string", "max":256, "min":0, - "pattern":"^[A-Za-z0-9 _=@:.+-/]*$" + "pattern":"[A-Za-z0-9 _=@:.+-/]*" }, "ThrottlingException":{ "type":"structure", @@ -5290,21 +5742,21 @@ "TruckDimensions":{ "type":"structure", "members":{ - "Height":{ - "shape":"TruckDimensionsHeightDouble", - "documentation":"

    The height of the truck.

    • For example, 4.5.

    For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

    " - }, "Length":{ "shape":"TruckDimensionsLengthDouble", "documentation":"

    The length of the truck.

    • For example, 15.5.

    For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

    " }, - "Unit":{ - "shape":"DimensionUnit", - "documentation":"

    Specifies the unit of measurement for the truck dimensions.

    Default Value: Meters

    " + "Height":{ + "shape":"TruckDimensionsHeightDouble", + "documentation":"

    The height of the truck.

    • For example, 4.5.

    For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

    " }, "Width":{ "shape":"TruckDimensionsWidthDouble", "documentation":"

    The width of the truck.

    • For example, 4.5.

    For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

    " + }, + "Unit":{ + "shape":"DimensionUnit", + "documentation":"

    Specifies the unit of measurement for the truck dimensions.

    Default Value: Meters

    " } }, "documentation":"

    Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

    " @@ -5379,10 +5831,6 @@ "location":"uri", "locationName":"CollectionName" }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    Updates the description for the geofence collection.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", @@ -5394,25 +5842,29 @@ "documentation":"

    This parameter is no longer used.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. No longer allowed." + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    Updates the description for the geofence collection.

    " } } }, "UpdateGeofenceCollectionResponse":{ "type":"structure", "required":[ - "CollectionArn", "CollectionName", + "CollectionArn", "UpdateTime" ], "members":{ - "CollectionArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " - }, "CollectionName":{ "shape":"ResourceName", "documentation":"

    The name of the updated geofence collection.

    " }, + "CollectionArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) of the updated geofence collection. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:geofence-collection/ExampleGeofenceCollection

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The time when the geofence collection was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ

    " @@ -5423,6 +5875,12 @@ "type":"structure", "required":["KeyName"], "members":{ + "KeyName":{ + "shape":"ResourceName", + "documentation":"

    The name of the API key resource to update.

    ", + "location":"uri", + "locationName":"KeyName" + }, "Description":{ "shape":"ResourceDescription", "documentation":"

    Updates the description for the API key resource.

    " @@ -5431,20 +5889,14 @@ "shape":"Timestamp", "documentation":"

    Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " }, - "ForceUpdate":{ - "shape":"Boolean", - "documentation":"

    The boolean flag to be included for updating ExpireTime or Restrictions details.

    Must be set to true to update an API key resource that has been used in the past 7 days.

    False if force update is not preferred

    Default value: False

    " - }, - "KeyName":{ - "shape":"ResourceName", - "documentation":"

    The name of the API key resource to update.

    ", - "location":"uri", - "locationName":"KeyName" - }, "NoExpiry":{ "shape":"Boolean", "documentation":"

    Whether the API key should expire. Set to true to set the API key to have no expiration time.

    " }, + "ForceUpdate":{ + "shape":"Boolean", + "documentation":"

    The boolean flag to be included for updating ExpireTime or Restrictions details.

    Must be set to true to update an API key resource that has been used in the past 7 days.

    False if force update is not preferred

    Default value: False

    " + }, "Restrictions":{ "shape":"ApiKeyRestrictions", "documentation":"

    Updates the API key restrictions for the API key resource.

    " @@ -5477,14 +5929,6 @@ "type":"structure", "required":["MapName"], "members":{ - "ConfigurationUpdate":{ - "shape":"MapConfigurationUpdate", - "documentation":"

    Updates the parts of the map configuration that can be updated, including the political view.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    Updates the description for the map resource.

    " - }, "MapName":{ "shape":"ResourceName", "documentation":"

    The name of the map resource to update.

    ", @@ -5496,25 +5940,33 @@ "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    Updates the description for the map resource.

    " + }, + "ConfigurationUpdate":{ + "shape":"MapConfigurationUpdate", + "documentation":"

    Updates the parts of the map configuration that can be updated, including the political view.

    " } } }, "UpdateMapResponse":{ "type":"structure", "required":[ - "MapArn", "MapName", + "MapArn", "UpdateTime" ], "members":{ - "MapArn":{ - "shape":"GeoArn", - "documentation":"

    The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:map/ExampleMap

    " - }, "MapName":{ "shape":"ResourceName", "documentation":"

    The name of the updated map resource.

    " }, + "MapArn":{ + "shape":"GeoArn", + "documentation":"

    The Amazon Resource Name (ARN) of the updated map resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:map/ExampleMap

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the map resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -5525,14 +5977,6 @@ "type":"structure", "required":["IndexName"], "members":{ - "DataSourceConfiguration":{ - "shape":"DataSourceConfiguration", - "documentation":"

    Updates the data storage option for the place index resource.

    " - }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    Updates the description for the place index resource.

    " - }, "IndexName":{ "shape":"ResourceName", "documentation":"

    The name of the place index resource to update.

    ", @@ -5544,25 +5988,33 @@ "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    Updates the description for the place index resource.

    " + }, + "DataSourceConfiguration":{ + "shape":"DataSourceConfiguration", + "documentation":"

    Updates the data storage option for the place index resource.

    " } } }, "UpdatePlaceIndexResponse":{ "type":"structure", "required":[ - "IndexArn", "IndexName", + "IndexArn", "UpdateTime" ], "members":{ - "IndexArn":{ - "shape":"GeoArn", - "documentation":"

    The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex

    " - }, "IndexName":{ "shape":"ResourceName", "documentation":"

    The name of the updated place index resource.

    " }, + "IndexArn":{ + "shape":"GeoArn", + "documentation":"

    The Amazon Resource Name (ARN) of the upated place index resource. Used to specify a resource across Amazon Web Services.

    • Format example: arn:aws:geo:region:account-id:place- index/ExamplePlaceIndex

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the place index resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -5579,34 +6031,34 @@ "location":"uri", "locationName":"CalculatorName" }, - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    Updates the description for the route calculator resource.

    " - }, "PricingPlan":{ "shape":"PricingPlan", "documentation":"

    No longer used. If included, the only allowed value is RequestBasedUsage.

    ", "deprecated":true, "deprecatedMessage":"Deprecated. If included, the only allowed value is RequestBasedUsage." + }, + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    Updates the description for the route calculator resource.

    " } } }, "UpdateRouteCalculatorResponse":{ "type":"structure", "required":[ - "CalculatorArn", "CalculatorName", + "CalculatorArn", "UpdateTime" ], "members":{ - "CalculatorArn":{ - "shape":"GeoArn", - "documentation":"

    The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator

    " - }, "CalculatorName":{ "shape":"ResourceName", "documentation":"

    The name of the updated route calculator resource.

    " }, + "CalculatorArn":{ + "shape":"GeoArn", + "documentation":"

    The Amazon Resource Name (ARN) of the updated route calculator resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:route- calculator/ExampleCalculator

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the route calculator was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " @@ -5617,21 +6069,11 @@ "type":"structure", "required":["TrackerName"], "members":{ - "Description":{ - "shape":"ResourceDescription", - "documentation":"

    Updates the description for the tracker resource.

    " - }, - "EventBridgeEnabled":{ - "shape":"Boolean", - "documentation":"

    Whether to enable position UPDATE events from this tracker to be sent to EventBridge.

    You do not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events are always sent to EventBridge.

    " - }, - "KmsKeyEnableGeospatialQueries":{ - "shape":"Boolean", - "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    " - }, - "PositionFiltering":{ - "shape":"PositionFiltering", - "documentation":"

    Updates the position filtering for the tracker resource.

    Valid values:

    • TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.

    • DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.

    • AccuracyBased - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device trajectories on a map, and can help control costs by reducing the number of geofence evaluations.

    " + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name of the tracker resource to update.

    ", + "location":"uri", + "locationName":"TrackerName" }, "PricingPlan":{ "shape":"PricingPlan", @@ -5645,49 +6087,58 @@ "deprecated":true, "deprecatedMessage":"Deprecated. No longer allowed." }, - "TrackerName":{ - "shape":"ResourceName", - "documentation":"

    The name of the tracker resource to update.

    ", - "location":"uri", - "locationName":"TrackerName" + "Description":{ + "shape":"ResourceDescription", + "documentation":"

    Updates the description for the tracker resource.

    " + }, + "PositionFiltering":{ + "shape":"PositionFiltering", + "documentation":"

    Updates the position filtering for the tracker resource.

    Valid values:

    • TimeBased - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID.

    • DistanceBased - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this distance are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map.

    • AccuracyBased - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This helps educe the effects of GPS noise when displaying device trajectories on a map, and can help control costs by reducing the number of geofence evaluations.

    " + }, + "EventBridgeEnabled":{ + "shape":"Boolean", + "documentation":"

    Whether to enable position UPDATE events from this tracker to be sent to EventBridge.

    You do not need enable this feature to get ENTER and EXIT events for geofences with this tracker. Those events are always sent to EventBridge.

    " + }, + "KmsKeyEnableGeospatialQueries":{ + "shape":"Boolean", + "documentation":"

    Enables GeospatialQueries for a tracker that uses a Amazon Web Services KMS customer managed key.

    This parameter is only used if you are using a KMS customer managed key.

    " } } }, "UpdateTrackerResponse":{ "type":"structure", "required":[ - "TrackerArn", "TrackerName", + "TrackerArn", "UpdateTime" ], "members":{ - "TrackerArn":{ - "shape":"Arn", - "documentation":"

    The Amazon Resource Name (ARN) of the updated tracker resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    " - }, "TrackerName":{ "shape":"ResourceName", "documentation":"

    The name of the updated tracker resource.

    " }, + "TrackerArn":{ + "shape":"Arn", + "documentation":"

    The Amazon Resource Name (ARN) of the updated tracker resource. Used to specify a resource across AWS.

    • Format example: arn:aws:geo:region:account-id:tracker/ExampleTracker

    " + }, "UpdateTime":{ "shape":"Timestamp", "documentation":"

    The timestamp for when the tracker resource was last updated in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " } } }, + "Uuid":{ + "type":"string", + "pattern":"[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" + }, "ValidationException":{ "type":"structure", "required":[ - "FieldList", "Message", - "Reason" + "Reason", + "FieldList" ], "members":{ - "FieldList":{ - "shape":"ValidationExceptionFieldList", - "documentation":"

    The field where the invalid entry was detected.

    ", - "locationName":"fieldList" - }, "Message":{ "shape":"String", "locationName":"message" @@ -5696,6 +6147,11 @@ "shape":"ValidationExceptionReason", "documentation":"

    A message with the reason for the validation exception error.

    ", "locationName":"reason" + }, + "FieldList":{ + "shape":"ValidationExceptionFieldList", + "documentation":"

    The field where the invalid entry was detected.

    ", + "locationName":"fieldList" } }, "documentation":"

    The input failed to meet the constraints specified by the AWS service.

    ", @@ -5708,19 +6164,19 @@ "ValidationExceptionField":{ "type":"structure", "required":[ - "Message", - "Name" + "Name", + "Message" ], "members":{ - "Message":{ - "shape":"String", - "documentation":"

    A message with the reason for the validation exception error.

    ", - "locationName":"message" - }, "Name":{ "shape":"String", "documentation":"

    The field name where the invalid entry was detected.

    ", "locationName":"name" + }, + "Message":{ + "shape":"String", + "documentation":"

    A message with the reason for the validation exception error.

    ", + "locationName":"message" } }, "documentation":"

    The input failed to meet the constraints specified by the AWS service in a specified field.

    " @@ -5745,6 +6201,95 @@ "Kilograms", "Pounds" ] + }, + "VerifyDevicePositionRequest":{ + "type":"structure", + "required":[ + "TrackerName", + "DeviceState" + ], + "members":{ + "TrackerName":{ + "shape":"ResourceName", + "documentation":"

    The name of the tracker resource to be associated with verification request.

    ", + "location":"uri", + "locationName":"TrackerName" + }, + "DeviceState":{ + "shape":"DeviceState", + "documentation":"

    The device's state, including position, IP address, cell signals and Wi-Fi access points.

    " + }, + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The distance unit for the verification request.

    Default Value: Kilometers

    " + } + } + }, + "VerifyDevicePositionResponse":{ + "type":"structure", + "required":[ + "InferredState", + "DeviceId", + "SampleTime", + "ReceivedTime", + "DistanceUnit" + ], + "members":{ + "InferredState":{ + "shape":"InferredState", + "documentation":"

    The inferred state of the device, given the provided position, IP address, cellular signals, and Wi-Fi- access points.

    " + }, + "DeviceId":{ + "shape":"Id", + "documentation":"

    The device identifier.

    " + }, + "SampleTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "ReceivedTime":{ + "shape":"Timestamp", + "documentation":"

    The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

    " + }, + "DistanceUnit":{ + "shape":"DistanceUnit", + "documentation":"

    The distance unit for the verification response.

    " + } + } + }, + "WiFiAccessPoint":{ + "type":"structure", + "required":[ + "MacAddress", + "Rss" + ], + "members":{ + "MacAddress":{ + "shape":"WiFiAccessPointMacAddressString", + "documentation":"

    Medium access control address (Mac).

    " + }, + "Rss":{ + "shape":"WiFiAccessPointRssInteger", + "documentation":"

    Received signal strength (dBm) of the WLAN measurement data.

    " + } + }, + "documentation":"

    Wi-Fi access point.

    " + }, + "WiFiAccessPointList":{ + "type":"list", + "member":{"shape":"WiFiAccessPoint"} + }, + "WiFiAccessPointMacAddressString":{ + "type":"string", + "max":17, + "min":12, + "pattern":"([0-9A-Fa-f]{2}[:-]?){5}([0-9A-Fa-f]{2})" + }, + "WiFiAccessPointRssInteger":{ + "type":"integer", + "box":true, + "max":0, + "min":-128 } }, "documentation":"

    \"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing\"

    " diff --git a/tools/code-generation/api-descriptions/sns-2010-03-31.normal.json b/tools/code-generation/api-descriptions/sns-2010-03-31.normal.json index c97124fa765..fda8eca1a7a 100644 --- a/tools/code-generation/api-descriptions/sns-2010-03-31.normal.json +++ b/tools/code-generation/api-descriptions/sns-2010-03-31.normal.json @@ -4,12 +4,14 @@ "apiVersion":"2010-03-31", "endpointPrefix":"sns", "protocol":"query", + "protocols":["query"], "serviceAbbreviation":"Amazon SNS", "serviceFullName":"Amazon Simple Notification Service", "serviceId":"SNS", "signatureVersion":"v4", "uid":"sns-2010-03-31", - "xmlNamespace":"http://sns.amazonaws.com/doc/2010-03-31/" + "xmlNamespace":"http://sns.amazonaws.com/doc/2010-03-31/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddPermission":{ @@ -84,7 +86,7 @@ {"shape":"InternalErrorException"}, {"shape":"AuthorizationErrorException"} ], - "documentation":"

    Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action.

    PlatformPrincipal and PlatformCredential are received from the notification service.

    • For ADM, PlatformPrincipal is client id and PlatformCredential is client secret.

    • For Baidu, PlatformPrincipal is API key and PlatformCredential is secret key.

    • For APNS and APNS_SANDBOX using certificate credentials, PlatformPrincipal is SSL certificate and PlatformCredential is private key.

    • For APNS and APNS_SANDBOX using token credentials, PlatformPrincipal is signing key ID and PlatformCredential is signing key.

    • For GCM (Firebase Cloud Messaging) using key credentials, there is no PlatformPrincipal. The PlatformCredential is API key.

    • For GCM (Firebase Cloud Messaging) using token credentials, there is no PlatformPrincipal. The PlatformCredential is a JSON formatted private key file. When using the Amazon Web Services CLI, the file must be in string format and special characters must be ignored. To format the file correctly, Amazon SNS recommends using the following command: SERVICE_JSON=`jq @json <<< cat service.json`.

    • For MPNS, PlatformPrincipal is TLS certificate and PlatformCredential is private key.

    • For WNS, PlatformPrincipal is Package Security Identifier and PlatformCredential is secret key.

    You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint action.

    " + "documentation":"

    Creates a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging), to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the CreatePlatformApplication action.

    PlatformPrincipal and PlatformCredential are received from the notification service.

    • For ADM, PlatformPrincipal is client id and PlatformCredential is client secret.

    • For APNS and APNS_SANDBOX using certificate credentials, PlatformPrincipal is SSL certificate and PlatformCredential is private key.

    • For APNS and APNS_SANDBOX using token credentials, PlatformPrincipal is signing key ID and PlatformCredential is signing key.

    • For Baidu, PlatformPrincipal is API key and PlatformCredential is secret key.

    • For GCM (Firebase Cloud Messaging) using key credentials, there is no PlatformPrincipal. The PlatformCredential is API key.

    • For GCM (Firebase Cloud Messaging) using token credentials, there is no PlatformPrincipal. The PlatformCredential is a JSON formatted private key file. When using the Amazon Web Services CLI, the file must be in string format and special characters must be ignored. To format the file correctly, Amazon SNS recommends using the following command: SERVICE_JSON=`jq @json <<< cat service.json`.

    • For MPNS, PlatformPrincipal is TLS certificate and PlatformCredential is private key.

    • For WNS, PlatformPrincipal is Package Security Identifier and PlatformCredential is secret key.

    You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint action.

    " }, "CreatePlatformEndpoint":{ "name":"CreatePlatformEndpoint", @@ -1097,7 +1099,7 @@ }, "Attributes":{ "shape":"TopicAttributesMap", - "documentation":"

    A map of attributes with their corresponding values.

    The following lists the names, descriptions, and values of the special request parameters that the CreateTopic action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • DisplayName – The display name to use for a topic with SMS subscriptions.

    • FifoTopic – Set to true to create a FIFO topic.

    • Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic.

    • SignatureVersion – The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. By default, SignatureVersion is set to 1.

    • TracingConfig – Tracing mode of an Amazon SNS topic. By default TracingConfig is set to PassThrough, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.

    The following attribute applies only to server-side encryption:

    • KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference.

    The following attributes apply only to FIFO topics:

    • ArchivePolicy – Adds or updates an inline policy document to archive messages stored in the specified Amazon SNS topic.

    • BeginningArchiveTime – The earliest starting point at which a message in the topic’s archive can be replayed from. This point in time is based on the configured message retention period set by the topic’s message archiving policy.

    • ContentBasedDeduplication – Enables content-based deduplication for FIFO topics.

      • By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action.

      • When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message).

        (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action.

    " + "documentation":"

    A map of attributes with their corresponding values.

    The following lists names, descriptions, and values of the special request parameters that the CreateTopic action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • DisplayName – The display name to use for a topic with SMS subscriptions.

    • FifoTopic – Set to true to create a FIFO topic.

    • Policy – The policy that defines who can access your topic. By default, only the topic owner can publish or subscribe to the topic.

    • SignatureVersion – The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS. By default, SignatureVersion is set to 1.

    • TracingConfig – Tracing mode of an Amazon SNS topic. By default TracingConfig is set to PassThrough, and the topic passes through the tracing header it receives from an Amazon SNS publisher to its subscriptions. If set to Active, Amazon SNS will vend X-Ray segment data to topic owner account if the sampled flag in the tracing header is true. This is only supported on standard topics.

    The following attribute applies only to server-side encryption:

    • KmsMasterKeyId – The ID of an Amazon Web Services managed customer master key (CMK) for Amazon SNS or a custom CMK. For more information, see Key Terms. For more examples, see KeyId in the Key Management Service API Reference.

    The following attributes apply only to FIFO topics:

    • ArchivePolicy – Adds or updates an inline policy document to archive messages stored in the specified Amazon SNS topic.

    • BeginningArchiveTime – The earliest starting point at which a message in the topic’s archive can be replayed from. This point in time is based on the configured message retention period set by the topic’s message archiving policy.

    • ContentBasedDeduplication – Enables content-based deduplication for FIFO topics.

      • By default, ContentBasedDeduplication is set to false. If you create a FIFO topic and this attribute is false, you must specify a value for the MessageDeduplicationId parameter for the Publish action.

      • When you set ContentBasedDeduplication to true, Amazon SNS uses a SHA-256 hash to generate the MessageDeduplicationId using the body of the message (but not the attributes of the message).

        (Optional) To override the generated value, you can specify a value for the MessageDeduplicationId parameter for the Publish action.

    " }, "Tags":{ "shape":"TagList", @@ -1339,7 +1341,7 @@ "members":{ "Attributes":{ "shape":"SubscriptionAttributesMap", - "documentation":"

    A map of the subscription's attributes. Attributes in this map include the following:

    • ConfirmationWasAuthenticatedtrue if the subscription confirmation request was authenticated.

    • DeliveryPolicy – The JSON serialization of the subscription's delivery policy.

    • EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults.

    • FilterPolicy – The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • Owner – The Amazon Web Services account ID of the subscription's owner.

    • PendingConfirmationtrue if the subscription hasn't been confirmed. To confirm a pending subscription, call the ConfirmSubscription action with a confirmation token.

    • RawMessageDeliverytrue if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    • SubscriptionArn – The subscription's ARN.

    • TopicArn – The topic ARN that the subscription is associated with.

    The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

    " + "documentation":"

    A map of the subscription's attributes. Attributes in this map include the following:

    • ConfirmationWasAuthenticatedtrue if the subscription confirmation request was authenticated.

    • DeliveryPolicy – The JSON serialization of the subscription's delivery policy.

    • EffectiveDeliveryPolicy – The JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults.

    • FilterPolicy – The filter policy JSON that is assigned to the subscription. For more information, see Amazon SNS Message Filtering in the Amazon SNS Developer Guide.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • Owner – The Amazon Web Services account ID of the subscription's owner.

    • PendingConfirmationtrue if the subscription hasn't been confirmed. To confirm a pending subscription, call the ConfirmSubscription action with a confirmation token.

    • RawMessageDeliverytrue if raw message delivery is enabled for the subscription. Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    • SubscriptionArn – The subscription's ARN.

    • TopicArn – The topic ARN that the subscription is associated with.

    The following attribute applies only to Amazon Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Firehose delivery stream subscriptions. For more information, see Fanout to Firehose delivery streams in the Amazon SNS Developer Guide.

    " } }, "documentation":"

    Response for GetSubscriptionAttributes action.

    " @@ -2090,7 +2092,7 @@ }, "Subject":{ "shape":"subject", - "documentation":"

    Optional parameter to be used as the \"Subject\" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.

    Constraints: Subjects must be ASCII text that begins with a letter, number, or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long.

    " + "documentation":"

    Optional parameter to be used as the \"Subject\" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.

    Constraints: Subjects must be UTF-8 text with no line breaks or control characters, and less than 100 characters long.

    " }, "MessageStructure":{ "shape":"messageStructure", @@ -2287,7 +2289,7 @@ }, "AttributeName":{ "shape":"attributeName", - "documentation":"

    A map of attributes with their corresponding values.

    The following lists the names, descriptions, and values of the special request parameters that this action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

    " + "documentation":"

    A map of attributes with their corresponding values.

    The following lists the names, descriptions, and values of the special request parameters that this action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    The following attribute applies only to Amazon Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Firehose delivery stream subscriptions. For more information, see Fanout to Firehose delivery streams in the Amazon SNS Developer Guide.

    " }, "AttributeValue":{ "shape":"attributeValue", @@ -2353,7 +2355,7 @@ }, "Attributes":{ "shape":"SubscriptionAttributesMap", - "documentation":"

    A map of attributes with their corresponding values.

    The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    The following attribute applies only to Amazon Kinesis Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Kinesis Data Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.

    The following attributes apply only to FIFO topics:

    • ReplayPolicy – Adds or updates an inline policy document for a subscription to replay messages stored in the specified Amazon SNS topic.

    • ReplayStatus – Retrieves the status of the subscription message replay, which can be one of the following:

      • Completed – The replay has successfully redelivered all messages, and is now delivering newly published messages. If an ending point was specified in the ReplayPolicy then the subscription will no longer receive newly published messages.

      • In progress – The replay is currently replaying the selected messages.

      • Failed – The replay was unable to complete.

      • Pending – The default state while the replay initiates.

    " + "documentation":"

    A map of attributes with their corresponding values.

    The following lists the names, descriptions, and values of the special request parameters that the Subscribe action uses:

    • DeliveryPolicy – The policy that defines how Amazon SNS retries failed deliveries to HTTP/S endpoints.

    • FilterPolicy – The simple JSON object that lets your subscriber receive only a subset of messages, rather than receiving every message published to the topic.

    • FilterPolicyScope – This attribute lets you choose the filtering scope by using one of the following string value types:

      • MessageAttributes (default) – The filter is applied on the message attributes.

      • MessageBody – The filter is applied on the message body.

    • RawMessageDelivery – When set to true, enables raw message delivery to Amazon SQS or HTTP/S endpoints. This eliminates the need for the endpoints to process JSON formatting, which is otherwise created for Amazon SNS metadata.

    • RedrivePolicy – When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue. Messages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.

    The following attribute applies only to Amazon Data Firehose delivery stream subscriptions:

    • SubscriptionRoleArn – The ARN of the IAM role that has the following:

      • Permission to write to the Firehose delivery stream

      • Amazon SNS listed as a trusted entity

      Specifying a valid ARN for this attribute is required for Firehose delivery stream subscriptions. For more information, see Fanout to Firehose delivery streams in the Amazon SNS Developer Guide.

    The following attributes apply only to FIFO topics:

    • ReplayPolicy – Adds or updates an inline policy document for a subscription to replay messages stored in the specified Amazon SNS topic.

    • ReplayStatus – Retrieves the status of the subscription message replay, which can be one of the following:

      • Completed – The replay has successfully redelivered all messages, and is now delivering newly published messages. If an ending point was specified in the ReplayPolicy then the subscription will no longer receive newly published messages.

      • In progress – The replay is currently replaying the selected messages.

      • Failed – The replay was unable to complete.

      • Pending – The default state while the replay initiates.

    " }, "ReturnSubscriptionArn":{ "shape":"boolean", diff --git a/tools/code-generation/api-descriptions/sqs-2012-11-05.normal.json b/tools/code-generation/api-descriptions/sqs-2012-11-05.normal.json index 018749d7f33..f544283aca6 100644 --- a/tools/code-generation/api-descriptions/sqs-2012-11-05.normal.json +++ b/tools/code-generation/api-descriptions/sqs-2012-11-05.normal.json @@ -7,6 +7,7 @@ "endpointPrefix":"sqs", "jsonVersion":"1.0", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"Amazon SQS", "serviceFullName":"Amazon Simple Queue Service", "serviceId":"SQS", @@ -346,7 +347,7 @@ {"shape":"KmsInvalidKeyUsage"}, {"shape":"InvalidAddress"} ], - "documentation":"

    Delivers a message to the specified queue.

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

    " + "documentation":"

    Delivers a message to the specified queue.

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the W3C specification for characters.

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message body contains at least one valid character.

    " }, "SendMessageBatch":{ "name":"SendMessageBatch", @@ -375,7 +376,7 @@ {"shape":"KmsInvalidKeyUsage"}, {"shape":"InvalidAddress"} ], - "documentation":"

    You can use SendMessageBatch to send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all). This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.

    The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

    The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KiB (262,144 bytes).

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

    If you don't specify the DelaySeconds parameter for an entry, Amazon SQS uses the default value for the queue.

    " + "documentation":"

    You can use SendMessageBatch to send up to 10 messages to the specified queue by assigning either identical or different values to each message (or by not assigning values at all). This is a batch version of SendMessage. For a FIFO queue, multiple messages within a single batch are enqueued in the order they are sent.

    The result of sending each message is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

    The maximum allowed individual message size and the maximum total payload size (the sum of the individual lengths of all of the batched messages) are both 256 KiB (262,144 bytes).

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the W3C specification for characters.

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message body contains at least one valid character.

    If you don't specify the DelaySeconds parameter for an entry, Amazon SQS uses the default value for the queue.

    " }, "SetQueueAttributes":{ "name":"SetQueueAttributes", @@ -1598,7 +1599,7 @@ }, "MessageBody":{ "shape":"String", - "documentation":"

    The message to send. The minimum size is one character. The maximum size is 256 KiB.

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed:

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Any characters not included in this list will be rejected. For more information, see the W3C specification for characters.

    " + "documentation":"

    The message to send. The minimum size is one character. The maximum size is 256 KiB.

    A message can include only XML, JSON, and unformatted text. The following Unicode characters are allowed. For more information, see the W3C specification for characters.

    #x9 | #xA | #xD | #x20 to #xD7FF | #xE000 to #xFFFD | #x10000 to #x10FFFF

    Amazon SQS does not throw an exception or completely reject the message if it contains invalid characters. Instead, it replaces those invalid characters with U+FFFD before storing the message in the queue, as long as the message body contains at least one valid character.

    " }, "DelaySeconds":{ "shape":"NullableInteger", diff --git a/tools/code-generation/api-descriptions/storagegateway-2013-06-30.normal.json b/tools/code-generation/api-descriptions/storagegateway-2013-06-30.normal.json index 23b61383f86..93da2d52d46 100644 --- a/tools/code-generation/api-descriptions/storagegateway-2013-06-30.normal.json +++ b/tools/code-generation/api-descriptions/storagegateway-2013-06-30.normal.json @@ -5,11 +5,13 @@ "endpointPrefix":"storagegateway", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceFullName":"AWS Storage Gateway", "serviceId":"Storage Gateway", "signatureVersion":"v4", "targetPrefix":"StorageGateway_20130630", - "uid":"storagegateway-2013-06-30" + "uid":"storagegateway-2013-06-30", + "auth":["aws.auth#sigv4"] }, "operations":{ "ActivateGateway":{ @@ -544,7 +546,7 @@ {"shape":"InvalidGatewayRequestException"}, {"shape":"InternalServerError"} ], - "documentation":"

    Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone.

    " + "documentation":"

    Returns your gateway's maintenance window schedule information, with values for monthly or weekly cadence, specific day and time to begin maintenance, and which types of updates to apply. Time values returned are for the gateway's time zone.

    " }, "DescribeNFSFileShares":{ "name":"DescribeNFSFileShares", @@ -1146,7 +1148,7 @@ {"shape":"InvalidGatewayRequestException"}, {"shape":"InternalServerError"} ], - "documentation":"

    Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.

    For gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN.

    " + "documentation":"

    Updates a gateway's metadata, which includes the gateway's name, time zone, and metadata cache size. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.

    For gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN.

    " }, "UpdateGatewaySoftwareNow":{ "name":"UpdateGatewaySoftwareNow", @@ -1174,7 +1176,7 @@ {"shape":"InvalidGatewayRequestException"}, {"shape":"InternalServerError"} ], - "documentation":"

    Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone.

    " + "documentation":"

    Updates a gateway's maintenance window schedule, with settings for monthly or weekly cadence, specific day and time to begin maintenance, and which types of updates to apply. Time configuration uses the gateway's time zone. You can pass values for a complete maintenance schedule, or update policy, or both. Previous values will persist for whichever setting you choose not to modify. If an incomplete or invalid maintenance schedule is passed, the entire request will be rejected with an error and no changes will occur.

    A complete maintenance schedule must include values for both MinuteOfHour and HourOfDay, and either DayOfMonth or DayOfWeek.

    We recommend keeping maintenance updates turned on, except in specific use cases where the brief disruptions caused by updating the gateway could critically impact your deployment.

    " }, "UpdateNFSFileShare":{ "name":"UpdateNFSFileShare", @@ -1244,7 +1246,7 @@ {"shape":"InvalidGatewayRequestException"}, {"shape":"InternalServerError"} ], - "documentation":"

    Updates the SMB security strategy on a file gateway. This action is only supported in file gateways.

    This API is called Security level in the User Guide.

    A higher security level can affect performance of the gateway.

    " + "documentation":"

    Updates the SMB security strategy level for an Amazon S3 file gateway. This action is only supported for Amazon S3 file gateways.

    For information about configuring this setting using the Amazon Web Services console, see Setting a security level for your gateway in the Amazon S3 File Gateway User Guide.

    A higher security strategy level can affect performance of the gateway.

    " }, "UpdateSnapshotSchedule":{ "name":"UpdateSnapshotSchedule", @@ -1623,6 +1625,13 @@ "max":10, "min":1 }, + "AutomaticUpdatePolicy":{ + "type":"string", + "enum":[ + "ALL_VERSIONS", + "EMERGENCY_VERSIONS_ONLY" + ] + }, "AvailabilityMonitorTestStatus":{ "type":"string", "enum":[ @@ -2980,14 +2989,18 @@ }, "DayOfMonth":{ "shape":"DayOfMonth", - "documentation":"

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

    " + "documentation":"

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.

    " }, "Timezone":{ "shape":"GatewayTimezone", "documentation":"

    A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.

    " + }, + "SoftwareUpdatePreferences":{ + "shape":"SoftwareUpdatePreferences", + "documentation":"

    A set of variables indicating the software update preferences for the gateway.

    Includes AutomaticUpdatePolicy field with the following inputs:

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.

    " } }, - "documentation":"

    A JSON object containing the following fields:

    " + "documentation":"

    A JSON object containing the following fields:

    " }, "DescribeNFSFileSharesInput":{ "type":"structure", @@ -3056,7 +3069,7 @@ }, "SMBSecurityStrategy":{ "shape":"SMBSecurityStrategy", - "documentation":"

    The type of security strategy that was specified for file gateway.

    • ClientSpecified: If you choose this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only for S3 File Gateway.

    • MandatorySigning: If you use this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later.

    • MandatoryEncryption: If you use this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    • EnforceEncryption: If you use this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    " + "documentation":"

    The type of security strategy that was specified for file gateway.

    • ClientSpecified: If you choose this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only for S3 File Gateway.

    • MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing turned on. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008, or later.

    • MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption turned on. Both 256-bit and 128-bit algorithms are allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    • MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    " }, "FileSharesVisible":{ "shape":"Boolean", @@ -4948,6 +4961,16 @@ "type":"string", "pattern":"\\Asnap-([0-9A-Fa-f]{8}|[0-9A-Fa-f]{17})\\z" }, + "SoftwareUpdatePreferences":{ + "type":"structure", + "members":{ + "AutomaticUpdatePolicy":{ + "shape":"AutomaticUpdatePolicy", + "documentation":"

    Indicates the automatic update policy for a gateway.

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.

    " + } + }, + "documentation":"

    A set of variables indicating the software update preferences for the gateway.

    " + }, "SoftwareUpdatesEndDate":{ "type":"string", "max":25, @@ -5511,7 +5534,7 @@ }, "GatewayCapacity":{ "shape":"GatewayCapacity", - "documentation":"

    Specifies the size of the gateway's metadata cache.

    " + "documentation":"

    Specifies the size of the gateway's metadata cache. This setting impacts gateway performance and hardware recommendations. For more information, see Performance guidance for gateways with multiple file shares in the Amazon S3 File Gateway User Guide.

    " } } }, @@ -5543,11 +5566,7 @@ }, "UpdateMaintenanceStartTimeInput":{ "type":"structure", - "required":[ - "GatewayARN", - "HourOfDay", - "MinuteOfHour" - ], + "required":["GatewayARN"], "members":{ "GatewayARN":{"shape":"GatewayARN"}, "HourOfDay":{ @@ -5560,14 +5579,18 @@ }, "DayOfWeek":{ "shape":"DayOfWeek", - "documentation":"

    The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

    " + "documentation":"

    The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

    " }, "DayOfMonth":{ "shape":"DayOfMonth", - "documentation":"

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.

    " + "documentation":"

    The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month. It is not possible to set the maintenance schedule to start on days 29 through 31.

    " + }, + "SoftwareUpdatePreferences":{ + "shape":"SoftwareUpdatePreferences", + "documentation":"

    A set of variables indicating the software update preferences for the gateway.

    Includes AutomaticUpdatePolicy field with the following inputs:

    ALL_VERSIONS - Enables regular gateway maintenance updates.

    EMERGENCY_VERSIONS_ONLY - Disables regular gateway maintenance updates.

    " } }, - "documentation":"

    A JSON object containing the following fields:

    " + "documentation":"

    A JSON object containing the following fields:

    " }, "UpdateMaintenanceStartTimeOutput":{ "type":"structure", @@ -5796,7 +5819,7 @@ "GatewayARN":{"shape":"GatewayARN"}, "SMBSecurityStrategy":{ "shape":"SMBSecurityStrategy", - "documentation":"

    Specifies the type of security strategy.

    ClientSpecified: if you use this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only in S3 File Gateway.

    MandatorySigning: if you use this option, file gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

    MandatoryEncryption: if you use this option, file gateway only allows connections from SMBv3 clients that have encryption enabled. This option is highly recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    " + "documentation":"

    Specifies the type of security strategy.

    ClientSpecified: If you choose this option, requests are established based on what is negotiated by the client. This option is recommended when you want to maximize compatibility across different clients in your environment. Supported only for S3 File Gateway.

    MandatorySigning: If you choose this option, File Gateway only allows connections from SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

    MandatoryEncryption: If you choose this option, File Gateway only allows connections from SMBv3 clients that have encryption enabled. This option is recommended for environments that handle sensitive data. This option works with SMB clients on Microsoft Windows 8, Windows Server 2012 or newer.

    MandatoryEncryptionNoAes128: If you choose this option, File Gateway only allows connections from SMBv3 clients that use 256-bit AES encryption algorithms. 128-bit algorithms are not allowed. This option is recommended for environments that handle sensitive data. It works with SMB clients on Microsoft Windows 8, Windows Server 2012, or later.

    " } } }, diff --git a/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json b/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json index 88e9002a1f6..8f8a08191d9 100644 --- a/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -235,7 +233,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -270,7 +267,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -281,14 +277,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -302,14 +300,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -318,11 +314,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -333,14 +329,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -354,7 +352,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -374,7 +371,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -385,14 +381,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -403,9 +401,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],