From 11af3c647e84697a649351934060aa58663f3d59 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Mon, 22 Jul 2024 18:13:20 +0000 Subject: [PATCH] Adds dualstack support for Redshift Serverless workgroup. This release adds 1/ support of register S3 locations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters. Amazon Neptune Analytics provides new options for customers to start with smaller graphs at a lower cost. CreateGraph, CreaateGraphImportTask, UpdateGraph and StartImportTask APIs will now allow 32 and 64 for `provisioned-memory` Documentation update for IVS Low Latency API Reference. --- VERSION | 2 +- .../include/aws/datazone/DataZoneClient.h | 125 +++ .../aws/datazone/DataZoneServiceClientModel.h | 24 + .../datazone/model/AssetFilterConfiguration.h | 75 ++ .../aws/datazone/model/AssetFilterSummary.h | 214 ++++ .../model/ColumnFilterConfiguration.h | 63 ++ .../datazone/model/CreateAssetFilterRequest.h | 142 +++ .../datazone/model/CreateAssetFilterResult.h | 217 ++++ .../datazone/model/DeleteAssetFilterRequest.h | 90 ++ .../EnvironmentBlueprintConfigurationItem.h | 18 + .../aws/datazone/model/EqualToExpression.h | 79 ++ .../include/aws/datazone/model/FilterStatus.h | 31 + .../datazone/model/GetAssetFilterRequest.h | 90 ++ .../aws/datazone/model/GetAssetFilterResult.h | 217 ++++ ...tEnvironmentBlueprintConfigurationResult.h | 16 + .../datazone/model/GreaterThanExpression.h | 79 ++ .../model/GreaterThanOrEqualToExpression.h | 79 ++ .../include/aws/datazone/model/InExpression.h | 80 ++ .../aws/datazone/model/IsNotNullExpression.h | 61 ++ .../aws/datazone/model/IsNullExpression.h | 61 ++ .../model/LakeFormationConfiguration.h | 83 ++ .../aws/datazone/model/LessThanExpression.h | 79 ++ .../model/LessThanOrEqualToExpression.h | 79 ++ .../aws/datazone/model/LikeExpression.h | 78 ++ .../datazone/model/ListAssetFiltersRequest.h | 134 +++ .../datazone/model/ListAssetFiltersResult.h | 89 ++ .../aws/datazone/model/NotEqualToExpression.h | 79 ++ .../aws/datazone/model/NotInExpression.h | 81 ++ .../aws/datazone/model/NotLikeExpression.h | 79 ++ .../model/ProvisioningConfiguration.h | 60 ++ ...EnvironmentBlueprintConfigurationRequest.h | 18 + ...tEnvironmentBlueprintConfigurationResult.h | 16 + .../include/aws/datazone/model/RowFilter.h | 94 ++ .../datazone/model/RowFilterConfiguration.h | 72 ++ .../aws/datazone/model/RowFilterExpression.h | 235 +++++ .../datazone/model/UpdateAssetFilterRequest.h | 140 +++ .../datazone/model/UpdateAssetFilterResult.h | 217 ++++ .../source/DataZoneClient.cpp | 228 +++++ .../source/model/AssetFilterConfiguration.cpp | 73 ++ .../source/model/AssetFilterSummary.cpp | 192 ++++ .../model/ColumnFilterConfiguration.cpp | 67 ++ .../source/model/CreateAssetFilterRequest.cpp | 59 ++ .../source/model/CreateAssetFilterResult.cpp | 113 +++ .../source/model/DeleteAssetFilterRequest.cpp | 29 + .../EnvironmentBlueprintConfigurationItem.cpp | 22 + .../source/model/EqualToExpression.cpp | 73 ++ .../source/model/FilterStatus.cpp | 72 ++ .../source/model/GetAssetFilterRequest.cpp | 29 + .../source/model/GetAssetFilterResult.cpp | 113 +++ ...nvironmentBlueprintConfigurationResult.cpp | 9 + .../source/model/GreaterThanExpression.cpp | 73 ++ .../model/GreaterThanOrEqualToExpression.cpp | 73 ++ .../source/model/InExpression.cpp | 81 ++ .../source/model/IsNotNullExpression.cpp | 59 ++ .../source/model/IsNullExpression.cpp | 59 ++ .../model/LakeFormationConfiguration.cpp | 81 ++ .../source/model/LessThanExpression.cpp | 73 ++ .../model/LessThanOrEqualToExpression.cpp | 73 ++ .../source/model/LikeExpression.cpp | 73 ++ .../source/model/ListAssetFiltersRequest.cpp | 61 ++ .../source/model/ListAssetFiltersResult.cpp | 57 ++ .../source/model/NotEqualToExpression.cpp | 73 ++ .../source/model/NotInExpression.cpp | 81 ++ .../source/model/NotLikeExpression.cpp | 73 ++ .../model/ProvisioningConfiguration.cpp | 59 ++ ...vironmentBlueprintConfigurationRequest.cpp | 12 + ...nvironmentBlueprintConfigurationResult.cpp | 9 + .../source/model/RowFilter.cpp | 103 ++ .../source/model/RowFilterConfiguration.cpp | 74 ++ .../source/model/RowFilterExpression.cpp | 213 ++++ .../source/model/UpdateAssetFilterRequest.cpp | 52 + .../source/model/UpdateAssetFilterResult.cpp | 113 +++ .../include/aws/ivs/IVSClient.h | 83 +- .../aws/ivs/model/AudioConfiguration.h | 42 +- .../aws/ivs/model/BatchGetStreamKeyResult.h | 32 +- .../BatchStartViewerSessionRevocationError.h | 34 +- .../include/aws/ivs/model/Channel.h | 248 ++--- .../include/aws/ivs/model/ChannelSummary.h | 146 +-- .../aws/ivs/model/CreateChannelRequest.h | 164 +-- .../CreateRecordingConfigurationRequest.h | 84 +- .../ivs/model/ImportPlaybackKeyPairRequest.h | 34 +- .../aws/ivs/model/IngestConfiguration.h | 32 +- .../aws/ivs/model/ListChannelsRequest.h | 48 +- .../ivs/model/ListPlaybackKeyPairsRequest.h | 28 +- .../ListPlaybackRestrictionPoliciesRequest.h | 26 +- .../ListPlaybackRestrictionPoliciesResult.h | 32 +- .../ListRecordingConfigurationsRequest.h | 28 +- .../model/ListRecordingConfigurationsResult.h | 32 +- .../aws/ivs/model/ListStreamKeysRequest.h | 26 +- .../aws/ivs/model/ListStreamKeysResult.h | 32 +- .../aws/ivs/model/ListStreamSessionsRequest.h | 26 +- .../aws/ivs/model/ListStreamSessionsResult.h | 32 +- .../aws/ivs/model/ListStreamsRequest.h | 26 +- .../include/aws/ivs/model/ListStreamsResult.h | 32 +- .../include/aws/ivs/model/PlaybackKeyPair.h | 34 +- .../aws/ivs/model/PlaybackRestrictionPolicy.h | 36 +- .../model/PlaybackRestrictionPolicySummary.h | 36 +- .../aws/ivs/model/RecordingConfiguration.h | 82 +- .../ivs/model/RecordingConfigurationSummary.h | 32 +- .../model/RenditionConfigurationRendition.h | 4 +- .../include/aws/ivs/model/Stream.h | 44 +- .../include/aws/ivs/model/StreamEvent.h | 34 +- .../include/aws/ivs/model/StreamKey.h | 34 +- .../include/aws/ivs/model/StreamSession.h | 90 +- .../aws/ivs/model/StreamSessionSummary.h | 68 +- .../include/aws/ivs/model/StreamSummary.h | 76 +- .../aws/ivs/model/ThumbnailConfiguration.h | 48 +- .../model/ThumbnailConfigurationResolution.h | 4 +- .../aws/ivs/model/UpdateChannelRequest.h | 156 +-- .../UpdatePlaybackRestrictionPolicyRequest.h | 36 +- .../aws/ivs/model/VideoConfiguration.h | 36 +- .../source/model/AudioConfiguration.cpp | 38 +- .../source/model/BatchGetStreamKeyResult.cpp | 16 +- ...BatchStartViewerSessionRevocationError.cpp | 30 +- .../aws-cpp-sdk-ivs/source/model/Channel.cpp | 162 +-- .../source/model/ChannelSummary.cpp | 112 +-- .../source/model/CreateChannelRequest.cpp | 56 +- .../CreateRecordingConfigurationRequest.cpp | 36 +- .../model/ImportPlaybackKeyPairRequest.cpp | 10 +- .../source/model/IngestConfiguration.cpp | 24 +- .../source/model/ListChannelsRequest.cpp | 22 +- .../model/ListPlaybackKeyPairsRequest.cpp | 12 +- ...ListPlaybackRestrictionPoliciesRequest.cpp | 12 +- .../ListPlaybackRestrictionPoliciesResult.cpp | 12 +- .../ListRecordingConfigurationsRequest.cpp | 12 +- .../ListRecordingConfigurationsResult.cpp | 12 +- .../source/model/ListStreamKeysRequest.cpp | 12 +- .../source/model/ListStreamKeysResult.cpp | 12 +- .../model/ListStreamSessionsRequest.cpp | 12 +- .../source/model/ListStreamSessionsResult.cpp | 12 +- .../source/model/ListStreamsRequest.cpp | 12 +- .../source/model/ListStreamsResult.cpp | 12 +- .../source/model/PlaybackKeyPair.cpp | 22 +- .../model/PlaybackRestrictionPolicy.cpp | 28 +- .../PlaybackRestrictionPolicySummary.cpp | 28 +- .../source/model/RecordingConfiguration.cpp | 72 +- .../model/RecordingConfigurationSummary.cpp | 22 +- .../model/RenditionConfigurationRendition.cpp | 20 +- .../aws-cpp-sdk-ivs/source/model/Stream.cpp | 28 +- .../source/model/StreamEvent.cpp | 28 +- .../source/model/StreamKey.cpp | 30 +- .../source/model/StreamSession.cpp | 66 +- .../source/model/StreamSessionSummary.cpp | 48 +- .../source/model/StreamSummary.cpp | 54 +- .../source/model/ThumbnailConfiguration.cpp | 32 +- .../ThumbnailConfigurationResolution.cpp | 20 +- .../source/model/UpdateChannelRequest.cpp | 48 +- ...UpdatePlaybackRestrictionPolicyRequest.cpp | 14 +- .../source/model/VideoConfiguration.cpp | 22 +- .../RedshiftServerlessErrors.h | 1 + .../model/CreateScheduledActionRequest.h | 2 +- .../model/CreateWorkgroupRequest.h | 18 + .../model/NetworkInterface.h | 17 + .../model/ScheduledActionResponse.h | 2 +- .../model/UpdateScheduledActionRequest.h | 2 +- .../model/UpdateWorkgroupRequest.h | 18 + .../aws/redshift-serverless/model/Workgroup.h | 18 + .../source/RedshiftServerlessErrors.cpp | 5 + .../source/model/CreateWorkgroupRequest.cpp | 7 + .../source/model/NetworkInterface.cpp | 14 + .../source/model/UpdateWorkgroupRequest.cpp | 7 + .../source/model/Workgroup.cpp | 14 + .../include/aws/core/VersionConfig.h | 4 +- .../datazone-2018-05-10.normal.json | 937 +++++++++++++++++- .../ivs-2020-07-14.normal.json | 549 +++++----- .../neptune-graph-2023-11-29.normal.json | 5 +- ...redshift-serverless-2021-04-21.normal.json | 41 +- 167 files changed, 9092 insertions(+), 2006 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterSummary.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ColumnFilterConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteAssetFilterRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EqualToExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/FilterStatus.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanOrEqualToExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/InExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNotNullExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNullExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LakeFormationConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanOrEqualToExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LikeExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotEqualToExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotInExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotLikeExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProvisioningConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilter.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterExpression.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterRequest.h create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterResult.h create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ColumnFilterConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteAssetFilterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/EqualToExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/FilterStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanOrEqualToExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/InExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/IsNotNullExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/IsNullExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LakeFormationConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LessThanExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LessThanOrEqualToExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/LikeExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersResult.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/NotEqualToExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/NotInExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/NotLikeExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ProvisioningConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RowFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RowFilterConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RowFilterExpression.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterResult.cpp diff --git a/VERSION b/VERSION index 6d7c1d1fde2..2f3cea7dab3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.368 \ No newline at end of file +1.11.369 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h index 0aa7260905d..4ab55442a7b 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/DataZoneClient.h @@ -235,6 +235,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::CreateAsset, request, handler, context); } + /** + *

Creates a data asset filter.

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateAssetFilterOutcome CreateAssetFilter(const Model::CreateAssetFilterRequest& request) const; + + /** + * A Callable wrapper for CreateAssetFilter that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateAssetFilterOutcomeCallable CreateAssetFilterCallable(const CreateAssetFilterRequestT& request) const + { + return SubmitCallable(&DataZoneClient::CreateAssetFilter, request); + } + + /** + * An Async wrapper for CreateAssetFilter that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateAssetFilterAsync(const CreateAssetFilterRequestT& request, const CreateAssetFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::CreateAssetFilter, request, handler, context); + } + /** *

Creates a revision of the asset.

See Also:

AWS @@ -717,6 +742,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::DeleteAsset, request, handler, context); } + /** + *

Deletes an asset filter.

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteAssetFilterOutcome DeleteAssetFilter(const Model::DeleteAssetFilterRequest& request) const; + + /** + * A Callable wrapper for DeleteAssetFilter that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteAssetFilterOutcomeCallable DeleteAssetFilterCallable(const DeleteAssetFilterRequestT& request) const + { + return SubmitCallable(&DataZoneClient::DeleteAssetFilter, request); + } + + /** + * An Async wrapper for DeleteAssetFilter that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteAssetFilterAsync(const DeleteAssetFilterRequestT& request, const DeleteAssetFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::DeleteAssetFilter, request, handler, context); + } + /** *

Deletes an asset type in Amazon DataZone.

See Also:

AWS @@ -1204,6 +1254,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetAsset, request, handler, context); } + /** + *

Gets an asset filter.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetAssetFilterOutcome GetAssetFilter(const Model::GetAssetFilterRequest& request) const; + + /** + * A Callable wrapper for GetAssetFilter that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetAssetFilterOutcomeCallable GetAssetFilterCallable(const GetAssetFilterRequestT& request) const + { + return SubmitCallable(&DataZoneClient::GetAssetFilter, request); + } + + /** + * An Async wrapper for GetAssetFilter that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetAssetFilterAsync(const GetAssetFilterRequestT& request, const GetAssetFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::GetAssetFilter, request, handler, context); + } + /** *

Gets an Amazon DataZone asset type.

See Also:

AWS @@ -1811,6 +1886,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::GetUserProfile, request, handler, context); } + /** + *

Lists asset filters.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListAssetFiltersOutcome ListAssetFilters(const Model::ListAssetFiltersRequest& request) const; + + /** + * A Callable wrapper for ListAssetFilters that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListAssetFiltersOutcomeCallable ListAssetFiltersCallable(const ListAssetFiltersRequestT& request) const + { + return SubmitCallable(&DataZoneClient::ListAssetFilters, request); + } + + /** + * An Async wrapper for ListAssetFilters that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListAssetFiltersAsync(const ListAssetFiltersRequestT& request, const ListAssetFiltersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::ListAssetFilters, request, handler, context); + } + /** *

Lists the revisions for the asset.

See Also:

AWS @@ -2721,6 +2821,31 @@ namespace DataZone return SubmitAsync(&DataZoneClient::UntagResource, request, handler, context); } + /** + *

Updates an asset filter.

See Also:

AWS + * API Reference

+ */ + virtual Model::UpdateAssetFilterOutcome UpdateAssetFilter(const Model::UpdateAssetFilterRequest& request) const; + + /** + * A Callable wrapper for UpdateAssetFilter that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateAssetFilterOutcomeCallable UpdateAssetFilterCallable(const UpdateAssetFilterRequestT& request) const + { + return SubmitCallable(&DataZoneClient::UpdateAssetFilter, request); + } + + /** + * An Async wrapper for UpdateAssetFilter that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateAssetFilterAsync(const UpdateAssetFilterRequestT& request, const UpdateAssetFilterResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&DataZoneClient::UpdateAssetFilter, request, handler, context); + } + /** *

Updates the specified data source in Amazon DataZone.

See * Also:

#include #include +#include #include #include #include @@ -57,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -81,6 +83,7 @@ #include #include #include +#include #include #include #include @@ -117,6 +120,7 @@ #include #include #include +#include #include #include #include @@ -178,6 +182,7 @@ namespace Aws class CancelMetadataGenerationRunRequest; class CancelSubscriptionRequest; class CreateAssetRequest; + class CreateAssetFilterRequest; class CreateAssetRevisionRequest; class CreateAssetTypeRequest; class CreateDataSourceRequest; @@ -197,6 +202,7 @@ namespace Aws class CreateSubscriptionTargetRequest; class CreateUserProfileRequest; class DeleteAssetRequest; + class DeleteAssetFilterRequest; class DeleteAssetTypeRequest; class DeleteDataSourceRequest; class DeleteDomainRequest; @@ -216,6 +222,7 @@ namespace Aws class DeleteTimeSeriesDataPointsRequest; class DisassociateEnvironmentRoleRequest; class GetAssetRequest; + class GetAssetFilterRequest; class GetAssetTypeRequest; class GetDataSourceRequest; class GetDataSourceRunRequest; @@ -240,6 +247,7 @@ namespace Aws class GetSubscriptionTargetRequest; class GetTimeSeriesDataPointRequest; class GetUserProfileRequest; + class ListAssetFiltersRequest; class ListAssetRevisionsRequest; class ListDataSourceRunActivitiesRequest; class ListDataSourceRunsRequest; @@ -276,6 +284,7 @@ namespace Aws class StartMetadataGenerationRunRequest; class TagResourceRequest; class UntagResourceRequest; + class UpdateAssetFilterRequest; class UpdateDataSourceRequest; class UpdateDomainRequest; class UpdateEnvironmentRequest; @@ -298,6 +307,7 @@ namespace Aws typedef Aws::Utils::Outcome CancelMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome CancelSubscriptionOutcome; typedef Aws::Utils::Outcome CreateAssetOutcome; + typedef Aws::Utils::Outcome CreateAssetFilterOutcome; typedef Aws::Utils::Outcome CreateAssetRevisionOutcome; typedef Aws::Utils::Outcome CreateAssetTypeOutcome; typedef Aws::Utils::Outcome CreateDataSourceOutcome; @@ -317,6 +327,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateSubscriptionTargetOutcome; typedef Aws::Utils::Outcome CreateUserProfileOutcome; typedef Aws::Utils::Outcome DeleteAssetOutcome; + typedef Aws::Utils::Outcome DeleteAssetFilterOutcome; typedef Aws::Utils::Outcome DeleteAssetTypeOutcome; typedef Aws::Utils::Outcome DeleteDataSourceOutcome; typedef Aws::Utils::Outcome DeleteDomainOutcome; @@ -336,6 +347,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteTimeSeriesDataPointsOutcome; typedef Aws::Utils::Outcome DisassociateEnvironmentRoleOutcome; typedef Aws::Utils::Outcome GetAssetOutcome; + typedef Aws::Utils::Outcome GetAssetFilterOutcome; typedef Aws::Utils::Outcome GetAssetTypeOutcome; typedef Aws::Utils::Outcome GetDataSourceOutcome; typedef Aws::Utils::Outcome GetDataSourceRunOutcome; @@ -360,6 +372,7 @@ namespace Aws typedef Aws::Utils::Outcome GetSubscriptionTargetOutcome; typedef Aws::Utils::Outcome GetTimeSeriesDataPointOutcome; typedef Aws::Utils::Outcome GetUserProfileOutcome; + typedef Aws::Utils::Outcome ListAssetFiltersOutcome; typedef Aws::Utils::Outcome ListAssetRevisionsOutcome; typedef Aws::Utils::Outcome ListDataSourceRunActivitiesOutcome; typedef Aws::Utils::Outcome ListDataSourceRunsOutcome; @@ -396,6 +409,7 @@ namespace Aws typedef Aws::Utils::Outcome StartMetadataGenerationRunOutcome; typedef Aws::Utils::Outcome TagResourceOutcome; typedef Aws::Utils::Outcome UntagResourceOutcome; + typedef Aws::Utils::Outcome UpdateAssetFilterOutcome; typedef Aws::Utils::Outcome UpdateDataSourceOutcome; typedef Aws::Utils::Outcome UpdateDomainOutcome; typedef Aws::Utils::Outcome UpdateEnvironmentOutcome; @@ -418,6 +432,7 @@ namespace Aws typedef std::future CancelMetadataGenerationRunOutcomeCallable; typedef std::future CancelSubscriptionOutcomeCallable; typedef std::future CreateAssetOutcomeCallable; + typedef std::future CreateAssetFilterOutcomeCallable; typedef std::future CreateAssetRevisionOutcomeCallable; typedef std::future CreateAssetTypeOutcomeCallable; typedef std::future CreateDataSourceOutcomeCallable; @@ -437,6 +452,7 @@ namespace Aws typedef std::future CreateSubscriptionTargetOutcomeCallable; typedef std::future CreateUserProfileOutcomeCallable; typedef std::future DeleteAssetOutcomeCallable; + typedef std::future DeleteAssetFilterOutcomeCallable; typedef std::future DeleteAssetTypeOutcomeCallable; typedef std::future DeleteDataSourceOutcomeCallable; typedef std::future DeleteDomainOutcomeCallable; @@ -456,6 +472,7 @@ namespace Aws typedef std::future DeleteTimeSeriesDataPointsOutcomeCallable; typedef std::future DisassociateEnvironmentRoleOutcomeCallable; typedef std::future GetAssetOutcomeCallable; + typedef std::future GetAssetFilterOutcomeCallable; typedef std::future GetAssetTypeOutcomeCallable; typedef std::future GetDataSourceOutcomeCallable; typedef std::future GetDataSourceRunOutcomeCallable; @@ -480,6 +497,7 @@ namespace Aws typedef std::future GetSubscriptionTargetOutcomeCallable; typedef std::future GetTimeSeriesDataPointOutcomeCallable; typedef std::future GetUserProfileOutcomeCallable; + typedef std::future ListAssetFiltersOutcomeCallable; typedef std::future ListAssetRevisionsOutcomeCallable; typedef std::future ListDataSourceRunActivitiesOutcomeCallable; typedef std::future ListDataSourceRunsOutcomeCallable; @@ -516,6 +534,7 @@ namespace Aws typedef std::future StartMetadataGenerationRunOutcomeCallable; typedef std::future TagResourceOutcomeCallable; typedef std::future UntagResourceOutcomeCallable; + typedef std::future UpdateAssetFilterOutcomeCallable; typedef std::future UpdateDataSourceOutcomeCallable; typedef std::future UpdateDomainOutcomeCallable; typedef std::future UpdateEnvironmentOutcomeCallable; @@ -541,6 +560,7 @@ namespace Aws typedef std::function&) > CancelMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > CancelSubscriptionResponseReceivedHandler; typedef std::function&) > CreateAssetResponseReceivedHandler; + typedef std::function&) > CreateAssetFilterResponseReceivedHandler; typedef std::function&) > CreateAssetRevisionResponseReceivedHandler; typedef std::function&) > CreateAssetTypeResponseReceivedHandler; typedef std::function&) > CreateDataSourceResponseReceivedHandler; @@ -560,6 +580,7 @@ namespace Aws typedef std::function&) > CreateSubscriptionTargetResponseReceivedHandler; typedef std::function&) > CreateUserProfileResponseReceivedHandler; typedef std::function&) > DeleteAssetResponseReceivedHandler; + typedef std::function&) > DeleteAssetFilterResponseReceivedHandler; typedef std::function&) > DeleteAssetTypeResponseReceivedHandler; typedef std::function&) > DeleteDataSourceResponseReceivedHandler; typedef std::function&) > DeleteDomainResponseReceivedHandler; @@ -579,6 +600,7 @@ namespace Aws typedef std::function&) > DeleteTimeSeriesDataPointsResponseReceivedHandler; typedef std::function&) > DisassociateEnvironmentRoleResponseReceivedHandler; typedef std::function&) > GetAssetResponseReceivedHandler; + typedef std::function&) > GetAssetFilterResponseReceivedHandler; typedef std::function&) > GetAssetTypeResponseReceivedHandler; typedef std::function&) > GetDataSourceResponseReceivedHandler; typedef std::function&) > GetDataSourceRunResponseReceivedHandler; @@ -603,6 +625,7 @@ namespace Aws typedef std::function&) > GetSubscriptionTargetResponseReceivedHandler; typedef std::function&) > GetTimeSeriesDataPointResponseReceivedHandler; typedef std::function&) > GetUserProfileResponseReceivedHandler; + typedef std::function&) > ListAssetFiltersResponseReceivedHandler; typedef std::function&) > ListAssetRevisionsResponseReceivedHandler; typedef std::function&) > ListDataSourceRunActivitiesResponseReceivedHandler; typedef std::function&) > ListDataSourceRunsResponseReceivedHandler; @@ -639,6 +662,7 @@ namespace Aws typedef std::function&) > StartMetadataGenerationRunResponseReceivedHandler; typedef std::function&) > TagResourceResponseReceivedHandler; typedef std::function&) > UntagResourceResponseReceivedHandler; + typedef std::function&) > UpdateAssetFilterResponseReceivedHandler; typedef std::function&) > UpdateDataSourceResponseReceivedHandler; typedef std::function&) > UpdateDomainResponseReceivedHandler; typedef std::function&) > UpdateEnvironmentResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterConfiguration.h new file mode 100644 index 00000000000..b8c3ce10c4d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterConfiguration.h @@ -0,0 +1,75 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The configuration details of the asset filter.

See Also:

AWS + * API Reference

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

The column configuration of the asset filter.

+ */ + inline const ColumnFilterConfiguration& GetColumnConfiguration() const{ return m_columnConfiguration; } + inline bool ColumnConfigurationHasBeenSet() const { return m_columnConfigurationHasBeenSet; } + inline void SetColumnConfiguration(const ColumnFilterConfiguration& value) { m_columnConfigurationHasBeenSet = true; m_columnConfiguration = value; } + inline void SetColumnConfiguration(ColumnFilterConfiguration&& value) { m_columnConfigurationHasBeenSet = true; m_columnConfiguration = std::move(value); } + inline AssetFilterConfiguration& WithColumnConfiguration(const ColumnFilterConfiguration& value) { SetColumnConfiguration(value); return *this;} + inline AssetFilterConfiguration& WithColumnConfiguration(ColumnFilterConfiguration&& value) { SetColumnConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The row configuration of the asset filter.

+ */ + inline const RowFilterConfiguration& GetRowConfiguration() const{ return m_rowConfiguration; } + inline bool RowConfigurationHasBeenSet() const { return m_rowConfigurationHasBeenSet; } + inline void SetRowConfiguration(const RowFilterConfiguration& value) { m_rowConfigurationHasBeenSet = true; m_rowConfiguration = value; } + inline void SetRowConfiguration(RowFilterConfiguration&& value) { m_rowConfigurationHasBeenSet = true; m_rowConfiguration = std::move(value); } + inline AssetFilterConfiguration& WithRowConfiguration(const RowFilterConfiguration& value) { SetRowConfiguration(value); return *this;} + inline AssetFilterConfiguration& WithRowConfiguration(RowFilterConfiguration&& value) { SetRowConfiguration(std::move(value)); return *this;} + ///@} + private: + + ColumnFilterConfiguration m_columnConfiguration; + bool m_columnConfigurationHasBeenSet = false; + + RowFilterConfiguration m_rowConfiguration; + bool m_rowConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterSummary.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterSummary.h new file mode 100644 index 00000000000..ea388ba7444 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetFilterSummary.h @@ -0,0 +1,214 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The summary of the asset filter.

See Also:

AWS + * API Reference

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

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } + inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } + inline AssetFilterSummary& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline AssetFilterSummary& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline AssetFilterSummary& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

The timestamp at which the asset filter was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } + inline AssetFilterSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline AssetFilterSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline AssetFilterSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline AssetFilterSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline AssetFilterSummary& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where the asset filter lives.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; } + inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); } + inline AssetFilterSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline AssetFilterSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline AssetFilterSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

The effective column names of the asset filter.

+ */ + inline const Aws::Vector& GetEffectiveColumnNames() const{ return m_effectiveColumnNames; } + inline bool EffectiveColumnNamesHasBeenSet() const { return m_effectiveColumnNamesHasBeenSet; } + inline void SetEffectiveColumnNames(const Aws::Vector& value) { m_effectiveColumnNamesHasBeenSet = true; m_effectiveColumnNames = value; } + inline void SetEffectiveColumnNames(Aws::Vector&& value) { m_effectiveColumnNamesHasBeenSet = true; m_effectiveColumnNames = std::move(value); } + inline AssetFilterSummary& WithEffectiveColumnNames(const Aws::Vector& value) { SetEffectiveColumnNames(value); return *this;} + inline AssetFilterSummary& WithEffectiveColumnNames(Aws::Vector&& value) { SetEffectiveColumnNames(std::move(value)); return *this;} + inline AssetFilterSummary& AddEffectiveColumnNames(const Aws::String& value) { m_effectiveColumnNamesHasBeenSet = true; m_effectiveColumnNames.push_back(value); return *this; } + inline AssetFilterSummary& AddEffectiveColumnNames(Aws::String&& value) { m_effectiveColumnNamesHasBeenSet = true; m_effectiveColumnNames.push_back(std::move(value)); return *this; } + inline AssetFilterSummary& AddEffectiveColumnNames(const char* value) { m_effectiveColumnNamesHasBeenSet = true; m_effectiveColumnNames.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The effective row filter of the asset filter.

+ */ + inline const Aws::String& GetEffectiveRowFilter() const{ return m_effectiveRowFilter; } + inline bool EffectiveRowFilterHasBeenSet() const { return m_effectiveRowFilterHasBeenSet; } + inline void SetEffectiveRowFilter(const Aws::String& value) { m_effectiveRowFilterHasBeenSet = true; m_effectiveRowFilter = value; } + inline void SetEffectiveRowFilter(Aws::String&& value) { m_effectiveRowFilterHasBeenSet = true; m_effectiveRowFilter = std::move(value); } + inline void SetEffectiveRowFilter(const char* value) { m_effectiveRowFilterHasBeenSet = true; m_effectiveRowFilter.assign(value); } + inline AssetFilterSummary& WithEffectiveRowFilter(const Aws::String& value) { SetEffectiveRowFilter(value); return *this;} + inline AssetFilterSummary& WithEffectiveRowFilter(Aws::String&& value) { SetEffectiveRowFilter(std::move(value)); return *this;} + inline AssetFilterSummary& WithEffectiveRowFilter(const char* value) { SetEffectiveRowFilter(value); return *this;} + ///@} + + ///@{ + /** + *

The error message that is displayed if the action does not succeed.

+ */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } + inline AssetFilterSummary& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline AssetFilterSummary& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline AssetFilterSummary& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline AssetFilterSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline AssetFilterSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline AssetFilterSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline AssetFilterSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline AssetFilterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline AssetFilterSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the asset filter.

+ */ + inline const FilterStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const FilterStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(FilterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline AssetFilterSummary& WithStatus(const FilterStatus& value) { SetStatus(value); return *this;} + inline AssetFilterSummary& WithStatus(FilterStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_assetId; + bool m_assetIdHasBeenSet = false; + + Aws::Utils::DateTime m_createdAt; + bool m_createdAtHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainId; + bool m_domainIdHasBeenSet = false; + + Aws::Vector m_effectiveColumnNames; + bool m_effectiveColumnNamesHasBeenSet = false; + + Aws::String m_effectiveRowFilter; + bool m_effectiveRowFilterHasBeenSet = false; + + Aws::String m_errorMessage; + bool m_errorMessageHasBeenSet = false; + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + FilterStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ColumnFilterConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ColumnFilterConfiguration.h new file mode 100644 index 00000000000..1e6156f14f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ColumnFilterConfiguration.h @@ -0,0 +1,63 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The column configuration of the asset filter.

See Also:

AWS + * API Reference

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

Specifies whether to include column names.

+ */ + inline const Aws::Vector& GetIncludedColumnNames() const{ return m_includedColumnNames; } + inline bool IncludedColumnNamesHasBeenSet() const { return m_includedColumnNamesHasBeenSet; } + inline void SetIncludedColumnNames(const Aws::Vector& value) { m_includedColumnNamesHasBeenSet = true; m_includedColumnNames = value; } + inline void SetIncludedColumnNames(Aws::Vector&& value) { m_includedColumnNamesHasBeenSet = true; m_includedColumnNames = std::move(value); } + inline ColumnFilterConfiguration& WithIncludedColumnNames(const Aws::Vector& value) { SetIncludedColumnNames(value); return *this;} + inline ColumnFilterConfiguration& WithIncludedColumnNames(Aws::Vector&& value) { SetIncludedColumnNames(std::move(value)); return *this;} + inline ColumnFilterConfiguration& AddIncludedColumnNames(const Aws::String& value) { m_includedColumnNamesHasBeenSet = true; m_includedColumnNames.push_back(value); return *this; } + inline ColumnFilterConfiguration& AddIncludedColumnNames(Aws::String&& value) { m_includedColumnNamesHasBeenSet = true; m_includedColumnNames.push_back(std::move(value)); return *this; } + inline ColumnFilterConfiguration& AddIncludedColumnNames(const char* value) { m_includedColumnNamesHasBeenSet = true; m_includedColumnNames.push_back(value); return *this; } + ///@} + private: + + Aws::Vector m_includedColumnNames; + bool m_includedColumnNamesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterRequest.h new file mode 100644 index 00000000000..2ef238f8fe7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterRequest.h @@ -0,0 +1,142 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class CreateAssetFilterRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API CreateAssetFilterRequest(); + + // 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 "CreateAssetFilter"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetIdentifier() const{ return m_assetIdentifier; } + inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; } + inline void SetAssetIdentifier(const Aws::String& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = value; } + inline void SetAssetIdentifier(Aws::String&& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = std::move(value); } + inline void SetAssetIdentifier(const char* value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier.assign(value); } + inline CreateAssetFilterRequest& WithAssetIdentifier(const Aws::String& value) { SetAssetIdentifier(value); return *this;} + inline CreateAssetFilterRequest& WithAssetIdentifier(Aws::String&& value) { SetAssetIdentifier(std::move(value)); return *this;} + inline CreateAssetFilterRequest& WithAssetIdentifier(const char* value) { SetAssetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

A unique, case-sensitive identifier that is provided to ensure the + * idempotency of the request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateAssetFilterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateAssetFilterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateAssetFilterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

The configuration of the asset filter.

+ */ + inline const AssetFilterConfiguration& GetConfiguration() const{ return m_configuration; } + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + inline void SetConfiguration(const AssetFilterConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + inline void SetConfiguration(AssetFilterConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + inline CreateAssetFilterRequest& WithConfiguration(const AssetFilterConfiguration& value) { SetConfiguration(value); return *this;} + inline CreateAssetFilterRequest& WithConfiguration(AssetFilterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline CreateAssetFilterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateAssetFilterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateAssetFilterRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain in which you want to create an asset filter.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline CreateAssetFilterRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline CreateAssetFilterRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline CreateAssetFilterRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateAssetFilterRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateAssetFilterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateAssetFilterRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_assetIdentifier; + bool m_assetIdentifierHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + AssetFilterConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterResult.h new file mode 100644 index 00000000000..95aa0e7be19 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateAssetFilterResult.h @@ -0,0 +1,217 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class CreateAssetFilterResult + { + public: + AWS_DATAZONE_API CreateAssetFilterResult(); + AWS_DATAZONE_API CreateAssetFilterResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API CreateAssetFilterResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID of the asset.

+ */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline void SetAssetId(const Aws::String& value) { m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetId.assign(value); } + inline CreateAssetFilterResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline CreateAssetFilterResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

The configuration of the asset filter.

+ */ + inline const AssetFilterConfiguration& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const AssetFilterConfiguration& value) { m_configuration = value; } + inline void SetConfiguration(AssetFilterConfiguration&& value) { m_configuration = std::move(value); } + inline CreateAssetFilterResult& WithConfiguration(const AssetFilterConfiguration& value) { SetConfiguration(value); return *this;} + inline CreateAssetFilterResult& WithConfiguration(AssetFilterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The timestamp at which the asset filter was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline CreateAssetFilterResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline CreateAssetFilterResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline CreateAssetFilterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline CreateAssetFilterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where the asset filter is created.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline CreateAssetFilterResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline CreateAssetFilterResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

The column names in the asset filter.

+ */ + inline const Aws::Vector& GetEffectiveColumnNames() const{ return m_effectiveColumnNames; } + inline void SetEffectiveColumnNames(const Aws::Vector& value) { m_effectiveColumnNames = value; } + inline void SetEffectiveColumnNames(Aws::Vector&& value) { m_effectiveColumnNames = std::move(value); } + inline CreateAssetFilterResult& WithEffectiveColumnNames(const Aws::Vector& value) { SetEffectiveColumnNames(value); return *this;} + inline CreateAssetFilterResult& WithEffectiveColumnNames(Aws::Vector&& value) { SetEffectiveColumnNames(std::move(value)); return *this;} + inline CreateAssetFilterResult& AddEffectiveColumnNames(const Aws::String& value) { m_effectiveColumnNames.push_back(value); return *this; } + inline CreateAssetFilterResult& AddEffectiveColumnNames(Aws::String&& value) { m_effectiveColumnNames.push_back(std::move(value)); return *this; } + inline CreateAssetFilterResult& AddEffectiveColumnNames(const char* value) { m_effectiveColumnNames.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The row filter in the asset filter.

+ */ + inline const Aws::String& GetEffectiveRowFilter() const{ return m_effectiveRowFilter; } + inline void SetEffectiveRowFilter(const Aws::String& value) { m_effectiveRowFilter = value; } + inline void SetEffectiveRowFilter(Aws::String&& value) { m_effectiveRowFilter = std::move(value); } + inline void SetEffectiveRowFilter(const char* value) { m_effectiveRowFilter.assign(value); } + inline CreateAssetFilterResult& WithEffectiveRowFilter(const Aws::String& value) { SetEffectiveRowFilter(value); return *this;} + inline CreateAssetFilterResult& WithEffectiveRowFilter(Aws::String&& value) { SetEffectiveRowFilter(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithEffectiveRowFilter(const char* value) { SetEffectiveRowFilter(value); return *this;} + ///@} + + ///@{ + /** + *

The error message that is displayed if the asset filter is not created + * successfully.

+ */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } + inline CreateAssetFilterResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline CreateAssetFilterResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateAssetFilterResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateAssetFilterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline CreateAssetFilterResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateAssetFilterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the asset filter.

+ */ + inline const FilterStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const FilterStatus& value) { m_status = value; } + inline void SetStatus(FilterStatus&& value) { m_status = std::move(value); } + inline CreateAssetFilterResult& WithStatus(const FilterStatus& value) { SetStatus(value); return *this;} + inline CreateAssetFilterResult& WithStatus(FilterStatus&& 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 CreateAssetFilterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline CreateAssetFilterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline CreateAssetFilterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_assetId; + + AssetFilterConfiguration m_configuration; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::Vector m_effectiveColumnNames; + + Aws::String m_effectiveRowFilter; + + Aws::String m_errorMessage; + + Aws::String m_id; + + Aws::String m_name; + + FilterStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteAssetFilterRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteAssetFilterRequest.h new file mode 100644 index 00000000000..d7c1ca90c1a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteAssetFilterRequest.h @@ -0,0 +1,90 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class DeleteAssetFilterRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API DeleteAssetFilterRequest(); + + // 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 "DeleteAssetFilter"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetIdentifier() const{ return m_assetIdentifier; } + inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; } + inline void SetAssetIdentifier(const Aws::String& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = value; } + inline void SetAssetIdentifier(Aws::String&& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = std::move(value); } + inline void SetAssetIdentifier(const char* value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier.assign(value); } + inline DeleteAssetFilterRequest& WithAssetIdentifier(const Aws::String& value) { SetAssetIdentifier(value); return *this;} + inline DeleteAssetFilterRequest& WithAssetIdentifier(Aws::String&& value) { SetAssetIdentifier(std::move(value)); return *this;} + inline DeleteAssetFilterRequest& WithAssetIdentifier(const char* value) { SetAssetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where you want to delete an asset filter.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline DeleteAssetFilterRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline DeleteAssetFilterRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline DeleteAssetFilterRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter that you want to delete.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline DeleteAssetFilterRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline DeleteAssetFilterRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline DeleteAssetFilterRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_assetIdentifier; + bool m_assetIdentifierHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h index 3810236e62d..1534c17d352 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EnvironmentBlueprintConfigurationItem.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -113,6 +114,20 @@ namespace Model inline EnvironmentBlueprintConfigurationItem& WithManageAccessRoleArn(const char* value) { SetManageAccessRoleArn(value); return *this;} ///@} + ///@{ + /** + *

The provisioning configuration of a blueprint.

+ */ + inline const Aws::Vector& GetProvisioningConfigurations() const{ return m_provisioningConfigurations; } + inline bool ProvisioningConfigurationsHasBeenSet() const { return m_provisioningConfigurationsHasBeenSet; } + inline void SetProvisioningConfigurations(const Aws::Vector& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations = value; } + inline void SetProvisioningConfigurations(Aws::Vector&& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations = std::move(value); } + inline EnvironmentBlueprintConfigurationItem& WithProvisioningConfigurations(const Aws::Vector& value) { SetProvisioningConfigurations(value); return *this;} + inline EnvironmentBlueprintConfigurationItem& WithProvisioningConfigurations(Aws::Vector&& value) { SetProvisioningConfigurations(std::move(value)); return *this;} + inline EnvironmentBlueprintConfigurationItem& AddProvisioningConfigurations(const ProvisioningConfiguration& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations.push_back(value); return *this; } + inline EnvironmentBlueprintConfigurationItem& AddProvisioningConfigurations(ProvisioningConfiguration&& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The ARN of the provisioning role specified in the environment blueprint @@ -174,6 +189,9 @@ namespace Model Aws::String m_manageAccessRoleArn; bool m_manageAccessRoleArnHasBeenSet = false; + Aws::Vector m_provisioningConfigurations; + bool m_provisioningConfigurationsHasBeenSet = false; + Aws::String m_provisioningRoleArn; bool m_provisioningRoleArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EqualToExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EqualToExpression.h new file mode 100644 index 00000000000..e64c4ad4971 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/EqualToExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies whether the value is equal to an expression.

See + * Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline EqualToExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline EqualToExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline EqualToExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be equal to an expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline EqualToExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline EqualToExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline EqualToExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/FilterStatus.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/FilterStatus.h new file mode 100644 index 00000000000..b954390ddc5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/FilterStatus.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 DataZone +{ +namespace Model +{ + enum class FilterStatus + { + NOT_SET, + VALID, + INVALID + }; + +namespace FilterStatusMapper +{ +AWS_DATAZONE_API FilterStatus GetFilterStatusForName(const Aws::String& name); + +AWS_DATAZONE_API Aws::String GetNameForFilterStatus(FilterStatus value); +} // namespace FilterStatusMapper +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterRequest.h new file mode 100644 index 00000000000..269f8d20660 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterRequest.h @@ -0,0 +1,90 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class GetAssetFilterRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API GetAssetFilterRequest(); + + // 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 "GetAssetFilter"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetIdentifier() const{ return m_assetIdentifier; } + inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; } + inline void SetAssetIdentifier(const Aws::String& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = value; } + inline void SetAssetIdentifier(Aws::String&& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = std::move(value); } + inline void SetAssetIdentifier(const char* value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier.assign(value); } + inline GetAssetFilterRequest& WithAssetIdentifier(const Aws::String& value) { SetAssetIdentifier(value); return *this;} + inline GetAssetFilterRequest& WithAssetIdentifier(Aws::String&& value) { SetAssetIdentifier(std::move(value)); return *this;} + inline GetAssetFilterRequest& WithAssetIdentifier(const char* value) { SetAssetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where you want to get an asset filter.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline GetAssetFilterRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline GetAssetFilterRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline GetAssetFilterRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline GetAssetFilterRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline GetAssetFilterRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline GetAssetFilterRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_assetIdentifier; + bool m_assetIdentifierHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterResult.h new file mode 100644 index 00000000000..a81f825a3ac --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetAssetFilterResult.h @@ -0,0 +1,217 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class GetAssetFilterResult + { + public: + AWS_DATAZONE_API GetAssetFilterResult(); + AWS_DATAZONE_API GetAssetFilterResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API GetAssetFilterResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline void SetAssetId(const Aws::String& value) { m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetId.assign(value); } + inline GetAssetFilterResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline GetAssetFilterResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline GetAssetFilterResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

The configuration of the asset filter.

+ */ + inline const AssetFilterConfiguration& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const AssetFilterConfiguration& value) { m_configuration = value; } + inline void SetConfiguration(AssetFilterConfiguration&& value) { m_configuration = std::move(value); } + inline GetAssetFilterResult& WithConfiguration(const AssetFilterConfiguration& value) { SetConfiguration(value); return *this;} + inline GetAssetFilterResult& WithConfiguration(AssetFilterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The timestamp at which the asset filter was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline GetAssetFilterResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline GetAssetFilterResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline GetAssetFilterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline GetAssetFilterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline GetAssetFilterResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where you want to get an asset filter.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline GetAssetFilterResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline GetAssetFilterResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline GetAssetFilterResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

The column names of the asset filter.

+ */ + inline const Aws::Vector& GetEffectiveColumnNames() const{ return m_effectiveColumnNames; } + inline void SetEffectiveColumnNames(const Aws::Vector& value) { m_effectiveColumnNames = value; } + inline void SetEffectiveColumnNames(Aws::Vector&& value) { m_effectiveColumnNames = std::move(value); } + inline GetAssetFilterResult& WithEffectiveColumnNames(const Aws::Vector& value) { SetEffectiveColumnNames(value); return *this;} + inline GetAssetFilterResult& WithEffectiveColumnNames(Aws::Vector&& value) { SetEffectiveColumnNames(std::move(value)); return *this;} + inline GetAssetFilterResult& AddEffectiveColumnNames(const Aws::String& value) { m_effectiveColumnNames.push_back(value); return *this; } + inline GetAssetFilterResult& AddEffectiveColumnNames(Aws::String&& value) { m_effectiveColumnNames.push_back(std::move(value)); return *this; } + inline GetAssetFilterResult& AddEffectiveColumnNames(const char* value) { m_effectiveColumnNames.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The row filter of the asset filter.

+ */ + inline const Aws::String& GetEffectiveRowFilter() const{ return m_effectiveRowFilter; } + inline void SetEffectiveRowFilter(const Aws::String& value) { m_effectiveRowFilter = value; } + inline void SetEffectiveRowFilter(Aws::String&& value) { m_effectiveRowFilter = std::move(value); } + inline void SetEffectiveRowFilter(const char* value) { m_effectiveRowFilter.assign(value); } + inline GetAssetFilterResult& WithEffectiveRowFilter(const Aws::String& value) { SetEffectiveRowFilter(value); return *this;} + inline GetAssetFilterResult& WithEffectiveRowFilter(Aws::String&& value) { SetEffectiveRowFilter(std::move(value)); return *this;} + inline GetAssetFilterResult& WithEffectiveRowFilter(const char* value) { SetEffectiveRowFilter(value); return *this;} + ///@} + + ///@{ + /** + *

The error message that is displayed if the action does not complete + * successfully.

+ */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } + inline GetAssetFilterResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline GetAssetFilterResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline GetAssetFilterResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetAssetFilterResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetAssetFilterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetAssetFilterResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetAssetFilterResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetAssetFilterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetAssetFilterResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the asset filter.

+ */ + inline const FilterStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const FilterStatus& value) { m_status = value; } + inline void SetStatus(FilterStatus&& value) { m_status = std::move(value); } + inline GetAssetFilterResult& WithStatus(const FilterStatus& value) { SetStatus(value); return *this;} + inline GetAssetFilterResult& WithStatus(FilterStatus&& 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 GetAssetFilterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetAssetFilterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetAssetFilterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_assetId; + + AssetFilterConfiguration m_configuration; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::Vector m_effectiveColumnNames; + + Aws::String m_effectiveRowFilter; + + Aws::String m_errorMessage; + + Aws::String m_id; + + Aws::String m_name; + + FilterStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h index 0558bc4ddef..e7b5b8317af 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetEnvironmentBlueprintConfigurationResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -99,6 +100,19 @@ namespace Model inline GetEnvironmentBlueprintConfigurationResult& WithManageAccessRoleArn(const char* value) { SetManageAccessRoleArn(value); return *this;} ///@} + ///@{ + /** + *

The provisioning configuration of a blueprint.

+ */ + inline const Aws::Vector& GetProvisioningConfigurations() const{ return m_provisioningConfigurations; } + inline void SetProvisioningConfigurations(const Aws::Vector& value) { m_provisioningConfigurations = value; } + inline void SetProvisioningConfigurations(Aws::Vector&& value) { m_provisioningConfigurations = std::move(value); } + inline GetEnvironmentBlueprintConfigurationResult& WithProvisioningConfigurations(const Aws::Vector& value) { SetProvisioningConfigurations(value); return *this;} + inline GetEnvironmentBlueprintConfigurationResult& WithProvisioningConfigurations(Aws::Vector&& value) { SetProvisioningConfigurations(std::move(value)); return *this;} + inline GetEnvironmentBlueprintConfigurationResult& AddProvisioningConfigurations(const ProvisioningConfiguration& value) { m_provisioningConfigurations.push_back(value); return *this; } + inline GetEnvironmentBlueprintConfigurationResult& AddProvisioningConfigurations(ProvisioningConfiguration&& value) { m_provisioningConfigurations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The ARN of the provisioning role with which this blueprint is created.

@@ -162,6 +176,8 @@ namespace Model Aws::String m_manageAccessRoleArn; + Aws::Vector m_provisioningConfigurations; + Aws::String m_provisioningRoleArn; Aws::Map> m_regionalParameters; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanExpression.h new file mode 100644 index 00000000000..1d4e772acd1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies whether the value is greater than an expression.

See + * Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline GreaterThanExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline GreaterThanExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline GreaterThanExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be greater than an expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline GreaterThanExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline GreaterThanExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline GreaterThanExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanOrEqualToExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanOrEqualToExpression.h new file mode 100644 index 00000000000..da687bcb969 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GreaterThanOrEqualToExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies whether the value is greater than or equal to an + * expression.

See Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline GreaterThanOrEqualToExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline GreaterThanOrEqualToExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline GreaterThanOrEqualToExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be greater than or equal to an expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline GreaterThanOrEqualToExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline GreaterThanOrEqualToExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline GreaterThanOrEqualToExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/InExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/InExpression.h new file mode 100644 index 00000000000..75129789b72 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/InExpression.h @@ -0,0 +1,80 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies whether values are in the expression.

See Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline InExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline InExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline InExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The values that might be in the expression.

+ */ + inline const Aws::Vector& GetValues() const{ return m_values; } + inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } + inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } + inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } + inline InExpression& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} + inline InExpression& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} + inline InExpression& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + inline InExpression& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } + inline InExpression& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::Vector m_values; + bool m_valuesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNotNullExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNotNullExpression.h new file mode 100644 index 00000000000..8a45c51073f --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNotNullExpression.h @@ -0,0 +1,61 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that the expression is not null.

See Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline IsNotNullExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline IsNotNullExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline IsNotNullExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNullExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNullExpression.h new file mode 100644 index 00000000000..d8dd6a6c2db --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/IsNullExpression.h @@ -0,0 +1,61 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that the expression is null.

See Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline IsNullExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline IsNullExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline IsNullExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LakeFormationConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LakeFormationConfiguration.h new file mode 100644 index 00000000000..5ddd1639624 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LakeFormationConfiguration.h @@ -0,0 +1,83 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The Lake Formation configuration of the Data Lake blueprint.

See + * Also:

AWS + * API Reference

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

Specifies certain Amazon S3 locations if you do not want Amazon DataZone to + * automatically register them in hybrid mode.

+ */ + inline const Aws::Vector& GetLocationRegistrationExcludeS3Locations() const{ return m_locationRegistrationExcludeS3Locations; } + inline bool LocationRegistrationExcludeS3LocationsHasBeenSet() const { return m_locationRegistrationExcludeS3LocationsHasBeenSet; } + inline void SetLocationRegistrationExcludeS3Locations(const Aws::Vector& value) { m_locationRegistrationExcludeS3LocationsHasBeenSet = true; m_locationRegistrationExcludeS3Locations = value; } + inline void SetLocationRegistrationExcludeS3Locations(Aws::Vector&& value) { m_locationRegistrationExcludeS3LocationsHasBeenSet = true; m_locationRegistrationExcludeS3Locations = std::move(value); } + inline LakeFormationConfiguration& WithLocationRegistrationExcludeS3Locations(const Aws::Vector& value) { SetLocationRegistrationExcludeS3Locations(value); return *this;} + inline LakeFormationConfiguration& WithLocationRegistrationExcludeS3Locations(Aws::Vector&& value) { SetLocationRegistrationExcludeS3Locations(std::move(value)); return *this;} + inline LakeFormationConfiguration& AddLocationRegistrationExcludeS3Locations(const Aws::String& value) { m_locationRegistrationExcludeS3LocationsHasBeenSet = true; m_locationRegistrationExcludeS3Locations.push_back(value); return *this; } + inline LakeFormationConfiguration& AddLocationRegistrationExcludeS3Locations(Aws::String&& value) { m_locationRegistrationExcludeS3LocationsHasBeenSet = true; m_locationRegistrationExcludeS3Locations.push_back(std::move(value)); return *this; } + inline LakeFormationConfiguration& AddLocationRegistrationExcludeS3Locations(const char* value) { m_locationRegistrationExcludeS3LocationsHasBeenSet = true; m_locationRegistrationExcludeS3Locations.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The role that is used to manage read/write access to the chosen Amazon S3 + * bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.

+ */ + inline const Aws::String& GetLocationRegistrationRole() const{ return m_locationRegistrationRole; } + inline bool LocationRegistrationRoleHasBeenSet() const { return m_locationRegistrationRoleHasBeenSet; } + inline void SetLocationRegistrationRole(const Aws::String& value) { m_locationRegistrationRoleHasBeenSet = true; m_locationRegistrationRole = value; } + inline void SetLocationRegistrationRole(Aws::String&& value) { m_locationRegistrationRoleHasBeenSet = true; m_locationRegistrationRole = std::move(value); } + inline void SetLocationRegistrationRole(const char* value) { m_locationRegistrationRoleHasBeenSet = true; m_locationRegistrationRole.assign(value); } + inline LakeFormationConfiguration& WithLocationRegistrationRole(const Aws::String& value) { SetLocationRegistrationRole(value); return *this;} + inline LakeFormationConfiguration& WithLocationRegistrationRole(Aws::String&& value) { SetLocationRegistrationRole(std::move(value)); return *this;} + inline LakeFormationConfiguration& WithLocationRegistrationRole(const char* value) { SetLocationRegistrationRole(value); return *this;} + ///@} + private: + + Aws::Vector m_locationRegistrationExcludeS3Locations; + bool m_locationRegistrationExcludeS3LocationsHasBeenSet = false; + + Aws::String m_locationRegistrationRole; + bool m_locationRegistrationRoleHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanExpression.h new file mode 100644 index 00000000000..6ca3898936c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value is less than an expression.

See Also:

+ * AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline LessThanExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline LessThanExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline LessThanExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be less than the expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline LessThanExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline LessThanExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline LessThanExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanOrEqualToExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanOrEqualToExpression.h new file mode 100644 index 00000000000..17d5a5872cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LessThanOrEqualToExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value is less than or equal to an expression.

See + * Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline LessThanOrEqualToExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline LessThanOrEqualToExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline LessThanOrEqualToExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be less than or equal to an expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline LessThanOrEqualToExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline LessThanOrEqualToExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline LessThanOrEqualToExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LikeExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LikeExpression.h new file mode 100644 index 00000000000..45da747b64a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/LikeExpression.h @@ -0,0 +1,78 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value is like the expression.

See Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline LikeExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline LikeExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline LikeExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might be like the expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline LikeExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline LikeExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline LikeExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersRequest.h new file mode 100644 index 00000000000..52c3cffa3d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersRequest.h @@ -0,0 +1,134 @@ +/** + * 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 Http +{ + class URI; +} //namespace Http +namespace DataZone +{ +namespace Model +{ + + /** + */ + class ListAssetFiltersRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API ListAssetFiltersRequest(); + + // 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 "ListAssetFilters"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetIdentifier() const{ return m_assetIdentifier; } + inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; } + inline void SetAssetIdentifier(const Aws::String& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = value; } + inline void SetAssetIdentifier(Aws::String&& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = std::move(value); } + inline void SetAssetIdentifier(const char* value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier.assign(value); } + inline ListAssetFiltersRequest& WithAssetIdentifier(const Aws::String& value) { SetAssetIdentifier(value); return *this;} + inline ListAssetFiltersRequest& WithAssetIdentifier(Aws::String&& value) { SetAssetIdentifier(std::move(value)); return *this;} + inline ListAssetFiltersRequest& WithAssetIdentifier(const char* value) { SetAssetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where you want to list asset filters.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline ListAssetFiltersRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline ListAssetFiltersRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline ListAssetFiltersRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of asset filters to return in a single call to + * ListAssetFilters. When the number of asset filters to be listed is + * greater than the value of MaxResults, the response contains a + * NextToken value that you can use in a subsequent call to + * ListAssetFilters to list the next set of asset filters.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListAssetFiltersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

When the number of asset filters is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of asset filters, the + * response includes a pagination token named NextToken. You can + * specify this NextToken value in a subsequent call to + * ListAssetFilters to list the next set of asset filters.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListAssetFiltersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListAssetFiltersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListAssetFiltersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the asset filter.

+ */ + inline const FilterStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const FilterStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(FilterStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ListAssetFiltersRequest& WithStatus(const FilterStatus& value) { SetStatus(value); return *this;} + inline ListAssetFiltersRequest& WithStatus(FilterStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_assetIdentifier; + bool m_assetIdentifierHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + FilterStatus m_status; + bool m_statusHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersResult.h new file mode 100644 index 00000000000..b38a94eb280 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListAssetFiltersResult.h @@ -0,0 +1,89 @@ +/** + * 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 +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + class ListAssetFiltersResult + { + public: + AWS_DATAZONE_API ListAssetFiltersResult(); + AWS_DATAZONE_API ListAssetFiltersResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API ListAssetFiltersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The results of the ListAssetFilters action.

+ */ + inline const Aws::Vector& GetItems() const{ return m_items; } + inline void SetItems(const Aws::Vector& value) { m_items = value; } + inline void SetItems(Aws::Vector&& value) { m_items = std::move(value); } + inline ListAssetFiltersResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} + inline ListAssetFiltersResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} + inline ListAssetFiltersResult& AddItems(const AssetFilterSummary& value) { m_items.push_back(value); return *this; } + inline ListAssetFiltersResult& AddItems(AssetFilterSummary&& value) { m_items.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

When the number of asset filters is greater than the default value for the + * MaxResults parameter, or if you explicitly specify a value for + * MaxResults that is less than the number of asset filters, the + * response includes a pagination token named NextToken. You can + * specify this NextToken value in a subsequent call to + * ListAssetFilters to list the next set of asset filters.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListAssetFiltersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListAssetFiltersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListAssetFiltersResult& WithNextToken(const char* value) { SetNextToken(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 ListAssetFiltersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListAssetFiltersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListAssetFiltersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_items; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotEqualToExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotEqualToExpression.h new file mode 100644 index 00000000000..fdcee9a465c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotEqualToExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value is not equal to the expression.

See + * Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline NotEqualToExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline NotEqualToExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline NotEqualToExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might not be equal to the expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline NotEqualToExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline NotEqualToExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline NotEqualToExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotInExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotInExpression.h new file mode 100644 index 00000000000..fb962194dbb --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotInExpression.h @@ -0,0 +1,81 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value is not in the expression.

See Also:

+ * AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline NotInExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline NotInExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline NotInExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might not be in the expression.

+ */ + inline const Aws::Vector& GetValues() const{ return m_values; } + inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } + inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } + inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } + inline NotInExpression& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} + inline NotInExpression& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} + inline NotInExpression& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + inline NotInExpression& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } + inline NotInExpression& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::Vector m_values; + bool m_valuesHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotLikeExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotLikeExpression.h new file mode 100644 index 00000000000..53c6c3dfa8a --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/NotLikeExpression.h @@ -0,0 +1,79 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

Specifies that a value might be not like the expression.

See + * Also:

AWS + * API Reference

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

The name of the column.

+ */ + inline const Aws::String& GetColumnName() const{ return m_columnName; } + inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; } + inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; } + inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); } + inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); } + inline NotLikeExpression& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;} + inline NotLikeExpression& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;} + inline NotLikeExpression& WithColumnName(const char* value) { SetColumnName(value); return *this;} + ///@} + + ///@{ + /** + *

The value that might not be like the expression.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline NotLikeExpression& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline NotLikeExpression& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline NotLikeExpression& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_columnName; + bool m_columnNameHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProvisioningConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProvisioningConfiguration.h new file mode 100644 index 00000000000..4a4f62ca385 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProvisioningConfiguration.h @@ -0,0 +1,60 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The provisioning configuration of the blueprint.

See Also:

+ * AWS + * API Reference

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

The Lake Formation configuration of the Data Lake blueprint.

+ */ + inline const LakeFormationConfiguration& GetLakeFormationConfiguration() const{ return m_lakeFormationConfiguration; } + inline bool LakeFormationConfigurationHasBeenSet() const { return m_lakeFormationConfigurationHasBeenSet; } + inline void SetLakeFormationConfiguration(const LakeFormationConfiguration& value) { m_lakeFormationConfigurationHasBeenSet = true; m_lakeFormationConfiguration = value; } + inline void SetLakeFormationConfiguration(LakeFormationConfiguration&& value) { m_lakeFormationConfigurationHasBeenSet = true; m_lakeFormationConfiguration = std::move(value); } + inline ProvisioningConfiguration& WithLakeFormationConfiguration(const LakeFormationConfiguration& value) { SetLakeFormationConfiguration(value); return *this;} + inline ProvisioningConfiguration& WithLakeFormationConfiguration(LakeFormationConfiguration&& value) { SetLakeFormationConfiguration(std::move(value)); return *this;} + ///@} + private: + + LakeFormationConfiguration m_lakeFormationConfiguration; + bool m_lakeFormationConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h index d2c9abc6150..611832aa09e 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -91,6 +92,20 @@ namespace Model inline PutEnvironmentBlueprintConfigurationRequest& WithManageAccessRoleArn(const char* value) { SetManageAccessRoleArn(value); return *this;} ///@} + ///@{ + /** + *

The provisioning configuration of a blueprint.

+ */ + inline const Aws::Vector& GetProvisioningConfigurations() const{ return m_provisioningConfigurations; } + inline bool ProvisioningConfigurationsHasBeenSet() const { return m_provisioningConfigurationsHasBeenSet; } + inline void SetProvisioningConfigurations(const Aws::Vector& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations = value; } + inline void SetProvisioningConfigurations(Aws::Vector&& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations = std::move(value); } + inline PutEnvironmentBlueprintConfigurationRequest& WithProvisioningConfigurations(const Aws::Vector& value) { SetProvisioningConfigurations(value); return *this;} + inline PutEnvironmentBlueprintConfigurationRequest& WithProvisioningConfigurations(Aws::Vector&& value) { SetProvisioningConfigurations(std::move(value)); return *this;} + inline PutEnvironmentBlueprintConfigurationRequest& AddProvisioningConfigurations(const ProvisioningConfiguration& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations.push_back(value); return *this; } + inline PutEnvironmentBlueprintConfigurationRequest& AddProvisioningConfigurations(ProvisioningConfiguration&& value) { m_provisioningConfigurationsHasBeenSet = true; m_provisioningConfigurations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The ARN of the provisioning role.

@@ -136,6 +151,9 @@ namespace Model Aws::String m_manageAccessRoleArn; bool m_manageAccessRoleArnHasBeenSet = false; + Aws::Vector m_provisioningConfigurations; + bool m_provisioningConfigurationsHasBeenSet = false; + Aws::String m_provisioningRoleArn; bool m_provisioningRoleArnHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h index 93b3e94402e..88c082ad08f 100644 --- a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/PutEnvironmentBlueprintConfigurationResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -99,6 +100,19 @@ namespace Model inline PutEnvironmentBlueprintConfigurationResult& WithManageAccessRoleArn(const char* value) { SetManageAccessRoleArn(value); return *this;} ///@} + ///@{ + /** + *

The provisioning configuration of a blueprint.

+ */ + inline const Aws::Vector& GetProvisioningConfigurations() const{ return m_provisioningConfigurations; } + inline void SetProvisioningConfigurations(const Aws::Vector& value) { m_provisioningConfigurations = value; } + inline void SetProvisioningConfigurations(Aws::Vector&& value) { m_provisioningConfigurations = std::move(value); } + inline PutEnvironmentBlueprintConfigurationResult& WithProvisioningConfigurations(const Aws::Vector& value) { SetProvisioningConfigurations(value); return *this;} + inline PutEnvironmentBlueprintConfigurationResult& WithProvisioningConfigurations(Aws::Vector&& value) { SetProvisioningConfigurations(std::move(value)); return *this;} + inline PutEnvironmentBlueprintConfigurationResult& AddProvisioningConfigurations(const ProvisioningConfiguration& value) { m_provisioningConfigurations.push_back(value); return *this; } + inline PutEnvironmentBlueprintConfigurationResult& AddProvisioningConfigurations(ProvisioningConfiguration&& value) { m_provisioningConfigurations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

The ARN of the provisioning role.

@@ -162,6 +176,8 @@ namespace Model Aws::String m_manageAccessRoleArn; + Aws::Vector m_provisioningConfigurations; + Aws::String m_provisioningRoleArn; Aws::Map> m_regionalParameters; diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilter.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilter.h new file mode 100644 index 00000000000..e40ac1fcca4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilter.h @@ -0,0 +1,94 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The row filter.

See Also:

AWS + * API Reference

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

The 'and' clause of the row filter.

+ */ + inline const Aws::Vector& GetAnd() const{ return m_and; } + inline bool AndHasBeenSet() const { return m_andHasBeenSet; } + inline void SetAnd(const Aws::Vector& value) { m_andHasBeenSet = true; m_and = value; } + inline void SetAnd(Aws::Vector&& value) { m_andHasBeenSet = true; m_and = std::move(value); } + inline RowFilter& WithAnd(const Aws::Vector& value) { SetAnd(value); return *this;} + inline RowFilter& WithAnd(Aws::Vector&& value) { SetAnd(std::move(value)); return *this;} + inline RowFilter& AddAnd(const RowFilter& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; } + inline RowFilter& AddAnd(RowFilter&& value) { m_andHasBeenSet = true; m_and.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The expression of the row filter.

+ */ + inline const RowFilterExpression& GetExpression() const{ return m_expression; } + inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } + inline void SetExpression(const RowFilterExpression& value) { m_expressionHasBeenSet = true; m_expression = value; } + inline void SetExpression(RowFilterExpression&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } + inline RowFilter& WithExpression(const RowFilterExpression& value) { SetExpression(value); return *this;} + inline RowFilter& WithExpression(RowFilterExpression&& value) { SetExpression(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'or' clause of the row filter.

+ */ + inline const Aws::Vector& GetOr() const{ return m_or; } + inline bool OrHasBeenSet() const { return m_orHasBeenSet; } + inline void SetOr(const Aws::Vector& value) { m_orHasBeenSet = true; m_or = value; } + inline void SetOr(Aws::Vector&& value) { m_orHasBeenSet = true; m_or = std::move(value); } + inline RowFilter& WithOr(const Aws::Vector& value) { SetOr(value); return *this;} + inline RowFilter& WithOr(Aws::Vector&& value) { SetOr(std::move(value)); return *this;} + inline RowFilter& AddOr(const RowFilter& value) { m_orHasBeenSet = true; m_or.push_back(value); return *this; } + inline RowFilter& AddOr(RowFilter&& value) { m_orHasBeenSet = true; m_or.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_and; + bool m_andHasBeenSet = false; + + RowFilterExpression m_expression; + bool m_expressionHasBeenSet = false; + + Aws::Vector m_or; + bool m_orHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterConfiguration.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterConfiguration.h new file mode 100644 index 00000000000..9d9aa469d55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterConfiguration.h @@ -0,0 +1,72 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + *

The row filter configuration details.

See Also:

AWS + * API Reference

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

The row filter.

+ */ + inline const RowFilter& GetRowFilter() const{ return m_rowFilter; } + inline bool RowFilterHasBeenSet() const { return m_rowFilterHasBeenSet; } + inline void SetRowFilter(const RowFilter& value) { m_rowFilterHasBeenSet = true; m_rowFilter = value; } + inline void SetRowFilter(RowFilter&& value) { m_rowFilterHasBeenSet = true; m_rowFilter = std::move(value); } + inline RowFilterConfiguration& WithRowFilter(const RowFilter& value) { SetRowFilter(value); return *this;} + inline RowFilterConfiguration& WithRowFilter(RowFilter&& value) { SetRowFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Specifies whether the row filter is sensitive.

+ */ + inline bool GetSensitive() const{ return m_sensitive; } + inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; } + inline void SetSensitive(bool value) { m_sensitiveHasBeenSet = true; m_sensitive = value; } + inline RowFilterConfiguration& WithSensitive(bool value) { SetSensitive(value); return *this;} + ///@} + private: + + RowFilter m_rowFilter; + bool m_rowFilterHasBeenSet = false; + + bool m_sensitive; + bool m_sensitiveHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterExpression.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterExpression.h new file mode 100644 index 00000000000..22a9d2ebc53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RowFilterExpression.h @@ -0,0 +1,235 @@ +/** + * 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 +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace DataZone +{ +namespace Model +{ + + /** + *

The row filter expression.

See Also:

AWS + * API Reference

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

The 'equal to' clause of the row filter expression.

+ */ + inline const EqualToExpression& GetEqualTo() const{ return m_equalTo; } + inline bool EqualToHasBeenSet() const { return m_equalToHasBeenSet; } + inline void SetEqualTo(const EqualToExpression& value) { m_equalToHasBeenSet = true; m_equalTo = value; } + inline void SetEqualTo(EqualToExpression&& value) { m_equalToHasBeenSet = true; m_equalTo = std::move(value); } + inline RowFilterExpression& WithEqualTo(const EqualToExpression& value) { SetEqualTo(value); return *this;} + inline RowFilterExpression& WithEqualTo(EqualToExpression&& value) { SetEqualTo(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'greater than' clause of the row filter expression.

+ */ + inline const GreaterThanExpression& GetGreaterThan() const{ return m_greaterThan; } + inline bool GreaterThanHasBeenSet() const { return m_greaterThanHasBeenSet; } + inline void SetGreaterThan(const GreaterThanExpression& value) { m_greaterThanHasBeenSet = true; m_greaterThan = value; } + inline void SetGreaterThan(GreaterThanExpression&& value) { m_greaterThanHasBeenSet = true; m_greaterThan = std::move(value); } + inline RowFilterExpression& WithGreaterThan(const GreaterThanExpression& value) { SetGreaterThan(value); return *this;} + inline RowFilterExpression& WithGreaterThan(GreaterThanExpression&& value) { SetGreaterThan(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'greater than or equal to' clause of the filter expression.

+ */ + inline const GreaterThanOrEqualToExpression& GetGreaterThanOrEqualTo() const{ return m_greaterThanOrEqualTo; } + inline bool GreaterThanOrEqualToHasBeenSet() const { return m_greaterThanOrEqualToHasBeenSet; } + inline void SetGreaterThanOrEqualTo(const GreaterThanOrEqualToExpression& value) { m_greaterThanOrEqualToHasBeenSet = true; m_greaterThanOrEqualTo = value; } + inline void SetGreaterThanOrEqualTo(GreaterThanOrEqualToExpression&& value) { m_greaterThanOrEqualToHasBeenSet = true; m_greaterThanOrEqualTo = std::move(value); } + inline RowFilterExpression& WithGreaterThanOrEqualTo(const GreaterThanOrEqualToExpression& value) { SetGreaterThanOrEqualTo(value); return *this;} + inline RowFilterExpression& WithGreaterThanOrEqualTo(GreaterThanOrEqualToExpression&& value) { SetGreaterThanOrEqualTo(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'in' clause of the row filter expression.

+ */ + inline const InExpression& GetIn() const{ return m_in; } + inline bool InHasBeenSet() const { return m_inHasBeenSet; } + inline void SetIn(const InExpression& value) { m_inHasBeenSet = true; m_in = value; } + inline void SetIn(InExpression&& value) { m_inHasBeenSet = true; m_in = std::move(value); } + inline RowFilterExpression& WithIn(const InExpression& value) { SetIn(value); return *this;} + inline RowFilterExpression& WithIn(InExpression&& value) { SetIn(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'is not null' clause of the row filter expression.

+ */ + inline const IsNotNullExpression& GetIsNotNull() const{ return m_isNotNull; } + inline bool IsNotNullHasBeenSet() const { return m_isNotNullHasBeenSet; } + inline void SetIsNotNull(const IsNotNullExpression& value) { m_isNotNullHasBeenSet = true; m_isNotNull = value; } + inline void SetIsNotNull(IsNotNullExpression&& value) { m_isNotNullHasBeenSet = true; m_isNotNull = std::move(value); } + inline RowFilterExpression& WithIsNotNull(const IsNotNullExpression& value) { SetIsNotNull(value); return *this;} + inline RowFilterExpression& WithIsNotNull(IsNotNullExpression&& value) { SetIsNotNull(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'is null' clause of the row filter expression.

+ */ + inline const IsNullExpression& GetIsNull() const{ return m_isNull; } + inline bool IsNullHasBeenSet() const { return m_isNullHasBeenSet; } + inline void SetIsNull(const IsNullExpression& value) { m_isNullHasBeenSet = true; m_isNull = value; } + inline void SetIsNull(IsNullExpression&& value) { m_isNullHasBeenSet = true; m_isNull = std::move(value); } + inline RowFilterExpression& WithIsNull(const IsNullExpression& value) { SetIsNull(value); return *this;} + inline RowFilterExpression& WithIsNull(IsNullExpression&& value) { SetIsNull(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'less than' clause of the row filter expression.

+ */ + inline const LessThanExpression& GetLessThan() const{ return m_lessThan; } + inline bool LessThanHasBeenSet() const { return m_lessThanHasBeenSet; } + inline void SetLessThan(const LessThanExpression& value) { m_lessThanHasBeenSet = true; m_lessThan = value; } + inline void SetLessThan(LessThanExpression&& value) { m_lessThanHasBeenSet = true; m_lessThan = std::move(value); } + inline RowFilterExpression& WithLessThan(const LessThanExpression& value) { SetLessThan(value); return *this;} + inline RowFilterExpression& WithLessThan(LessThanExpression&& value) { SetLessThan(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'less than or equal to' clause of the row filter expression.

+ */ + inline const LessThanOrEqualToExpression& GetLessThanOrEqualTo() const{ return m_lessThanOrEqualTo; } + inline bool LessThanOrEqualToHasBeenSet() const { return m_lessThanOrEqualToHasBeenSet; } + inline void SetLessThanOrEqualTo(const LessThanOrEqualToExpression& value) { m_lessThanOrEqualToHasBeenSet = true; m_lessThanOrEqualTo = value; } + inline void SetLessThanOrEqualTo(LessThanOrEqualToExpression&& value) { m_lessThanOrEqualToHasBeenSet = true; m_lessThanOrEqualTo = std::move(value); } + inline RowFilterExpression& WithLessThanOrEqualTo(const LessThanOrEqualToExpression& value) { SetLessThanOrEqualTo(value); return *this;} + inline RowFilterExpression& WithLessThanOrEqualTo(LessThanOrEqualToExpression&& value) { SetLessThanOrEqualTo(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'like' clause of the row filter expression.

+ */ + inline const LikeExpression& GetLike() const{ return m_like; } + inline bool LikeHasBeenSet() const { return m_likeHasBeenSet; } + inline void SetLike(const LikeExpression& value) { m_likeHasBeenSet = true; m_like = value; } + inline void SetLike(LikeExpression&& value) { m_likeHasBeenSet = true; m_like = std::move(value); } + inline RowFilterExpression& WithLike(const LikeExpression& value) { SetLike(value); return *this;} + inline RowFilterExpression& WithLike(LikeExpression&& value) { SetLike(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'no equal to' clause of the row filter expression.

+ */ + inline const NotEqualToExpression& GetNotEqualTo() const{ return m_notEqualTo; } + inline bool NotEqualToHasBeenSet() const { return m_notEqualToHasBeenSet; } + inline void SetNotEqualTo(const NotEqualToExpression& value) { m_notEqualToHasBeenSet = true; m_notEqualTo = value; } + inline void SetNotEqualTo(NotEqualToExpression&& value) { m_notEqualToHasBeenSet = true; m_notEqualTo = std::move(value); } + inline RowFilterExpression& WithNotEqualTo(const NotEqualToExpression& value) { SetNotEqualTo(value); return *this;} + inline RowFilterExpression& WithNotEqualTo(NotEqualToExpression&& value) { SetNotEqualTo(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'not in' clause of the row filter expression.

+ */ + inline const NotInExpression& GetNotIn() const{ return m_notIn; } + inline bool NotInHasBeenSet() const { return m_notInHasBeenSet; } + inline void SetNotIn(const NotInExpression& value) { m_notInHasBeenSet = true; m_notIn = value; } + inline void SetNotIn(NotInExpression&& value) { m_notInHasBeenSet = true; m_notIn = std::move(value); } + inline RowFilterExpression& WithNotIn(const NotInExpression& value) { SetNotIn(value); return *this;} + inline RowFilterExpression& WithNotIn(NotInExpression&& value) { SetNotIn(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The 'not like' clause of the row filter expression.

+ */ + inline const NotLikeExpression& GetNotLike() const{ return m_notLike; } + inline bool NotLikeHasBeenSet() const { return m_notLikeHasBeenSet; } + inline void SetNotLike(const NotLikeExpression& value) { m_notLikeHasBeenSet = true; m_notLike = value; } + inline void SetNotLike(NotLikeExpression&& value) { m_notLikeHasBeenSet = true; m_notLike = std::move(value); } + inline RowFilterExpression& WithNotLike(const NotLikeExpression& value) { SetNotLike(value); return *this;} + inline RowFilterExpression& WithNotLike(NotLikeExpression&& value) { SetNotLike(std::move(value)); return *this;} + ///@} + private: + + EqualToExpression m_equalTo; + bool m_equalToHasBeenSet = false; + + GreaterThanExpression m_greaterThan; + bool m_greaterThanHasBeenSet = false; + + GreaterThanOrEqualToExpression m_greaterThanOrEqualTo; + bool m_greaterThanOrEqualToHasBeenSet = false; + + InExpression m_in; + bool m_inHasBeenSet = false; + + IsNotNullExpression m_isNotNull; + bool m_isNotNullHasBeenSet = false; + + IsNullExpression m_isNull; + bool m_isNullHasBeenSet = false; + + LessThanExpression m_lessThan; + bool m_lessThanHasBeenSet = false; + + LessThanOrEqualToExpression m_lessThanOrEqualTo; + bool m_lessThanOrEqualToHasBeenSet = false; + + LikeExpression m_like; + bool m_likeHasBeenSet = false; + + NotEqualToExpression m_notEqualTo; + bool m_notEqualToHasBeenSet = false; + + NotInExpression m_notIn; + bool m_notInHasBeenSet = false; + + NotLikeExpression m_notLike; + bool m_notLikeHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterRequest.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterRequest.h new file mode 100644 index 00000000000..73d6a7a21b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterRequest.h @@ -0,0 +1,140 @@ +/** + * 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 DataZone +{ +namespace Model +{ + + /** + */ + class UpdateAssetFilterRequest : public DataZoneRequest + { + public: + AWS_DATAZONE_API UpdateAssetFilterRequest(); + + // 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 "UpdateAssetFilter"; } + + AWS_DATAZONE_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetIdentifier() const{ return m_assetIdentifier; } + inline bool AssetIdentifierHasBeenSet() const { return m_assetIdentifierHasBeenSet; } + inline void SetAssetIdentifier(const Aws::String& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = value; } + inline void SetAssetIdentifier(Aws::String&& value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier = std::move(value); } + inline void SetAssetIdentifier(const char* value) { m_assetIdentifierHasBeenSet = true; m_assetIdentifier.assign(value); } + inline UpdateAssetFilterRequest& WithAssetIdentifier(const Aws::String& value) { SetAssetIdentifier(value); return *this;} + inline UpdateAssetFilterRequest& WithAssetIdentifier(Aws::String&& value) { SetAssetIdentifier(std::move(value)); return *this;} + inline UpdateAssetFilterRequest& WithAssetIdentifier(const char* value) { SetAssetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The configuration of the asset filter.

+ */ + inline const AssetFilterConfiguration& GetConfiguration() const{ return m_configuration; } + inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } + inline void SetConfiguration(const AssetFilterConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } + inline void SetConfiguration(AssetFilterConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } + inline UpdateAssetFilterRequest& WithConfiguration(const AssetFilterConfiguration& value) { SetConfiguration(value); return *this;} + inline UpdateAssetFilterRequest& WithConfiguration(AssetFilterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + inline UpdateAssetFilterRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateAssetFilterRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateAssetFilterRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where you want to update an asset filter.

+ */ + inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; } + inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; } + inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; } + inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); } + inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); } + inline UpdateAssetFilterRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;} + inline UpdateAssetFilterRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;} + inline UpdateAssetFilterRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetIdentifier() const{ return m_identifier; } + inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } + inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } + inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } + inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } + inline UpdateAssetFilterRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} + inline UpdateAssetFilterRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} + inline UpdateAssetFilterRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline UpdateAssetFilterRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline UpdateAssetFilterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline UpdateAssetFilterRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + private: + + Aws::String m_assetIdentifier; + bool m_assetIdentifierHasBeenSet = false; + + AssetFilterConfiguration m_configuration; + bool m_configurationHasBeenSet = false; + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::String m_domainIdentifier; + bool m_domainIdentifierHasBeenSet = false; + + Aws::String m_identifier; + bool m_identifierHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterResult.h b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterResult.h new file mode 100644 index 00000000000..644228e0ef1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateAssetFilterResult.h @@ -0,0 +1,217 @@ +/** + * 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 DataZone +{ +namespace Model +{ + class UpdateAssetFilterResult + { + public: + AWS_DATAZONE_API UpdateAssetFilterResult(); + AWS_DATAZONE_API UpdateAssetFilterResult(const Aws::AmazonWebServiceResult& result); + AWS_DATAZONE_API UpdateAssetFilterResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The ID of the data asset.

+ */ + inline const Aws::String& GetAssetId() const{ return m_assetId; } + inline void SetAssetId(const Aws::String& value) { m_assetId = value; } + inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } + inline void SetAssetId(const char* value) { m_assetId.assign(value); } + inline UpdateAssetFilterResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} + inline UpdateAssetFilterResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} + ///@} + + ///@{ + /** + *

The configuration of the asset filter.

+ */ + inline const AssetFilterConfiguration& GetConfiguration() const{ return m_configuration; } + inline void SetConfiguration(const AssetFilterConfiguration& value) { m_configuration = value; } + inline void SetConfiguration(AssetFilterConfiguration&& value) { m_configuration = std::move(value); } + inline UpdateAssetFilterResult& WithConfiguration(const AssetFilterConfiguration& value) { SetConfiguration(value); return *this;} + inline UpdateAssetFilterResult& WithConfiguration(AssetFilterConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The timestamp at which the asset filter was created.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } + inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } + inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } + inline UpdateAssetFilterResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} + inline UpdateAssetFilterResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The description of the asset filter.

+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + inline void SetDescription(const Aws::String& value) { m_description = value; } + inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } + inline void SetDescription(const char* value) { m_description.assign(value); } + inline UpdateAssetFilterResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + inline UpdateAssetFilterResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithDescription(const char* value) { SetDescription(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the domain where the asset filter was created.

+ */ + inline const Aws::String& GetDomainId() const{ return m_domainId; } + inline void SetDomainId(const Aws::String& value) { m_domainId = value; } + inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); } + inline void SetDomainId(const char* value) { m_domainId.assign(value); } + inline UpdateAssetFilterResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;} + inline UpdateAssetFilterResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithDomainId(const char* value) { SetDomainId(value); return *this;} + ///@} + + ///@{ + /** + *

The column names of the asset filter.

+ */ + inline const Aws::Vector& GetEffectiveColumnNames() const{ return m_effectiveColumnNames; } + inline void SetEffectiveColumnNames(const Aws::Vector& value) { m_effectiveColumnNames = value; } + inline void SetEffectiveColumnNames(Aws::Vector&& value) { m_effectiveColumnNames = std::move(value); } + inline UpdateAssetFilterResult& WithEffectiveColumnNames(const Aws::Vector& value) { SetEffectiveColumnNames(value); return *this;} + inline UpdateAssetFilterResult& WithEffectiveColumnNames(Aws::Vector&& value) { SetEffectiveColumnNames(std::move(value)); return *this;} + inline UpdateAssetFilterResult& AddEffectiveColumnNames(const Aws::String& value) { m_effectiveColumnNames.push_back(value); return *this; } + inline UpdateAssetFilterResult& AddEffectiveColumnNames(Aws::String&& value) { m_effectiveColumnNames.push_back(std::move(value)); return *this; } + inline UpdateAssetFilterResult& AddEffectiveColumnNames(const char* value) { m_effectiveColumnNames.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The row filter of the asset filter.

+ */ + inline const Aws::String& GetEffectiveRowFilter() const{ return m_effectiveRowFilter; } + inline void SetEffectiveRowFilter(const Aws::String& value) { m_effectiveRowFilter = value; } + inline void SetEffectiveRowFilter(Aws::String&& value) { m_effectiveRowFilter = std::move(value); } + inline void SetEffectiveRowFilter(const char* value) { m_effectiveRowFilter.assign(value); } + inline UpdateAssetFilterResult& WithEffectiveRowFilter(const Aws::String& value) { SetEffectiveRowFilter(value); return *this;} + inline UpdateAssetFilterResult& WithEffectiveRowFilter(Aws::String&& value) { SetEffectiveRowFilter(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithEffectiveRowFilter(const char* value) { SetEffectiveRowFilter(value); return *this;} + ///@} + + ///@{ + /** + *

The error message that is displayed if the action is not completed + * successfully.

+ */ + inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } + inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; } + inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); } + inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); } + inline UpdateAssetFilterResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} + inline UpdateAssetFilterResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the asset filter.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline UpdateAssetFilterResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline UpdateAssetFilterResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the asset filter.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline UpdateAssetFilterResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline UpdateAssetFilterResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the asset filter.

+ */ + inline const FilterStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const FilterStatus& value) { m_status = value; } + inline void SetStatus(FilterStatus&& value) { m_status = std::move(value); } + inline UpdateAssetFilterResult& WithStatus(const FilterStatus& value) { SetStatus(value); return *this;} + inline UpdateAssetFilterResult& WithStatus(FilterStatus&& 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 UpdateAssetFilterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateAssetFilterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateAssetFilterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_assetId; + + AssetFilterConfiguration m_configuration; + + Aws::Utils::DateTime m_createdAt; + + Aws::String m_description; + + Aws::String m_domainId; + + Aws::Vector m_effectiveColumnNames; + + Aws::String m_effectiveRowFilter; + + Aws::String m_errorMessage; + + Aws::String m_id; + + Aws::String m_name; + + FilterStatus m_status; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp index 3e80746d000..ed0db7f6396 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/DataZoneClient.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -46,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -65,6 +67,7 @@ #include #include #include +#include #include #include #include @@ -89,6 +92,7 @@ #include #include #include +#include #include #include #include @@ -125,6 +129,7 @@ #include #include #include +#include #include #include #include @@ -524,6 +529,47 @@ CreateAssetOutcome DataZoneClient::CreateAsset(const CreateAssetRequest& request {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateAssetFilterOutcome DataZoneClient::CreateAssetFilter(const CreateAssetFilterRequest& request) const +{ + AWS_OPERATION_GUARD(CreateAssetFilter); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AssetIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateAssetFilter", "Required field: AssetIdentifier, is not set"); + return CreateAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssetIdentifier]", false)); + } + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("CreateAssetFilter", "Required field: DomainIdentifier, is not set"); + return CreateAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateAssetFilter", + {{ 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( + [&]()-> CreateAssetFilterOutcome { + 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, CreateAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/assets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAssetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/filters"); + return CreateAssetFilterOutcome(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()}}); +} + CreateAssetRevisionOutcome DataZoneClient::CreateAssetRevision(const CreateAssetRevisionRequest& request) const { AWS_OPERATION_GUARD(CreateAssetRevision); @@ -1197,6 +1243,53 @@ DeleteAssetOutcome DataZoneClient::DeleteAsset(const DeleteAssetRequest& request {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteAssetFilterOutcome DataZoneClient::DeleteAssetFilter(const DeleteAssetFilterRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteAssetFilter); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AssetIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteAssetFilter", "Required field: AssetIdentifier, is not set"); + return DeleteAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssetIdentifier]", false)); + } + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteAssetFilter", "Required field: DomainIdentifier, is not set"); + return DeleteAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteAssetFilter", "Required field: Identifier, is not set"); + return DeleteAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteAssetFilter", + {{ 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( + [&]()-> DeleteAssetFilterOutcome { + 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, DeleteAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/assets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAssetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/filters/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return DeleteAssetFilterOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteAssetTypeOutcome DataZoneClient::DeleteAssetType(const DeleteAssetTypeRequest& request) const { AWS_OPERATION_GUARD(DeleteAssetType); @@ -1984,6 +2077,53 @@ GetAssetOutcome DataZoneClient::GetAsset(const GetAssetRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetAssetFilterOutcome DataZoneClient::GetAssetFilter(const GetAssetFilterRequest& request) const +{ + AWS_OPERATION_GUARD(GetAssetFilter); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AssetIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAssetFilter", "Required field: AssetIdentifier, is not set"); + return GetAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssetIdentifier]", false)); + } + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAssetFilter", "Required field: DomainIdentifier, is not set"); + return GetAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetAssetFilter", "Required field: Identifier, is not set"); + return GetAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetAssetFilter", + {{ 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( + [&]()-> GetAssetFilterOutcome { + 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, GetAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/assets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAssetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/filters/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return GetAssetFilterOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetAssetTypeOutcome DataZoneClient::GetAssetType(const GetAssetTypeRequest& request) const { AWS_OPERATION_GUARD(GetAssetType); @@ -2963,6 +3103,47 @@ GetUserProfileOutcome DataZoneClient::GetUserProfile(const GetUserProfileRequest {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListAssetFiltersOutcome DataZoneClient::ListAssetFilters(const ListAssetFiltersRequest& request) const +{ + AWS_OPERATION_GUARD(ListAssetFilters); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListAssetFilters, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AssetIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListAssetFilters", "Required field: AssetIdentifier, is not set"); + return ListAssetFiltersOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssetIdentifier]", false)); + } + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListAssetFilters", "Required field: DomainIdentifier, is not set"); + return ListAssetFiltersOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListAssetFilters, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListAssetFilters, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListAssetFilters", + {{ 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( + [&]()-> ListAssetFiltersOutcome { + 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, ListAssetFilters, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/assets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAssetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/filters"); + return ListAssetFiltersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListAssetRevisionsOutcome DataZoneClient::ListAssetRevisions(const ListAssetRevisionsRequest& request) const { AWS_OPERATION_GUARD(ListAssetRevisions); @@ -4311,6 +4492,53 @@ UntagResourceOutcome DataZoneClient::UntagResource(const UntagResourceRequest& r {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateAssetFilterOutcome DataZoneClient::UpdateAssetFilter(const UpdateAssetFilterRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateAssetFilter); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.AssetIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAssetFilter", "Required field: AssetIdentifier, is not set"); + return UpdateAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [AssetIdentifier]", false)); + } + if (!request.DomainIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAssetFilter", "Required field: DomainIdentifier, is not set"); + return UpdateAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [DomainIdentifier]", false)); + } + if (!request.IdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateAssetFilter", "Required field: Identifier, is not set"); + return UpdateAssetFilterOutcome(Aws::Client::AWSError(DataZoneErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [Identifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateAssetFilter, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateAssetFilter", + {{ 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( + [&]()-> UpdateAssetFilterOutcome { + 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, UpdateAssetFilter, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/v2/domains/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDomainIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/assets/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetAssetIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/filters/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetIdentifier()); + return UpdateAssetFilterOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PATCH, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateDataSourceOutcome DataZoneClient::UpdateDataSource(const UpdateDataSourceRequest& request) const { AWS_OPERATION_GUARD(UpdateDataSource); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterConfiguration.cpp new file mode 100644 index 00000000000..c3ebecb76bd --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterConfiguration.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +AssetFilterConfiguration::AssetFilterConfiguration() : + m_columnConfigurationHasBeenSet(false), + m_rowConfigurationHasBeenSet(false) +{ +} + +AssetFilterConfiguration::AssetFilterConfiguration(JsonView jsonValue) + : AssetFilterConfiguration() +{ + *this = jsonValue; +} + +AssetFilterConfiguration& AssetFilterConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnConfiguration")) + { + m_columnConfiguration = jsonValue.GetObject("columnConfiguration"); + + m_columnConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("rowConfiguration")) + { + m_rowConfiguration = jsonValue.GetObject("rowConfiguration"); + + m_rowConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue AssetFilterConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_columnConfigurationHasBeenSet) + { + payload.WithObject("columnConfiguration", m_columnConfiguration.Jsonize()); + + } + + if(m_rowConfigurationHasBeenSet) + { + payload.WithObject("rowConfiguration", m_rowConfiguration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterSummary.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterSummary.cpp new file mode 100644 index 00000000000..3f3b2fc6dad --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/AssetFilterSummary.cpp @@ -0,0 +1,192 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +AssetFilterSummary::AssetFilterSummary() : + m_assetIdHasBeenSet(false), + m_createdAtHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_domainIdHasBeenSet(false), + m_effectiveColumnNamesHasBeenSet(false), + m_effectiveRowFilterHasBeenSet(false), + m_errorMessageHasBeenSet(false), + m_idHasBeenSet(false), + m_nameHasBeenSet(false), + m_status(FilterStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +AssetFilterSummary::AssetFilterSummary(JsonView jsonValue) + : AssetFilterSummary() +{ + *this = jsonValue; +} + +AssetFilterSummary& AssetFilterSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + m_assetIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + m_createdAtHasBeenSet = true; + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + m_descriptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + m_domainIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("effectiveColumnNames")) + { + Aws::Utils::Array effectiveColumnNamesJsonList = jsonValue.GetArray("effectiveColumnNames"); + for(unsigned effectiveColumnNamesIndex = 0; effectiveColumnNamesIndex < effectiveColumnNamesJsonList.GetLength(); ++effectiveColumnNamesIndex) + { + m_effectiveColumnNames.push_back(effectiveColumnNamesJsonList[effectiveColumnNamesIndex].AsString()); + } + m_effectiveColumnNamesHasBeenSet = true; + } + + if(jsonValue.ValueExists("effectiveRowFilter")) + { + m_effectiveRowFilter = jsonValue.GetString("effectiveRowFilter"); + + m_effectiveRowFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + m_errorMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + m_idHasBeenSet = true; + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("status")) + { + m_status = FilterStatusMapper::GetFilterStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + return *this; +} + +JsonValue AssetFilterSummary::Jsonize() const +{ + JsonValue payload; + + if(m_assetIdHasBeenSet) + { + payload.WithString("assetId", m_assetId); + + } + + if(m_createdAtHasBeenSet) + { + payload.WithDouble("createdAt", m_createdAt.SecondsWithMSPrecision()); + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_domainIdHasBeenSet) + { + payload.WithString("domainId", m_domainId); + + } + + if(m_effectiveColumnNamesHasBeenSet) + { + Aws::Utils::Array effectiveColumnNamesJsonList(m_effectiveColumnNames.size()); + for(unsigned effectiveColumnNamesIndex = 0; effectiveColumnNamesIndex < effectiveColumnNamesJsonList.GetLength(); ++effectiveColumnNamesIndex) + { + effectiveColumnNamesJsonList[effectiveColumnNamesIndex].AsString(m_effectiveColumnNames[effectiveColumnNamesIndex]); + } + payload.WithArray("effectiveColumnNames", std::move(effectiveColumnNamesJsonList)); + + } + + if(m_effectiveRowFilterHasBeenSet) + { + payload.WithString("effectiveRowFilter", m_effectiveRowFilter); + + } + + if(m_errorMessageHasBeenSet) + { + payload.WithString("errorMessage", m_errorMessage); + + } + + if(m_idHasBeenSet) + { + payload.WithString("id", m_id); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("status", FilterStatusMapper::GetNameForFilterStatus(m_status)); + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ColumnFilterConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ColumnFilterConfiguration.cpp new file mode 100644 index 00000000000..9558d4848e6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ColumnFilterConfiguration.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 DataZone +{ +namespace Model +{ + +ColumnFilterConfiguration::ColumnFilterConfiguration() : + m_includedColumnNamesHasBeenSet(false) +{ +} + +ColumnFilterConfiguration::ColumnFilterConfiguration(JsonView jsonValue) + : ColumnFilterConfiguration() +{ + *this = jsonValue; +} + +ColumnFilterConfiguration& ColumnFilterConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("includedColumnNames")) + { + Aws::Utils::Array includedColumnNamesJsonList = jsonValue.GetArray("includedColumnNames"); + for(unsigned includedColumnNamesIndex = 0; includedColumnNamesIndex < includedColumnNamesJsonList.GetLength(); ++includedColumnNamesIndex) + { + m_includedColumnNames.push_back(includedColumnNamesJsonList[includedColumnNamesIndex].AsString()); + } + m_includedColumnNamesHasBeenSet = true; + } + + return *this; +} + +JsonValue ColumnFilterConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_includedColumnNamesHasBeenSet) + { + Aws::Utils::Array includedColumnNamesJsonList(m_includedColumnNames.size()); + for(unsigned includedColumnNamesIndex = 0; includedColumnNamesIndex < includedColumnNamesJsonList.GetLength(); ++includedColumnNamesIndex) + { + includedColumnNamesJsonList[includedColumnNamesIndex].AsString(m_includedColumnNames[includedColumnNamesIndex]); + } + payload.WithArray("includedColumnNames", std::move(includedColumnNamesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterRequest.cpp new file mode 100644 index 00000000000..88ba0ea4cc6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterRequest.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateAssetFilterRequest::CreateAssetFilterRequest() : + m_assetIdentifierHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true), + m_configurationHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String CreateAssetFilterRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_clientTokenHasBeenSet) + { + payload.WithString("clientToken", m_clientToken); + + } + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterResult.cpp new file mode 100644 index 00000000000..13ec60f46d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/CreateAssetFilterResult.cpp @@ -0,0 +1,113 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateAssetFilterResult::CreateAssetFilterResult() : + m_status(FilterStatus::NOT_SET) +{ +} + +CreateAssetFilterResult::CreateAssetFilterResult(const Aws::AmazonWebServiceResult& result) + : CreateAssetFilterResult() +{ + *this = result; +} + +CreateAssetFilterResult& CreateAssetFilterResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("effectiveColumnNames")) + { + Aws::Utils::Array effectiveColumnNamesJsonList = jsonValue.GetArray("effectiveColumnNames"); + for(unsigned effectiveColumnNamesIndex = 0; effectiveColumnNamesIndex < effectiveColumnNamesJsonList.GetLength(); ++effectiveColumnNamesIndex) + { + m_effectiveColumnNames.push_back(effectiveColumnNamesJsonList[effectiveColumnNamesIndex].AsString()); + } + } + + if(jsonValue.ValueExists("effectiveRowFilter")) + { + m_effectiveRowFilter = jsonValue.GetString("effectiveRowFilter"); + + } + + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = FilterStatusMapper::GetFilterStatusForName(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-datazone/source/model/DeleteAssetFilterRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteAssetFilterRequest.cpp new file mode 100644 index 00000000000..bde90640b18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/DeleteAssetFilterRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DeleteAssetFilterRequest::DeleteAssetFilterRequest() : + m_assetIdentifierHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String DeleteAssetFilterRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp index d906fb25a4e..dceda837b5f 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EnvironmentBlueprintConfigurationItem.cpp @@ -24,6 +24,7 @@ EnvironmentBlueprintConfigurationItem::EnvironmentBlueprintConfigurationItem() : m_enabledRegionsHasBeenSet(false), m_environmentBlueprintIdHasBeenSet(false), m_manageAccessRoleArnHasBeenSet(false), + m_provisioningConfigurationsHasBeenSet(false), m_provisioningRoleArnHasBeenSet(false), m_regionalParametersHasBeenSet(false), m_updatedAtHasBeenSet(false) @@ -76,6 +77,16 @@ EnvironmentBlueprintConfigurationItem& EnvironmentBlueprintConfigurationItem::op m_manageAccessRoleArnHasBeenSet = true; } + if(jsonValue.ValueExists("provisioningConfigurations")) + { + Aws::Utils::Array provisioningConfigurationsJsonList = jsonValue.GetArray("provisioningConfigurations"); + for(unsigned provisioningConfigurationsIndex = 0; provisioningConfigurationsIndex < provisioningConfigurationsJsonList.GetLength(); ++provisioningConfigurationsIndex) + { + m_provisioningConfigurations.push_back(provisioningConfigurationsJsonList[provisioningConfigurationsIndex].AsObject()); + } + m_provisioningConfigurationsHasBeenSet = true; + } + if(jsonValue.ValueExists("provisioningRoleArn")) { m_provisioningRoleArn = jsonValue.GetString("provisioningRoleArn"); @@ -147,6 +158,17 @@ JsonValue EnvironmentBlueprintConfigurationItem::Jsonize() const } + if(m_provisioningConfigurationsHasBeenSet) + { + Aws::Utils::Array provisioningConfigurationsJsonList(m_provisioningConfigurations.size()); + for(unsigned provisioningConfigurationsIndex = 0; provisioningConfigurationsIndex < provisioningConfigurationsJsonList.GetLength(); ++provisioningConfigurationsIndex) + { + provisioningConfigurationsJsonList[provisioningConfigurationsIndex].AsObject(m_provisioningConfigurations[provisioningConfigurationsIndex].Jsonize()); + } + payload.WithArray("provisioningConfigurations", std::move(provisioningConfigurationsJsonList)); + + } + if(m_provisioningRoleArnHasBeenSet) { payload.WithString("provisioningRoleArn", m_provisioningRoleArn); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/EqualToExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/EqualToExpression.cpp new file mode 100644 index 00000000000..d949d40367e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/EqualToExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +EqualToExpression::EqualToExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +EqualToExpression::EqualToExpression(JsonView jsonValue) + : EqualToExpression() +{ + *this = jsonValue; +} + +EqualToExpression& EqualToExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue EqualToExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/FilterStatus.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/FilterStatus.cpp new file mode 100644 index 00000000000..4b6bdd80dc3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/FilterStatus.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 DataZone + { + namespace Model + { + namespace FilterStatusMapper + { + + static const int VALID_HASH = HashingUtils::HashString("VALID"); + static const int INVALID_HASH = HashingUtils::HashString("INVALID"); + + + FilterStatus GetFilterStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == VALID_HASH) + { + return FilterStatus::VALID; + } + else if (hashCode == INVALID_HASH) + { + return FilterStatus::INVALID; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return FilterStatus::NOT_SET; + } + + Aws::String GetNameForFilterStatus(FilterStatus enumValue) + { + switch(enumValue) + { + case FilterStatus::NOT_SET: + return {}; + case FilterStatus::VALID: + return "VALID"; + case FilterStatus::INVALID: + return "INVALID"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace FilterStatusMapper + } // namespace Model + } // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterRequest.cpp new file mode 100644 index 00000000000..99c502f1bf6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterRequest.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetAssetFilterRequest::GetAssetFilterRequest() : + m_assetIdentifierHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false) +{ +} + +Aws::String GetAssetFilterRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterResult.cpp new file mode 100644 index 00000000000..3051f9aca39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetAssetFilterResult.cpp @@ -0,0 +1,113 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetAssetFilterResult::GetAssetFilterResult() : + m_status(FilterStatus::NOT_SET) +{ +} + +GetAssetFilterResult::GetAssetFilterResult(const Aws::AmazonWebServiceResult& result) + : GetAssetFilterResult() +{ + *this = result; +} + +GetAssetFilterResult& GetAssetFilterResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("effectiveColumnNames")) + { + Aws::Utils::Array effectiveColumnNamesJsonList = jsonValue.GetArray("effectiveColumnNames"); + for(unsigned effectiveColumnNamesIndex = 0; effectiveColumnNamesIndex < effectiveColumnNamesJsonList.GetLength(); ++effectiveColumnNamesIndex) + { + m_effectiveColumnNames.push_back(effectiveColumnNamesJsonList[effectiveColumnNamesIndex].AsString()); + } + } + + if(jsonValue.ValueExists("effectiveRowFilter")) + { + m_effectiveRowFilter = jsonValue.GetString("effectiveRowFilter"); + + } + + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = FilterStatusMapper::GetFilterStatusForName(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-datazone/source/model/GetEnvironmentBlueprintConfigurationResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GetEnvironmentBlueprintConfigurationResult.cpp index 20be4367814..c9afa7c9899 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/GetEnvironmentBlueprintConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GetEnvironmentBlueprintConfigurationResult.cpp @@ -62,6 +62,15 @@ GetEnvironmentBlueprintConfigurationResult& GetEnvironmentBlueprintConfiguration } + if(jsonValue.ValueExists("provisioningConfigurations")) + { + Aws::Utils::Array provisioningConfigurationsJsonList = jsonValue.GetArray("provisioningConfigurations"); + for(unsigned provisioningConfigurationsIndex = 0; provisioningConfigurationsIndex < provisioningConfigurationsJsonList.GetLength(); ++provisioningConfigurationsIndex) + { + m_provisioningConfigurations.push_back(provisioningConfigurationsJsonList[provisioningConfigurationsIndex].AsObject()); + } + } + if(jsonValue.ValueExists("provisioningRoleArn")) { m_provisioningRoleArn = jsonValue.GetString("provisioningRoleArn"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanExpression.cpp new file mode 100644 index 00000000000..bb041a358c3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GreaterThanExpression::GreaterThanExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +GreaterThanExpression::GreaterThanExpression(JsonView jsonValue) + : GreaterThanExpression() +{ + *this = jsonValue; +} + +GreaterThanExpression& GreaterThanExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue GreaterThanExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanOrEqualToExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanOrEqualToExpression.cpp new file mode 100644 index 00000000000..1494cbafd9c --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/GreaterThanOrEqualToExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +GreaterThanOrEqualToExpression::GreaterThanOrEqualToExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +GreaterThanOrEqualToExpression::GreaterThanOrEqualToExpression(JsonView jsonValue) + : GreaterThanOrEqualToExpression() +{ + *this = jsonValue; +} + +GreaterThanOrEqualToExpression& GreaterThanOrEqualToExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue GreaterThanOrEqualToExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/InExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/InExpression.cpp new file mode 100644 index 00000000000..9251596e3a9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/InExpression.cpp @@ -0,0 +1,81 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +InExpression::InExpression() : + m_columnNameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ +} + +InExpression::InExpression(JsonView jsonValue) + : InExpression() +{ + *this = jsonValue; +} + +InExpression& InExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("values")) + { + Aws::Utils::Array valuesJsonList = jsonValue.GetArray("values"); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + m_values.push_back(valuesJsonList[valuesIndex].AsString()); + } + m_valuesHasBeenSet = true; + } + + return *this; +} + +JsonValue InExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valuesHasBeenSet) + { + Aws::Utils::Array valuesJsonList(m_values.size()); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + valuesJsonList[valuesIndex].AsString(m_values[valuesIndex]); + } + payload.WithArray("values", std::move(valuesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/IsNotNullExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/IsNotNullExpression.cpp new file mode 100644 index 00000000000..91126b2b056 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/IsNotNullExpression.cpp @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +IsNotNullExpression::IsNotNullExpression() : + m_columnNameHasBeenSet(false) +{ +} + +IsNotNullExpression::IsNotNullExpression(JsonView jsonValue) + : IsNotNullExpression() +{ + *this = jsonValue; +} + +IsNotNullExpression& IsNotNullExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + return *this; +} + +JsonValue IsNotNullExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/IsNullExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/IsNullExpression.cpp new file mode 100644 index 00000000000..281f02f1981 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/IsNullExpression.cpp @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +IsNullExpression::IsNullExpression() : + m_columnNameHasBeenSet(false) +{ +} + +IsNullExpression::IsNullExpression(JsonView jsonValue) + : IsNullExpression() +{ + *this = jsonValue; +} + +IsNullExpression& IsNullExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + return *this; +} + +JsonValue IsNullExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LakeFormationConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LakeFormationConfiguration.cpp new file mode 100644 index 00000000000..80892f3b312 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LakeFormationConfiguration.cpp @@ -0,0 +1,81 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +LakeFormationConfiguration::LakeFormationConfiguration() : + m_locationRegistrationExcludeS3LocationsHasBeenSet(false), + m_locationRegistrationRoleHasBeenSet(false) +{ +} + +LakeFormationConfiguration::LakeFormationConfiguration(JsonView jsonValue) + : LakeFormationConfiguration() +{ + *this = jsonValue; +} + +LakeFormationConfiguration& LakeFormationConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("locationRegistrationExcludeS3Locations")) + { + Aws::Utils::Array locationRegistrationExcludeS3LocationsJsonList = jsonValue.GetArray("locationRegistrationExcludeS3Locations"); + for(unsigned locationRegistrationExcludeS3LocationsIndex = 0; locationRegistrationExcludeS3LocationsIndex < locationRegistrationExcludeS3LocationsJsonList.GetLength(); ++locationRegistrationExcludeS3LocationsIndex) + { + m_locationRegistrationExcludeS3Locations.push_back(locationRegistrationExcludeS3LocationsJsonList[locationRegistrationExcludeS3LocationsIndex].AsString()); + } + m_locationRegistrationExcludeS3LocationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("locationRegistrationRole")) + { + m_locationRegistrationRole = jsonValue.GetString("locationRegistrationRole"); + + m_locationRegistrationRoleHasBeenSet = true; + } + + return *this; +} + +JsonValue LakeFormationConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_locationRegistrationExcludeS3LocationsHasBeenSet) + { + Aws::Utils::Array locationRegistrationExcludeS3LocationsJsonList(m_locationRegistrationExcludeS3Locations.size()); + for(unsigned locationRegistrationExcludeS3LocationsIndex = 0; locationRegistrationExcludeS3LocationsIndex < locationRegistrationExcludeS3LocationsJsonList.GetLength(); ++locationRegistrationExcludeS3LocationsIndex) + { + locationRegistrationExcludeS3LocationsJsonList[locationRegistrationExcludeS3LocationsIndex].AsString(m_locationRegistrationExcludeS3Locations[locationRegistrationExcludeS3LocationsIndex]); + } + payload.WithArray("locationRegistrationExcludeS3Locations", std::move(locationRegistrationExcludeS3LocationsJsonList)); + + } + + if(m_locationRegistrationRoleHasBeenSet) + { + payload.WithString("locationRegistrationRole", m_locationRegistrationRole); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LessThanExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LessThanExpression.cpp new file mode 100644 index 00000000000..75f17797ef0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LessThanExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LessThanExpression::LessThanExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +LessThanExpression::LessThanExpression(JsonView jsonValue) + : LessThanExpression() +{ + *this = jsonValue; +} + +LessThanExpression& LessThanExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue LessThanExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LessThanOrEqualToExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LessThanOrEqualToExpression.cpp new file mode 100644 index 00000000000..8700eba28e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LessThanOrEqualToExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LessThanOrEqualToExpression::LessThanOrEqualToExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +LessThanOrEqualToExpression::LessThanOrEqualToExpression(JsonView jsonValue) + : LessThanOrEqualToExpression() +{ + *this = jsonValue; +} + +LessThanOrEqualToExpression& LessThanOrEqualToExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue LessThanOrEqualToExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/LikeExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/LikeExpression.cpp new file mode 100644 index 00000000000..41732a816b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/LikeExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +LikeExpression::LikeExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +LikeExpression::LikeExpression(JsonView jsonValue) + : LikeExpression() +{ + *this = jsonValue; +} + +LikeExpression& LikeExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue LikeExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersRequest.cpp new file mode 100644 index 00000000000..e7331e0e20d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersRequest.cpp @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListAssetFiltersRequest::ListAssetFiltersRequest() : + m_assetIdentifierHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_status(FilterStatus::NOT_SET), + m_statusHasBeenSet(false) +{ +} + +Aws::String ListAssetFiltersRequest::SerializePayload() const +{ + return {}; +} + +void ListAssetFiltersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_statusHasBeenSet) + { + ss << FilterStatusMapper::GetNameForFilterStatus(m_status); + uri.AddQueryStringParameter("status", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersResult.cpp new file mode 100644 index 00000000000..ac1d1231506 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ListAssetFiltersResult.cpp @@ -0,0 +1,57 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListAssetFiltersResult::ListAssetFiltersResult() +{ +} + +ListAssetFiltersResult::ListAssetFiltersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListAssetFiltersResult& ListAssetFiltersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("items")) + { + Aws::Utils::Array itemsJsonList = jsonValue.GetArray("items"); + for(unsigned itemsIndex = 0; itemsIndex < itemsJsonList.GetLength(); ++itemsIndex) + { + m_items.push_back(itemsJsonList[itemsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + + 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-datazone/source/model/NotEqualToExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/NotEqualToExpression.cpp new file mode 100644 index 00000000000..74a814671da --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/NotEqualToExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +NotEqualToExpression::NotEqualToExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +NotEqualToExpression::NotEqualToExpression(JsonView jsonValue) + : NotEqualToExpression() +{ + *this = jsonValue; +} + +NotEqualToExpression& NotEqualToExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue NotEqualToExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/NotInExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/NotInExpression.cpp new file mode 100644 index 00000000000..8ba2add03f8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/NotInExpression.cpp @@ -0,0 +1,81 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +NotInExpression::NotInExpression() : + m_columnNameHasBeenSet(false), + m_valuesHasBeenSet(false) +{ +} + +NotInExpression::NotInExpression(JsonView jsonValue) + : NotInExpression() +{ + *this = jsonValue; +} + +NotInExpression& NotInExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("values")) + { + Aws::Utils::Array valuesJsonList = jsonValue.GetArray("values"); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + m_values.push_back(valuesJsonList[valuesIndex].AsString()); + } + m_valuesHasBeenSet = true; + } + + return *this; +} + +JsonValue NotInExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valuesHasBeenSet) + { + Aws::Utils::Array valuesJsonList(m_values.size()); + for(unsigned valuesIndex = 0; valuesIndex < valuesJsonList.GetLength(); ++valuesIndex) + { + valuesJsonList[valuesIndex].AsString(m_values[valuesIndex]); + } + payload.WithArray("values", std::move(valuesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/NotLikeExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/NotLikeExpression.cpp new file mode 100644 index 00000000000..48afe5528ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/NotLikeExpression.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::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace DataZone +{ +namespace Model +{ + +NotLikeExpression::NotLikeExpression() : + m_columnNameHasBeenSet(false), + m_valueHasBeenSet(false) +{ +} + +NotLikeExpression::NotLikeExpression(JsonView jsonValue) + : NotLikeExpression() +{ + *this = jsonValue; +} + +NotLikeExpression& NotLikeExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("columnName")) + { + m_columnName = jsonValue.GetString("columnName"); + + m_columnNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + + return *this; +} + +JsonValue NotLikeExpression::Jsonize() const +{ + JsonValue payload; + + if(m_columnNameHasBeenSet) + { + payload.WithString("columnName", m_columnName); + + } + + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/ProvisioningConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/ProvisioningConfiguration.cpp new file mode 100644 index 00000000000..b986b500f05 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/ProvisioningConfiguration.cpp @@ -0,0 +1,59 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +ProvisioningConfiguration::ProvisioningConfiguration() : + m_lakeFormationConfigurationHasBeenSet(false) +{ +} + +ProvisioningConfiguration::ProvisioningConfiguration(JsonView jsonValue) + : ProvisioningConfiguration() +{ + *this = jsonValue; +} + +ProvisioningConfiguration& ProvisioningConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("lakeFormationConfiguration")) + { + m_lakeFormationConfiguration = jsonValue.GetObject("lakeFormationConfiguration"); + + m_lakeFormationConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue ProvisioningConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_lakeFormationConfigurationHasBeenSet) + { + payload.WithObject("lakeFormationConfiguration", m_lakeFormationConfiguration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp index b037f1e3a1e..dfa6d5e3d0d 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationRequest.cpp @@ -17,6 +17,7 @@ PutEnvironmentBlueprintConfigurationRequest::PutEnvironmentBlueprintConfiguratio m_enabledRegionsHasBeenSet(false), m_environmentBlueprintIdentifierHasBeenSet(false), m_manageAccessRoleArnHasBeenSet(false), + m_provisioningConfigurationsHasBeenSet(false), m_provisioningRoleArnHasBeenSet(false), m_regionalParametersHasBeenSet(false) { @@ -43,6 +44,17 @@ Aws::String PutEnvironmentBlueprintConfigurationRequest::SerializePayload() cons } + if(m_provisioningConfigurationsHasBeenSet) + { + Aws::Utils::Array provisioningConfigurationsJsonList(m_provisioningConfigurations.size()); + for(unsigned provisioningConfigurationsIndex = 0; provisioningConfigurationsIndex < provisioningConfigurationsJsonList.GetLength(); ++provisioningConfigurationsIndex) + { + provisioningConfigurationsJsonList[provisioningConfigurationsIndex].AsObject(m_provisioningConfigurations[provisioningConfigurationsIndex].Jsonize()); + } + payload.WithArray("provisioningConfigurations", std::move(provisioningConfigurationsJsonList)); + + } + if(m_provisioningRoleArnHasBeenSet) { payload.WithString("provisioningRoleArn", m_provisioningRoleArn); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp index e507457ea5f..150bb17bfab 100644 --- a/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-datazone/source/model/PutEnvironmentBlueprintConfigurationResult.cpp @@ -62,6 +62,15 @@ PutEnvironmentBlueprintConfigurationResult& PutEnvironmentBlueprintConfiguration } + if(jsonValue.ValueExists("provisioningConfigurations")) + { + Aws::Utils::Array provisioningConfigurationsJsonList = jsonValue.GetArray("provisioningConfigurations"); + for(unsigned provisioningConfigurationsIndex = 0; provisioningConfigurationsIndex < provisioningConfigurationsJsonList.GetLength(); ++provisioningConfigurationsIndex) + { + m_provisioningConfigurations.push_back(provisioningConfigurationsJsonList[provisioningConfigurationsIndex].AsObject()); + } + } + if(jsonValue.ValueExists("provisioningRoleArn")) { m_provisioningRoleArn = jsonValue.GetString("provisioningRoleArn"); diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RowFilter.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilter.cpp new file mode 100644 index 00000000000..3ca3b1df4a8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilter.cpp @@ -0,0 +1,103 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +RowFilter::RowFilter() : + m_andHasBeenSet(false), + m_expressionHasBeenSet(false), + m_orHasBeenSet(false) +{ +} + +RowFilter::RowFilter(JsonView jsonValue) + : RowFilter() +{ + *this = jsonValue; +} + +RowFilter& RowFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("and")) + { + Aws::Utils::Array andJsonList = jsonValue.GetArray("and"); + for(unsigned andIndex = 0; andIndex < andJsonList.GetLength(); ++andIndex) + { + m_and.push_back(andJsonList[andIndex].AsObject()); + } + m_andHasBeenSet = true; + } + + if(jsonValue.ValueExists("expression")) + { + m_expression = jsonValue.GetObject("expression"); + + m_expressionHasBeenSet = true; + } + + if(jsonValue.ValueExists("or")) + { + Aws::Utils::Array orJsonList = jsonValue.GetArray("or"); + for(unsigned orIndex = 0; orIndex < orJsonList.GetLength(); ++orIndex) + { + m_or.push_back(orJsonList[orIndex].AsObject()); + } + m_orHasBeenSet = true; + } + + return *this; +} + +JsonValue RowFilter::Jsonize() const +{ + JsonValue payload; + + if(m_andHasBeenSet) + { + Aws::Utils::Array andJsonList(m_and.size()); + for(unsigned andIndex = 0; andIndex < andJsonList.GetLength(); ++andIndex) + { + andJsonList[andIndex].AsObject(m_and[andIndex].Jsonize()); + } + payload.WithArray("and", std::move(andJsonList)); + + } + + if(m_expressionHasBeenSet) + { + payload.WithObject("expression", m_expression.Jsonize()); + + } + + if(m_orHasBeenSet) + { + Aws::Utils::Array orJsonList(m_or.size()); + for(unsigned orIndex = 0; orIndex < orJsonList.GetLength(); ++orIndex) + { + orJsonList[orIndex].AsObject(m_or[orIndex].Jsonize()); + } + payload.WithArray("or", std::move(orJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterConfiguration.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterConfiguration.cpp new file mode 100644 index 00000000000..61541938df9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterConfiguration.cpp @@ -0,0 +1,74 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +RowFilterConfiguration::RowFilterConfiguration() : + m_rowFilterHasBeenSet(false), + m_sensitive(false), + m_sensitiveHasBeenSet(false) +{ +} + +RowFilterConfiguration::RowFilterConfiguration(JsonView jsonValue) + : RowFilterConfiguration() +{ + *this = jsonValue; +} + +RowFilterConfiguration& RowFilterConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("rowFilter")) + { + m_rowFilter = jsonValue.GetObject("rowFilter"); + + m_rowFilterHasBeenSet = true; + } + + if(jsonValue.ValueExists("sensitive")) + { + m_sensitive = jsonValue.GetBool("sensitive"); + + m_sensitiveHasBeenSet = true; + } + + return *this; +} + +JsonValue RowFilterConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_rowFilterHasBeenSet) + { + payload.WithObject("rowFilter", m_rowFilter.Jsonize()); + + } + + if(m_sensitiveHasBeenSet) + { + payload.WithBool("sensitive", m_sensitive); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterExpression.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterExpression.cpp new file mode 100644 index 00000000000..4f8e6eca32e --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/RowFilterExpression.cpp @@ -0,0 +1,213 @@ +/** + * 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 DataZone +{ +namespace Model +{ + +RowFilterExpression::RowFilterExpression() : + m_equalToHasBeenSet(false), + m_greaterThanHasBeenSet(false), + m_greaterThanOrEqualToHasBeenSet(false), + m_inHasBeenSet(false), + m_isNotNullHasBeenSet(false), + m_isNullHasBeenSet(false), + m_lessThanHasBeenSet(false), + m_lessThanOrEqualToHasBeenSet(false), + m_likeHasBeenSet(false), + m_notEqualToHasBeenSet(false), + m_notInHasBeenSet(false), + m_notLikeHasBeenSet(false) +{ +} + +RowFilterExpression::RowFilterExpression(JsonView jsonValue) + : RowFilterExpression() +{ + *this = jsonValue; +} + +RowFilterExpression& RowFilterExpression::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("equalTo")) + { + m_equalTo = jsonValue.GetObject("equalTo"); + + m_equalToHasBeenSet = true; + } + + if(jsonValue.ValueExists("greaterThan")) + { + m_greaterThan = jsonValue.GetObject("greaterThan"); + + m_greaterThanHasBeenSet = true; + } + + if(jsonValue.ValueExists("greaterThanOrEqualTo")) + { + m_greaterThanOrEqualTo = jsonValue.GetObject("greaterThanOrEqualTo"); + + m_greaterThanOrEqualToHasBeenSet = true; + } + + if(jsonValue.ValueExists("in")) + { + m_in = jsonValue.GetObject("in"); + + m_inHasBeenSet = true; + } + + if(jsonValue.ValueExists("isNotNull")) + { + m_isNotNull = jsonValue.GetObject("isNotNull"); + + m_isNotNullHasBeenSet = true; + } + + if(jsonValue.ValueExists("isNull")) + { + m_isNull = jsonValue.GetObject("isNull"); + + m_isNullHasBeenSet = true; + } + + if(jsonValue.ValueExists("lessThan")) + { + m_lessThan = jsonValue.GetObject("lessThan"); + + m_lessThanHasBeenSet = true; + } + + if(jsonValue.ValueExists("lessThanOrEqualTo")) + { + m_lessThanOrEqualTo = jsonValue.GetObject("lessThanOrEqualTo"); + + m_lessThanOrEqualToHasBeenSet = true; + } + + if(jsonValue.ValueExists("like")) + { + m_like = jsonValue.GetObject("like"); + + m_likeHasBeenSet = true; + } + + if(jsonValue.ValueExists("notEqualTo")) + { + m_notEqualTo = jsonValue.GetObject("notEqualTo"); + + m_notEqualToHasBeenSet = true; + } + + if(jsonValue.ValueExists("notIn")) + { + m_notIn = jsonValue.GetObject("notIn"); + + m_notInHasBeenSet = true; + } + + if(jsonValue.ValueExists("notLike")) + { + m_notLike = jsonValue.GetObject("notLike"); + + m_notLikeHasBeenSet = true; + } + + return *this; +} + +JsonValue RowFilterExpression::Jsonize() const +{ + JsonValue payload; + + if(m_equalToHasBeenSet) + { + payload.WithObject("equalTo", m_equalTo.Jsonize()); + + } + + if(m_greaterThanHasBeenSet) + { + payload.WithObject("greaterThan", m_greaterThan.Jsonize()); + + } + + if(m_greaterThanOrEqualToHasBeenSet) + { + payload.WithObject("greaterThanOrEqualTo", m_greaterThanOrEqualTo.Jsonize()); + + } + + if(m_inHasBeenSet) + { + payload.WithObject("in", m_in.Jsonize()); + + } + + if(m_isNotNullHasBeenSet) + { + payload.WithObject("isNotNull", m_isNotNull.Jsonize()); + + } + + if(m_isNullHasBeenSet) + { + payload.WithObject("isNull", m_isNull.Jsonize()); + + } + + if(m_lessThanHasBeenSet) + { + payload.WithObject("lessThan", m_lessThan.Jsonize()); + + } + + if(m_lessThanOrEqualToHasBeenSet) + { + payload.WithObject("lessThanOrEqualTo", m_lessThanOrEqualTo.Jsonize()); + + } + + if(m_likeHasBeenSet) + { + payload.WithObject("like", m_like.Jsonize()); + + } + + if(m_notEqualToHasBeenSet) + { + payload.WithObject("notEqualTo", m_notEqualTo.Jsonize()); + + } + + if(m_notInHasBeenSet) + { + payload.WithObject("notIn", m_notIn.Jsonize()); + + } + + if(m_notLikeHasBeenSet) + { + payload.WithObject("notLike", m_notLike.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace DataZone +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterRequest.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterRequest.cpp new file mode 100644 index 00000000000..02a38a1b66d --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterRequest.cpp @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateAssetFilterRequest::UpdateAssetFilterRequest() : + m_assetIdentifierHasBeenSet(false), + m_configurationHasBeenSet(false), + m_descriptionHasBeenSet(false), + m_domainIdentifierHasBeenSet(false), + m_identifierHasBeenSet(false), + m_nameHasBeenSet(false) +{ +} + +Aws::String UpdateAssetFilterRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_configurationHasBeenSet) + { + payload.WithObject("configuration", m_configuration.Jsonize()); + + } + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterResult.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterResult.cpp new file mode 100644 index 00000000000..a8b925c6d36 --- /dev/null +++ b/generated/src/aws-cpp-sdk-datazone/source/model/UpdateAssetFilterResult.cpp @@ -0,0 +1,113 @@ +/** + * 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::DataZone::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateAssetFilterResult::UpdateAssetFilterResult() : + m_status(FilterStatus::NOT_SET) +{ +} + +UpdateAssetFilterResult::UpdateAssetFilterResult(const Aws::AmazonWebServiceResult& result) + : UpdateAssetFilterResult() +{ + *this = result; +} + +UpdateAssetFilterResult& UpdateAssetFilterResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("assetId")) + { + m_assetId = jsonValue.GetString("assetId"); + + } + + if(jsonValue.ValueExists("configuration")) + { + m_configuration = jsonValue.GetObject("configuration"); + + } + + if(jsonValue.ValueExists("createdAt")) + { + m_createdAt = jsonValue.GetDouble("createdAt"); + + } + + if(jsonValue.ValueExists("description")) + { + m_description = jsonValue.GetString("description"); + + } + + if(jsonValue.ValueExists("domainId")) + { + m_domainId = jsonValue.GetString("domainId"); + + } + + if(jsonValue.ValueExists("effectiveColumnNames")) + { + Aws::Utils::Array effectiveColumnNamesJsonList = jsonValue.GetArray("effectiveColumnNames"); + for(unsigned effectiveColumnNamesIndex = 0; effectiveColumnNamesIndex < effectiveColumnNamesJsonList.GetLength(); ++effectiveColumnNamesIndex) + { + m_effectiveColumnNames.push_back(effectiveColumnNamesJsonList[effectiveColumnNamesIndex].AsString()); + } + } + + if(jsonValue.ValueExists("effectiveRowFilter")) + { + m_effectiveRowFilter = jsonValue.GetString("effectiveRowFilter"); + + } + + if(jsonValue.ValueExists("errorMessage")) + { + m_errorMessage = jsonValue.GetString("errorMessage"); + + } + + if(jsonValue.ValueExists("id")) + { + m_id = jsonValue.GetString("id"); + + } + + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + } + + if(jsonValue.ValueExists("status")) + { + m_status = FilterStatusMapper::GetFilterStatusForName(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-ivs/include/aws/ivs/IVSClient.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/IVSClient.h index 90f4cf290fc..f09541a5a0d 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/IVSClient.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/IVSClient.h @@ -92,88 +92,7 @@ namespace IVS * resource unambiguously across all of AWS, such as in IAM policies and API calls. * For more information, see Amazon - * Resource Names in the AWS General Reference.

Channel - * Endpoints

  • CreateChannel — Creates a new channel - * and an associated stream key to start streaming.

  • - * GetChannel — Gets the channel configuration for the specified channel - * ARN.

  • BatchGetChannel — Performs GetChannel on - * multiple ARNs simultaneously.

  • ListChannels — Gets - * summary information about all channels in your account, in the Amazon Web - * Services region where the API request is processed. This list can be filtered to - * match a specified name or recording-configuration ARN. Filters are mutually - * exclusive and cannot be used together. If you try to use both filters, you will - * get an error (409 Conflict Exception).

  • UpdateChannel — - * Updates a channel's configuration. This does not affect an ongoing stream of - * this channel. You must stop and restart the stream for the changes to take - * effect.

  • DeleteChannel — Deletes the specified - * channel.

Playback Restriction Policy Endpoints

- *

Private Channel Endpoints

- *

For more information, see Setting - * Up Private Channels in the Amazon IVS User Guide.

  • - * ImportPlaybackKeyPair — Imports the public portion of a new key pair and - * returns its arn and fingerprint. The - * privateKey can then be used to generate viewer authorization - * tokens, to grant viewers access to private channels (channels enabled for - * playback authorization).

  • GetPlaybackKeyPair — Gets a - * specified playback authorization key pair and returns the arn and - * fingerprint. The privateKey held by the caller can be - * used to generate viewer authorization tokens, to grant viewers access to private - * channels.

  • ListPlaybackKeyPairs — Gets summary - * information about playback key pairs.

  • - * DeletePlaybackKeyPair — Deletes a specified authorization key pair. This - * invalidates future viewer tokens generated using the key pair’s - * privateKey.

  • StartViewerSessionRevocation - * — Starts the process of revoking the viewer session associated with a specified - * channel ARN and viewer ID. Optionally, you can provide a version to revoke - * viewer sessions less than and including that version.

  • - * BatchStartViewerSessionRevocation — Performs - * StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs - * simultaneously.

Recording Configuration Endpoints - *

Stream Endpoints

    - *
  • GetStream — Gets information about the active (live) stream on a - * specified channel.

  • GetStreamSession — Gets metadata on - * a specified stream.

  • ListStreams — Gets summary - * information about live streams in your account, in the Amazon Web Services - * region where the API request is processed.

  • - * ListStreamSessions — Gets a summary of current and previous streams for a - * specified channel in your account, in the AWS region where the API request is - * processed.

  • StopStream — Disconnects the incoming RTMPS - * stream for the specified channel. Can be used in conjunction with - * DeleteStreamKey to prevent further streaming to a channel.

  • - *

    PutMetadata — Inserts metadata into the active stream of the - * specified channel. At most 5 requests per second per channel are allowed, each - * with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we - * recommend batching your data into a single PutMetadata call.) At most 155 - * requests per second per account are allowed.

Stream Key - * Endpoints

  • CreateStreamKey — Creates a stream key, - * used to initiate a stream, for the specified channel ARN.

  • - * GetStreamKey — Gets stream key information for the specified ARN.

    - *
  • BatchGetStreamKey — Performs GetStreamKey on - * multiple ARNs simultaneously.

  • ListStreamKeys — Gets - * summary information about stream keys for the specified channel.

  • - *

    DeleteStreamKey — Deletes the stream key for the specified ARN, so it - * can no longer be used to stream.

Amazon Web Services Tags - * Endpoints

  • TagResource — Adds or updates tags for - * the Amazon Web Services resource with the specified ARN.

  • - * UntagResource — Removes tags from the resource with the specified - * ARN.

  • ListTagsForResource — Gets information about - * Amazon Web Services tags for the specified ARN.

+ * Resource Names in the AWS General Reference.

*/ class AWS_IVS_API IVSClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/AudioConfiguration.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/AudioConfiguration.h index fb887bbde9d..b45215ef412 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/AudioConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/AudioConfiguration.h @@ -40,16 +40,6 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

Number of audio channels.

- */ - inline long long GetChannels() const{ return m_channels; } - inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; } - inline void SetChannels(long long value) { m_channelsHasBeenSet = true; m_channels = value; } - inline AudioConfiguration& WithChannels(long long value) { SetChannels(value); return *this;} - ///@} - ///@{ /** *

Codec used for the audio encoding.

@@ -64,6 +54,17 @@ namespace Model inline AudioConfiguration& WithCodec(const char* value) { SetCodec(value); return *this;} ///@} + ///@{ + /** + *

The expected ingest bitrate (bits per second). This is configured in the + * encoder.

+ */ + inline long long GetTargetBitrate() const{ return m_targetBitrate; } + inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; } + inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; } + inline AudioConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;} + ///@} + ///@{ /** *

Number of audio samples recorded per second.

@@ -76,27 +77,26 @@ namespace Model ///@{ /** - *

The expected ingest bitrate (bits per second). This is configured in the - * encoder.

+ *

Number of audio channels.

*/ - inline long long GetTargetBitrate() const{ return m_targetBitrate; } - inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; } - inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; } - inline AudioConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;} + inline long long GetChannels() const{ return m_channels; } + inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; } + inline void SetChannels(long long value) { m_channelsHasBeenSet = true; m_channels = value; } + inline AudioConfiguration& WithChannels(long long value) { SetChannels(value); return *this;} ///@} private: - long long m_channels; - bool m_channelsHasBeenSet = false; - Aws::String m_codec; bool m_codecHasBeenSet = false; + long long m_targetBitrate; + bool m_targetBitrateHasBeenSet = false; + long long m_sampleRate; bool m_sampleRateHasBeenSet = false; - long long m_targetBitrate; - bool m_targetBitrateHasBeenSet = false; + long long m_channels; + bool m_channelsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchGetStreamKeyResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchGetStreamKeyResult.h index ea4eb17aba6..afe26209d62 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchGetStreamKeyResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchGetStreamKeyResult.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -35,19 +35,6 @@ namespace Model AWS_IVS_API BatchGetStreamKeyResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

- */ - inline const Aws::Vector& GetErrors() const{ return m_errors; } - inline void SetErrors(const Aws::Vector& value) { m_errors = value; } - inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } - inline BatchGetStreamKeyResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} - inline BatchGetStreamKeyResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} - inline BatchGetStreamKeyResult& AddErrors(const BatchError& value) { m_errors.push_back(value); return *this; } - inline BatchGetStreamKeyResult& AddErrors(BatchError&& value) { m_errors.push_back(std::move(value)); return *this; } - ///@} - ///@{ /** *

@@ -61,6 +48,19 @@ namespace Model inline BatchGetStreamKeyResult& AddStreamKeys(StreamKey&& value) { m_streamKeys.push_back(std::move(value)); return *this; } ///@} + ///@{ + /** + *

+ */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + inline void SetErrors(const Aws::Vector& value) { m_errors = value; } + inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } + inline BatchGetStreamKeyResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + inline BatchGetStreamKeyResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + inline BatchGetStreamKeyResult& AddErrors(const BatchError& value) { m_errors.push_back(value); return *this; } + inline BatchGetStreamKeyResult& AddErrors(BatchError&& value) { m_errors.push_back(std::move(value)); return *this; } + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::Vector m_errors; - Aws::Vector m_streamKeys; + Aws::Vector m_errors; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchStartViewerSessionRevocationError.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchStartViewerSessionRevocationError.h index 349d548685f..837d2738f3c 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchStartViewerSessionRevocationError.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/BatchStartViewerSessionRevocationError.h @@ -53,6 +53,20 @@ namespace Model inline BatchStartViewerSessionRevocationError& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} ///@} + ///@{ + /** + *

The ID of the viewer session to revoke.

+ */ + inline const Aws::String& GetViewerId() const{ return m_viewerId; } + inline bool ViewerIdHasBeenSet() const { return m_viewerIdHasBeenSet; } + inline void SetViewerId(const Aws::String& value) { m_viewerIdHasBeenSet = true; m_viewerId = value; } + inline void SetViewerId(Aws::String&& value) { m_viewerIdHasBeenSet = true; m_viewerId = std::move(value); } + inline void SetViewerId(const char* value) { m_viewerIdHasBeenSet = true; m_viewerId.assign(value); } + inline BatchStartViewerSessionRevocationError& WithViewerId(const Aws::String& value) { SetViewerId(value); return *this;} + inline BatchStartViewerSessionRevocationError& WithViewerId(Aws::String&& value) { SetViewerId(std::move(value)); return *this;} + inline BatchStartViewerSessionRevocationError& WithViewerId(const char* value) { SetViewerId(value); return *this;} + ///@} + ///@{ /** *

Error code.

@@ -80,33 +94,19 @@ namespace Model inline BatchStartViewerSessionRevocationError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} inline BatchStartViewerSessionRevocationError& WithMessage(const char* value) { SetMessage(value); return *this;} ///@} - - ///@{ - /** - *

The ID of the viewer session to revoke.

- */ - inline const Aws::String& GetViewerId() const{ return m_viewerId; } - inline bool ViewerIdHasBeenSet() const { return m_viewerIdHasBeenSet; } - inline void SetViewerId(const Aws::String& value) { m_viewerIdHasBeenSet = true; m_viewerId = value; } - inline void SetViewerId(Aws::String&& value) { m_viewerIdHasBeenSet = true; m_viewerId = std::move(value); } - inline void SetViewerId(const char* value) { m_viewerIdHasBeenSet = true; m_viewerId.assign(value); } - inline BatchStartViewerSessionRevocationError& WithViewerId(const Aws::String& value) { SetViewerId(value); return *this;} - inline BatchStartViewerSessionRevocationError& WithViewerId(Aws::String&& value) { SetViewerId(std::move(value)); return *this;} - inline BatchStartViewerSessionRevocationError& WithViewerId(const char* value) { SetViewerId(value); return *this;} - ///@} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; + Aws::String m_viewerId; + bool m_viewerIdHasBeenSet = false; + Aws::String m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; - - Aws::String m_viewerId; - bool m_viewerIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h index dc5d36ce3b3..1207db6425e 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h @@ -7,10 +7,10 @@ #include #include #include +#include +#include #include #include -#include -#include #include namespace Aws @@ -58,39 +58,16 @@ namespace Model ///@{ /** - *

Whether the channel is private (enabled for playback authorization). Default: - * false.

- */ - inline bool GetAuthorized() const{ return m_authorized; } - inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } - inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } - inline Channel& WithAuthorized(bool value) { SetAuthorized(value); return *this;} - ///@} - - ///@{ - /** - *

Channel ingest endpoint, part of the definition of an ingest server, used - * when you set up streaming software.

- */ - inline const Aws::String& GetIngestEndpoint() const{ return m_ingestEndpoint; } - inline bool IngestEndpointHasBeenSet() const { return m_ingestEndpointHasBeenSet; } - inline void SetIngestEndpoint(const Aws::String& value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint = value; } - inline void SetIngestEndpoint(Aws::String&& value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint = std::move(value); } - inline void SetIngestEndpoint(const char* value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint.assign(value); } - inline Channel& WithIngestEndpoint(const Aws::String& value) { SetIngestEndpoint(value); return *this;} - inline Channel& WithIngestEndpoint(Aws::String&& value) { SetIngestEndpoint(std::move(value)); return *this;} - inline Channel& WithIngestEndpoint(const char* value) { SetIngestEndpoint(value); return *this;} - ///@} - - ///@{ - /** - *

Whether the channel allows insecure RTMP ingest. Default: - * false.

+ *

Channel name.

*/ - inline bool GetInsecureIngest() const{ return m_insecureIngest; } - inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } - inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } - inline Channel& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline Channel& WithName(const Aws::String& value) { SetName(value); return *this;} + inline Channel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline Channel& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -109,32 +86,48 @@ namespace Model ///@{ /** - *

Channel name.

+ *

Channel type, which determines the allowable resolution and bitrate. If + * you exceed the allowable input resolution or bitrate, the stream probably will + * disconnect immediately. Default: STANDARD. For details, see Channel + * Types.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline Channel& WithName(const Aws::String& value) { SetName(value); return *this;} - inline Channel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline Channel& WithName(const char* value) { SetName(value); return *this;} + inline const ChannelType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline Channel& WithType(const ChannelType& value) { SetType(value); return *this;} + inline Channel& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} ///@} ///@{ /** - *

Playback-restriction-policy ARN. A valid ARN value here both specifies the - * ARN and enables playback restriction. Default: "" (empty string, no playback - * restriction policy is applied).

+ *

Recording-configuration ARN. A valid ARN value here both specifies the ARN + * and enables recording. Default: "" (empty string, recording is disabled).

*/ - inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } - inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } - inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } - inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } - inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } - inline Channel& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} - inline Channel& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} - inline Channel& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline const Aws::String& GetRecordingConfigurationArn() const{ return m_recordingConfigurationArn; } + inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; } + inline void SetRecordingConfigurationArn(const Aws::String& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = value; } + inline void SetRecordingConfigurationArn(Aws::String&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::move(value); } + inline void SetRecordingConfigurationArn(const char* value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn.assign(value); } + inline Channel& WithRecordingConfigurationArn(const Aws::String& value) { SetRecordingConfigurationArn(value); return *this;} + inline Channel& WithRecordingConfigurationArn(Aws::String&& value) { SetRecordingConfigurationArn(std::move(value)); return *this;} + inline Channel& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;} + ///@} + + ///@{ + /** + *

Channel ingest endpoint, part of the definition of an ingest server, used + * when you set up streaming software.

+ */ + inline const Aws::String& GetIngestEndpoint() const{ return m_ingestEndpoint; } + inline bool IngestEndpointHasBeenSet() const { return m_ingestEndpointHasBeenSet; } + inline void SetIngestEndpoint(const Aws::String& value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint = value; } + inline void SetIngestEndpoint(Aws::String&& value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint = std::move(value); } + inline void SetIngestEndpoint(const char* value) { m_ingestEndpointHasBeenSet = true; m_ingestEndpoint.assign(value); } + inline Channel& WithIngestEndpoint(const Aws::String& value) { SetIngestEndpoint(value); return *this;} + inline Channel& WithIngestEndpoint(Aws::String&& value) { SetIngestEndpoint(std::move(value)); return *this;} + inline Channel& WithIngestEndpoint(const char* value) { SetIngestEndpoint(value); return *this;} ///@} ///@{ @@ -151,6 +144,52 @@ namespace Model inline Channel& WithPlaybackUrl(const char* value) { SetPlaybackUrl(value); return *this;} ///@} + ///@{ + /** + *

Whether the channel is private (enabled for playback authorization). Default: + * false.

+ */ + inline bool GetAuthorized() const{ return m_authorized; } + inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } + inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } + inline Channel& WithAuthorized(bool value) { SetAuthorized(value); return *this;} + ///@} + + ///@{ + /** + *

Tags attached to the resource. Array of 1-50 maps, each of the form + * string:string (key:value). See Tagging + * Amazon Web Services Resources for more information, including restrictions + * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no + * service-specific constraints beyond what is documented there.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline Channel& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline Channel& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline Channel& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline Channel& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline Channel& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline Channel& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline Channel& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline Channel& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline Channel& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

Whether the channel allows insecure RTMP ingest. Default: + * false.

+ */ + inline bool GetInsecureIngest() const{ return m_insecureIngest; } + inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } + inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } + inline Channel& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + ///@} + ///@{ /** *

Optional transcode preset for the channel. This is selectable only for @@ -168,21 +207,6 @@ namespace Model inline Channel& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Recording-configuration ARN. A valid ARN value here both specifies the ARN - * and enables recording. Default: "" (empty string, recording is disabled).

- */ - inline const Aws::String& GetRecordingConfigurationArn() const{ return m_recordingConfigurationArn; } - inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; } - inline void SetRecordingConfigurationArn(const Aws::String& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = value; } - inline void SetRecordingConfigurationArn(Aws::String&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::move(value); } - inline void SetRecordingConfigurationArn(const char* value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn.assign(value); } - inline Channel& WithRecordingConfigurationArn(const Aws::String& value) { SetRecordingConfigurationArn(value); return *this;} - inline Channel& WithRecordingConfigurationArn(Aws::String&& value) { SetRecordingConfigurationArn(std::move(value)); return *this;} - inline Channel& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;} - ///@} - ///@{ /** *

Specifies the endpoint and optional passphrase for streaming with the SRT @@ -198,83 +222,59 @@ namespace Model ///@{ /** - *

Tags attached to the resource. Array of 1-50 maps, each of the form - * string:string (key:value). See Tagging - * Amazon Web Services Resources for more information, including restrictions - * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no - * service-specific constraints beyond what is documented there.

- */ - inline const Aws::Map& GetTags() const{ return m_tags; } - inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } - inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } - inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } - inline Channel& WithTags(const Aws::Map& value) { SetTags(value); return *this;} - inline Channel& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} - inline Channel& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } - inline Channel& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } - inline Channel& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } - inline Channel& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } - inline Channel& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } - inline Channel& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } - inline Channel& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } - ///@} - - ///@{ - /** - *

Channel type, which determines the allowable resolution and bitrate. If - * you exceed the allowable input resolution or bitrate, the stream probably will - * disconnect immediately. Default: STANDARD. For details, see Channel - * Types.

+ *

Playback-restriction-policy ARN. A valid ARN value here both specifies the + * ARN and enables playback restriction. Default: "" (empty string, no playback + * restriction policy is applied).

*/ - inline const ChannelType& GetType() const{ return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } - inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } - inline Channel& WithType(const ChannelType& value) { SetType(value); return *this;} - inline Channel& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} + inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } + inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } + inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } + inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } + inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } + inline Channel& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline Channel& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} + inline Channel& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; - bool m_authorized; - bool m_authorizedHasBeenSet = false; - - Aws::String m_ingestEndpoint; - bool m_ingestEndpointHasBeenSet = false; - - bool m_insecureIngest; - bool m_insecureIngestHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; ChannelLatencyMode m_latencyMode; bool m_latencyModeHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + ChannelType m_type; + bool m_typeHasBeenSet = false; - Aws::String m_playbackRestrictionPolicyArn; - bool m_playbackRestrictionPolicyArnHasBeenSet = false; + Aws::String m_recordingConfigurationArn; + bool m_recordingConfigurationArnHasBeenSet = false; + + Aws::String m_ingestEndpoint; + bool m_ingestEndpointHasBeenSet = false; Aws::String m_playbackUrl; bool m_playbackUrlHasBeenSet = false; + bool m_authorized; + bool m_authorizedHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + + bool m_insecureIngest; + bool m_insecureIngestHasBeenSet = false; + TranscodePreset m_preset; bool m_presetHasBeenSet = false; - Aws::String m_recordingConfigurationArn; - bool m_recordingConfigurationArnHasBeenSet = false; - Srt m_srt; bool m_srtHasBeenSet = false; - Aws::Map m_tags; - bool m_tagsHasBeenSet = false; - - ChannelType m_type; - bool m_typeHasBeenSet = false; + Aws::String m_playbackRestrictionPolicyArn; + bool m_playbackRestrictionPolicyArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ChannelSummary.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ChannelSummary.h index c0b9a29154b..604ce243308 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ChannelSummary.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ChannelSummary.h @@ -7,9 +7,9 @@ #include #include #include -#include #include #include +#include #include namespace Aws @@ -55,42 +55,6 @@ namespace Model inline ChannelSummary& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Whether the channel is private (enabled for playback authorization). Default: - * false.

- */ - inline bool GetAuthorized() const{ return m_authorized; } - inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } - inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } - inline ChannelSummary& WithAuthorized(bool value) { SetAuthorized(value); return *this;} - ///@} - - ///@{ - /** - *

Whether the channel allows insecure RTMP ingest. Default: - * false.

- */ - inline bool GetInsecureIngest() const{ return m_insecureIngest; } - inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } - inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } - inline ChannelSummary& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} - ///@} - - ///@{ - /** - *

Channel latency mode. Use NORMAL to broadcast and deliver live - * video up to Full HD. Use LOW for near-real-time interaction with - * viewers. Default: LOW.

- */ - inline const ChannelLatencyMode& GetLatencyMode() const{ return m_latencyMode; } - inline bool LatencyModeHasBeenSet() const { return m_latencyModeHasBeenSet; } - inline void SetLatencyMode(const ChannelLatencyMode& value) { m_latencyModeHasBeenSet = true; m_latencyMode = value; } - inline void SetLatencyMode(ChannelLatencyMode&& value) { m_latencyModeHasBeenSet = true; m_latencyMode = std::move(value); } - inline ChannelSummary& WithLatencyMode(const ChannelLatencyMode& value) { SetLatencyMode(value); return *this;} - inline ChannelSummary& WithLatencyMode(ChannelLatencyMode&& value) { SetLatencyMode(std::move(value)); return *this;} - ///@} - ///@{ /** *

Channel name.

@@ -107,35 +71,27 @@ namespace Model ///@{ /** - *

Playback-restriction-policy ARN. A valid ARN value here both specifies the - * ARN and enables playback restriction. Default: "" (empty string, no playback - * restriction policy is applied).

+ *

Channel latency mode. Use NORMAL to broadcast and deliver live + * video up to Full HD. Use LOW for near-real-time interaction with + * viewers. Default: LOW.

*/ - inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } - inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } - inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } - inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } - inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } - inline ChannelSummary& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} - inline ChannelSummary& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} - inline ChannelSummary& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline const ChannelLatencyMode& GetLatencyMode() const{ return m_latencyMode; } + inline bool LatencyModeHasBeenSet() const { return m_latencyModeHasBeenSet; } + inline void SetLatencyMode(const ChannelLatencyMode& value) { m_latencyModeHasBeenSet = true; m_latencyMode = value; } + inline void SetLatencyMode(ChannelLatencyMode&& value) { m_latencyModeHasBeenSet = true; m_latencyMode = std::move(value); } + inline ChannelSummary& WithLatencyMode(const ChannelLatencyMode& value) { SetLatencyMode(value); return *this;} + inline ChannelSummary& WithLatencyMode(ChannelLatencyMode&& value) { SetLatencyMode(std::move(value)); return *this;} ///@} ///@{ /** - *

Optional transcode preset for the channel. This is selectable only for - * ADVANCED_HD and ADVANCED_SD channel types. For those - * channel types, the default preset is - * HIGHER_BANDWIDTH_DELIVERY. For other channel types - * (BASIC and STANDARD), preset is the empty - * string ("").

+ *

Whether the channel is private (enabled for playback authorization). Default: + * false.

*/ - inline const TranscodePreset& GetPreset() const{ return m_preset; } - inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; } - inline void SetPreset(const TranscodePreset& value) { m_presetHasBeenSet = true; m_preset = value; } - inline void SetPreset(TranscodePreset&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); } - inline ChannelSummary& WithPreset(const TranscodePreset& value) { SetPreset(value); return *this;} - inline ChannelSummary& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;} + inline bool GetAuthorized() const{ return m_authorized; } + inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } + inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } + inline ChannelSummary& WithAuthorized(bool value) { SetAuthorized(value); return *this;} ///@} ///@{ @@ -177,6 +133,17 @@ namespace Model inline ChannelSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} + ///@{ + /** + *

Whether the channel allows insecure RTMP ingest. Default: + * false.

+ */ + inline bool GetInsecureIngest() const{ return m_insecureIngest; } + inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } + inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } + inline ChannelSummary& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + ///@} + ///@{ /** *

Channel type, which determines the allowable resolution and bitrate. If @@ -192,28 +159,52 @@ namespace Model inline ChannelSummary& WithType(const ChannelType& value) { SetType(value); return *this;} inline ChannelSummary& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Optional transcode preset for the channel. This is selectable only for + * ADVANCED_HD and ADVANCED_SD channel types. For those + * channel types, the default preset is + * HIGHER_BANDWIDTH_DELIVERY. For other channel types + * (BASIC and STANDARD), preset is the empty + * string ("").

+ */ + inline const TranscodePreset& GetPreset() const{ return m_preset; } + inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; } + inline void SetPreset(const TranscodePreset& value) { m_presetHasBeenSet = true; m_preset = value; } + inline void SetPreset(TranscodePreset&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); } + inline ChannelSummary& WithPreset(const TranscodePreset& value) { SetPreset(value); return *this;} + inline ChannelSummary& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Playback-restriction-policy ARN. A valid ARN value here both specifies the + * ARN and enables playback restriction. Default: "" (empty string, no playback + * restriction policy is applied).

+ */ + inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } + inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } + inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } + inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } + inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } + inline ChannelSummary& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline ChannelSummary& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} + inline ChannelSummary& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; - bool m_authorized; - bool m_authorizedHasBeenSet = false; - - bool m_insecureIngest; - bool m_insecureIngestHasBeenSet = false; - - ChannelLatencyMode m_latencyMode; - bool m_latencyModeHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; - Aws::String m_playbackRestrictionPolicyArn; - bool m_playbackRestrictionPolicyArnHasBeenSet = false; + ChannelLatencyMode m_latencyMode; + bool m_latencyModeHasBeenSet = false; - TranscodePreset m_preset; - bool m_presetHasBeenSet = false; + bool m_authorized; + bool m_authorizedHasBeenSet = false; Aws::String m_recordingConfigurationArn; bool m_recordingConfigurationArnHasBeenSet = false; @@ -221,8 +212,17 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + bool m_insecureIngest; + bool m_insecureIngestHasBeenSet = false; + ChannelType m_type; bool m_typeHasBeenSet = false; + + TranscodePreset m_preset; + bool m_presetHasBeenSet = false; + + Aws::String m_playbackRestrictionPolicyArn; + bool m_playbackRestrictionPolicyArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h index 2c69372ac11..b0a18cce88d 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include -#include -#include +#include #include +#include +#include #include namespace Aws @@ -38,24 +38,16 @@ namespace Model ///@{ /** - *

Whether the channel is private (enabled for playback authorization). Default: - * false.

- */ - inline bool GetAuthorized() const{ return m_authorized; } - inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } - inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } - inline CreateChannelRequest& WithAuthorized(bool value) { SetAuthorized(value); return *this;} - ///@} - - ///@{ - /** - *

Whether the channel allows insecure RTMP and SRT ingest. Default: - * false.

+ *

Channel name.

*/ - inline bool GetInsecureIngest() const{ return m_insecureIngest; } - inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } - inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } - inline CreateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateChannelRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateChannelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateChannelRequest& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -74,49 +66,29 @@ namespace Model ///@{ /** - *

Channel name.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline CreateChannelRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline CreateChannelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline CreateChannelRequest& WithName(const char* value) { SetName(value); return *this;} - ///@} - - ///@{ - /** - *

Playback-restriction-policy ARN. A valid ARN value here both specifies the - * ARN and enables playback restriction. Default: "" (empty string, no playback - * restriction policy is applied).

+ *

Channel type, which determines the allowable resolution and bitrate. If + * you exceed the allowable input resolution or bitrate, the stream probably will + * disconnect immediately. Default: STANDARD. For details, see Channel + * Types.

*/ - inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } - inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } - inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } - inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } - inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } - inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} - inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} - inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline const ChannelType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline CreateChannelRequest& WithType(const ChannelType& value) { SetType(value); return *this;} + inline CreateChannelRequest& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} ///@} ///@{ /** - *

Optional transcode preset for the channel. This is selectable only for - * ADVANCED_HD and ADVANCED_SD channel types. For those - * channel types, the default preset is - * HIGHER_BANDWIDTH_DELIVERY. For other channel types - * (BASIC and STANDARD), preset is the empty - * string ("").

+ *

Whether the channel is private (enabled for playback authorization). Default: + * false.

*/ - inline const TranscodePreset& GetPreset() const{ return m_preset; } - inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; } - inline void SetPreset(const TranscodePreset& value) { m_presetHasBeenSet = true; m_preset = value; } - inline void SetPreset(TranscodePreset&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); } - inline CreateChannelRequest& WithPreset(const TranscodePreset& value) { SetPreset(value); return *this;} - inline CreateChannelRequest& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;} + inline bool GetAuthorized() const{ return m_authorized; } + inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } + inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } + inline CreateChannelRequest& WithAuthorized(bool value) { SetAuthorized(value); return *this;} ///@} ///@{ @@ -160,38 +132,60 @@ namespace Model ///@{ /** - *

Channel type, which determines the allowable resolution and bitrate. If - * you exceed the allowable input resolution or bitrate, the stream probably will - * disconnect immediately. Default: STANDARD. For details, see Channel - * Types.

+ *

Whether the channel allows insecure RTMP and SRT ingest. Default: + * false.

*/ - inline const ChannelType& GetType() const{ return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } - inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } - inline CreateChannelRequest& WithType(const ChannelType& value) { SetType(value); return *this;} - inline CreateChannelRequest& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} + inline bool GetInsecureIngest() const{ return m_insecureIngest; } + inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } + inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } + inline CreateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} ///@} - private: - bool m_authorized; - bool m_authorizedHasBeenSet = false; - - bool m_insecureIngest; - bool m_insecureIngestHasBeenSet = false; + ///@{ + /** + *

Optional transcode preset for the channel. This is selectable only for + * ADVANCED_HD and ADVANCED_SD channel types. For those + * channel types, the default preset is + * HIGHER_BANDWIDTH_DELIVERY. For other channel types + * (BASIC and STANDARD), preset is the empty + * string ("").

+ */ + inline const TranscodePreset& GetPreset() const{ return m_preset; } + inline bool PresetHasBeenSet() const { return m_presetHasBeenSet; } + inline void SetPreset(const TranscodePreset& value) { m_presetHasBeenSet = true; m_preset = value; } + inline void SetPreset(TranscodePreset&& value) { m_presetHasBeenSet = true; m_preset = std::move(value); } + inline CreateChannelRequest& WithPreset(const TranscodePreset& value) { SetPreset(value); return *this;} + inline CreateChannelRequest& WithPreset(TranscodePreset&& value) { SetPreset(std::move(value)); return *this;} + ///@} - ChannelLatencyMode m_latencyMode; - bool m_latencyModeHasBeenSet = false; + ///@{ + /** + *

Playback-restriction-policy ARN. A valid ARN value here both specifies the + * ARN and enables playback restriction. Default: "" (empty string, no playback + * restriction policy is applied).

+ */ + inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } + inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } + inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } + inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } + inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } + inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} + inline CreateChannelRequest& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; - Aws::String m_playbackRestrictionPolicyArn; - bool m_playbackRestrictionPolicyArnHasBeenSet = false; + ChannelLatencyMode m_latencyMode; + bool m_latencyModeHasBeenSet = false; - TranscodePreset m_preset; - bool m_presetHasBeenSet = false; + ChannelType m_type; + bool m_typeHasBeenSet = false; + + bool m_authorized; + bool m_authorizedHasBeenSet = false; Aws::String m_recordingConfigurationArn; bool m_recordingConfigurationArnHasBeenSet = false; @@ -199,8 +193,14 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; - ChannelType m_type; - bool m_typeHasBeenSet = false; + bool m_insecureIngest; + bool m_insecureIngestHasBeenSet = false; + + TranscodePreset m_preset; + bool m_presetHasBeenSet = false; + + Aws::String m_playbackRestrictionPolicyArn; + bool m_playbackRestrictionPolicyArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateRecordingConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateRecordingConfigurationRequest.h index 821220f1dbe..4e7c8e41d53 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateRecordingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateRecordingConfigurationRequest.h @@ -6,11 +6,11 @@ #pragma once #include #include -#include #include -#include +#include #include #include +#include #include namespace Aws @@ -36,19 +36,6 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; - ///@{ - /** - *

A complex type that contains a destination configuration for where recorded - * video will be stored.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } - inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - ///@{ /** *

Recording-configuration name. The value does not need to be unique.

@@ -65,26 +52,15 @@ namespace Model ///@{ /** - *

If a broadcast disconnects and then reconnects within the specified interval, - * the multiple streams will be considered a single broadcast and merged together. - * Default: 0.

- */ - inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; } - inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; } - inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; } - inline CreateRecordingConfigurationRequest& WithRecordingReconnectWindowSeconds(int value) { SetRecordingReconnectWindowSeconds(value); return *this;} - ///@} - - ///@{ - /** - *

Object that describes which renditions should be recorded for a stream.

+ *

A complex type that contains a destination configuration for where recorded + * video will be stored.

*/ - inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; } - inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; } - inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; } - inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); } - inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(const RenditionConfiguration& value) { SetRenditionConfiguration(value); return *this;} - inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(RenditionConfiguration&& value) { SetRenditionConfiguration(std::move(value)); return *this;} + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } + inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline CreateRecordingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} ///@} ///@{ @@ -124,25 +100,49 @@ namespace Model inline CreateRecordingConfigurationRequest& WithThumbnailConfiguration(const ThumbnailConfiguration& value) { SetThumbnailConfiguration(value); return *this;} inline CreateRecordingConfigurationRequest& WithThumbnailConfiguration(ThumbnailConfiguration&& value) { SetThumbnailConfiguration(std::move(value)); return *this;} ///@} - private: - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; + ///@{ + /** + *

If a broadcast disconnects and then reconnects within the specified interval, + * the multiple streams will be considered a single broadcast and merged together. + * Default: 0.

+ */ + inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; } + inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; } + inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; } + inline CreateRecordingConfigurationRequest& WithRecordingReconnectWindowSeconds(int value) { SetRecordingReconnectWindowSeconds(value); return *this;} + ///@} + + ///@{ + /** + *

Object that describes which renditions should be recorded for a stream.

+ */ + inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; } + inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; } + inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; } + inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); } + inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(const RenditionConfiguration& value) { SetRenditionConfiguration(value); return *this;} + inline CreateRecordingConfigurationRequest& WithRenditionConfiguration(RenditionConfiguration&& value) { SetRenditionConfiguration(std::move(value)); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; - int m_recordingReconnectWindowSeconds; - bool m_recordingReconnectWindowSecondsHasBeenSet = false; - - RenditionConfiguration m_renditionConfiguration; - bool m_renditionConfigurationHasBeenSet = false; + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; ThumbnailConfiguration m_thumbnailConfiguration; bool m_thumbnailConfigurationHasBeenSet = false; + + int m_recordingReconnectWindowSeconds; + bool m_recordingReconnectWindowSecondsHasBeenSet = false; + + RenditionConfiguration m_renditionConfiguration; + bool m_renditionConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ImportPlaybackKeyPairRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ImportPlaybackKeyPairRequest.h index 6cb2e70c10c..38e1d63154f 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ImportPlaybackKeyPairRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ImportPlaybackKeyPairRequest.h @@ -33,20 +33,6 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Playback-key-pair name. The value does not need to be unique.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline ImportPlaybackKeyPairRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline ImportPlaybackKeyPairRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline ImportPlaybackKeyPairRequest& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

The public portion of a customer-generated key pair.

@@ -61,6 +47,20 @@ namespace Model inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(const char* value) { SetPublicKeyMaterial(value); return *this;} ///@} + ///@{ + /** + *

Playback-key-pair name. The value does not need to be unique.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline ImportPlaybackKeyPairRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline ImportPlaybackKeyPairRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline ImportPlaybackKeyPairRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + ///@{ /** *

Any tags provided with the request are added to the playback key pair tags. @@ -86,12 +86,12 @@ namespace Model ///@} private: - Aws::String m_name; - bool m_nameHasBeenSet = false; - Aws::String m_publicKeyMaterial; bool m_publicKeyMaterialHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/IngestConfiguration.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/IngestConfiguration.h index 1f90cbe90bf..350b030c51f 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/IngestConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/IngestConfiguration.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,18 +39,6 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

Encoder settings for audio.

- */ - inline const AudioConfiguration& GetAudio() const{ return m_audio; } - inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; } - inline void SetAudio(const AudioConfiguration& value) { m_audioHasBeenSet = true; m_audio = value; } - inline void SetAudio(AudioConfiguration&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); } - inline IngestConfiguration& WithAudio(const AudioConfiguration& value) { SetAudio(value); return *this;} - inline IngestConfiguration& WithAudio(AudioConfiguration&& value) { SetAudio(std::move(value)); return *this;} - ///@} - ///@{ /** *

Encoder settings for video.

@@ -62,13 +50,25 @@ namespace Model inline IngestConfiguration& WithVideo(const VideoConfiguration& value) { SetVideo(value); return *this;} inline IngestConfiguration& WithVideo(VideoConfiguration&& value) { SetVideo(std::move(value)); return *this;} ///@} - private: - AudioConfiguration m_audio; - bool m_audioHasBeenSet = false; + ///@{ + /** + *

Encoder settings for audio.

+ */ + inline const AudioConfiguration& GetAudio() const{ return m_audio; } + inline bool AudioHasBeenSet() const { return m_audioHasBeenSet; } + inline void SetAudio(const AudioConfiguration& value) { m_audioHasBeenSet = true; m_audio = value; } + inline void SetAudio(AudioConfiguration&& value) { m_audioHasBeenSet = true; m_audio = std::move(value); } + inline IngestConfiguration& WithAudio(const AudioConfiguration& value) { SetAudio(value); return *this;} + inline IngestConfiguration& WithAudio(AudioConfiguration&& value) { SetAudio(std::move(value)); return *this;} + ///@} + private: VideoConfiguration m_video; bool m_videoHasBeenSet = false; + + AudioConfiguration m_audio; + bool m_audioHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListChannelsRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListChannelsRequest.h index d59c5c36a14..b734353b32f 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListChannelsRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListChannelsRequest.h @@ -46,20 +46,6 @@ namespace Model inline ListChannelsRequest& WithFilterByName(const char* value) { SetFilterByName(value); return *this;} ///@} - ///@{ - /** - *

Filters the channel list to match the specified policy.

- */ - inline const Aws::String& GetFilterByPlaybackRestrictionPolicyArn() const{ return m_filterByPlaybackRestrictionPolicyArn; } - inline bool FilterByPlaybackRestrictionPolicyArnHasBeenSet() const { return m_filterByPlaybackRestrictionPolicyArnHasBeenSet; } - inline void SetFilterByPlaybackRestrictionPolicyArn(const Aws::String& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = value; } - inline void SetFilterByPlaybackRestrictionPolicyArn(Aws::String&& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = std::move(value); } - inline void SetFilterByPlaybackRestrictionPolicyArn(const char* value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn.assign(value); } - inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(const Aws::String& value) { SetFilterByPlaybackRestrictionPolicyArn(value); return *this;} - inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(Aws::String&& value) { SetFilterByPlaybackRestrictionPolicyArn(std::move(value)); return *this;} - inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(const char* value) { SetFilterByPlaybackRestrictionPolicyArn(value); return *this;} - ///@} - ///@{ /** *

Filters the channel list to match the specified recording-configuration @@ -77,12 +63,16 @@ namespace Model ///@{ /** - *

Maximum number of channels to return. Default: 100.

+ *

Filters the channel list to match the specified policy.

*/ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListChannelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + inline const Aws::String& GetFilterByPlaybackRestrictionPolicyArn() const{ return m_filterByPlaybackRestrictionPolicyArn; } + inline bool FilterByPlaybackRestrictionPolicyArnHasBeenSet() const { return m_filterByPlaybackRestrictionPolicyArnHasBeenSet; } + inline void SetFilterByPlaybackRestrictionPolicyArn(const Aws::String& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = value; } + inline void SetFilterByPlaybackRestrictionPolicyArn(Aws::String&& value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn = std::move(value); } + inline void SetFilterByPlaybackRestrictionPolicyArn(const char* value) { m_filterByPlaybackRestrictionPolicyArnHasBeenSet = true; m_filterByPlaybackRestrictionPolicyArn.assign(value); } + inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(const Aws::String& value) { SetFilterByPlaybackRestrictionPolicyArn(value); return *this;} + inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(Aws::String&& value) { SetFilterByPlaybackRestrictionPolicyArn(std::move(value)); return *this;} + inline ListChannelsRequest& WithFilterByPlaybackRestrictionPolicyArn(const char* value) { SetFilterByPlaybackRestrictionPolicyArn(value); return *this;} ///@} ///@{ @@ -99,22 +89,32 @@ namespace Model inline ListChannelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListChannelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + + ///@{ + /** + *

Maximum number of channels to return. Default: 100.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListChannelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: Aws::String m_filterByName; bool m_filterByNameHasBeenSet = false; - Aws::String m_filterByPlaybackRestrictionPolicyArn; - bool m_filterByPlaybackRestrictionPolicyArnHasBeenSet = false; - Aws::String m_filterByRecordingConfigurationArn; bool m_filterByRecordingConfigurationArnHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_filterByPlaybackRestrictionPolicyArn; + bool m_filterByPlaybackRestrictionPolicyArnHasBeenSet = 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-ivs/include/aws/ivs/model/ListPlaybackKeyPairsRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackKeyPairsRequest.h index 76d960210bf..16374189796 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackKeyPairsRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackKeyPairsRequest.h @@ -32,17 +32,6 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Maximum number of key pairs to return. Default: your service quota or 100, - * whichever is smaller.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListPlaybackKeyPairsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first key pair to retrieve. This is used for pagination; see the @@ -57,13 +46,24 @@ namespace Model inline ListPlaybackKeyPairsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListPlaybackKeyPairsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

Maximum number of key pairs to return. Default: your service quota or 100, + * whichever is smaller.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListPlaybackKeyPairsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: 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-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesRequest.h index 2c851f4c8cc..7054be0748f 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesRequest.h @@ -32,16 +32,6 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Maximum number of policies to return. Default: 1.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListPlaybackRestrictionPoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first policy to retrieve. This is used for pagination; see the @@ -56,13 +46,23 @@ namespace Model inline ListPlaybackRestrictionPoliciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListPlaybackRestrictionPoliciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

Maximum number of policies to return. Default: 1.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListPlaybackRestrictionPoliciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: 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-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesResult.h index 6eeeb1f9db8..29952dffb85 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListPlaybackRestrictionPoliciesResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVS_API ListPlaybackRestrictionPoliciesResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of the matching policies.

+ */ + inline const Aws::Vector& GetPlaybackRestrictionPolicies() const{ return m_playbackRestrictionPolicies; } + inline void SetPlaybackRestrictionPolicies(const Aws::Vector& value) { m_playbackRestrictionPolicies = value; } + inline void SetPlaybackRestrictionPolicies(Aws::Vector&& value) { m_playbackRestrictionPolicies = std::move(value); } + inline ListPlaybackRestrictionPoliciesResult& WithPlaybackRestrictionPolicies(const Aws::Vector& value) { SetPlaybackRestrictionPolicies(value); return *this;} + inline ListPlaybackRestrictionPoliciesResult& WithPlaybackRestrictionPolicies(Aws::Vector&& value) { SetPlaybackRestrictionPolicies(std::move(value)); return *this;} + inline ListPlaybackRestrictionPoliciesResult& AddPlaybackRestrictionPolicies(const PlaybackRestrictionPolicySummary& value) { m_playbackRestrictionPolicies.push_back(value); return *this; } + inline ListPlaybackRestrictionPoliciesResult& AddPlaybackRestrictionPolicies(PlaybackRestrictionPolicySummary&& value) { m_playbackRestrictionPolicies.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more channels than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListPlaybackRestrictionPoliciesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of the matching policies.

- */ - inline const Aws::Vector& GetPlaybackRestrictionPolicies() const{ return m_playbackRestrictionPolicies; } - inline void SetPlaybackRestrictionPolicies(const Aws::Vector& value) { m_playbackRestrictionPolicies = value; } - inline void SetPlaybackRestrictionPolicies(Aws::Vector&& value) { m_playbackRestrictionPolicies = std::move(value); } - inline ListPlaybackRestrictionPoliciesResult& WithPlaybackRestrictionPolicies(const Aws::Vector& value) { SetPlaybackRestrictionPolicies(value); return *this;} - inline ListPlaybackRestrictionPoliciesResult& WithPlaybackRestrictionPolicies(Aws::Vector&& value) { SetPlaybackRestrictionPolicies(std::move(value)); return *this;} - inline ListPlaybackRestrictionPoliciesResult& AddPlaybackRestrictionPolicies(const PlaybackRestrictionPolicySummary& value) { m_playbackRestrictionPolicies.push_back(value); return *this; } - inline ListPlaybackRestrictionPoliciesResult& AddPlaybackRestrictionPolicies(PlaybackRestrictionPolicySummary&& value) { m_playbackRestrictionPolicies.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_playbackRestrictionPolicies; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsRequest.h index d8ee9ae8733..d8d17d1cd04 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsRequest.h @@ -32,17 +32,6 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Maximum number of recording configurations to return. Default: your service - * quota or 100, whichever is smaller.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListRecordingConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first recording configuration to retrieve. This is used for pagination; @@ -57,13 +46,24 @@ namespace Model inline ListRecordingConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListRecordingConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

Maximum number of recording configurations to return. Default: your service + * quota or 100, whichever is smaller.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListRecordingConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: 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-ivs/include/aws/ivs/model/ListRecordingConfigurationsResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsResult.h index 6153056dd96..eececa84a4b 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListRecordingConfigurationsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVS_API ListRecordingConfigurationsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of the matching recording configurations.

+ */ + inline const Aws::Vector& GetRecordingConfigurations() const{ return m_recordingConfigurations; } + inline void SetRecordingConfigurations(const Aws::Vector& value) { m_recordingConfigurations = value; } + inline void SetRecordingConfigurations(Aws::Vector&& value) { m_recordingConfigurations = std::move(value); } + inline ListRecordingConfigurationsResult& WithRecordingConfigurations(const Aws::Vector& value) { SetRecordingConfigurations(value); return *this;} + inline ListRecordingConfigurationsResult& WithRecordingConfigurations(Aws::Vector&& value) { SetRecordingConfigurations(std::move(value)); return *this;} + inline ListRecordingConfigurationsResult& AddRecordingConfigurations(const RecordingConfigurationSummary& value) { m_recordingConfigurations.push_back(value); return *this; } + inline ListRecordingConfigurationsResult& AddRecordingConfigurations(RecordingConfigurationSummary&& value) { m_recordingConfigurations.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more recording configurations than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListRecordingConfigurationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of the matching recording configurations.

- */ - inline const Aws::Vector& GetRecordingConfigurations() const{ return m_recordingConfigurations; } - inline void SetRecordingConfigurations(const Aws::Vector& value) { m_recordingConfigurations = value; } - inline void SetRecordingConfigurations(Aws::Vector&& value) { m_recordingConfigurations = std::move(value); } - inline ListRecordingConfigurationsResult& WithRecordingConfigurations(const Aws::Vector& value) { SetRecordingConfigurations(value); return *this;} - inline ListRecordingConfigurationsResult& WithRecordingConfigurations(Aws::Vector&& value) { SetRecordingConfigurations(std::move(value)); return *this;} - inline ListRecordingConfigurationsResult& AddRecordingConfigurations(const RecordingConfigurationSummary& value) { m_recordingConfigurations.push_back(value); return *this; } - inline ListRecordingConfigurationsResult& AddRecordingConfigurations(RecordingConfigurationSummary&& value) { m_recordingConfigurations.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_recordingConfigurations; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysRequest.h index 4114c72d531..30542ded66a 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysRequest.h @@ -46,16 +46,6 @@ namespace Model inline ListStreamKeysRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} ///@} - ///@{ - /** - *

Maximum number of streamKeys to return. Default: 1.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStreamKeysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first stream key to retrieve. This is used for pagination; see the @@ -70,16 +60,26 @@ namespace Model inline ListStreamKeysRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListStreamKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + + ///@{ + /** + *

Maximum number of streamKeys to return. Default: 1.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStreamKeysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = 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-ivs/include/aws/ivs/model/ListStreamKeysResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysResult.h index 7bece1d2c05..fb8a8105dc3 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamKeysResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVS_API ListStreamKeysResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of stream keys.

+ */ + inline const Aws::Vector& GetStreamKeys() const{ return m_streamKeys; } + inline void SetStreamKeys(const Aws::Vector& value) { m_streamKeys = value; } + inline void SetStreamKeys(Aws::Vector&& value) { m_streamKeys = std::move(value); } + inline ListStreamKeysResult& WithStreamKeys(const Aws::Vector& value) { SetStreamKeys(value); return *this;} + inline ListStreamKeysResult& WithStreamKeys(Aws::Vector&& value) { SetStreamKeys(std::move(value)); return *this;} + inline ListStreamKeysResult& AddStreamKeys(const StreamKeySummary& value) { m_streamKeys.push_back(value); return *this; } + inline ListStreamKeysResult& AddStreamKeys(StreamKeySummary&& value) { m_streamKeys.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more stream keys than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListStreamKeysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of stream keys.

- */ - inline const Aws::Vector& GetStreamKeys() const{ return m_streamKeys; } - inline void SetStreamKeys(const Aws::Vector& value) { m_streamKeys = value; } - inline void SetStreamKeys(Aws::Vector&& value) { m_streamKeys = std::move(value); } - inline ListStreamKeysResult& WithStreamKeys(const Aws::Vector& value) { SetStreamKeys(value); return *this;} - inline ListStreamKeysResult& WithStreamKeys(Aws::Vector&& value) { SetStreamKeys(std::move(value)); return *this;} - inline ListStreamKeysResult& AddStreamKeys(const StreamKeySummary& value) { m_streamKeys.push_back(value); return *this; } - inline ListStreamKeysResult& AddStreamKeys(StreamKeySummary&& value) { m_streamKeys.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_streamKeys; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsRequest.h index 2542d9c90f0..cd8f4c71c5c 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsRequest.h @@ -46,16 +46,6 @@ namespace Model inline ListStreamSessionsRequest& WithChannelArn(const char* value) { SetChannelArn(value); return *this;} ///@} - ///@{ - /** - *

Maximum number of streams to return. Default: 100.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStreamSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first stream to retrieve. This is used for pagination; see the @@ -70,16 +60,26 @@ namespace Model inline ListStreamSessionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListStreamSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + + ///@{ + /** + *

Maximum number of streams to return. Default: 100.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStreamSessionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = 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-ivs/include/aws/ivs/model/ListStreamSessionsResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsResult.h index c64ce97d28c..21f01dbbce2 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamSessionsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVS_API ListStreamSessionsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of stream sessions.

+ */ + inline const Aws::Vector& GetStreamSessions() const{ return m_streamSessions; } + inline void SetStreamSessions(const Aws::Vector& value) { m_streamSessions = value; } + inline void SetStreamSessions(Aws::Vector&& value) { m_streamSessions = std::move(value); } + inline ListStreamSessionsResult& WithStreamSessions(const Aws::Vector& value) { SetStreamSessions(value); return *this;} + inline ListStreamSessionsResult& WithStreamSessions(Aws::Vector&& value) { SetStreamSessions(std::move(value)); return *this;} + inline ListStreamSessionsResult& AddStreamSessions(const StreamSessionSummary& value) { m_streamSessions.push_back(value); return *this; } + inline ListStreamSessionsResult& AddStreamSessions(StreamSessionSummary&& value) { m_streamSessions.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more streams than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListStreamSessionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of stream sessions.

- */ - inline const Aws::Vector& GetStreamSessions() const{ return m_streamSessions; } - inline void SetStreamSessions(const Aws::Vector& value) { m_streamSessions = value; } - inline void SetStreamSessions(Aws::Vector&& value) { m_streamSessions = std::move(value); } - inline ListStreamSessionsResult& WithStreamSessions(const Aws::Vector& value) { SetStreamSessions(value); return *this;} - inline ListStreamSessionsResult& WithStreamSessions(Aws::Vector&& value) { SetStreamSessions(std::move(value)); return *this;} - inline ListStreamSessionsResult& AddStreamSessions(const StreamSessionSummary& value) { m_streamSessions.push_back(value); return *this; } - inline ListStreamSessionsResult& AddStreamSessions(StreamSessionSummary&& value) { m_streamSessions.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_streamSessions; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsRequest.h index 596b6dc8bf9..b44aa011aa9 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsRequest.h @@ -45,16 +45,6 @@ namespace Model inline ListStreamsRequest& WithFilterBy(StreamFilters&& value) { SetFilterBy(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Maximum number of streams to return. Default: 100.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListStreamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first stream to retrieve. This is used for pagination; see the @@ -69,16 +59,26 @@ namespace Model inline ListStreamsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListStreamsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} + + ///@{ + /** + *

Maximum number of streams to return. Default: 100.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListStreamsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} private: StreamFilters m_filterBy; bool m_filterByHasBeenSet = 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-ivs/include/aws/ivs/model/ListStreamsResult.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsResult.h index 7c1f65fd151..faa2c0ffa14 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsResult.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ListStreamsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVS_API ListStreamsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of streams.

+ */ + inline const Aws::Vector& GetStreams() const{ return m_streams; } + inline void SetStreams(const Aws::Vector& value) { m_streams = value; } + inline void SetStreams(Aws::Vector&& value) { m_streams = std::move(value); } + inline ListStreamsResult& WithStreams(const Aws::Vector& value) { SetStreams(value); return *this;} + inline ListStreamsResult& WithStreams(Aws::Vector&& value) { SetStreams(std::move(value)); return *this;} + inline ListStreamsResult& AddStreams(const StreamSummary& value) { m_streams.push_back(value); return *this; } + inline ListStreamsResult& AddStreams(StreamSummary&& value) { m_streams.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more streams than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListStreamsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of streams.

- */ - inline const Aws::Vector& GetStreams() const{ return m_streams; } - inline void SetStreams(const Aws::Vector& value) { m_streams = value; } - inline void SetStreams(Aws::Vector&& value) { m_streams = std::move(value); } - inline ListStreamsResult& WithStreams(const Aws::Vector& value) { SetStreams(value); return *this;} - inline ListStreamsResult& WithStreams(Aws::Vector&& value) { SetStreams(std::move(value)); return *this;} - inline ListStreamsResult& AddStreams(const StreamSummary& value) { m_streams.push_back(value); return *this; } - inline ListStreamsResult& AddStreams(StreamSummary&& value) { m_streams.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_streams; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackKeyPair.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackKeyPair.h index 2471cf9070f..85897015c32 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackKeyPair.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackKeyPair.h @@ -53,20 +53,6 @@ namespace Model inline PlaybackKeyPair& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Key-pair identifier.

- */ - inline const Aws::String& GetFingerprint() const{ return m_fingerprint; } - inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; } - inline void SetFingerprint(const Aws::String& value) { m_fingerprintHasBeenSet = true; m_fingerprint = value; } - inline void SetFingerprint(Aws::String&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::move(value); } - inline void SetFingerprint(const char* value) { m_fingerprintHasBeenSet = true; m_fingerprint.assign(value); } - inline PlaybackKeyPair& WithFingerprint(const Aws::String& value) { SetFingerprint(value); return *this;} - inline PlaybackKeyPair& WithFingerprint(Aws::String&& value) { SetFingerprint(std::move(value)); return *this;} - inline PlaybackKeyPair& WithFingerprint(const char* value) { SetFingerprint(value); return *this;} - ///@} - ///@{ /** *

Playback-key-pair name. The value does not need to be unique.

@@ -81,6 +67,20 @@ namespace Model inline PlaybackKeyPair& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

Key-pair identifier.

+ */ + inline const Aws::String& GetFingerprint() const{ return m_fingerprint; } + inline bool FingerprintHasBeenSet() const { return m_fingerprintHasBeenSet; } + inline void SetFingerprint(const Aws::String& value) { m_fingerprintHasBeenSet = true; m_fingerprint = value; } + inline void SetFingerprint(Aws::String&& value) { m_fingerprintHasBeenSet = true; m_fingerprint = std::move(value); } + inline void SetFingerprint(const char* value) { m_fingerprintHasBeenSet = true; m_fingerprint.assign(value); } + inline PlaybackKeyPair& WithFingerprint(const Aws::String& value) { SetFingerprint(value); return *this;} + inline PlaybackKeyPair& WithFingerprint(Aws::String&& value) { SetFingerprint(std::move(value)); return *this;} + inline PlaybackKeyPair& WithFingerprint(const char* value) { SetFingerprint(value); return *this;} + ///@} + ///@{ /** *

Tags attached to the resource. Array of 1-50 maps, each of the form @@ -109,12 +109,12 @@ namespace Model Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::String m_fingerprint; - bool m_fingerprintHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; + Aws::String m_fingerprint; + bool m_fingerprintHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicy.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicy.h index 359da35d70a..acd32d7aa01 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicy.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicy.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -40,6 +40,20 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Playback-restriction-policy ARN

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline PlaybackRestrictionPolicy& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline PlaybackRestrictionPolicy& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline PlaybackRestrictionPolicy& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *

A list of country codes that control geoblocking restriction. Allowed values @@ -76,20 +90,6 @@ namespace Model inline PlaybackRestrictionPolicy& AddAllowedOrigins(const char* value) { m_allowedOriginsHasBeenSet = true; m_allowedOrigins.push_back(value); return *this; } ///@} - ///@{ - /** - *

Playback-restriction-policy ARN

- */ - inline const Aws::String& GetArn() const{ return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } - inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } - inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } - inline PlaybackRestrictionPolicy& WithArn(const Aws::String& value) { SetArn(value); return *this;} - inline PlaybackRestrictionPolicy& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} - inline PlaybackRestrictionPolicy& WithArn(const char* value) { SetArn(value); return *this;} - ///@} - ///@{ /** *

Whether channel playback is constrained by origin site. Default: @@ -140,15 +140,15 @@ namespace Model ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::Vector m_allowedCountries; bool m_allowedCountriesHasBeenSet = false; Aws::Vector m_allowedOrigins; bool m_allowedOriginsHasBeenSet = false; - Aws::String m_arn; - bool m_arnHasBeenSet = false; - bool m_enableStrictOriginEnforcement; bool m_enableStrictOriginEnforcementHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicySummary.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicySummary.h index c581212bd77..e3597ec7b95 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicySummary.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/PlaybackRestrictionPolicySummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -40,6 +40,20 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Playback-restriction-policy ARN

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline PlaybackRestrictionPolicySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline PlaybackRestrictionPolicySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline PlaybackRestrictionPolicySummary& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *

A list of country codes that control geoblocking restriction. Allowed values @@ -76,20 +90,6 @@ namespace Model inline PlaybackRestrictionPolicySummary& AddAllowedOrigins(const char* value) { m_allowedOriginsHasBeenSet = true; m_allowedOrigins.push_back(value); return *this; } ///@} - ///@{ - /** - *

Playback-restriction-policy ARN

- */ - inline const Aws::String& GetArn() const{ return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } - inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } - inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } - inline PlaybackRestrictionPolicySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} - inline PlaybackRestrictionPolicySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} - inline PlaybackRestrictionPolicySummary& WithArn(const char* value) { SetArn(value); return *this;} - ///@} - ///@{ /** *

Whether channel playback is constrained by origin site. Default: @@ -140,15 +140,15 @@ namespace Model ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::Vector m_allowedCountries; bool m_allowedCountriesHasBeenSet = false; Aws::Vector m_allowedOrigins; bool m_allowedOriginsHasBeenSet = false; - Aws::String m_arn; - bool m_arnHasBeenSet = false; - bool m_enableStrictOriginEnforcement; bool m_enableStrictOriginEnforcementHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfiguration.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfiguration.h index dd211ca64b8..d44527521e1 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfiguration.h @@ -7,10 +7,10 @@ #include #include #include -#include #include #include #include +#include #include namespace Aws @@ -57,19 +57,6 @@ namespace Model inline RecordingConfiguration& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

A complex type that contains information about where recorded video will be - * stored.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } - inline RecordingConfiguration& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline RecordingConfiguration& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - ///@{ /** *

Recording-configuration name. The value does not need to be unique.

@@ -86,26 +73,15 @@ namespace Model ///@{ /** - *

If a broadcast disconnects and then reconnects within the specified interval, - * the multiple streams will be considered a single broadcast and merged together. - * Default: 0.

- */ - inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; } - inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; } - inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; } - inline RecordingConfiguration& WithRecordingReconnectWindowSeconds(int value) { SetRecordingReconnectWindowSeconds(value); return *this;} - ///@} - - ///@{ - /** - *

Object that describes which renditions should be recorded for a stream.

+ *

A complex type that contains information about where recorded video will be + * stored.

*/ - inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; } - inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; } - inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; } - inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); } - inline RecordingConfiguration& WithRenditionConfiguration(const RenditionConfiguration& value) { SetRenditionConfiguration(value); return *this;} - inline RecordingConfiguration& WithRenditionConfiguration(RenditionConfiguration&& value) { SetRenditionConfiguration(std::move(value)); return *this;} + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } + inline RecordingConfiguration& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline RecordingConfiguration& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} ///@} ///@{ @@ -159,22 +135,40 @@ namespace Model inline RecordingConfiguration& WithThumbnailConfiguration(const ThumbnailConfiguration& value) { SetThumbnailConfiguration(value); return *this;} inline RecordingConfiguration& WithThumbnailConfiguration(ThumbnailConfiguration&& value) { SetThumbnailConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

If a broadcast disconnects and then reconnects within the specified interval, + * the multiple streams will be considered a single broadcast and merged together. + * Default: 0.

+ */ + inline int GetRecordingReconnectWindowSeconds() const{ return m_recordingReconnectWindowSeconds; } + inline bool RecordingReconnectWindowSecondsHasBeenSet() const { return m_recordingReconnectWindowSecondsHasBeenSet; } + inline void SetRecordingReconnectWindowSeconds(int value) { m_recordingReconnectWindowSecondsHasBeenSet = true; m_recordingReconnectWindowSeconds = value; } + inline RecordingConfiguration& WithRecordingReconnectWindowSeconds(int value) { SetRecordingReconnectWindowSeconds(value); return *this;} + ///@} + + ///@{ + /** + *

Object that describes which renditions should be recorded for a stream.

+ */ + inline const RenditionConfiguration& GetRenditionConfiguration() const{ return m_renditionConfiguration; } + inline bool RenditionConfigurationHasBeenSet() const { return m_renditionConfigurationHasBeenSet; } + inline void SetRenditionConfiguration(const RenditionConfiguration& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = value; } + inline void SetRenditionConfiguration(RenditionConfiguration&& value) { m_renditionConfigurationHasBeenSet = true; m_renditionConfiguration = std::move(value); } + inline RecordingConfiguration& WithRenditionConfiguration(const RenditionConfiguration& value) { SetRenditionConfiguration(value); return *this;} + inline RecordingConfiguration& WithRenditionConfiguration(RenditionConfiguration&& value) { SetRenditionConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; - int m_recordingReconnectWindowSeconds; - bool m_recordingReconnectWindowSecondsHasBeenSet = false; - - RenditionConfiguration m_renditionConfiguration; - bool m_renditionConfigurationHasBeenSet = false; + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; RecordingConfigurationState m_state; bool m_stateHasBeenSet = false; @@ -184,6 +178,12 @@ namespace Model ThumbnailConfiguration m_thumbnailConfiguration; bool m_thumbnailConfigurationHasBeenSet = false; + + int m_recordingReconnectWindowSeconds; + bool m_recordingReconnectWindowSecondsHasBeenSet = false; + + RenditionConfiguration m_renditionConfiguration; + bool m_renditionConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfigurationSummary.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfigurationSummary.h index 71092dfdc74..854aedad5e4 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfigurationSummary.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RecordingConfigurationSummary.h @@ -55,19 +55,6 @@ namespace Model inline RecordingConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

A complex type that contains information about where recorded video will be - * stored.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } - inline RecordingConfigurationSummary& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline RecordingConfigurationSummary& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - ///@{ /** *

Recording-configuration name. The value does not need to be unique.

@@ -82,6 +69,19 @@ namespace Model inline RecordingConfigurationSummary& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

A complex type that contains information about where recorded video will be + * stored.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } + inline RecordingConfigurationSummary& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline RecordingConfigurationSummary& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

Indicates the current state of the recording configuration. When the state is @@ -124,12 +124,12 @@ namespace Model Aws::String m_arn; bool m_arnHasBeenSet = false; - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; + RecordingConfigurationState m_state; bool m_stateHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RenditionConfigurationRendition.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RenditionConfigurationRendition.h index 5ffcb3effab..dcd84113dea 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RenditionConfigurationRendition.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/RenditionConfigurationRendition.h @@ -16,9 +16,9 @@ namespace Model enum class RenditionConfigurationRendition { NOT_SET, - FULL_HD, - HD, SD, + HD, + FULL_HD, LOWEST_RESOLUTION }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Stream.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Stream.h index bf9372141c6..d8693e243cf 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Stream.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Stream.h @@ -6,9 +6,9 @@ #pragma once #include #include -#include #include #include +#include #include namespace Aws @@ -57,14 +57,17 @@ namespace Model ///@{ /** - *

The stream’s health.

+ *

Unique identifier for a live or previously live stream in the specified + * channel.

*/ - inline const StreamHealth& GetHealth() const{ return m_health; } - inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } - inline void SetHealth(const StreamHealth& value) { m_healthHasBeenSet = true; m_health = value; } - inline void SetHealth(StreamHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } - inline Stream& WithHealth(const StreamHealth& value) { SetHealth(value); return *this;} - inline Stream& WithHealth(StreamHealth&& value) { SetHealth(std::move(value)); return *this;} + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline Stream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline Stream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline Stream& WithStreamId(const char* value) { SetStreamId(value); return *this;} ///@} ///@{ @@ -111,17 +114,14 @@ namespace Model ///@{ /** - *

Unique identifier for a live or previously live stream in the specified - * channel.

+ *

The stream’s health.

*/ - inline const Aws::String& GetStreamId() const{ return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } - inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } - inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } - inline Stream& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} - inline Stream& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} - inline Stream& WithStreamId(const char* value) { SetStreamId(value); return *this;} + inline const StreamHealth& GetHealth() const{ return m_health; } + inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } + inline void SetHealth(const StreamHealth& value) { m_healthHasBeenSet = true; m_health = value; } + inline void SetHealth(StreamHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } + inline Stream& WithHealth(const StreamHealth& value) { SetHealth(value); return *this;} + inline Stream& WithHealth(StreamHealth&& value) { SetHealth(std::move(value)); return *this;} ///@} ///@{ @@ -142,8 +142,8 @@ namespace Model Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; - StreamHealth m_health; - bool m_healthHasBeenSet = false; + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; Aws::String m_playbackUrl; bool m_playbackUrlHasBeenSet = false; @@ -154,8 +154,8 @@ namespace Model StreamState m_state; bool m_stateHasBeenSet = false; - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; + StreamHealth m_health; + bool m_healthHasBeenSet = false; long long m_viewerCount; bool m_viewerCountHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamEvent.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamEvent.h index 68dca27f4f1..f3e399ca943 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamEvent.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamEvent.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -40,19 +40,6 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

Time when the event occurred. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; } - inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; } - inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; } - inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); } - inline StreamEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;} - inline StreamEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

Name that identifies the stream event within a type.

@@ -80,16 +67,29 @@ namespace Model inline StreamEvent& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} inline StreamEvent& WithType(const char* value) { SetType(value); return *this;} ///@} - private: - Aws::Utils::DateTime m_eventTime; - bool m_eventTimeHasBeenSet = false; + ///@{ + /** + *

Time when the event occurred. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetEventTime() const{ return m_eventTime; } + inline bool EventTimeHasBeenSet() const { return m_eventTimeHasBeenSet; } + inline void SetEventTime(const Aws::Utils::DateTime& value) { m_eventTimeHasBeenSet = true; m_eventTime = value; } + inline void SetEventTime(Aws::Utils::DateTime&& value) { m_eventTimeHasBeenSet = true; m_eventTime = std::move(value); } + inline StreamEvent& WithEventTime(const Aws::Utils::DateTime& value) { SetEventTime(value); return *this;} + inline StreamEvent& WithEventTime(Aws::Utils::DateTime&& value) { SetEventTime(std::move(value)); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; + + Aws::Utils::DateTime m_eventTime; + bool m_eventTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamKey.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamKey.h index 37297f486be..64e2e99160f 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamKey.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamKey.h @@ -52,6 +52,20 @@ namespace Model inline StreamKey& WithArn(const char* value) { SetArn(value); return *this;} ///@} + ///@{ + /** + *

Stream-key value.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline StreamKey& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline StreamKey& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline StreamKey& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + ///@{ /** *

Channel ARN for the stream.

@@ -89,33 +103,19 @@ namespace Model inline StreamKey& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } inline StreamKey& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} - - ///@{ - /** - *

Stream-key value.

- */ - inline const Aws::String& GetValue() const{ return m_value; } - inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } - inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } - inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } - inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } - inline StreamKey& WithValue(const Aws::String& value) { SetValue(value); return *this;} - inline StreamKey& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} - inline StreamKey& WithValue(const char* value) { SetValue(value); return *this;} - ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; + Aws::String m_value; + bool m_valueHasBeenSet = false; + Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::String m_value; - bool m_valueHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSession.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSession.h index 7c4af6889c1..7400b68570d 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSession.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSession.h @@ -5,11 +5,11 @@ #pragma once #include -#include +#include #include +#include #include #include -#include #include #include #include @@ -47,14 +47,30 @@ namespace Model ///@{ /** - *

The properties of the channel at the time of going live.

+ *

Unique identifier for a live or previously live stream in the specified + * channel.

*/ - inline const Channel& GetChannel() const{ return m_channel; } - inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } - inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; } - inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } - inline StreamSession& WithChannel(const Channel& value) { SetChannel(value); return *this;} - inline StreamSession& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline StreamSession& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline StreamSession& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline StreamSession& WithStreamId(const char* value) { SetStreamId(value); return *this;} + ///@} + + ///@{ + /** + *

Time when the channel went live. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline StreamSession& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline StreamSession& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} ///@} ///@{ @@ -71,6 +87,18 @@ namespace Model inline StreamSession& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The properties of the channel at the time of going live.

+ */ + inline const Channel& GetChannel() const{ return m_channel; } + inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; } + inline void SetChannel(const Channel& value) { m_channelHasBeenSet = true; m_channel = value; } + inline void SetChannel(Channel&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); } + inline StreamSession& WithChannel(const Channel& value) { SetChannel(value); return *this;} + inline StreamSession& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;} + ///@} + ///@{ /** *

The properties of the incoming RTMP stream for the stream.

@@ -95,34 +123,6 @@ namespace Model inline StreamSession& WithRecordingConfiguration(RecordingConfiguration&& value) { SetRecordingConfiguration(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Time when the channel went live. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } - inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } - inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } - inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } - inline StreamSession& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} - inline StreamSession& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Unique identifier for a live or previously live stream in the specified - * channel.

- */ - inline const Aws::String& GetStreamId() const{ return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } - inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } - inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } - inline StreamSession& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} - inline StreamSession& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} - inline StreamSession& WithStreamId(const char* value) { SetStreamId(value); return *this;} - ///@} - ///@{ /** *

List of Amazon IVS events that the stream encountered. The list is sorted by @@ -141,24 +141,24 @@ namespace Model ///@} private: - Channel m_channel; - bool m_channelHasBeenSet = false; + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; + Channel m_channel; + bool m_channelHasBeenSet = false; + IngestConfiguration m_ingestConfiguration; bool m_ingestConfigurationHasBeenSet = false; RecordingConfiguration m_recordingConfiguration; bool m_recordingConfigurationHasBeenSet = false; - Aws::Utils::DateTime m_startTime; - bool m_startTimeHasBeenSet = false; - - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; - Aws::Vector m_truncatedEvents; bool m_truncatedEventsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSessionSummary.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSessionSummary.h index 3e464993152..a4f447486f2 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSessionSummary.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSessionSummary.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -38,6 +38,34 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Unique identifier for a live or previously live stream in the specified + * channel.

+ */ + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline StreamSessionSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline StreamSessionSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline StreamSessionSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} + ///@} + + ///@{ + /** + *

Time when the channel went live. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline StreamSessionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline StreamSessionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} + ///@{ /** *

Time when the channel went offline. This is an ISO 8601 timestamp; note @@ -61,47 +89,19 @@ namespace Model inline void SetHasErrorEvent(bool value) { m_hasErrorEventHasBeenSet = true; m_hasErrorEvent = value; } inline StreamSessionSummary& WithHasErrorEvent(bool value) { SetHasErrorEvent(value); return *this;} ///@} + private: - ///@{ - /** - *

Time when the channel went live. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } - inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } - inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } - inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } - inline StreamSessionSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} - inline StreamSessionSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} - ///@} + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; - ///@{ - /** - *

Unique identifier for a live or previously live stream in the specified - * channel.

- */ - inline const Aws::String& GetStreamId() const{ return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } - inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } - inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } - inline StreamSessionSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} - inline StreamSessionSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} - inline StreamSessionSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} - ///@} - private: + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; bool m_hasErrorEvent; bool m_hasErrorEventHasBeenSet = false; - - Aws::Utils::DateTime m_startTime; - bool m_startTimeHasBeenSet = false; - - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSummary.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSummary.h index d5e8eaee62d..1c979f21eda 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSummary.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/StreamSummary.h @@ -6,9 +6,9 @@ #pragma once #include #include +#include #include #include -#include #include namespace Aws @@ -56,27 +56,17 @@ namespace Model ///@{ /** - *

The stream’s health.

- */ - inline const StreamHealth& GetHealth() const{ return m_health; } - inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } - inline void SetHealth(const StreamHealth& value) { m_healthHasBeenSet = true; m_health = value; } - inline void SetHealth(StreamHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } - inline StreamSummary& WithHealth(const StreamHealth& value) { SetHealth(value); return *this;} - inline StreamSummary& WithHealth(StreamHealth&& value) { SetHealth(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Time of the stream’s start. This is an ISO 8601 timestamp; note that this - * is returned as a string.

+ *

Unique identifier for a live or previously live stream in the specified + * channel.

*/ - inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } - inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } - inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } - inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } - inline StreamSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} - inline StreamSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline StreamSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline StreamSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline StreamSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} ///@} ///@{ @@ -95,17 +85,14 @@ namespace Model ///@{ /** - *

Unique identifier for a live or previously live stream in the specified - * channel.

+ *

The stream’s health.

*/ - inline const Aws::String& GetStreamId() const{ return m_streamId; } - inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } - inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } - inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } - inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } - inline StreamSummary& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} - inline StreamSummary& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} - inline StreamSummary& WithStreamId(const char* value) { SetStreamId(value); return *this;} + inline const StreamHealth& GetHealth() const{ return m_health; } + inline bool HealthHasBeenSet() const { return m_healthHasBeenSet; } + inline void SetHealth(const StreamHealth& value) { m_healthHasBeenSet = true; m_health = value; } + inline void SetHealth(StreamHealth&& value) { m_healthHasBeenSet = true; m_health = std::move(value); } + inline StreamSummary& WithHealth(const StreamHealth& value) { SetHealth(value); return *this;} + inline StreamSummary& WithHealth(StreamHealth&& value) { SetHealth(std::move(value)); return *this;} ///@} ///@{ @@ -121,25 +108,38 @@ namespace Model inline void SetViewerCount(long long value) { m_viewerCountHasBeenSet = true; m_viewerCount = value; } inline StreamSummary& WithViewerCount(long long value) { SetViewerCount(value); return *this;} ///@} + + ///@{ + /** + *

Time of the stream’s start. This is an ISO 8601 timestamp; note that this + * is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } + inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } + inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } + inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } + inline StreamSummary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} + inline StreamSummary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} + ///@} private: Aws::String m_channelArn; bool m_channelArnHasBeenSet = false; - StreamHealth m_health; - bool m_healthHasBeenSet = false; - - Aws::Utils::DateTime m_startTime; - bool m_startTimeHasBeenSet = false; + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; StreamState m_state; bool m_stateHasBeenSet = false; - Aws::String m_streamId; - bool m_streamIdHasBeenSet = false; + StreamHealth m_health; + bool m_healthHasBeenSet = false; long long m_viewerCount; bool m_viewerCountHasBeenSet = false; + + Aws::Utils::DateTime m_startTime; + bool m_startTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfiguration.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfiguration.h index 5ba1cb21c51..1c23e9ae2f7 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfiguration.h @@ -53,6 +53,27 @@ namespace Model inline ThumbnailConfiguration& WithRecordingMode(RecordingMode&& value) { SetRecordingMode(std::move(value)); return *this;} ///@} + ///@{ + /** + *

The targeted thumbnail-generation interval in seconds. This is configurable + * (and required) only if recordingMode is INTERVAL. + * Default: 60.

Important: For the BASIC channel type, + * setting a value for targetIntervalSeconds does not guarantee that + * thumbnails are generated at the specified interval. For thumbnails to be + * generated at the targetIntervalSeconds interval, the + * IDR/Keyframe value for the input video must be less than the + * targetIntervalSeconds value. See + * Amazon IVS Streaming Configuration for information on setting + * IDR/Keyframe to the recommended value in video-encoder + * settings.

+ */ + inline long long GetTargetIntervalSeconds() const{ return m_targetIntervalSeconds; } + inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; } + inline void SetTargetIntervalSeconds(long long value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; } + inline ThumbnailConfiguration& WithTargetIntervalSeconds(long long value) { SetTargetIntervalSeconds(value); return *this;} + ///@} + ///@{ /** *

Indicates the desired resolution of recorded thumbnails. Thumbnails are @@ -90,40 +111,19 @@ namespace Model inline ThumbnailConfiguration& AddStorage(const ThumbnailConfigurationStorage& value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; } inline ThumbnailConfiguration& AddStorage(ThumbnailConfigurationStorage&& value) { m_storageHasBeenSet = true; m_storage.push_back(std::move(value)); return *this; } ///@} - - ///@{ - /** - *

The targeted thumbnail-generation interval in seconds. This is configurable - * (and required) only if recordingMode is INTERVAL. - * Default: 60.

Important: For the BASIC channel type, - * setting a value for targetIntervalSeconds does not guarantee that - * thumbnails are generated at the specified interval. For thumbnails to be - * generated at the targetIntervalSeconds interval, the - * IDR/Keyframe value for the input video must be less than the - * targetIntervalSeconds value. See - * Amazon IVS Streaming Configuration for information on setting - * IDR/Keyframe to the recommended value in video-encoder - * settings.

- */ - inline long long GetTargetIntervalSeconds() const{ return m_targetIntervalSeconds; } - inline bool TargetIntervalSecondsHasBeenSet() const { return m_targetIntervalSecondsHasBeenSet; } - inline void SetTargetIntervalSeconds(long long value) { m_targetIntervalSecondsHasBeenSet = true; m_targetIntervalSeconds = value; } - inline ThumbnailConfiguration& WithTargetIntervalSeconds(long long value) { SetTargetIntervalSeconds(value); return *this;} - ///@} private: RecordingMode m_recordingMode; bool m_recordingModeHasBeenSet = false; + long long m_targetIntervalSeconds; + bool m_targetIntervalSecondsHasBeenSet = false; + ThumbnailConfigurationResolution m_resolution; bool m_resolutionHasBeenSet = false; Aws::Vector m_storage; bool m_storageHasBeenSet = false; - - long long m_targetIntervalSeconds; - bool m_targetIntervalSecondsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfigurationResolution.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfigurationResolution.h index f9f06b7be29..fea663a0dd8 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfigurationResolution.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/ThumbnailConfigurationResolution.h @@ -16,9 +16,9 @@ namespace Model enum class ThumbnailConfigurationResolution { NOT_SET, - FULL_HD, - HD, SD, + HD, + FULL_HD, LOWEST_RESOLUTION }; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h index 279ee5a336b..20d7af9d6ee 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h @@ -8,8 +8,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -51,23 +51,16 @@ namespace Model ///@{ /** - *

Whether the channel is private (enabled for playback authorization).

- */ - inline bool GetAuthorized() const{ return m_authorized; } - inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } - inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } - inline UpdateChannelRequest& WithAuthorized(bool value) { SetAuthorized(value); return *this;} - ///@} - - ///@{ - /** - *

Whether the channel allows insecure RTMP and SRT ingest. Default: - * false.

+ *

Channel name.

*/ - inline bool GetInsecureIngest() const{ return m_insecureIngest; } - inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } - inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } - inline UpdateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline UpdateChannelRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline UpdateChannelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline UpdateChannelRequest& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -86,32 +79,55 @@ namespace Model ///@{ /** - *

Channel name.

+ *

Channel type, which determines the allowable resolution and bitrate. If + * you exceed the allowable input resolution or bitrate, the stream probably will + * disconnect immediately. Default: STANDARD. For details, see Channel + * Types.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline UpdateChannelRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline UpdateChannelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline UpdateChannelRequest& WithName(const char* value) { SetName(value); return *this;} + inline const ChannelType& GetType() const{ return m_type; } + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } + inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + inline UpdateChannelRequest& WithType(const ChannelType& value) { SetType(value); return *this;} + inline UpdateChannelRequest& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} ///@} ///@{ /** - *

Playback-restriction-policy ARN. A valid ARN value here both specifies the - * ARN and enables playback restriction. If this is set to an empty string, - * playback restriction policy is disabled.

+ *

Whether the channel is private (enabled for playback authorization).

*/ - inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } - inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } - inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } - inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } - inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } - inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} - inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} - inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline bool GetAuthorized() const{ return m_authorized; } + inline bool AuthorizedHasBeenSet() const { return m_authorizedHasBeenSet; } + inline void SetAuthorized(bool value) { m_authorizedHasBeenSet = true; m_authorized = value; } + inline UpdateChannelRequest& WithAuthorized(bool value) { SetAuthorized(value); return *this;} + ///@} + + ///@{ + /** + *

Recording-configuration ARN. A valid ARN value here both specifies the ARN + * and enables recording. If this is set to an empty string, recording is + * disabled.

+ */ + inline const Aws::String& GetRecordingConfigurationArn() const{ return m_recordingConfigurationArn; } + inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; } + inline void SetRecordingConfigurationArn(const Aws::String& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = value; } + inline void SetRecordingConfigurationArn(Aws::String&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::move(value); } + inline void SetRecordingConfigurationArn(const char* value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn.assign(value); } + inline UpdateChannelRequest& WithRecordingConfigurationArn(const Aws::String& value) { SetRecordingConfigurationArn(value); return *this;} + inline UpdateChannelRequest& WithRecordingConfigurationArn(Aws::String&& value) { SetRecordingConfigurationArn(std::move(value)); return *this;} + inline UpdateChannelRequest& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;} + ///@} + + ///@{ + /** + *

Whether the channel allows insecure RTMP and SRT ingest. Default: + * false.

+ */ + inline bool GetInsecureIngest() const{ return m_insecureIngest; } + inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } + inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } + inline UpdateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} ///@} ///@{ @@ -133,63 +149,47 @@ namespace Model ///@{ /** - *

Recording-configuration ARN. A valid ARN value here both specifies the ARN - * and enables recording. If this is set to an empty string, recording is - * disabled.

- */ - inline const Aws::String& GetRecordingConfigurationArn() const{ return m_recordingConfigurationArn; } - inline bool RecordingConfigurationArnHasBeenSet() const { return m_recordingConfigurationArnHasBeenSet; } - inline void SetRecordingConfigurationArn(const Aws::String& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = value; } - inline void SetRecordingConfigurationArn(Aws::String&& value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn = std::move(value); } - inline void SetRecordingConfigurationArn(const char* value) { m_recordingConfigurationArnHasBeenSet = true; m_recordingConfigurationArn.assign(value); } - inline UpdateChannelRequest& WithRecordingConfigurationArn(const Aws::String& value) { SetRecordingConfigurationArn(value); return *this;} - inline UpdateChannelRequest& WithRecordingConfigurationArn(Aws::String&& value) { SetRecordingConfigurationArn(std::move(value)); return *this;} - inline UpdateChannelRequest& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;} - ///@} - - ///@{ - /** - *

Channel type, which determines the allowable resolution and bitrate. If - * you exceed the allowable input resolution or bitrate, the stream probably will - * disconnect immediately. Default: STANDARD. For details, see Channel - * Types.

+ *

Playback-restriction-policy ARN. A valid ARN value here both specifies the + * ARN and enables playback restriction. If this is set to an empty string, + * playback restriction policy is disabled.

*/ - inline const ChannelType& GetType() const{ return m_type; } - inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } - inline void SetType(const ChannelType& value) { m_typeHasBeenSet = true; m_type = value; } - inline void SetType(ChannelType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } - inline UpdateChannelRequest& WithType(const ChannelType& value) { SetType(value); return *this;} - inline UpdateChannelRequest& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;} + inline const Aws::String& GetPlaybackRestrictionPolicyArn() const{ return m_playbackRestrictionPolicyArn; } + inline bool PlaybackRestrictionPolicyArnHasBeenSet() const { return m_playbackRestrictionPolicyArnHasBeenSet; } + inline void SetPlaybackRestrictionPolicyArn(const Aws::String& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = value; } + inline void SetPlaybackRestrictionPolicyArn(Aws::String&& value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn = std::move(value); } + inline void SetPlaybackRestrictionPolicyArn(const char* value) { m_playbackRestrictionPolicyArnHasBeenSet = true; m_playbackRestrictionPolicyArn.assign(value); } + inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(const Aws::String& value) { SetPlaybackRestrictionPolicyArn(value); return *this;} + inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(Aws::String&& value) { SetPlaybackRestrictionPolicyArn(std::move(value)); return *this;} + inline UpdateChannelRequest& WithPlaybackRestrictionPolicyArn(const char* value) { SetPlaybackRestrictionPolicyArn(value); return *this;} ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; - bool m_authorized; - bool m_authorizedHasBeenSet = false; - - bool m_insecureIngest; - bool m_insecureIngestHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; ChannelLatencyMode m_latencyMode; bool m_latencyModeHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_playbackRestrictionPolicyArn; - bool m_playbackRestrictionPolicyArnHasBeenSet = false; + ChannelType m_type; + bool m_typeHasBeenSet = false; - TranscodePreset m_preset; - bool m_presetHasBeenSet = false; + bool m_authorized; + bool m_authorizedHasBeenSet = false; Aws::String m_recordingConfigurationArn; bool m_recordingConfigurationArnHasBeenSet = false; - ChannelType m_type; - bool m_typeHasBeenSet = false; + bool m_insecureIngest; + bool m_insecureIngestHasBeenSet = false; + + TranscodePreset m_preset; + bool m_presetHasBeenSet = false; + + Aws::String m_playbackRestrictionPolicyArn; + bool m_playbackRestrictionPolicyArnHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdatePlaybackRestrictionPolicyRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdatePlaybackRestrictionPolicyRequest.h index eaa7ef4e9bb..2cbc1651ef5 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdatePlaybackRestrictionPolicyRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdatePlaybackRestrictionPolicyRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -33,6 +33,20 @@ namespace Model AWS_IVS_API Aws::String SerializePayload() const override; + ///@{ + /** + *

ARN of the playback-restriction-policy to be updated.

+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline UpdatePlaybackRestrictionPolicyRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline UpdatePlaybackRestrictionPolicyRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline UpdatePlaybackRestrictionPolicyRequest& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + ///@{ /** *

A list of country codes that control geoblocking restriction. Allowed values @@ -69,20 +83,6 @@ namespace Model inline UpdatePlaybackRestrictionPolicyRequest& AddAllowedOrigins(const char* value) { m_allowedOriginsHasBeenSet = true; m_allowedOrigins.push_back(value); return *this; } ///@} - ///@{ - /** - *

ARN of the playback-restriction-policy to be updated.

- */ - inline const Aws::String& GetArn() const{ return m_arn; } - inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } - inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } - inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } - inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } - inline UpdatePlaybackRestrictionPolicyRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} - inline UpdatePlaybackRestrictionPolicyRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} - inline UpdatePlaybackRestrictionPolicyRequest& WithArn(const char* value) { SetArn(value); return *this;} - ///@} - ///@{ /** *

Whether channel playback is constrained by origin site. Default: @@ -109,15 +109,15 @@ namespace Model ///@} private: + Aws::String m_arn; + bool m_arnHasBeenSet = false; + Aws::Vector m_allowedCountries; bool m_allowedCountriesHasBeenSet = false; Aws::Vector m_allowedOrigins; bool m_allowedOriginsHasBeenSet = false; - Aws::String m_arn; - bool m_arnHasBeenSet = false; - bool m_enableStrictOriginEnforcement; bool m_enableStrictOriginEnforcementHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/VideoConfiguration.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/VideoConfiguration.h index d425b243649..3ee8c08388c 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/VideoConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/VideoConfiguration.h @@ -40,6 +40,21 @@ namespace Model AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Indicates to the decoder the requirements for decoding the stream. For + * definitions of the valid values, see the H.264 specification.

+ */ + inline const Aws::String& GetAvcProfile() const{ return m_avcProfile; } + inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; } + inline void SetAvcProfile(const Aws::String& value) { m_avcProfileHasBeenSet = true; m_avcProfile = value; } + inline void SetAvcProfile(Aws::String&& value) { m_avcProfileHasBeenSet = true; m_avcProfile = std::move(value); } + inline void SetAvcProfile(const char* value) { m_avcProfileHasBeenSet = true; m_avcProfile.assign(value); } + inline VideoConfiguration& WithAvcProfile(const Aws::String& value) { SetAvcProfile(value); return *this;} + inline VideoConfiguration& WithAvcProfile(Aws::String&& value) { SetAvcProfile(std::move(value)); return *this;} + inline VideoConfiguration& WithAvcProfile(const char* value) { SetAvcProfile(value); return *this;} + ///@} + ///@{ /** *

Indicates the degree of required decoder performance for a profile. Normally @@ -56,21 +71,6 @@ namespace Model inline VideoConfiguration& WithAvcLevel(const char* value) { SetAvcLevel(value); return *this;} ///@} - ///@{ - /** - *

Indicates to the decoder the requirements for decoding the stream. For - * definitions of the valid values, see the H.264 specification.

- */ - inline const Aws::String& GetAvcProfile() const{ return m_avcProfile; } - inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; } - inline void SetAvcProfile(const Aws::String& value) { m_avcProfileHasBeenSet = true; m_avcProfile = value; } - inline void SetAvcProfile(Aws::String&& value) { m_avcProfileHasBeenSet = true; m_avcProfile = std::move(value); } - inline void SetAvcProfile(const char* value) { m_avcProfileHasBeenSet = true; m_avcProfile.assign(value); } - inline VideoConfiguration& WithAvcProfile(const Aws::String& value) { SetAvcProfile(value); return *this;} - inline VideoConfiguration& WithAvcProfile(Aws::String&& value) { SetAvcProfile(std::move(value)); return *this;} - inline VideoConfiguration& WithAvcProfile(const char* value) { SetAvcProfile(value); return *this;} - ///@} - ///@{ /** *

Codec used for the video encoding.

@@ -141,12 +141,12 @@ namespace Model ///@} private: - Aws::String m_avcLevel; - bool m_avcLevelHasBeenSet = false; - Aws::String m_avcProfile; bool m_avcProfileHasBeenSet = false; + Aws::String m_avcLevel; + bool m_avcLevelHasBeenSet = false; + Aws::String m_codec; bool m_codecHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/AudioConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/AudioConfiguration.cpp index 7c3575121e0..c263e239978 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/AudioConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/AudioConfiguration.cpp @@ -19,13 +19,13 @@ namespace Model { AudioConfiguration::AudioConfiguration() : - m_channels(0), - m_channelsHasBeenSet(false), m_codecHasBeenSet(false), + m_targetBitrate(0), + m_targetBitrateHasBeenSet(false), m_sampleRate(0), m_sampleRateHasBeenSet(false), - m_targetBitrate(0), - m_targetBitrateHasBeenSet(false) + m_channels(0), + m_channelsHasBeenSet(false) { } @@ -37,18 +37,18 @@ AudioConfiguration::AudioConfiguration(JsonView jsonValue) AudioConfiguration& AudioConfiguration::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("channels")) + if(jsonValue.ValueExists("codec")) { - m_channels = jsonValue.GetInt64("channels"); + m_codec = jsonValue.GetString("codec"); - m_channelsHasBeenSet = true; + m_codecHasBeenSet = true; } - if(jsonValue.ValueExists("codec")) + if(jsonValue.ValueExists("targetBitrate")) { - m_codec = jsonValue.GetString("codec"); + m_targetBitrate = jsonValue.GetInt64("targetBitrate"); - m_codecHasBeenSet = true; + m_targetBitrateHasBeenSet = true; } if(jsonValue.ValueExists("sampleRate")) @@ -58,11 +58,11 @@ AudioConfiguration& AudioConfiguration::operator =(JsonView jsonValue) m_sampleRateHasBeenSet = true; } - if(jsonValue.ValueExists("targetBitrate")) + if(jsonValue.ValueExists("channels")) { - m_targetBitrate = jsonValue.GetInt64("targetBitrate"); + m_channels = jsonValue.GetInt64("channels"); - m_targetBitrateHasBeenSet = true; + m_channelsHasBeenSet = true; } return *this; @@ -72,15 +72,15 @@ JsonValue AudioConfiguration::Jsonize() const { JsonValue payload; - if(m_channelsHasBeenSet) + if(m_codecHasBeenSet) { - payload.WithInt64("channels", m_channels); + payload.WithString("codec", m_codec); } - if(m_codecHasBeenSet) + if(m_targetBitrateHasBeenSet) { - payload.WithString("codec", m_codec); + payload.WithInt64("targetBitrate", m_targetBitrate); } @@ -90,9 +90,9 @@ JsonValue AudioConfiguration::Jsonize() const } - if(m_targetBitrateHasBeenSet) + if(m_channelsHasBeenSet) { - payload.WithInt64("targetBitrate", m_targetBitrate); + payload.WithInt64("channels", m_channels); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/BatchGetStreamKeyResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/BatchGetStreamKeyResult.cpp index 33247d77bad..bcacf5deb7c 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/BatchGetStreamKeyResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/BatchGetStreamKeyResult.cpp @@ -29,21 +29,21 @@ BatchGetStreamKeyResult::BatchGetStreamKeyResult(const Aws::AmazonWebServiceResu BatchGetStreamKeyResult& BatchGetStreamKeyResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("errors")) + if(jsonValue.ValueExists("streamKeys")) { - Aws::Utils::Array errorsJsonList = jsonValue.GetArray("errors"); - for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + Aws::Utils::Array streamKeysJsonList = jsonValue.GetArray("streamKeys"); + for(unsigned streamKeysIndex = 0; streamKeysIndex < streamKeysJsonList.GetLength(); ++streamKeysIndex) { - m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + m_streamKeys.push_back(streamKeysJsonList[streamKeysIndex].AsObject()); } } - if(jsonValue.ValueExists("streamKeys")) + if(jsonValue.ValueExists("errors")) { - Aws::Utils::Array streamKeysJsonList = jsonValue.GetArray("streamKeys"); - for(unsigned streamKeysIndex = 0; streamKeysIndex < streamKeysJsonList.GetLength(); ++streamKeysIndex) + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) { - m_streamKeys.push_back(streamKeysJsonList[streamKeysIndex].AsObject()); + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); } } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/BatchStartViewerSessionRevocationError.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/BatchStartViewerSessionRevocationError.cpp index 72e84e228ba..90ce6931ab2 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/BatchStartViewerSessionRevocationError.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/BatchStartViewerSessionRevocationError.cpp @@ -20,9 +20,9 @@ namespace Model BatchStartViewerSessionRevocationError::BatchStartViewerSessionRevocationError() : m_channelArnHasBeenSet(false), + m_viewerIdHasBeenSet(false), m_codeHasBeenSet(false), - m_messageHasBeenSet(false), - m_viewerIdHasBeenSet(false) + m_messageHasBeenSet(false) { } @@ -41,6 +41,13 @@ BatchStartViewerSessionRevocationError& BatchStartViewerSessionRevocationError:: m_channelArnHasBeenSet = true; } + if(jsonValue.ValueExists("viewerId")) + { + m_viewerId = jsonValue.GetString("viewerId"); + + m_viewerIdHasBeenSet = true; + } + if(jsonValue.ValueExists("code")) { m_code = jsonValue.GetString("code"); @@ -55,13 +62,6 @@ BatchStartViewerSessionRevocationError& BatchStartViewerSessionRevocationError:: m_messageHasBeenSet = true; } - if(jsonValue.ValueExists("viewerId")) - { - m_viewerId = jsonValue.GetString("viewerId"); - - m_viewerIdHasBeenSet = true; - } - return *this; } @@ -75,21 +75,21 @@ JsonValue BatchStartViewerSessionRevocationError::Jsonize() const } - if(m_codeHasBeenSet) + if(m_viewerIdHasBeenSet) { - payload.WithString("code", m_code); + payload.WithString("viewerId", m_viewerId); } - if(m_messageHasBeenSet) + if(m_codeHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("code", m_code); } - if(m_viewerIdHasBeenSet) + if(m_messageHasBeenSet) { - payload.WithString("viewerId", m_viewerId); + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp index 58ae113551f..ed300880d2d 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp @@ -20,23 +20,23 @@ namespace Model Channel::Channel() : m_arnHasBeenSet(false), + m_nameHasBeenSet(false), + m_latencyMode(ChannelLatencyMode::NOT_SET), + m_latencyModeHasBeenSet(false), + m_type(ChannelType::NOT_SET), + m_typeHasBeenSet(false), + m_recordingConfigurationArnHasBeenSet(false), + m_ingestEndpointHasBeenSet(false), + m_playbackUrlHasBeenSet(false), m_authorized(false), m_authorizedHasBeenSet(false), - m_ingestEndpointHasBeenSet(false), + m_tagsHasBeenSet(false), m_insecureIngest(false), m_insecureIngestHasBeenSet(false), - m_latencyMode(ChannelLatencyMode::NOT_SET), - m_latencyModeHasBeenSet(false), - m_nameHasBeenSet(false), - m_playbackRestrictionPolicyArnHasBeenSet(false), - m_playbackUrlHasBeenSet(false), m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), - m_recordingConfigurationArnHasBeenSet(false), m_srtHasBeenSet(false), - m_tagsHasBeenSet(false), - m_type(ChannelType::NOT_SET), - m_typeHasBeenSet(false) + m_playbackRestrictionPolicyArnHasBeenSet(false) { } @@ -55,67 +55,77 @@ Channel& Channel::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("authorized")) + if(jsonValue.ValueExists("name")) { - m_authorized = jsonValue.GetBool("authorized"); + m_name = jsonValue.GetString("name"); - m_authorizedHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("ingestEndpoint")) + if(jsonValue.ValueExists("latencyMode")) { - m_ingestEndpoint = jsonValue.GetString("ingestEndpoint"); + m_latencyMode = ChannelLatencyModeMapper::GetChannelLatencyModeForName(jsonValue.GetString("latencyMode")); - m_ingestEndpointHasBeenSet = true; + m_latencyModeHasBeenSet = true; } - if(jsonValue.ValueExists("insecureIngest")) + if(jsonValue.ValueExists("type")) { - m_insecureIngest = jsonValue.GetBool("insecureIngest"); + m_type = ChannelTypeMapper::GetChannelTypeForName(jsonValue.GetString("type")); - m_insecureIngestHasBeenSet = true; + m_typeHasBeenSet = true; } - if(jsonValue.ValueExists("latencyMode")) + if(jsonValue.ValueExists("recordingConfigurationArn")) { - m_latencyMode = ChannelLatencyModeMapper::GetChannelLatencyModeForName(jsonValue.GetString("latencyMode")); + m_recordingConfigurationArn = jsonValue.GetString("recordingConfigurationArn"); - m_latencyModeHasBeenSet = true; + m_recordingConfigurationArnHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("ingestEndpoint")) { - m_name = jsonValue.GetString("name"); + m_ingestEndpoint = jsonValue.GetString("ingestEndpoint"); - m_nameHasBeenSet = true; + m_ingestEndpointHasBeenSet = true; } - if(jsonValue.ValueExists("playbackRestrictionPolicyArn")) + if(jsonValue.ValueExists("playbackUrl")) { - m_playbackRestrictionPolicyArn = jsonValue.GetString("playbackRestrictionPolicyArn"); + m_playbackUrl = jsonValue.GetString("playbackUrl"); - m_playbackRestrictionPolicyArnHasBeenSet = true; + m_playbackUrlHasBeenSet = true; } - if(jsonValue.ValueExists("playbackUrl")) + if(jsonValue.ValueExists("authorized")) { - m_playbackUrl = jsonValue.GetString("playbackUrl"); + m_authorized = jsonValue.GetBool("authorized"); - m_playbackUrlHasBeenSet = true; + m_authorizedHasBeenSet = true; } - if(jsonValue.ValueExists("preset")) + if(jsonValue.ValueExists("tags")) { - m_preset = TranscodePresetMapper::GetTranscodePresetForName(jsonValue.GetString("preset")); + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + m_tagsHasBeenSet = true; + } - m_presetHasBeenSet = true; + if(jsonValue.ValueExists("insecureIngest")) + { + m_insecureIngest = jsonValue.GetBool("insecureIngest"); + + m_insecureIngestHasBeenSet = true; } - if(jsonValue.ValueExists("recordingConfigurationArn")) + if(jsonValue.ValueExists("preset")) { - m_recordingConfigurationArn = jsonValue.GetString("recordingConfigurationArn"); + m_preset = TranscodePresetMapper::GetTranscodePresetForName(jsonValue.GetString("preset")); - m_recordingConfigurationArnHasBeenSet = true; + m_presetHasBeenSet = true; } if(jsonValue.ValueExists("srt")) @@ -125,21 +135,11 @@ Channel& Channel::operator =(JsonView jsonValue) m_srtHasBeenSet = true; } - if(jsonValue.ValueExists("tags")) - { - Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); - for(auto& tagsItem : tagsJsonMap) - { - m_tags[tagsItem.first] = tagsItem.second.AsString(); - } - m_tagsHasBeenSet = true; - } - - if(jsonValue.ValueExists("type")) + if(jsonValue.ValueExists("playbackRestrictionPolicyArn")) { - m_type = ChannelTypeMapper::GetChannelTypeForName(jsonValue.GetString("type")); + m_playbackRestrictionPolicyArn = jsonValue.GetString("playbackRestrictionPolicyArn"); - m_typeHasBeenSet = true; + m_playbackRestrictionPolicyArnHasBeenSet = true; } return *this; @@ -155,56 +155,66 @@ JsonValue Channel::Jsonize() const } - if(m_authorizedHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithBool("authorized", m_authorized); + payload.WithString("name", m_name); } - if(m_ingestEndpointHasBeenSet) + if(m_latencyModeHasBeenSet) { - payload.WithString("ingestEndpoint", m_ingestEndpoint); + payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); + } + if(m_typeHasBeenSet) + { + payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } - if(m_insecureIngestHasBeenSet) + if(m_recordingConfigurationArnHasBeenSet) { - payload.WithBool("insecureIngest", m_insecureIngest); + payload.WithString("recordingConfigurationArn", m_recordingConfigurationArn); } - if(m_latencyModeHasBeenSet) + if(m_ingestEndpointHasBeenSet) { - payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); + payload.WithString("ingestEndpoint", m_ingestEndpoint); + } - if(m_nameHasBeenSet) + if(m_playbackUrlHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("playbackUrl", m_playbackUrl); } - if(m_playbackRestrictionPolicyArnHasBeenSet) + if(m_authorizedHasBeenSet) { - payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); + payload.WithBool("authorized", m_authorized); } - if(m_playbackUrlHasBeenSet) + if(m_tagsHasBeenSet) { - payload.WithString("playbackUrl", m_playbackUrl); + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); } - if(m_presetHasBeenSet) + if(m_insecureIngestHasBeenSet) { - payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); + payload.WithBool("insecureIngest", m_insecureIngest); + } - if(m_recordingConfigurationArnHasBeenSet) + if(m_presetHasBeenSet) { - payload.WithString("recordingConfigurationArn", m_recordingConfigurationArn); - + payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); } if(m_srtHasBeenSet) @@ -213,20 +223,10 @@ JsonValue Channel::Jsonize() const } - if(m_tagsHasBeenSet) + if(m_playbackRestrictionPolicyArnHasBeenSet) { - JsonValue tagsJsonMap; - for(auto& tagsItem : m_tags) - { - tagsJsonMap.WithString(tagsItem.first, tagsItem.second); - } - payload.WithObject("tags", std::move(tagsJsonMap)); - - } + payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); - if(m_typeHasBeenSet) - { - payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } return payload; diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ChannelSummary.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ChannelSummary.cpp index 74a212c28c7..5510524ebc3 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ChannelSummary.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ChannelSummary.cpp @@ -20,20 +20,20 @@ namespace Model ChannelSummary::ChannelSummary() : m_arnHasBeenSet(false), + m_nameHasBeenSet(false), + m_latencyMode(ChannelLatencyMode::NOT_SET), + m_latencyModeHasBeenSet(false), m_authorized(false), m_authorizedHasBeenSet(false), + m_recordingConfigurationArnHasBeenSet(false), + m_tagsHasBeenSet(false), m_insecureIngest(false), m_insecureIngestHasBeenSet(false), - m_latencyMode(ChannelLatencyMode::NOT_SET), - m_latencyModeHasBeenSet(false), - m_nameHasBeenSet(false), - m_playbackRestrictionPolicyArnHasBeenSet(false), + m_type(ChannelType::NOT_SET), + m_typeHasBeenSet(false), m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), - m_recordingConfigurationArnHasBeenSet(false), - m_tagsHasBeenSet(false), - m_type(ChannelType::NOT_SET), - m_typeHasBeenSet(false) + m_playbackRestrictionPolicyArnHasBeenSet(false) { } @@ -52,27 +52,6 @@ ChannelSummary& ChannelSummary::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("authorized")) - { - m_authorized = jsonValue.GetBool("authorized"); - - m_authorizedHasBeenSet = true; - } - - if(jsonValue.ValueExists("insecureIngest")) - { - m_insecureIngest = jsonValue.GetBool("insecureIngest"); - - m_insecureIngestHasBeenSet = true; - } - - if(jsonValue.ValueExists("latencyMode")) - { - m_latencyMode = ChannelLatencyModeMapper::GetChannelLatencyModeForName(jsonValue.GetString("latencyMode")); - - m_latencyModeHasBeenSet = true; - } - if(jsonValue.ValueExists("name")) { m_name = jsonValue.GetString("name"); @@ -80,18 +59,18 @@ ChannelSummary& ChannelSummary::operator =(JsonView jsonValue) m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("playbackRestrictionPolicyArn")) + if(jsonValue.ValueExists("latencyMode")) { - m_playbackRestrictionPolicyArn = jsonValue.GetString("playbackRestrictionPolicyArn"); + m_latencyMode = ChannelLatencyModeMapper::GetChannelLatencyModeForName(jsonValue.GetString("latencyMode")); - m_playbackRestrictionPolicyArnHasBeenSet = true; + m_latencyModeHasBeenSet = true; } - if(jsonValue.ValueExists("preset")) + if(jsonValue.ValueExists("authorized")) { - m_preset = TranscodePresetMapper::GetTranscodePresetForName(jsonValue.GetString("preset")); + m_authorized = jsonValue.GetBool("authorized"); - m_presetHasBeenSet = true; + m_authorizedHasBeenSet = true; } if(jsonValue.ValueExists("recordingConfigurationArn")) @@ -111,6 +90,13 @@ ChannelSummary& ChannelSummary::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } + if(jsonValue.ValueExists("insecureIngest")) + { + m_insecureIngest = jsonValue.GetBool("insecureIngest"); + + m_insecureIngestHasBeenSet = true; + } + if(jsonValue.ValueExists("type")) { m_type = ChannelTypeMapper::GetChannelTypeForName(jsonValue.GetString("type")); @@ -118,6 +104,20 @@ ChannelSummary& ChannelSummary::operator =(JsonView jsonValue) m_typeHasBeenSet = true; } + if(jsonValue.ValueExists("preset")) + { + m_preset = TranscodePresetMapper::GetTranscodePresetForName(jsonValue.GetString("preset")); + + m_presetHasBeenSet = true; + } + + if(jsonValue.ValueExists("playbackRestrictionPolicyArn")) + { + m_playbackRestrictionPolicyArn = jsonValue.GetString("playbackRestrictionPolicyArn"); + + m_playbackRestrictionPolicyArnHasBeenSet = true; + } + return *this; } @@ -131,15 +131,9 @@ JsonValue ChannelSummary::Jsonize() const } - if(m_authorizedHasBeenSet) - { - payload.WithBool("authorized", m_authorized); - - } - - if(m_insecureIngestHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithBool("insecureIngest", m_insecureIngest); + payload.WithString("name", m_name); } @@ -148,21 +142,10 @@ JsonValue ChannelSummary::Jsonize() const payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); } - if(m_nameHasBeenSet) - { - payload.WithString("name", m_name); - - } - - if(m_playbackRestrictionPolicyArnHasBeenSet) + if(m_authorizedHasBeenSet) { - payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); - - } + payload.WithBool("authorized", m_authorized); - if(m_presetHasBeenSet) - { - payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); } if(m_recordingConfigurationArnHasBeenSet) @@ -182,11 +165,28 @@ JsonValue ChannelSummary::Jsonize() const } + if(m_insecureIngestHasBeenSet) + { + payload.WithBool("insecureIngest", m_insecureIngest); + + } + if(m_typeHasBeenSet) { payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } + if(m_presetHasBeenSet) + { + payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); + } + + if(m_playbackRestrictionPolicyArnHasBeenSet) + { + payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/CreateChannelRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/CreateChannelRequest.cpp index 4d72dc4cba6..0b3cae3d165 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/CreateChannelRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/CreateChannelRequest.cpp @@ -13,20 +13,20 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateChannelRequest::CreateChannelRequest() : + m_nameHasBeenSet(false), + m_latencyMode(ChannelLatencyMode::NOT_SET), + m_latencyModeHasBeenSet(false), + m_type(ChannelType::NOT_SET), + m_typeHasBeenSet(false), m_authorized(false), m_authorizedHasBeenSet(false), + m_recordingConfigurationArnHasBeenSet(false), + m_tagsHasBeenSet(false), m_insecureIngest(false), m_insecureIngestHasBeenSet(false), - m_latencyMode(ChannelLatencyMode::NOT_SET), - m_latencyModeHasBeenSet(false), - m_nameHasBeenSet(false), - m_playbackRestrictionPolicyArnHasBeenSet(false), m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), - m_recordingConfigurationArnHasBeenSet(false), - m_tagsHasBeenSet(false), - m_type(ChannelType::NOT_SET), - m_typeHasBeenSet(false) + m_playbackRestrictionPolicyArnHasBeenSet(false) { } @@ -34,15 +34,9 @@ Aws::String CreateChannelRequest::SerializePayload() const { JsonValue payload; - if(m_authorizedHasBeenSet) - { - payload.WithBool("authorized", m_authorized); - - } - - if(m_insecureIngestHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithBool("insecureIngest", m_insecureIngest); + payload.WithString("name", m_name); } @@ -51,23 +45,17 @@ Aws::String CreateChannelRequest::SerializePayload() const payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); } - if(m_nameHasBeenSet) + if(m_typeHasBeenSet) { - payload.WithString("name", m_name); - + payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } - if(m_playbackRestrictionPolicyArnHasBeenSet) + if(m_authorizedHasBeenSet) { - payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); + payload.WithBool("authorized", m_authorized); } - if(m_presetHasBeenSet) - { - payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); - } - if(m_recordingConfigurationArnHasBeenSet) { payload.WithString("recordingConfigurationArn", m_recordingConfigurationArn); @@ -85,9 +73,21 @@ Aws::String CreateChannelRequest::SerializePayload() const } - if(m_typeHasBeenSet) + if(m_insecureIngestHasBeenSet) { - payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); + payload.WithBool("insecureIngest", m_insecureIngest); + + } + + if(m_presetHasBeenSet) + { + payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); + } + + if(m_playbackRestrictionPolicyArnHasBeenSet) + { + payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); + } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/CreateRecordingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/CreateRecordingConfigurationRequest.cpp index ad7afa9bdef..23705b3e789 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/CreateRecordingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/CreateRecordingConfigurationRequest.cpp @@ -13,13 +13,13 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateRecordingConfigurationRequest::CreateRecordingConfigurationRequest() : - m_destinationConfigurationHasBeenSet(false), m_nameHasBeenSet(false), + m_destinationConfigurationHasBeenSet(false), + m_tagsHasBeenSet(false), + m_thumbnailConfigurationHasBeenSet(false), m_recordingReconnectWindowSeconds(0), m_recordingReconnectWindowSecondsHasBeenSet(false), - m_renditionConfigurationHasBeenSet(false), - m_tagsHasBeenSet(false), - m_thumbnailConfigurationHasBeenSet(false) + m_renditionConfigurationHasBeenSet(false) { } @@ -27,27 +27,15 @@ Aws::String CreateRecordingConfigurationRequest::SerializePayload() const { JsonValue payload; - if(m_destinationConfigurationHasBeenSet) - { - payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); - - } - if(m_nameHasBeenSet) { payload.WithString("name", m_name); } - if(m_recordingReconnectWindowSecondsHasBeenSet) - { - payload.WithInteger("recordingReconnectWindowSeconds", m_recordingReconnectWindowSeconds); - - } - - if(m_renditionConfigurationHasBeenSet) + if(m_destinationConfigurationHasBeenSet) { - payload.WithObject("renditionConfiguration", m_renditionConfiguration.Jsonize()); + payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); } @@ -68,6 +56,18 @@ Aws::String CreateRecordingConfigurationRequest::SerializePayload() const } + if(m_recordingReconnectWindowSecondsHasBeenSet) + { + payload.WithInteger("recordingReconnectWindowSeconds", m_recordingReconnectWindowSeconds); + + } + + if(m_renditionConfigurationHasBeenSet) + { + payload.WithObject("renditionConfiguration", m_renditionConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ImportPlaybackKeyPairRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ImportPlaybackKeyPairRequest.cpp index 08fd6abe7bf..1cfe8db99f0 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ImportPlaybackKeyPairRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ImportPlaybackKeyPairRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ImportPlaybackKeyPairRequest::ImportPlaybackKeyPairRequest() : - m_nameHasBeenSet(false), m_publicKeyMaterialHasBeenSet(false), + m_nameHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String ImportPlaybackKeyPairRequest::SerializePayload() const { JsonValue payload; - if(m_nameHasBeenSet) + if(m_publicKeyMaterialHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("publicKeyMaterial", m_publicKeyMaterial); } - if(m_publicKeyMaterialHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("publicKeyMaterial", m_publicKeyMaterial); + payload.WithString("name", m_name); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/IngestConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/IngestConfiguration.cpp index daba3b2d851..f5d3f2a4d02 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/IngestConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/IngestConfiguration.cpp @@ -19,8 +19,8 @@ namespace Model { IngestConfiguration::IngestConfiguration() : - m_audioHasBeenSet(false), - m_videoHasBeenSet(false) + m_videoHasBeenSet(false), + m_audioHasBeenSet(false) { } @@ -32,18 +32,18 @@ IngestConfiguration::IngestConfiguration(JsonView jsonValue) IngestConfiguration& IngestConfiguration::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("audio")) + if(jsonValue.ValueExists("video")) { - m_audio = jsonValue.GetObject("audio"); + m_video = jsonValue.GetObject("video"); - m_audioHasBeenSet = true; + m_videoHasBeenSet = true; } - if(jsonValue.ValueExists("video")) + if(jsonValue.ValueExists("audio")) { - m_video = jsonValue.GetObject("video"); + m_audio = jsonValue.GetObject("audio"); - m_videoHasBeenSet = true; + m_audioHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue IngestConfiguration::Jsonize() const { JsonValue payload; - if(m_audioHasBeenSet) + if(m_videoHasBeenSet) { - payload.WithObject("audio", m_audio.Jsonize()); + payload.WithObject("video", m_video.Jsonize()); } - if(m_videoHasBeenSet) + if(m_audioHasBeenSet) { - payload.WithObject("video", m_video.Jsonize()); + payload.WithObject("audio", m_audio.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListChannelsRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListChannelsRequest.cpp index 6c35e44a3f6..228a8eeddd6 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListChannelsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListChannelsRequest.cpp @@ -14,11 +14,11 @@ using namespace Aws::Utils; ListChannelsRequest::ListChannelsRequest() : m_filterByNameHasBeenSet(false), - m_filterByPlaybackRestrictionPolicyArnHasBeenSet(false), m_filterByRecordingConfigurationArnHasBeenSet(false), + m_filterByPlaybackRestrictionPolicyArnHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -32,21 +32,15 @@ Aws::String ListChannelsRequest::SerializePayload() const } - if(m_filterByPlaybackRestrictionPolicyArnHasBeenSet) - { - payload.WithString("filterByPlaybackRestrictionPolicyArn", m_filterByPlaybackRestrictionPolicyArn); - - } - if(m_filterByRecordingConfigurationArnHasBeenSet) { payload.WithString("filterByRecordingConfigurationArn", m_filterByRecordingConfigurationArn); } - if(m_maxResultsHasBeenSet) + if(m_filterByPlaybackRestrictionPolicyArnHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); + payload.WithString("filterByPlaybackRestrictionPolicyArn", m_filterByPlaybackRestrictionPolicyArn); } @@ -56,6 +50,12 @@ Aws::String ListChannelsRequest::SerializePayload() const } + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("maxResults", m_maxResults); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackKeyPairsRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackKeyPairsRequest.cpp index 5b81bf67273..3f4b86d2382 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackKeyPairsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackKeyPairsRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListPlaybackKeyPairsRequest::ListPlaybackKeyPairsRequest() : + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String ListPlaybackKeyPairsRequest::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-ivs/source/model/ListPlaybackRestrictionPoliciesRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesRequest.cpp index 60849ea466b..2fabe7dc743 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListPlaybackRestrictionPoliciesRequest::ListPlaybackRestrictionPoliciesRequest() : + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String ListPlaybackRestrictionPoliciesRequest::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-ivs/source/model/ListPlaybackRestrictionPoliciesResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesResult.cpp index 01dedc1b7bb..58c492c9ab2 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListPlaybackRestrictionPoliciesResult.cpp @@ -29,12 +29,6 @@ ListPlaybackRestrictionPoliciesResult::ListPlaybackRestrictionPoliciesResult(con ListPlaybackRestrictionPoliciesResult& ListPlaybackRestrictionPoliciesResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("playbackRestrictionPolicies")) { Aws::Utils::Array playbackRestrictionPoliciesJsonList = jsonValue.GetArray("playbackRestrictionPolicies"); @@ -44,6 +38,12 @@ ListPlaybackRestrictionPoliciesResult& ListPlaybackRestrictionPoliciesResult::op } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsRequest.cpp index 790543ade28..579a0e02a31 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListRecordingConfigurationsRequest::ListRecordingConfigurationsRequest() : + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String ListRecordingConfigurationsRequest::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-ivs/source/model/ListRecordingConfigurationsResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsResult.cpp index 2497b831fc7..474bea22e33 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListRecordingConfigurationsResult.cpp @@ -29,12 +29,6 @@ ListRecordingConfigurationsResult::ListRecordingConfigurationsResult(const Aws:: ListRecordingConfigurationsResult& ListRecordingConfigurationsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("recordingConfigurations")) { Aws::Utils::Array recordingConfigurationsJsonList = jsonValue.GetArray("recordingConfigurations"); @@ -44,6 +38,12 @@ ListRecordingConfigurationsResult& ListRecordingConfigurationsResult::operator = } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysRequest.cpp index 0ed1222fd8b..d4cf775fa12 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysRequest.cpp @@ -14,9 +14,9 @@ using namespace Aws::Utils; ListStreamKeysRequest::ListStreamKeysRequest() : m_channelArnHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -30,15 +30,15 @@ Aws::String ListStreamKeysRequest::SerializePayload() const } - 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-ivs/source/model/ListStreamKeysResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysResult.cpp index 9777d8451ff..d9d327bf34c 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamKeysResult.cpp @@ -29,12 +29,6 @@ ListStreamKeysResult::ListStreamKeysResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("streamKeys")) { Aws::Utils::Array streamKeysJsonList = jsonValue.GetArray("streamKeys"); @@ -44,6 +38,12 @@ ListStreamKeysResult& ListStreamKeysResult::operator =(const Aws::AmazonWebServi } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsRequest.cpp index ea29847fde6..d6342ae8f50 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsRequest.cpp @@ -14,9 +14,9 @@ using namespace Aws::Utils; ListStreamSessionsRequest::ListStreamSessionsRequest() : m_channelArnHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -30,15 +30,15 @@ Aws::String ListStreamSessionsRequest::SerializePayload() const } - 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-ivs/source/model/ListStreamSessionsResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsResult.cpp index 7df03032a95..987d490c600 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamSessionsResult.cpp @@ -29,12 +29,6 @@ ListStreamSessionsResult::ListStreamSessionsResult(const Aws::AmazonWebServiceRe ListStreamSessionsResult& ListStreamSessionsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("streamSessions")) { Aws::Utils::Array streamSessionsJsonList = jsonValue.GetArray("streamSessions"); @@ -44,6 +38,12 @@ ListStreamSessionsResult& ListStreamSessionsResult::operator =(const Aws::Amazon } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsRequest.cpp index 9ec23bb7772..f22dc7e82ce 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsRequest.cpp @@ -14,9 +14,9 @@ using namespace Aws::Utils; ListStreamsRequest::ListStreamsRequest() : m_filterByHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -30,15 +30,15 @@ Aws::String ListStreamsRequest::SerializePayload() const } - 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-ivs/source/model/ListStreamsResult.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsResult.cpp index 17e27396cce..f61900bb4a7 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsResult.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ListStreamsResult.cpp @@ -29,12 +29,6 @@ ListStreamsResult::ListStreamsResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("streams")) { Aws::Utils::Array streamsJsonList = jsonValue.GetArray("streams"); @@ -44,6 +38,12 @@ ListStreamsResult& ListStreamsResult::operator =(const Aws::AmazonWebServiceResu } } + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackKeyPair.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackKeyPair.cpp index 6992930e88d..4f5f06890bd 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackKeyPair.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackKeyPair.cpp @@ -20,8 +20,8 @@ namespace Model PlaybackKeyPair::PlaybackKeyPair() : m_arnHasBeenSet(false), - m_fingerprintHasBeenSet(false), m_nameHasBeenSet(false), + m_fingerprintHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -41,18 +41,18 @@ PlaybackKeyPair& PlaybackKeyPair::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("fingerprint")) + if(jsonValue.ValueExists("name")) { - m_fingerprint = jsonValue.GetString("fingerprint"); + m_name = jsonValue.GetString("name"); - m_fingerprintHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("fingerprint")) { - m_name = jsonValue.GetString("name"); + m_fingerprint = jsonValue.GetString("fingerprint"); - m_nameHasBeenSet = true; + m_fingerprintHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -78,15 +78,15 @@ JsonValue PlaybackKeyPair::Jsonize() const } - if(m_fingerprintHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("fingerprint", m_fingerprint); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_fingerprintHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("fingerprint", m_fingerprint); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicy.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicy.cpp index 3e89dc5d2df..88d1d3cf814 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicy.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicy.cpp @@ -19,9 +19,9 @@ namespace Model { PlaybackRestrictionPolicy::PlaybackRestrictionPolicy() : + m_arnHasBeenSet(false), m_allowedCountriesHasBeenSet(false), m_allowedOriginsHasBeenSet(false), - m_arnHasBeenSet(false), m_enableStrictOriginEnforcement(false), m_enableStrictOriginEnforcementHasBeenSet(false), m_nameHasBeenSet(false), @@ -37,6 +37,13 @@ PlaybackRestrictionPolicy::PlaybackRestrictionPolicy(JsonView jsonValue) PlaybackRestrictionPolicy& PlaybackRestrictionPolicy::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + m_arnHasBeenSet = true; + } + if(jsonValue.ValueExists("allowedCountries")) { Aws::Utils::Array allowedCountriesJsonList = jsonValue.GetArray("allowedCountries"); @@ -57,13 +64,6 @@ PlaybackRestrictionPolicy& PlaybackRestrictionPolicy::operator =(JsonView jsonVa m_allowedOriginsHasBeenSet = true; } - if(jsonValue.ValueExists("arn")) - { - m_arn = jsonValue.GetString("arn"); - - m_arnHasBeenSet = true; - } - if(jsonValue.ValueExists("enableStrictOriginEnforcement")) { m_enableStrictOriginEnforcement = jsonValue.GetBool("enableStrictOriginEnforcement"); @@ -95,6 +95,12 @@ JsonValue PlaybackRestrictionPolicy::Jsonize() const { JsonValue payload; + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + if(m_allowedCountriesHasBeenSet) { Aws::Utils::Array allowedCountriesJsonList(m_allowedCountries.size()); @@ -117,12 +123,6 @@ JsonValue PlaybackRestrictionPolicy::Jsonize() const } - if(m_arnHasBeenSet) - { - payload.WithString("arn", m_arn); - - } - if(m_enableStrictOriginEnforcementHasBeenSet) { payload.WithBool("enableStrictOriginEnforcement", m_enableStrictOriginEnforcement); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicySummary.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicySummary.cpp index 296399f16d5..963e7e2f189 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicySummary.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/PlaybackRestrictionPolicySummary.cpp @@ -19,9 +19,9 @@ namespace Model { PlaybackRestrictionPolicySummary::PlaybackRestrictionPolicySummary() : + m_arnHasBeenSet(false), m_allowedCountriesHasBeenSet(false), m_allowedOriginsHasBeenSet(false), - m_arnHasBeenSet(false), m_enableStrictOriginEnforcement(false), m_enableStrictOriginEnforcementHasBeenSet(false), m_nameHasBeenSet(false), @@ -37,6 +37,13 @@ PlaybackRestrictionPolicySummary::PlaybackRestrictionPolicySummary(JsonView json PlaybackRestrictionPolicySummary& PlaybackRestrictionPolicySummary::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("arn")) + { + m_arn = jsonValue.GetString("arn"); + + m_arnHasBeenSet = true; + } + if(jsonValue.ValueExists("allowedCountries")) { Aws::Utils::Array allowedCountriesJsonList = jsonValue.GetArray("allowedCountries"); @@ -57,13 +64,6 @@ PlaybackRestrictionPolicySummary& PlaybackRestrictionPolicySummary::operator =(J m_allowedOriginsHasBeenSet = true; } - if(jsonValue.ValueExists("arn")) - { - m_arn = jsonValue.GetString("arn"); - - m_arnHasBeenSet = true; - } - if(jsonValue.ValueExists("enableStrictOriginEnforcement")) { m_enableStrictOriginEnforcement = jsonValue.GetBool("enableStrictOriginEnforcement"); @@ -95,6 +95,12 @@ JsonValue PlaybackRestrictionPolicySummary::Jsonize() const { JsonValue payload; + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + if(m_allowedCountriesHasBeenSet) { Aws::Utils::Array allowedCountriesJsonList(m_allowedCountries.size()); @@ -117,12 +123,6 @@ JsonValue PlaybackRestrictionPolicySummary::Jsonize() const } - if(m_arnHasBeenSet) - { - payload.WithString("arn", m_arn); - - } - if(m_enableStrictOriginEnforcementHasBeenSet) { payload.WithBool("enableStrictOriginEnforcement", m_enableStrictOriginEnforcement); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfiguration.cpp index fcd40e5d499..4c6550ae19b 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfiguration.cpp @@ -20,15 +20,15 @@ namespace Model RecordingConfiguration::RecordingConfiguration() : m_arnHasBeenSet(false), - m_destinationConfigurationHasBeenSet(false), m_nameHasBeenSet(false), - m_recordingReconnectWindowSeconds(0), - m_recordingReconnectWindowSecondsHasBeenSet(false), - m_renditionConfigurationHasBeenSet(false), + m_destinationConfigurationHasBeenSet(false), m_state(RecordingConfigurationState::NOT_SET), m_stateHasBeenSet(false), m_tagsHasBeenSet(false), - m_thumbnailConfigurationHasBeenSet(false) + m_thumbnailConfigurationHasBeenSet(false), + m_recordingReconnectWindowSeconds(0), + m_recordingReconnectWindowSecondsHasBeenSet(false), + m_renditionConfigurationHasBeenSet(false) { } @@ -47,13 +47,6 @@ RecordingConfiguration& RecordingConfiguration::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("destinationConfiguration")) - { - m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); - - m_destinationConfigurationHasBeenSet = true; - } - if(jsonValue.ValueExists("name")) { m_name = jsonValue.GetString("name"); @@ -61,18 +54,11 @@ RecordingConfiguration& RecordingConfiguration::operator =(JsonView jsonValue) m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("recordingReconnectWindowSeconds")) - { - m_recordingReconnectWindowSeconds = jsonValue.GetInteger("recordingReconnectWindowSeconds"); - - m_recordingReconnectWindowSecondsHasBeenSet = true; - } - - if(jsonValue.ValueExists("renditionConfiguration")) + if(jsonValue.ValueExists("destinationConfiguration")) { - m_renditionConfiguration = jsonValue.GetObject("renditionConfiguration"); + m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); - m_renditionConfigurationHasBeenSet = true; + m_destinationConfigurationHasBeenSet = true; } if(jsonValue.ValueExists("state")) @@ -99,6 +85,20 @@ RecordingConfiguration& RecordingConfiguration::operator =(JsonView jsonValue) m_thumbnailConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("recordingReconnectWindowSeconds")) + { + m_recordingReconnectWindowSeconds = jsonValue.GetInteger("recordingReconnectWindowSeconds"); + + m_recordingReconnectWindowSecondsHasBeenSet = true; + } + + if(jsonValue.ValueExists("renditionConfiguration")) + { + m_renditionConfiguration = jsonValue.GetObject("renditionConfiguration"); + + m_renditionConfigurationHasBeenSet = true; + } + return *this; } @@ -112,27 +112,15 @@ JsonValue RecordingConfiguration::Jsonize() const } - if(m_destinationConfigurationHasBeenSet) - { - payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); - - } - if(m_nameHasBeenSet) { payload.WithString("name", m_name); } - if(m_recordingReconnectWindowSecondsHasBeenSet) - { - payload.WithInteger("recordingReconnectWindowSeconds", m_recordingReconnectWindowSeconds); - - } - - if(m_renditionConfigurationHasBeenSet) + if(m_destinationConfigurationHasBeenSet) { - payload.WithObject("renditionConfiguration", m_renditionConfiguration.Jsonize()); + payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); } @@ -158,6 +146,18 @@ JsonValue RecordingConfiguration::Jsonize() const } + if(m_recordingReconnectWindowSecondsHasBeenSet) + { + payload.WithInteger("recordingReconnectWindowSeconds", m_recordingReconnectWindowSeconds); + + } + + if(m_renditionConfigurationHasBeenSet) + { + payload.WithObject("renditionConfiguration", m_renditionConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfigurationSummary.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfigurationSummary.cpp index 4d41adf6408..d6bde4668a2 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfigurationSummary.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/RecordingConfigurationSummary.cpp @@ -20,8 +20,8 @@ namespace Model RecordingConfigurationSummary::RecordingConfigurationSummary() : m_arnHasBeenSet(false), - m_destinationConfigurationHasBeenSet(false), m_nameHasBeenSet(false), + m_destinationConfigurationHasBeenSet(false), m_state(RecordingConfigurationState::NOT_SET), m_stateHasBeenSet(false), m_tagsHasBeenSet(false) @@ -43,18 +43,18 @@ RecordingConfigurationSummary& RecordingConfigurationSummary::operator =(JsonVie m_arnHasBeenSet = true; } - if(jsonValue.ValueExists("destinationConfiguration")) + if(jsonValue.ValueExists("name")) { - m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + m_name = jsonValue.GetString("name"); - m_destinationConfigurationHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("destinationConfiguration")) { - m_name = jsonValue.GetString("name"); + m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); - m_nameHasBeenSet = true; + m_destinationConfigurationHasBeenSet = true; } if(jsonValue.ValueExists("state")) @@ -87,15 +87,15 @@ JsonValue RecordingConfigurationSummary::Jsonize() const } - if(m_destinationConfigurationHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_destinationConfigurationHasBeenSet) { - payload.WithString("name", m_name); + payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/RenditionConfigurationRendition.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/RenditionConfigurationRendition.cpp index 9d6aa8e62a3..4053bcadb8e 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/RenditionConfigurationRendition.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/RenditionConfigurationRendition.cpp @@ -20,26 +20,26 @@ namespace Aws namespace RenditionConfigurationRenditionMapper { - static const int FULL_HD_HASH = HashingUtils::HashString("FULL_HD"); - static const int HD_HASH = HashingUtils::HashString("HD"); static const int SD_HASH = HashingUtils::HashString("SD"); + static const int HD_HASH = HashingUtils::HashString("HD"); + static const int FULL_HD_HASH = HashingUtils::HashString("FULL_HD"); static const int LOWEST_RESOLUTION_HASH = HashingUtils::HashString("LOWEST_RESOLUTION"); RenditionConfigurationRendition GetRenditionConfigurationRenditionForName(const Aws::String& name) { int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == FULL_HD_HASH) + if (hashCode == SD_HASH) { - return RenditionConfigurationRendition::FULL_HD; + return RenditionConfigurationRendition::SD; } else if (hashCode == HD_HASH) { return RenditionConfigurationRendition::HD; } - else if (hashCode == SD_HASH) + else if (hashCode == FULL_HD_HASH) { - return RenditionConfigurationRendition::SD; + return RenditionConfigurationRendition::FULL_HD; } else if (hashCode == LOWEST_RESOLUTION_HASH) { @@ -61,12 +61,12 @@ namespace Aws { case RenditionConfigurationRendition::NOT_SET: return {}; - case RenditionConfigurationRendition::FULL_HD: - return "FULL_HD"; - case RenditionConfigurationRendition::HD: - return "HD"; case RenditionConfigurationRendition::SD: return "SD"; + case RenditionConfigurationRendition::HD: + return "HD"; + case RenditionConfigurationRendition::FULL_HD: + return "FULL_HD"; case RenditionConfigurationRendition::LOWEST_RESOLUTION: return "LOWEST_RESOLUTION"; default: diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/Stream.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/Stream.cpp index 637f57f0937..8adabd704a8 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/Stream.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/Stream.cpp @@ -20,13 +20,13 @@ namespace Model Stream::Stream() : m_channelArnHasBeenSet(false), - m_health(StreamHealth::NOT_SET), - m_healthHasBeenSet(false), + m_streamIdHasBeenSet(false), m_playbackUrlHasBeenSet(false), m_startTimeHasBeenSet(false), m_state(StreamState::NOT_SET), m_stateHasBeenSet(false), - m_streamIdHasBeenSet(false), + m_health(StreamHealth::NOT_SET), + m_healthHasBeenSet(false), m_viewerCount(0), m_viewerCountHasBeenSet(false) { @@ -47,11 +47,11 @@ Stream& Stream::operator =(JsonView jsonValue) m_channelArnHasBeenSet = true; } - if(jsonValue.ValueExists("health")) + if(jsonValue.ValueExists("streamId")) { - m_health = StreamHealthMapper::GetStreamHealthForName(jsonValue.GetString("health")); + m_streamId = jsonValue.GetString("streamId"); - m_healthHasBeenSet = true; + m_streamIdHasBeenSet = true; } if(jsonValue.ValueExists("playbackUrl")) @@ -75,11 +75,11 @@ Stream& Stream::operator =(JsonView jsonValue) m_stateHasBeenSet = true; } - if(jsonValue.ValueExists("streamId")) + if(jsonValue.ValueExists("health")) { - m_streamId = jsonValue.GetString("streamId"); + m_health = StreamHealthMapper::GetStreamHealthForName(jsonValue.GetString("health")); - m_streamIdHasBeenSet = true; + m_healthHasBeenSet = true; } if(jsonValue.ValueExists("viewerCount")) @@ -102,9 +102,10 @@ JsonValue Stream::Jsonize() const } - if(m_healthHasBeenSet) + if(m_streamIdHasBeenSet) { - payload.WithString("health", StreamHealthMapper::GetNameForStreamHealth(m_health)); + payload.WithString("streamId", m_streamId); + } if(m_playbackUrlHasBeenSet) @@ -123,10 +124,9 @@ JsonValue Stream::Jsonize() const payload.WithString("state", StreamStateMapper::GetNameForStreamState(m_state)); } - if(m_streamIdHasBeenSet) + if(m_healthHasBeenSet) { - payload.WithString("streamId", m_streamId); - + payload.WithString("health", StreamHealthMapper::GetNameForStreamHealth(m_health)); } if(m_viewerCountHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/StreamEvent.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/StreamEvent.cpp index 84b11b6823f..5a4e386f05b 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/StreamEvent.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/StreamEvent.cpp @@ -19,9 +19,9 @@ namespace Model { StreamEvent::StreamEvent() : - m_eventTimeHasBeenSet(false), m_nameHasBeenSet(false), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_eventTimeHasBeenSet(false) { } @@ -33,13 +33,6 @@ StreamEvent::StreamEvent(JsonView jsonValue) StreamEvent& StreamEvent::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("eventTime")) - { - m_eventTime = jsonValue.GetString("eventTime"); - - m_eventTimeHasBeenSet = true; - } - if(jsonValue.ValueExists("name")) { m_name = jsonValue.GetString("name"); @@ -54,6 +47,13 @@ StreamEvent& StreamEvent::operator =(JsonView jsonValue) m_typeHasBeenSet = true; } + if(jsonValue.ValueExists("eventTime")) + { + m_eventTime = jsonValue.GetString("eventTime"); + + m_eventTimeHasBeenSet = true; + } + return *this; } @@ -61,11 +61,6 @@ JsonValue StreamEvent::Jsonize() const { JsonValue payload; - if(m_eventTimeHasBeenSet) - { - payload.WithString("eventTime", m_eventTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_nameHasBeenSet) { payload.WithString("name", m_name); @@ -78,6 +73,11 @@ JsonValue StreamEvent::Jsonize() const } + if(m_eventTimeHasBeenSet) + { + payload.WithString("eventTime", m_eventTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/StreamKey.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/StreamKey.cpp index 23bde7554e0..d026df927d8 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/StreamKey.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/StreamKey.cpp @@ -20,9 +20,9 @@ namespace Model StreamKey::StreamKey() : m_arnHasBeenSet(false), + m_valueHasBeenSet(false), m_channelArnHasBeenSet(false), - m_tagsHasBeenSet(false), - m_valueHasBeenSet(false) + m_tagsHasBeenSet(false) { } @@ -41,6 +41,13 @@ StreamKey& StreamKey::operator =(JsonView jsonValue) m_arnHasBeenSet = true; } + if(jsonValue.ValueExists("value")) + { + m_value = jsonValue.GetString("value"); + + m_valueHasBeenSet = true; + } + if(jsonValue.ValueExists("channelArn")) { m_channelArn = jsonValue.GetString("channelArn"); @@ -58,13 +65,6 @@ StreamKey& StreamKey::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("value")) - { - m_value = jsonValue.GetString("value"); - - m_valueHasBeenSet = true; - } - return *this; } @@ -78,6 +78,12 @@ JsonValue StreamKey::Jsonize() const } + if(m_valueHasBeenSet) + { + payload.WithString("value", m_value); + + } + if(m_channelArnHasBeenSet) { payload.WithString("channelArn", m_channelArn); @@ -95,12 +101,6 @@ JsonValue StreamKey::Jsonize() const } - if(m_valueHasBeenSet) - { - payload.WithString("value", m_value); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSession.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSession.cpp index 33196f8a5e5..b1bfb46f0a2 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSession.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSession.cpp @@ -19,12 +19,12 @@ namespace Model { StreamSession::StreamSession() : - m_channelHasBeenSet(false), + m_streamIdHasBeenSet(false), + m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), + m_channelHasBeenSet(false), m_ingestConfigurationHasBeenSet(false), m_recordingConfigurationHasBeenSet(false), - m_startTimeHasBeenSet(false), - m_streamIdHasBeenSet(false), m_truncatedEventsHasBeenSet(false) { } @@ -37,11 +37,18 @@ StreamSession::StreamSession(JsonView jsonValue) StreamSession& StreamSession::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("channel")) + if(jsonValue.ValueExists("streamId")) { - m_channel = jsonValue.GetObject("channel"); + m_streamId = jsonValue.GetString("streamId"); - m_channelHasBeenSet = true; + m_streamIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("startTime")) + { + m_startTime = jsonValue.GetString("startTime"); + + m_startTimeHasBeenSet = true; } if(jsonValue.ValueExists("endTime")) @@ -51,6 +58,13 @@ StreamSession& StreamSession::operator =(JsonView jsonValue) m_endTimeHasBeenSet = true; } + if(jsonValue.ValueExists("channel")) + { + m_channel = jsonValue.GetObject("channel"); + + m_channelHasBeenSet = true; + } + if(jsonValue.ValueExists("ingestConfiguration")) { m_ingestConfiguration = jsonValue.GetObject("ingestConfiguration"); @@ -65,20 +79,6 @@ StreamSession& StreamSession::operator =(JsonView jsonValue) m_recordingConfigurationHasBeenSet = true; } - if(jsonValue.ValueExists("startTime")) - { - m_startTime = jsonValue.GetString("startTime"); - - m_startTimeHasBeenSet = true; - } - - if(jsonValue.ValueExists("streamId")) - { - m_streamId = jsonValue.GetString("streamId"); - - m_streamIdHasBeenSet = true; - } - if(jsonValue.ValueExists("truncatedEvents")) { Aws::Utils::Array truncatedEventsJsonList = jsonValue.GetArray("truncatedEvents"); @@ -96,37 +96,37 @@ JsonValue StreamSession::Jsonize() const { JsonValue payload; - if(m_channelHasBeenSet) + if(m_streamIdHasBeenSet) { - payload.WithObject("channel", m_channel.Jsonize()); + payload.WithString("streamId", m_streamId); } - if(m_endTimeHasBeenSet) + if(m_startTimeHasBeenSet) { - payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_ingestConfigurationHasBeenSet) + if(m_endTimeHasBeenSet) { - payload.WithObject("ingestConfiguration", m_ingestConfiguration.Jsonize()); - + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_recordingConfigurationHasBeenSet) + if(m_channelHasBeenSet) { - payload.WithObject("recordingConfiguration", m_recordingConfiguration.Jsonize()); + payload.WithObject("channel", m_channel.Jsonize()); } - if(m_startTimeHasBeenSet) + if(m_ingestConfigurationHasBeenSet) { - payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + payload.WithObject("ingestConfiguration", m_ingestConfiguration.Jsonize()); + } - if(m_streamIdHasBeenSet) + if(m_recordingConfigurationHasBeenSet) { - payload.WithString("streamId", m_streamId); + payload.WithObject("recordingConfiguration", m_recordingConfiguration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSessionSummary.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSessionSummary.cpp index eb68089a858..02d159cf29e 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSessionSummary.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSessionSummary.cpp @@ -19,11 +19,11 @@ namespace Model { StreamSessionSummary::StreamSessionSummary() : + m_streamIdHasBeenSet(false), + m_startTimeHasBeenSet(false), m_endTimeHasBeenSet(false), m_hasErrorEvent(false), - m_hasErrorEventHasBeenSet(false), - m_startTimeHasBeenSet(false), - m_streamIdHasBeenSet(false) + m_hasErrorEventHasBeenSet(false) { } @@ -35,32 +35,32 @@ StreamSessionSummary::StreamSessionSummary(JsonView jsonValue) StreamSessionSummary& StreamSessionSummary::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("endTime")) + if(jsonValue.ValueExists("streamId")) { - m_endTime = jsonValue.GetString("endTime"); + m_streamId = jsonValue.GetString("streamId"); - m_endTimeHasBeenSet = true; + m_streamIdHasBeenSet = true; } - if(jsonValue.ValueExists("hasErrorEvent")) + if(jsonValue.ValueExists("startTime")) { - m_hasErrorEvent = jsonValue.GetBool("hasErrorEvent"); + m_startTime = jsonValue.GetString("startTime"); - m_hasErrorEventHasBeenSet = true; + m_startTimeHasBeenSet = true; } - if(jsonValue.ValueExists("startTime")) + if(jsonValue.ValueExists("endTime")) { - m_startTime = jsonValue.GetString("startTime"); + m_endTime = jsonValue.GetString("endTime"); - m_startTimeHasBeenSet = true; + m_endTimeHasBeenSet = true; } - if(jsonValue.ValueExists("streamId")) + if(jsonValue.ValueExists("hasErrorEvent")) { - m_streamId = jsonValue.GetString("streamId"); + m_hasErrorEvent = jsonValue.GetBool("hasErrorEvent"); - m_streamIdHasBeenSet = true; + m_hasErrorEventHasBeenSet = true; } return *this; @@ -70,14 +70,9 @@ JsonValue StreamSessionSummary::Jsonize() const { JsonValue payload; - if(m_endTimeHasBeenSet) - { - payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - - if(m_hasErrorEventHasBeenSet) + if(m_streamIdHasBeenSet) { - payload.WithBool("hasErrorEvent", m_hasErrorEvent); + payload.WithString("streamId", m_streamId); } @@ -86,9 +81,14 @@ JsonValue StreamSessionSummary::Jsonize() const payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } - if(m_streamIdHasBeenSet) + if(m_endTimeHasBeenSet) { - payload.WithString("streamId", m_streamId); + payload.WithString("endTime", m_endTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_hasErrorEventHasBeenSet) + { + payload.WithBool("hasErrorEvent", m_hasErrorEvent); } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSummary.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSummary.cpp index 5006a7d1660..7d75174acba 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/StreamSummary.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/StreamSummary.cpp @@ -20,14 +20,14 @@ namespace Model StreamSummary::StreamSummary() : m_channelArnHasBeenSet(false), - m_health(StreamHealth::NOT_SET), - m_healthHasBeenSet(false), - m_startTimeHasBeenSet(false), + m_streamIdHasBeenSet(false), m_state(StreamState::NOT_SET), m_stateHasBeenSet(false), - m_streamIdHasBeenSet(false), + m_health(StreamHealth::NOT_SET), + m_healthHasBeenSet(false), m_viewerCount(0), - m_viewerCountHasBeenSet(false) + m_viewerCountHasBeenSet(false), + m_startTimeHasBeenSet(false) { } @@ -46,18 +46,11 @@ StreamSummary& StreamSummary::operator =(JsonView jsonValue) m_channelArnHasBeenSet = true; } - if(jsonValue.ValueExists("health")) - { - m_health = StreamHealthMapper::GetStreamHealthForName(jsonValue.GetString("health")); - - m_healthHasBeenSet = true; - } - - if(jsonValue.ValueExists("startTime")) + if(jsonValue.ValueExists("streamId")) { - m_startTime = jsonValue.GetString("startTime"); + m_streamId = jsonValue.GetString("streamId"); - m_startTimeHasBeenSet = true; + m_streamIdHasBeenSet = true; } if(jsonValue.ValueExists("state")) @@ -67,11 +60,11 @@ StreamSummary& StreamSummary::operator =(JsonView jsonValue) m_stateHasBeenSet = true; } - if(jsonValue.ValueExists("streamId")) + if(jsonValue.ValueExists("health")) { - m_streamId = jsonValue.GetString("streamId"); + m_health = StreamHealthMapper::GetStreamHealthForName(jsonValue.GetString("health")); - m_streamIdHasBeenSet = true; + m_healthHasBeenSet = true; } if(jsonValue.ValueExists("viewerCount")) @@ -81,6 +74,13 @@ StreamSummary& StreamSummary::operator =(JsonView jsonValue) m_viewerCountHasBeenSet = true; } + if(jsonValue.ValueExists("startTime")) + { + m_startTime = jsonValue.GetString("startTime"); + + m_startTimeHasBeenSet = true; + } + return *this; } @@ -94,14 +94,10 @@ JsonValue StreamSummary::Jsonize() const } - if(m_healthHasBeenSet) + if(m_streamIdHasBeenSet) { - payload.WithString("health", StreamHealthMapper::GetNameForStreamHealth(m_health)); - } + payload.WithString("streamId", m_streamId); - if(m_startTimeHasBeenSet) - { - payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_stateHasBeenSet) @@ -109,10 +105,9 @@ JsonValue StreamSummary::Jsonize() const payload.WithString("state", StreamStateMapper::GetNameForStreamState(m_state)); } - if(m_streamIdHasBeenSet) + if(m_healthHasBeenSet) { - payload.WithString("streamId", m_streamId); - + payload.WithString("health", StreamHealthMapper::GetNameForStreamHealth(m_health)); } if(m_viewerCountHasBeenSet) @@ -121,6 +116,11 @@ JsonValue StreamSummary::Jsonize() const } + if(m_startTimeHasBeenSet) + { + payload.WithString("startTime", m_startTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfiguration.cpp index dfe6354a3f4..a5ac294481d 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfiguration.cpp @@ -21,11 +21,11 @@ namespace Model ThumbnailConfiguration::ThumbnailConfiguration() : m_recordingMode(RecordingMode::NOT_SET), m_recordingModeHasBeenSet(false), + m_targetIntervalSeconds(0), + m_targetIntervalSecondsHasBeenSet(false), m_resolution(ThumbnailConfigurationResolution::NOT_SET), m_resolutionHasBeenSet(false), - m_storageHasBeenSet(false), - m_targetIntervalSeconds(0), - m_targetIntervalSecondsHasBeenSet(false) + m_storageHasBeenSet(false) { } @@ -44,6 +44,13 @@ ThumbnailConfiguration& ThumbnailConfiguration::operator =(JsonView jsonValue) m_recordingModeHasBeenSet = true; } + if(jsonValue.ValueExists("targetIntervalSeconds")) + { + m_targetIntervalSeconds = jsonValue.GetInt64("targetIntervalSeconds"); + + m_targetIntervalSecondsHasBeenSet = true; + } + if(jsonValue.ValueExists("resolution")) { m_resolution = ThumbnailConfigurationResolutionMapper::GetThumbnailConfigurationResolutionForName(jsonValue.GetString("resolution")); @@ -61,13 +68,6 @@ ThumbnailConfiguration& ThumbnailConfiguration::operator =(JsonView jsonValue) m_storageHasBeenSet = true; } - if(jsonValue.ValueExists("targetIntervalSeconds")) - { - m_targetIntervalSeconds = jsonValue.GetInt64("targetIntervalSeconds"); - - m_targetIntervalSecondsHasBeenSet = true; - } - return *this; } @@ -80,6 +80,12 @@ JsonValue ThumbnailConfiguration::Jsonize() const payload.WithString("recordingMode", RecordingModeMapper::GetNameForRecordingMode(m_recordingMode)); } + if(m_targetIntervalSecondsHasBeenSet) + { + payload.WithInt64("targetIntervalSeconds", m_targetIntervalSeconds); + + } + if(m_resolutionHasBeenSet) { payload.WithString("resolution", ThumbnailConfigurationResolutionMapper::GetNameForThumbnailConfigurationResolution(m_resolution)); @@ -96,12 +102,6 @@ JsonValue ThumbnailConfiguration::Jsonize() const } - if(m_targetIntervalSecondsHasBeenSet) - { - payload.WithInt64("targetIntervalSeconds", m_targetIntervalSeconds); - - } - return payload; } diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfigurationResolution.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfigurationResolution.cpp index 19146eb84b0..1ec8eea0ea5 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfigurationResolution.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/ThumbnailConfigurationResolution.cpp @@ -20,26 +20,26 @@ namespace Aws namespace ThumbnailConfigurationResolutionMapper { - static const int FULL_HD_HASH = HashingUtils::HashString("FULL_HD"); - static const int HD_HASH = HashingUtils::HashString("HD"); static const int SD_HASH = HashingUtils::HashString("SD"); + static const int HD_HASH = HashingUtils::HashString("HD"); + static const int FULL_HD_HASH = HashingUtils::HashString("FULL_HD"); static const int LOWEST_RESOLUTION_HASH = HashingUtils::HashString("LOWEST_RESOLUTION"); ThumbnailConfigurationResolution GetThumbnailConfigurationResolutionForName(const Aws::String& name) { int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == FULL_HD_HASH) + if (hashCode == SD_HASH) { - return ThumbnailConfigurationResolution::FULL_HD; + return ThumbnailConfigurationResolution::SD; } else if (hashCode == HD_HASH) { return ThumbnailConfigurationResolution::HD; } - else if (hashCode == SD_HASH) + else if (hashCode == FULL_HD_HASH) { - return ThumbnailConfigurationResolution::SD; + return ThumbnailConfigurationResolution::FULL_HD; } else if (hashCode == LOWEST_RESOLUTION_HASH) { @@ -61,12 +61,12 @@ namespace Aws { case ThumbnailConfigurationResolution::NOT_SET: return {}; - case ThumbnailConfigurationResolution::FULL_HD: - return "FULL_HD"; - case ThumbnailConfigurationResolution::HD: - return "HD"; case ThumbnailConfigurationResolution::SD: return "SD"; + case ThumbnailConfigurationResolution::HD: + return "HD"; + case ThumbnailConfigurationResolution::FULL_HD: + return "FULL_HD"; case ThumbnailConfigurationResolution::LOWEST_RESOLUTION: return "LOWEST_RESOLUTION"; default: diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/UpdateChannelRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/UpdateChannelRequest.cpp index 317a3bac4dd..91879e1e848 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/UpdateChannelRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/UpdateChannelRequest.cpp @@ -14,19 +14,19 @@ using namespace Aws::Utils; UpdateChannelRequest::UpdateChannelRequest() : m_arnHasBeenSet(false), + m_nameHasBeenSet(false), + m_latencyMode(ChannelLatencyMode::NOT_SET), + m_latencyModeHasBeenSet(false), + m_type(ChannelType::NOT_SET), + m_typeHasBeenSet(false), m_authorized(false), m_authorizedHasBeenSet(false), + m_recordingConfigurationArnHasBeenSet(false), m_insecureIngest(false), m_insecureIngestHasBeenSet(false), - m_latencyMode(ChannelLatencyMode::NOT_SET), - m_latencyModeHasBeenSet(false), - m_nameHasBeenSet(false), - m_playbackRestrictionPolicyArnHasBeenSet(false), m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), - m_recordingConfigurationArnHasBeenSet(false), - m_type(ChannelType::NOT_SET), - m_typeHasBeenSet(false) + m_playbackRestrictionPolicyArnHasBeenSet(false) { } @@ -40,32 +40,37 @@ Aws::String UpdateChannelRequest::SerializePayload() const } - if(m_authorizedHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithBool("authorized", m_authorized); + payload.WithString("name", m_name); } - if(m_insecureIngestHasBeenSet) + if(m_latencyModeHasBeenSet) { - payload.WithBool("insecureIngest", m_insecureIngest); + payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); + } + if(m_typeHasBeenSet) + { + payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } - if(m_latencyModeHasBeenSet) + if(m_authorizedHasBeenSet) { - payload.WithString("latencyMode", ChannelLatencyModeMapper::GetNameForChannelLatencyMode(m_latencyMode)); + payload.WithBool("authorized", m_authorized); + } - if(m_nameHasBeenSet) + if(m_recordingConfigurationArnHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("recordingConfigurationArn", m_recordingConfigurationArn); } - if(m_playbackRestrictionPolicyArnHasBeenSet) + if(m_insecureIngestHasBeenSet) { - payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); + payload.WithBool("insecureIngest", m_insecureIngest); } @@ -74,15 +79,10 @@ Aws::String UpdateChannelRequest::SerializePayload() const payload.WithString("preset", TranscodePresetMapper::GetNameForTranscodePreset(m_preset)); } - if(m_recordingConfigurationArnHasBeenSet) + if(m_playbackRestrictionPolicyArnHasBeenSet) { - payload.WithString("recordingConfigurationArn", m_recordingConfigurationArn); - - } + payload.WithString("playbackRestrictionPolicyArn", m_playbackRestrictionPolicyArn); - if(m_typeHasBeenSet) - { - payload.WithString("type", ChannelTypeMapper::GetNameForChannelType(m_type)); } return payload.View().WriteReadable(); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/UpdatePlaybackRestrictionPolicyRequest.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/UpdatePlaybackRestrictionPolicyRequest.cpp index b369801abbc..1d5c95823a0 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/UpdatePlaybackRestrictionPolicyRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/UpdatePlaybackRestrictionPolicyRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdatePlaybackRestrictionPolicyRequest::UpdatePlaybackRestrictionPolicyRequest() : + m_arnHasBeenSet(false), m_allowedCountriesHasBeenSet(false), m_allowedOriginsHasBeenSet(false), - m_arnHasBeenSet(false), m_enableStrictOriginEnforcement(false), m_enableStrictOriginEnforcementHasBeenSet(false), m_nameHasBeenSet(false) @@ -26,6 +26,12 @@ Aws::String UpdatePlaybackRestrictionPolicyRequest::SerializePayload() const { JsonValue payload; + if(m_arnHasBeenSet) + { + payload.WithString("arn", m_arn); + + } + if(m_allowedCountriesHasBeenSet) { Aws::Utils::Array allowedCountriesJsonList(m_allowedCountries.size()); @@ -48,12 +54,6 @@ Aws::String UpdatePlaybackRestrictionPolicyRequest::SerializePayload() const } - if(m_arnHasBeenSet) - { - payload.WithString("arn", m_arn); - - } - if(m_enableStrictOriginEnforcementHasBeenSet) { payload.WithBool("enableStrictOriginEnforcement", m_enableStrictOriginEnforcement); diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/VideoConfiguration.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/VideoConfiguration.cpp index 314a3f9a37f..8fd620ed4b2 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/VideoConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/VideoConfiguration.cpp @@ -19,8 +19,8 @@ namespace Model { VideoConfiguration::VideoConfiguration() : - m_avcLevelHasBeenSet(false), m_avcProfileHasBeenSet(false), + m_avcLevelHasBeenSet(false), m_codecHasBeenSet(false), m_encoderHasBeenSet(false), m_targetBitrate(0), @@ -42,18 +42,18 @@ VideoConfiguration::VideoConfiguration(JsonView jsonValue) VideoConfiguration& VideoConfiguration::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("avcLevel")) + if(jsonValue.ValueExists("avcProfile")) { - m_avcLevel = jsonValue.GetString("avcLevel"); + m_avcProfile = jsonValue.GetString("avcProfile"); - m_avcLevelHasBeenSet = true; + m_avcProfileHasBeenSet = true; } - if(jsonValue.ValueExists("avcProfile")) + if(jsonValue.ValueExists("avcLevel")) { - m_avcProfile = jsonValue.GetString("avcProfile"); + m_avcLevel = jsonValue.GetString("avcLevel"); - m_avcProfileHasBeenSet = true; + m_avcLevelHasBeenSet = true; } if(jsonValue.ValueExists("codec")) @@ -105,15 +105,15 @@ JsonValue VideoConfiguration::Jsonize() const { JsonValue payload; - if(m_avcLevelHasBeenSet) + if(m_avcProfileHasBeenSet) { - payload.WithString("avcLevel", m_avcLevel); + payload.WithString("avcProfile", m_avcProfile); } - if(m_avcProfileHasBeenSet) + if(m_avcLevelHasBeenSet) { - payload.WithString("avcProfile", m_avcProfile); + payload.WithString("avcLevel", m_avcLevel); } diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessErrors.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessErrors.h index c87b8535b63..00d7b2de637 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessErrors.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/RedshiftServerlessErrors.h @@ -51,6 +51,7 @@ enum class RedshiftServerlessErrors INSUFFICIENT_CAPACITY, INTERNAL_SERVER, INVALID_PAGINATION, + IPV6_CIDR_BLOCK_NOT_FOUND, SERVICE_QUOTA_EXCEEDED, TOO_MANY_TAGS }; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateScheduledActionRequest.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateScheduledActionRequest.h index 417903207a8..f013a92bf9e 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateScheduledActionRequest.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateScheduledActionRequest.h @@ -86,7 +86,7 @@ namespace Model * assume permissions on your behalf. For more information about the IAM role to * use with the Amazon Redshift scheduler, see Using - * Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster + * Identity-Based Policies for Amazon Redshift in the Amazon Redshift * Management Guide

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateWorkgroupRequest.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateWorkgroupRequest.h index 7a8db2a190c..32350b5882d 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateWorkgroupRequest.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/CreateWorkgroupRequest.h @@ -82,6 +82,21 @@ namespace Model inline CreateWorkgroupRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;} ///@} + ///@{ + /** + *

The IP address type that the workgroup supports. Possible values are + * ipv4 and dualstack.

+ */ + inline const Aws::String& GetIpAddressType() const{ return m_ipAddressType; } + inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } + inline void SetIpAddressType(const Aws::String& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } + inline void SetIpAddressType(Aws::String&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } + inline void SetIpAddressType(const char* value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType.assign(value); } + inline CreateWorkgroupRequest& WithIpAddressType(const Aws::String& value) { SetIpAddressType(value); return *this;} + inline CreateWorkgroupRequest& WithIpAddressType(Aws::String&& value) { SetIpAddressType(std::move(value)); return *this;} + inline CreateWorkgroupRequest& WithIpAddressType(const char* value) { SetIpAddressType(value); return *this;} + ///@} + ///@{ /** *

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve @@ -197,6 +212,9 @@ namespace Model bool m_enhancedVpcRouting; bool m_enhancedVpcRoutingHasBeenSet = false; + Aws::String m_ipAddressType; + bool m_ipAddressTypeHasBeenSet = false; + int m_maxCapacity; bool m_maxCapacityHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/NetworkInterface.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/NetworkInterface.h index 3c7a8f8cbae..158e0e76e83 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/NetworkInterface.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/NetworkInterface.h @@ -52,6 +52,20 @@ namespace Model inline NetworkInterface& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} ///@} + ///@{ + /** + *

The IPv6 address of the network interface within the subnet.

+ */ + inline const Aws::String& GetIpv6Address() const{ return m_ipv6Address; } + inline bool Ipv6AddressHasBeenSet() const { return m_ipv6AddressHasBeenSet; } + inline void SetIpv6Address(const Aws::String& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = value; } + inline void SetIpv6Address(Aws::String&& value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address = std::move(value); } + inline void SetIpv6Address(const char* value) { m_ipv6AddressHasBeenSet = true; m_ipv6Address.assign(value); } + inline NetworkInterface& WithIpv6Address(const Aws::String& value) { SetIpv6Address(value); return *this;} + inline NetworkInterface& WithIpv6Address(Aws::String&& value) { SetIpv6Address(std::move(value)); return *this;} + inline NetworkInterface& WithIpv6Address(const char* value) { SetIpv6Address(value); return *this;} + ///@} + ///@{ /** *

The unique identifier of the network interface.

@@ -98,6 +112,9 @@ namespace Model Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; + Aws::String m_ipv6Address; + bool m_ipv6AddressHasBeenSet = false; + Aws::String m_networkInterfaceId; bool m_networkInterfaceIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ScheduledActionResponse.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ScheduledActionResponse.h index 8342bed2ae5..3325a87cb28 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ScheduledActionResponse.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/ScheduledActionResponse.h @@ -92,7 +92,7 @@ namespace Model * assume permissions on your behalf. For more information about the IAM role to * use with the Amazon Redshift scheduler, see Using - * Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster + * Identity-Based Policies for Amazon Redshift in the Amazon Redshift * Management Guide

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateScheduledActionRequest.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateScheduledActionRequest.h index b8e2e2bd11f..ad610c7edf9 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateScheduledActionRequest.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateScheduledActionRequest.h @@ -68,7 +68,7 @@ namespace Model * assume permissions on your behalf. For more information about the IAM role to * use with the Amazon Redshift scheduler, see Using - * Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster + * Identity-Based Policies for Amazon Redshift in the Amazon Redshift * Management Guide

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateWorkgroupRequest.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateWorkgroupRequest.h index 59f713072ff..05973282ad8 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateWorkgroupRequest.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/UpdateWorkgroupRequest.h @@ -80,6 +80,21 @@ namespace Model inline UpdateWorkgroupRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;} ///@} + ///@{ + /** + *

The IP address type that the workgroup supports. Possible values are + * ipv4 and dualstack.

+ */ + inline const Aws::String& GetIpAddressType() const{ return m_ipAddressType; } + inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } + inline void SetIpAddressType(const Aws::String& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } + inline void SetIpAddressType(Aws::String&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } + inline void SetIpAddressType(const char* value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType.assign(value); } + inline UpdateWorkgroupRequest& WithIpAddressType(const Aws::String& value) { SetIpAddressType(value); return *this;} + inline UpdateWorkgroupRequest& WithIpAddressType(Aws::String&& value) { SetIpAddressType(std::move(value)); return *this;} + inline UpdateWorkgroupRequest& WithIpAddressType(const char* value) { SetIpAddressType(value); return *this;} + ///@} + ///@{ /** *

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve @@ -168,6 +183,9 @@ namespace Model bool m_enhancedVpcRouting; bool m_enhancedVpcRoutingHasBeenSet = false; + Aws::String m_ipAddressType; + bool m_ipAddressTypeHasBeenSet = false; + int m_maxCapacity; bool m_maxCapacityHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/Workgroup.h b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/Workgroup.h index 6a940a05719..66c05db39f8 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/Workgroup.h +++ b/generated/src/aws-cpp-sdk-redshift-serverless/include/aws/redshift-serverless/model/Workgroup.h @@ -169,6 +169,21 @@ namespace Model inline Workgroup& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;} ///@} + ///@{ + /** + *

The IP address type that the workgroup supports. Possible values are + * ipv4 and dualstack.

+ */ + inline const Aws::String& GetIpAddressType() const{ return m_ipAddressType; } + inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } + inline void SetIpAddressType(const Aws::String& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } + inline void SetIpAddressType(Aws::String&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } + inline void SetIpAddressType(const char* value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType.assign(value); } + inline Workgroup& WithIpAddressType(const Aws::String& value) { SetIpAddressType(value); return *this;} + inline Workgroup& WithIpAddressType(Aws::String&& value) { SetIpAddressType(std::move(value)); return *this;} + inline Workgroup& WithIpAddressType(const char* value) { SetIpAddressType(value); return *this;} + ///@} + ///@{ /** *

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve @@ -362,6 +377,9 @@ namespace Model bool m_enhancedVpcRouting; bool m_enhancedVpcRoutingHasBeenSet = false; + Aws::String m_ipAddressType; + bool m_ipAddressTypeHasBeenSet = false; + int m_maxCapacity; bool m_maxCapacityHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessErrors.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessErrors.cpp index 30502d2e7ad..e0862238e86 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessErrors.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/RedshiftServerlessErrors.cpp @@ -51,6 +51,7 @@ static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException"); static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException"); static const int INSUFFICIENT_CAPACITY_HASH = HashingUtils::HashString("InsufficientCapacityException"); +static const int IPV6_CIDR_BLOCK_NOT_FOUND_HASH = HashingUtils::HashString("Ipv6CidrBlockNotFoundException"); static const int TOO_MANY_TAGS_HASH = HashingUtils::HashString("TooManyTagsException"); static const int INVALID_PAGINATION_HASH = HashingUtils::HashString("InvalidPaginationException"); @@ -75,6 +76,10 @@ AWSError GetErrorForName(const char* errorName) { return AWSError(static_cast(RedshiftServerlessErrors::INSUFFICIENT_CAPACITY), RetryableType::RETRYABLE); } + else if (hashCode == IPV6_CIDR_BLOCK_NOT_FOUND_HASH) + { + return AWSError(static_cast(RedshiftServerlessErrors::IPV6_CIDR_BLOCK_NOT_FOUND), RetryableType::NOT_RETRYABLE); + } else if (hashCode == TOO_MANY_TAGS_HASH) { return AWSError(static_cast(RedshiftServerlessErrors::TOO_MANY_TAGS), RetryableType::NOT_RETRYABLE); diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/CreateWorkgroupRequest.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/CreateWorkgroupRequest.cpp index 6beee0d9358..d759e0e5e55 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/CreateWorkgroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/CreateWorkgroupRequest.cpp @@ -18,6 +18,7 @@ CreateWorkgroupRequest::CreateWorkgroupRequest() : m_configParametersHasBeenSet(false), m_enhancedVpcRouting(false), m_enhancedVpcRoutingHasBeenSet(false), + m_ipAddressTypeHasBeenSet(false), m_maxCapacity(0), m_maxCapacityHasBeenSet(false), m_namespaceNameHasBeenSet(false), @@ -59,6 +60,12 @@ Aws::String CreateWorkgroupRequest::SerializePayload() const } + if(m_ipAddressTypeHasBeenSet) + { + payload.WithString("ipAddressType", m_ipAddressType); + + } + if(m_maxCapacityHasBeenSet) { payload.WithInteger("maxCapacity", m_maxCapacity); diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/NetworkInterface.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/NetworkInterface.cpp index 1db89838fa6..1850a4a5932 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/NetworkInterface.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/NetworkInterface.cpp @@ -20,6 +20,7 @@ namespace Model NetworkInterface::NetworkInterface() : m_availabilityZoneHasBeenSet(false), + m_ipv6AddressHasBeenSet(false), m_networkInterfaceIdHasBeenSet(false), m_privateIpAddressHasBeenSet(false), m_subnetIdHasBeenSet(false) @@ -41,6 +42,13 @@ NetworkInterface& NetworkInterface::operator =(JsonView jsonValue) m_availabilityZoneHasBeenSet = true; } + if(jsonValue.ValueExists("ipv6Address")) + { + m_ipv6Address = jsonValue.GetString("ipv6Address"); + + m_ipv6AddressHasBeenSet = true; + } + if(jsonValue.ValueExists("networkInterfaceId")) { m_networkInterfaceId = jsonValue.GetString("networkInterfaceId"); @@ -75,6 +83,12 @@ JsonValue NetworkInterface::Jsonize() const } + if(m_ipv6AddressHasBeenSet) + { + payload.WithString("ipv6Address", m_ipv6Address); + + } + if(m_networkInterfaceIdHasBeenSet) { payload.WithString("networkInterfaceId", m_networkInterfaceId); diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/UpdateWorkgroupRequest.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/UpdateWorkgroupRequest.cpp index ac410795843..38bb9a41a48 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/UpdateWorkgroupRequest.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/UpdateWorkgroupRequest.cpp @@ -18,6 +18,7 @@ UpdateWorkgroupRequest::UpdateWorkgroupRequest() : m_configParametersHasBeenSet(false), m_enhancedVpcRouting(false), m_enhancedVpcRoutingHasBeenSet(false), + m_ipAddressTypeHasBeenSet(false), m_maxCapacity(0), m_maxCapacityHasBeenSet(false), m_port(0), @@ -57,6 +58,12 @@ Aws::String UpdateWorkgroupRequest::SerializePayload() const } + if(m_ipAddressTypeHasBeenSet) + { + payload.WithString("ipAddressType", m_ipAddressType); + + } + if(m_maxCapacityHasBeenSet) { payload.WithInteger("maxCapacity", m_maxCapacity); diff --git a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/Workgroup.cpp b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/Workgroup.cpp index 25f0aa0f0af..4739502813d 100644 --- a/generated/src/aws-cpp-sdk-redshift-serverless/source/model/Workgroup.cpp +++ b/generated/src/aws-cpp-sdk-redshift-serverless/source/model/Workgroup.cpp @@ -30,6 +30,7 @@ Workgroup::Workgroup() : m_endpointHasBeenSet(false), m_enhancedVpcRouting(false), m_enhancedVpcRoutingHasBeenSet(false), + m_ipAddressTypeHasBeenSet(false), m_maxCapacity(0), m_maxCapacityHasBeenSet(false), m_namespaceNameHasBeenSet(false), @@ -126,6 +127,13 @@ Workgroup& Workgroup::operator =(JsonView jsonValue) m_enhancedVpcRoutingHasBeenSet = true; } + if(jsonValue.ValueExists("ipAddressType")) + { + m_ipAddressType = jsonValue.GetString("ipAddressType"); + + m_ipAddressTypeHasBeenSet = true; + } + if(jsonValue.ValueExists("maxCapacity")) { m_maxCapacity = jsonValue.GetInteger("maxCapacity"); @@ -285,6 +293,12 @@ JsonValue Workgroup::Jsonize() const } + if(m_ipAddressTypeHasBeenSet) + { + payload.WithString("ipAddressType", m_ipAddressType); + + } + if(m_maxCapacityHasBeenSet) { payload.WithInteger("maxCapacity", m_maxCapacity); 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 45e0e47eff9..b66dbe37c49 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.368" +#define AWS_SDK_VERSION_STRING "1.11.369" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 368 +#define AWS_SDK_VERSION_PATCH 369 diff --git a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json index a2ac24a9afd..c047a110942 100644 --- a/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/datazone-2018-05-10.normal.json @@ -137,6 +137,28 @@ "documentation":"

Creates an asset in Amazon DataZone catalog.

", "idempotent":true }, + "CreateAssetFilter":{ + "name":"CreateAssetFilter", + "http":{ + "method":"POST", + "requestUri":"/v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", + "responseCode":201 + }, + "input":{"shape":"CreateAssetFilterInput"}, + "output":{"shape":"CreateAssetFilterOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

Creates a data asset filter.

", + "idempotent":true + }, "CreateAssetRevision":{ "name":"CreateAssetRevision", "http":{ @@ -527,6 +549,26 @@ "documentation":"

Delets an asset in Amazon DataZone.

", "idempotent":true }, + "DeleteAssetFilter":{ + "name":"DeleteAssetFilter", + "http":{ + "method":"DELETE", + "requestUri":"/v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "responseCode":204 + }, + "input":{"shape":"DeleteAssetFilterInput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

Deletes an asset filter.

", + "idempotent":true + }, "DeleteAssetType":{ "name":"DeleteAssetType", "http":{ @@ -908,6 +950,25 @@ ], "documentation":"

Gets an Amazon DataZone asset.

" }, + "GetAssetFilter":{ + "name":"GetAssetFilter", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "responseCode":200 + }, + "input":{"shape":"GetAssetFilterInput"}, + "output":{"shape":"GetAssetFilterOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

Gets an asset filter.

" + }, "GetAssetType":{ "name":"GetAssetType", "http":{ @@ -1370,6 +1431,25 @@ ], "documentation":"

Gets a user profile in Amazon DataZone.

" }, + "ListAssetFilters":{ + "name":"ListAssetFilters", + "http":{ + "method":"GET", + "requestUri":"/v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters", + "responseCode":200 + }, + "input":{"shape":"ListAssetFiltersInput"}, + "output":{"shape":"ListAssetFiltersOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

Lists asset filters.

" + }, "ListAssetRevisions":{ "name":"ListAssetRevisions", "http":{ @@ -2075,6 +2155,27 @@ "documentation":"

Untags a resource in Amazon DataZone.

", "idempotent":true }, + "UpdateAssetFilter":{ + "name":"UpdateAssetFilter", + "http":{ + "method":"PATCH", + "requestUri":"/v2/domains/{domainIdentifier}/assets/{assetIdentifier}/filters/{identifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateAssetFilterInput"}, + "output":{"shape":"UpdateAssetFilterOutput"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"UnauthorizedException"} + ], + "documentation":"

Updates an asset filter.

", + "idempotent":true + }, "UpdateDataSource":{ "name":"UpdateDataSource", "http":{ @@ -2586,6 +2687,77 @@ "type":"list", "member":{"shape":"TypeName"} }, + "AssetFilterConfiguration":{ + "type":"structure", + "members":{ + "columnConfiguration":{ + "shape":"ColumnFilterConfiguration", + "documentation":"

The column configuration of the asset filter.

" + }, + "rowConfiguration":{ + "shape":"RowFilterConfiguration", + "documentation":"

The row configuration of the asset filter.

" + } + }, + "documentation":"

The configuration details of the asset filter.

", + "union":true + }, + "AssetFilterSummary":{ + "type":"structure", + "required":[ + "assetId", + "domainId", + "id", + "name" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

" + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

The timestamp at which the asset filter was created.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where the asset filter lives.

" + }, + "effectiveColumnNames":{ + "shape":"ColumnNameList", + "documentation":"

The effective column names of the asset filter.

" + }, + "effectiveRowFilter":{ + "shape":"String", + "documentation":"

The effective row filter of the asset filter.

" + }, + "errorMessage":{ + "shape":"String", + "documentation":"

The error message that is displayed if the action does not succeed.

" + }, + "id":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

" + }, + "name":{ + "shape":"FilterName", + "documentation":"

The name of the asset filter.

" + }, + "status":{ + "shape":"FilterStatus", + "documentation":"

The status of the asset filter.

" + } + }, + "documentation":"

The summary of the asset filter.

" + }, + "AssetFilters":{ + "type":"list", + "member":{"shape":"AssetFilterSummary"} + }, "AssetId":{ "type":"string", "pattern":"^[a-zA-Z0-9_-]{1,36}$" @@ -3152,6 +3324,20 @@ }, "documentation":"

Part of the provisioning properties of the environment blueprint.

" }, + "ColumnFilterConfiguration":{ + "type":"structure", + "members":{ + "includedColumnNames":{ + "shape":"ColumnNameList", + "documentation":"

Specifies whether to include column names.

" + } + }, + "documentation":"

The column configuration of the asset filter.

" + }, + "ColumnNameList":{ + "type":"list", + "member":{"shape":"String"} + }, "ConfigurableActionParameter":{ "type":"structure", "members":{ @@ -3212,6 +3398,102 @@ }, "exception":true }, + "CreateAssetFilterInput":{ + "type":"structure", + "required":[ + "assetIdentifier", + "configuration", + "domainIdentifier", + "name" + ], + "members":{ + "assetIdentifier":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

", + "location":"uri", + "locationName":"assetIdentifier" + }, + "clientToken":{ + "shape":"String", + "documentation":"

A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

", + "idempotencyToken":true + }, + "configuration":{ + "shape":"AssetFilterConfiguration", + "documentation":"

The configuration of the asset filter.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

The ID of the domain in which you want to create an asset filter.

", + "location":"uri", + "locationName":"domainIdentifier" + }, + "name":{ + "shape":"FilterName", + "documentation":"

The name of the asset filter.

" + } + } + }, + "CreateAssetFilterOutput":{ + "type":"structure", + "required":[ + "assetId", + "configuration", + "domainId", + "id", + "name" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

The ID of the asset.

" + }, + "configuration":{ + "shape":"AssetFilterConfiguration", + "documentation":"

The configuration of the asset filter.

" + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

The timestamp at which the asset filter was created.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where the asset filter is created.

" + }, + "effectiveColumnNames":{ + "shape":"ColumnNameList", + "documentation":"

The column names in the asset filter.

" + }, + "effectiveRowFilter":{ + "shape":"String", + "documentation":"

The row filter in the asset filter.

" + }, + "errorMessage":{ + "shape":"String", + "documentation":"

The error message that is displayed if the asset filter is not created successfully.

" + }, + "id":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

" + }, + "name":{ + "shape":"FilterName", + "documentation":"

The name of the asset filter.

" + }, + "status":{ + "shape":"FilterStatus", + "documentation":"

The status of the asset filter.

" + } + } + }, "CreateAssetInput":{ "type":"structure", "required":[ @@ -5471,6 +5753,34 @@ "min":1, "sensitive":true }, + "DeleteAssetFilterInput":{ + "type":"structure", + "required":[ + "assetIdentifier", + "domainIdentifier", + "identifier" + ], + "members":{ + "assetIdentifier":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

", + "location":"uri", + "locationName":"assetIdentifier" + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where you want to delete an asset filter.

", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter that you want to delete.

", + "location":"uri", + "locationName":"identifier" + } + } + }, "DeleteAssetInput":{ "type":"structure", "required":[ @@ -6448,6 +6758,10 @@ "shape":"RoleArn", "documentation":"

The ARN of the manage access role specified in the environment blueprint configuration.

" }, + "provisioningConfigurations":{ + "shape":"ProvisioningConfigurationList", + "documentation":"

The provisioning configuration of a blueprint.

" + }, "provisioningRoleArn":{ "shape":"RoleArn", "documentation":"

The ARN of the provisioning role specified in the environment blueprint configuration.

" @@ -6724,6 +7038,24 @@ }, "documentation":"

The details of an environment.

" }, + "EqualToExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be equal to an expression.

" + } + }, + "documentation":"

Specifies whether the value is equal to an expression.

" + }, "ErrorMessage":{"type":"string"}, "ExternalIdentifier":{ "type":"string", @@ -6816,12 +7148,30 @@ "type":"list", "member":{"shape":"FilterExpression"} }, + "FilterId":{ + "type":"string", + "pattern":"^[a-zA-Z0-9_-]{1,36}$" + }, "FilterList":{ "type":"list", "member":{"shape":"FilterClause"}, "max":100, "min":1 }, + "FilterName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"^[\\w -]+$", + "sensitive":true + }, + "FilterStatus":{ + "type":"string", + "enum":[ + "VALID", + "INVALID" + ] + }, "FilterValueString":{ "type":"string", "max":128, @@ -7044,30 +7394,114 @@ "max":10, "min":0 }, - "GetAssetInput":{ + "GetAssetFilterInput":{ "type":"structure", "required":[ + "assetIdentifier", "domainIdentifier", "identifier" ], "members":{ + "assetIdentifier":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

", + "location":"uri", + "locationName":"assetIdentifier" + }, "domainIdentifier":{ "shape":"DomainId", - "documentation":"

The ID of the Amazon DataZone domain to which the asset belongs.

", + "documentation":"

The ID of the domain where you want to get an asset filter.

", "location":"uri", "locationName":"domainIdentifier" }, "identifier":{ - "shape":"AssetIdentifier", - "documentation":"

The ID of the Amazon DataZone asset.

", + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

", "location":"uri", "locationName":"identifier" - }, - "revision":{ - "shape":"Revision", - "documentation":"

The revision of the Amazon DataZone asset.

", - "location":"querystring", - "locationName":"revision" + } + } + }, + "GetAssetFilterOutput":{ + "type":"structure", + "required":[ + "assetId", + "configuration", + "domainId", + "id", + "name" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

" + }, + "configuration":{ + "shape":"AssetFilterConfiguration", + "documentation":"

The configuration of the asset filter.

" + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

The timestamp at which the asset filter was created.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where you want to get an asset filter.

" + }, + "effectiveColumnNames":{ + "shape":"ColumnNameList", + "documentation":"

The column names of the asset filter.

" + }, + "effectiveRowFilter":{ + "shape":"String", + "documentation":"

The row filter of the asset filter.

" + }, + "errorMessage":{ + "shape":"String", + "documentation":"

The error message that is displayed if the action does not complete successfully.

" + }, + "id":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

" + }, + "name":{ + "shape":"FilterName", + "documentation":"

The name of the asset filter.

" + }, + "status":{ + "shape":"FilterStatus", + "documentation":"

The status of the asset filter.

" + } + } + }, + "GetAssetInput":{ + "type":"structure", + "required":[ + "domainIdentifier", + "identifier" + ], + "members":{ + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

The ID of the Amazon DataZone domain to which the asset belongs.

", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"AssetIdentifier", + "documentation":"

The ID of the Amazon DataZone asset.

", + "location":"uri", + "locationName":"identifier" + }, + "revision":{ + "shape":"Revision", + "documentation":"

The revision of the Amazon DataZone asset.

", + "location":"querystring", + "locationName":"revision" } } }, @@ -7636,6 +8070,10 @@ "shape":"RoleArn", "documentation":"

The ARN of the manage access role with which this blueprint is created.

" }, + "provisioningConfigurations":{ + "shape":"ProvisioningConfigurationList", + "documentation":"

The provisioning configuration of a blueprint.

" + }, "provisioningRoleArn":{ "shape":"RoleArn", "documentation":"

The ARN of the provisioning role with which this blueprint is created.

" @@ -9281,6 +9719,42 @@ "documentation":"

The details of a listing for which a subscription is to be granted.

", "union":true }, + "GreaterThanExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be greater than an expression.

" + } + }, + "documentation":"

Specifies whether the value is greater than an expression.

" + }, + "GreaterThanOrEqualToExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be greater than or equal to an expression.

" + } + }, + "documentation":"

Specifies whether the value is greater than or equal to an expression.

" + }, "GroupDetails":{ "type":"structure", "required":["groupId"], @@ -9387,6 +9861,24 @@ "max":10, "min":1 }, + "InExpression":{ + "type":"structure", + "required":[ + "columnName", + "values" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "values":{ + "shape":"StringList", + "documentation":"

The values that might be in the expression.

" + } + }, + "documentation":"

Specifies whether values are in the expression.

" + }, "Integer":{ "type":"integer", "box":true @@ -9411,16 +9903,106 @@ "GLOSSARY_TERM" ] }, + "IsNotNullExpression":{ + "type":"structure", + "required":["columnName"], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + } + }, + "documentation":"

Specifies that the expression is not null.

" + }, + "IsNullExpression":{ + "type":"structure", + "required":["columnName"], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + } + }, + "documentation":"

Specifies that the expression is null.

" + }, "KmsKeyArn":{ "type":"string", "max":1024, "min":1, "pattern":"^arn:aws(|-cn|-us-gov):kms:[a-zA-Z0-9-]*:[0-9]{12}:key/[a-zA-Z0-9-]{36}$" }, + "LakeFormationConfiguration":{ + "type":"structure", + "members":{ + "locationRegistrationExcludeS3Locations":{ + "shape":"S3LocationList", + "documentation":"

Specifies certain Amazon S3 locations if you do not want Amazon DataZone to automatically register them in hybrid mode.

" + }, + "locationRegistrationRole":{ + "shape":"RoleArn", + "documentation":"

The role that is used to manage read/write access to the chosen Amazon S3 bucket(s) for Data Lake using AWS Lake Formation hybrid access mode.

" + } + }, + "documentation":"

The Lake Formation configuration of the Data Lake blueprint.

" + }, "LastName":{ "type":"string", "sensitive":true }, + "LessThanExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be less than the expression.

" + } + }, + "documentation":"

Specifies that a value is less than an expression.

" + }, + "LessThanOrEqualToExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be less than or equal to an expression.

" + } + }, + "documentation":"

Specifies that a value is less than or equal to an expression.

" + }, + "LikeExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might be like the expression.

" + } + }, + "documentation":"

Specifies that a value is like the expression.

" + }, "LineageEvent":{ "type":"blob", "max":300000, @@ -9566,6 +10148,59 @@ }, "documentation":"

The details of a data lineage node type.

" }, + "ListAssetFiltersInput":{ + "type":"structure", + "required":[ + "assetIdentifier", + "domainIdentifier" + ], + "members":{ + "assetIdentifier":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

", + "location":"uri", + "locationName":"assetIdentifier" + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where you want to list asset filters.

", + "location":"uri", + "locationName":"domainIdentifier" + }, + "maxResults":{ + "shape":"MaxResults", + "documentation":"

The maximum number of asset filters to return in a single call to ListAssetFilters. When the number of asset filters to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListAssetFilters to list the next set of asset filters.

", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

When the number of asset filters is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of asset filters, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetFilters to list the next set of asset filters.

", + "location":"querystring", + "locationName":"nextToken" + }, + "status":{ + "shape":"FilterStatus", + "documentation":"

The status of the asset filter.

", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListAssetFiltersOutput":{ + "type":"structure", + "required":["items"], + "members":{ + "items":{ + "shape":"AssetFilters", + "documentation":"

The results of the ListAssetFilters action.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

When the number of asset filters is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of asset filters, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAssetFilters to list the next set of asset filters.

" + } + } + }, "ListAssetRevisionsInput":{ "type":"structure", "required":[ @@ -11035,6 +11670,60 @@ "min":1, "sensitive":true }, + "NotEqualToExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might not be equal to the expression.

" + } + }, + "documentation":"

Specifies that a value is not equal to the expression.

" + }, + "NotInExpression":{ + "type":"structure", + "required":[ + "columnName", + "values" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "values":{ + "shape":"StringList", + "documentation":"

The value that might not be in the expression.

" + } + }, + "documentation":"

Specifies that a value is not in the expression.

" + }, + "NotLikeExpression":{ + "type":"structure", + "required":[ + "columnName", + "value" + ], + "members":{ + "columnName":{ + "shape":"String", + "documentation":"

The name of the column.

" + }, + "value":{ + "shape":"String", + "documentation":"

The value that might not be like the expression.

" + } + }, + "documentation":"

Specifies that a value might be not like the expression.

" + }, "NotificationOutput":{ "type":"structure", "required":[ @@ -11364,6 +12053,21 @@ }, "documentation":"

The details of a Amazon DataZone project.

" }, + "ProvisioningConfiguration":{ + "type":"structure", + "members":{ + "lakeFormationConfiguration":{ + "shape":"LakeFormationConfiguration", + "documentation":"

The Lake Formation configuration of the Data Lake blueprint.

" + } + }, + "documentation":"

The provisioning configuration of the blueprint.

", + "union":true + }, + "ProvisioningConfigurationList":{ + "type":"list", + "member":{"shape":"ProvisioningConfiguration"} + }, "ProvisioningProperties":{ "type":"structure", "members":{ @@ -11403,6 +12107,10 @@ "shape":"RoleArn", "documentation":"

The ARN of the manage access role.

" }, + "provisioningConfigurations":{ + "shape":"ProvisioningConfigurationList", + "documentation":"

The provisioning configuration of a blueprint.

" + }, "provisioningRoleArn":{ "shape":"RoleArn", "documentation":"

The ARN of the provisioning role.

" @@ -11440,6 +12148,10 @@ "shape":"RoleArn", "documentation":"

The ARN of the manage access role.

" }, + "provisioningConfigurations":{ + "shape":"ProvisioningConfigurationList", + "documentation":"

The provisioning configuration of a blueprint.

" + }, "provisioningRoleArn":{ "shape":"RoleArn", "documentation":"

The ARN of the provisioning role.

" @@ -12005,6 +12717,99 @@ "type":"string", "pattern":"^arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*$" }, + "RowFilter":{ + "type":"structure", + "members":{ + "and":{ + "shape":"RowFilterList", + "documentation":"

The 'and' clause of the row filter.

" + }, + "expression":{ + "shape":"RowFilterExpression", + "documentation":"

The expression of the row filter.

" + }, + "or":{ + "shape":"RowFilterList", + "documentation":"

The 'or' clause of the row filter.

" + } + }, + "documentation":"

The row filter.

", + "union":true + }, + "RowFilterConfiguration":{ + "type":"structure", + "required":["rowFilter"], + "members":{ + "rowFilter":{ + "shape":"RowFilter", + "documentation":"

The row filter.

" + }, + "sensitive":{ + "shape":"Boolean", + "documentation":"

Specifies whether the row filter is sensitive.

" + } + }, + "documentation":"

The row filter configuration details.

" + }, + "RowFilterExpression":{ + "type":"structure", + "members":{ + "equalTo":{ + "shape":"EqualToExpression", + "documentation":"

The 'equal to' clause of the row filter expression.

" + }, + "greaterThan":{ + "shape":"GreaterThanExpression", + "documentation":"

The 'greater than' clause of the row filter expression.

" + }, + "greaterThanOrEqualTo":{ + "shape":"GreaterThanOrEqualToExpression", + "documentation":"

The 'greater than or equal to' clause of the filter expression.

" + }, + "in":{ + "shape":"InExpression", + "documentation":"

The 'in' clause of the row filter expression.

" + }, + "isNotNull":{ + "shape":"IsNotNullExpression", + "documentation":"

The 'is not null' clause of the row filter expression.

" + }, + "isNull":{ + "shape":"IsNullExpression", + "documentation":"

The 'is null' clause of the row filter expression.

" + }, + "lessThan":{ + "shape":"LessThanExpression", + "documentation":"

The 'less than' clause of the row filter expression.

" + }, + "lessThanOrEqualTo":{ + "shape":"LessThanOrEqualToExpression", + "documentation":"

The 'less than or equal to' clause of the row filter expression.

" + }, + "like":{ + "shape":"LikeExpression", + "documentation":"

The 'like' clause of the row filter expression.

" + }, + "notEqualTo":{ + "shape":"NotEqualToExpression", + "documentation":"

The 'no equal to' clause of the row filter expression.

" + }, + "notIn":{ + "shape":"NotInExpression", + "documentation":"

The 'not in' clause of the row filter expression.

" + }, + "notLike":{ + "shape":"NotLikeExpression", + "documentation":"

The 'not like' clause of the row filter expression.

" + } + }, + "documentation":"

The row filter expression.

", + "union":true + }, + "RowFilterList":{ + "type":"list", + "member":{"shape":"RowFilter"} + }, "RunStatisticsForAssets":{ "type":"structure", "members":{ @@ -12031,6 +12836,18 @@ }, "documentation":"

The asset statistics from the data source run.

" }, + "S3Location":{ + "type":"string", + "max":1024, + "min":1, + "pattern":"^s3://.+$" + }, + "S3LocationList":{ + "type":"list", + "member":{"shape":"S3Location"}, + "max":20, + "min":0 + }, "ScheduleConfiguration":{ "type":"structure", "members":{ @@ -12745,6 +13562,10 @@ } }, "String":{"type":"string"}, + "StringList":{ + "type":"list", + "member":{"shape":"String"} + }, "SubscribedAsset":{ "type":"structure", "required":[ @@ -13707,6 +14528,102 @@ "members":{ } }, + "UpdateAssetFilterInput":{ + "type":"structure", + "required":[ + "assetIdentifier", + "domainIdentifier", + "identifier" + ], + "members":{ + "assetIdentifier":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

", + "location":"uri", + "locationName":"assetIdentifier" + }, + "configuration":{ + "shape":"AssetFilterConfiguration", + "documentation":"

The configuration of the asset filter.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainIdentifier":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where you want to update an asset filter.

", + "location":"uri", + "locationName":"domainIdentifier" + }, + "identifier":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

", + "location":"uri", + "locationName":"identifier" + }, + "name":{ + "shape":"String", + "documentation":"

The name of the asset filter.

" + } + } + }, + "UpdateAssetFilterOutput":{ + "type":"structure", + "required":[ + "assetId", + "configuration", + "domainId", + "id", + "name" + ], + "members":{ + "assetId":{ + "shape":"AssetId", + "documentation":"

The ID of the data asset.

" + }, + "configuration":{ + "shape":"AssetFilterConfiguration", + "documentation":"

The configuration of the asset filter.

" + }, + "createdAt":{ + "shape":"CreatedAt", + "documentation":"

The timestamp at which the asset filter was created.

" + }, + "description":{ + "shape":"Description", + "documentation":"

The description of the asset filter.

" + }, + "domainId":{ + "shape":"DomainId", + "documentation":"

The ID of the domain where the asset filter was created.

" + }, + "effectiveColumnNames":{ + "shape":"ColumnNameList", + "documentation":"

The column names of the asset filter.

" + }, + "effectiveRowFilter":{ + "shape":"String", + "documentation":"

The row filter of the asset filter.

" + }, + "errorMessage":{ + "shape":"String", + "documentation":"

The error message that is displayed if the action is not completed successfully.

" + }, + "id":{ + "shape":"FilterId", + "documentation":"

The ID of the asset filter.

" + }, + "name":{ + "shape":"FilterName", + "documentation":"

The name of the asset filter.

" + }, + "status":{ + "shape":"FilterStatus", + "documentation":"

The status of the asset filter.

" + } + } + }, "UpdateDataSourceInput":{ "type":"structure", "required":[ diff --git a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json index 635dd0c199d..e97e89e4cfa 100644 --- a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json +++ b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2020-07-14", + "auth":["aws.auth#sigv4"], "endpointPrefix":"ivs", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"Amazon IVS", "serviceFullName":"Amazon Interactive Video Service", "serviceId":"ivs", @@ -612,21 +613,21 @@ "AudioConfiguration":{ "type":"structure", "members":{ - "channels":{ - "shape":"Integer", - "documentation":"

Number of audio channels.

" - }, "codec":{ "shape":"String", "documentation":"

Codec used for the audio encoding.

" }, + "targetBitrate":{ + "shape":"Integer", + "documentation":"

The expected ingest bitrate (bits per second). This is configured in the encoder.

" + }, "sampleRate":{ "shape":"Integer", "documentation":"

Number of audio samples recorded per second.

" }, - "targetBitrate":{ + "channels":{ "shape":"Integer", - "documentation":"

The expected ingest bitrate (bits per second). This is configured in the encoder.

" + "documentation":"

Number of audio channels.

" } }, "documentation":"

Object specifying a stream’s audio configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfiguration object and used for monitoring stream health.

" @@ -689,13 +690,13 @@ "BatchGetStreamKeyResponse":{ "type":"structure", "members":{ - "errors":{ - "shape":"BatchErrors", - "documentation":"

" - }, "streamKeys":{ "shape":"StreamKeys", "documentation":"

" + }, + "errors":{ + "shape":"BatchErrors", + "documentation":"

" } } }, @@ -710,6 +711,10 @@ "shape":"ChannelArn", "documentation":"

Channel ARN.

" }, + "viewerId":{ + "shape":"ViewerId", + "documentation":"

The ID of the viewer session to revoke.

" + }, "code":{ "shape":"errorCode", "documentation":"

Error code.

" @@ -717,10 +722,6 @@ "message":{ "shape":"errorMessage", "documentation":"

Error message, determined by the application.

" - }, - "viewerId":{ - "shape":"ViewerId", - "documentation":"

The ID of the viewer session to revoke.

" } }, "documentation":"

Error for a request in the batch for BatchStartViewerSessionRevocation. Each error is related to a specific channel-ARN and viewer-ID pair.

" @@ -784,53 +785,53 @@ "shape":"ChannelArn", "documentation":"

Channel ARN.

" }, - "authorized":{ - "shape":"IsAuthorized", - "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" - }, - "ingestEndpoint":{ - "shape":"IngestEndpoint", - "documentation":"

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

" - }, - "insecureIngest":{ - "shape":"InsecureIngest", - "documentation":"

Whether the channel allows insecure RTMP ingest. Default: false.

" + "name":{ + "shape":"ChannelName", + "documentation":"

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW.

" }, - "name":{ - "shape":"ChannelName", - "documentation":"

Channel name.

" + "type":{ + "shape":"ChannelType", + "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" }, - "playbackRestrictionPolicyArn":{ - "shape":"ChannelPlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" + "recordingConfigurationArn":{ + "shape":"ChannelRecordingConfigurationArn", + "documentation":"

Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: \"\" (empty string, recording is disabled).

" + }, + "ingestEndpoint":{ + "shape":"IngestEndpoint", + "documentation":"

Channel ingest endpoint, part of the definition of an ingest server, used when you set up streaming software.

" }, "playbackUrl":{ "shape":"PlaybackURL", "documentation":"

Channel playback URL.

" }, + "authorized":{ + "shape":"IsAuthorized", + "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" + }, + "tags":{ + "shape":"Tags", + "documentation":"

Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" + }, + "insecureIngest":{ + "shape":"InsecureIngest", + "documentation":"

Whether the channel allows insecure RTMP ingest. Default: false.

" + }, "preset":{ "shape":"TranscodePreset", "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" }, - "recordingConfigurationArn":{ - "shape":"ChannelRecordingConfigurationArn", - "documentation":"

Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: \"\" (empty string, recording is disabled).

" - }, "srt":{ "shape":"Srt", "documentation":"

Specifies the endpoint and optional passphrase for streaming with the SRT protocol.

" }, - "tags":{ - "shape":"Tags", - "documentation":"

Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" - }, - "type":{ - "shape":"ChannelType", - "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" + "playbackRestrictionPolicyArn":{ + "shape":"ChannelPlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" } }, "documentation":"

Object specifying a channel.

" @@ -839,7 +840,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:channel/[a-zA-Z0-9-]+" }, "ChannelArnList":{ "type":"list", @@ -862,7 +863,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "ChannelNotBroadcasting":{ "type":"structure", @@ -898,29 +899,17 @@ "shape":"ChannelArn", "documentation":"

Channel ARN.

" }, - "authorized":{ - "shape":"IsAuthorized", - "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" - }, - "insecureIngest":{ - "shape":"InsecureIngest", - "documentation":"

Whether the channel allows insecure RTMP ingest. Default: false.

" - }, - "latencyMode":{ - "shape":"ChannelLatencyMode", - "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW.

" - }, "name":{ "shape":"ChannelName", "documentation":"

Channel name.

" }, - "playbackRestrictionPolicyArn":{ - "shape":"ChannelPlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" + "latencyMode":{ + "shape":"ChannelLatencyMode", + "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW.

" }, - "preset":{ - "shape":"TranscodePreset", - "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" + "authorized":{ + "shape":"IsAuthorized", + "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" }, "recordingConfigurationArn":{ "shape":"ChannelRecordingConfigurationArn", @@ -930,9 +919,21 @@ "shape":"Tags", "documentation":"

Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" }, + "insecureIngest":{ + "shape":"InsecureIngest", + "documentation":"

Whether the channel allows insecure RTMP ingest. Default: false.

" + }, "type":{ "shape":"ChannelType", "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" + }, + "preset":{ + "shape":"TranscodePreset", + "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" + }, + "playbackRestrictionPolicyArn":{ + "shape":"ChannelPlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" } }, "documentation":"

Summary information about a channel.

" @@ -968,29 +969,21 @@ "CreateChannelRequest":{ "type":"structure", "members":{ - "authorized":{ - "shape":"Boolean", - "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" - }, - "insecureIngest":{ - "shape":"Boolean", - "documentation":"

Whether the channel allows insecure RTMP and SRT ingest. Default: false.

" + "name":{ + "shape":"ChannelName", + "documentation":"

Channel name.

" }, "latencyMode":{ "shape":"ChannelLatencyMode", "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers. Default: LOW.

" }, - "name":{ - "shape":"ChannelName", - "documentation":"

Channel name.

" - }, - "playbackRestrictionPolicyArn":{ - "shape":"ChannelPlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" + "type":{ + "shape":"ChannelType", + "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" }, - "preset":{ - "shape":"TranscodePreset", - "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" + "authorized":{ + "shape":"Boolean", + "documentation":"

Whether the channel is private (enabled for playback authorization). Default: false.

" }, "recordingConfigurationArn":{ "shape":"ChannelRecordingConfigurationArn", @@ -1000,9 +993,17 @@ "shape":"Tags", "documentation":"

Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" }, - "type":{ - "shape":"ChannelType", - "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" + "insecureIngest":{ + "shape":"Boolean", + "documentation":"

Whether the channel allows insecure RTMP and SRT ingest. Default: false.

" + }, + "preset":{ + "shape":"TranscodePreset", + "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" + }, + "playbackRestrictionPolicyArn":{ + "shape":"ChannelPlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. Default: \"\" (empty string, no playback restriction policy is applied).

" } } }, @@ -1057,21 +1058,13 @@ "type":"structure", "required":["destinationConfiguration"], "members":{ - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

A complex type that contains a destination configuration for where recorded video will be stored.

" - }, "name":{ "shape":"RecordingConfigurationName", "documentation":"

Recording-configuration name. The value does not need to be unique.

" }, - "recordingReconnectWindowSeconds":{ - "shape":"RecordingReconnectWindowSeconds", - "documentation":"

If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.

" - }, - "renditionConfiguration":{ - "shape":"RenditionConfiguration", - "documentation":"

Object that describes which renditions should be recorded for a stream.

" + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

A complex type that contains a destination configuration for where recorded video will be stored.

" }, "tags":{ "shape":"Tags", @@ -1080,6 +1073,14 @@ "thumbnailConfiguration":{ "shape":"ThumbnailConfiguration", "documentation":"

A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.

" + }, + "recordingReconnectWindowSeconds":{ + "shape":"RecordingReconnectWindowSeconds", + "documentation":"

If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.

" + }, + "renditionConfiguration":{ + "shape":"RenditionConfiguration", + "documentation":"

Object that describes which renditions should be recorded for a stream.

" } } }, @@ -1321,14 +1322,14 @@ "type":"structure", "required":["publicKeyMaterial"], "members":{ - "name":{ - "shape":"PlaybackKeyPairName", - "documentation":"

Playback-key-pair name. The value does not need to be unique.

" - }, "publicKeyMaterial":{ "shape":"PlaybackPublicKeyMaterial", "documentation":"

The public portion of a customer-generated key pair.

" }, + "name":{ + "shape":"PlaybackKeyPairName", + "documentation":"

Playback-key-pair name. The value does not need to be unique.

" + }, "tags":{ "shape":"Tags", "documentation":"

Any tags provided with the request are added to the playback key pair tags. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" @@ -1347,13 +1348,13 @@ "IngestConfiguration":{ "type":"structure", "members":{ - "audio":{ - "shape":"AudioConfiguration", - "documentation":"

Encoder settings for audio.

" - }, "video":{ "shape":"VideoConfiguration", "documentation":"

Encoder settings for video.

" + }, + "audio":{ + "shape":"AudioConfiguration", + "documentation":"

Encoder settings for audio.

" } }, "documentation":"

Object specifying the ingest configuration set up by the broadcaster, usually in an encoder.

" @@ -1382,21 +1383,21 @@ "shape":"ChannelName", "documentation":"

Filters the channel list to match the specified name.

" }, - "filterByPlaybackRestrictionPolicyArn":{ - "shape":"ChannelPlaybackRestrictionPolicyArn", - "documentation":"

Filters the channel list to match the specified policy.

" - }, "filterByRecordingConfigurationArn":{ "shape":"ChannelRecordingConfigurationArn", "documentation":"

Filters the channel list to match the specified recording-configuration ARN.

" }, - "maxResults":{ - "shape":"MaxChannelResults", - "documentation":"

Maximum number of channels to return. Default: 100.

" + "filterByPlaybackRestrictionPolicyArn":{ + "shape":"ChannelPlaybackRestrictionPolicyArn", + "documentation":"

Filters the channel list to match the specified policy.

" }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first channel to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxChannelResults", + "documentation":"

Maximum number of channels to return. Default: 100.

" } } }, @@ -1417,13 +1418,13 @@ "ListPlaybackKeyPairsRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"MaxPlaybackKeyPairResults", - "documentation":"

Maximum number of key pairs to return. Default: your service quota or 100, whichever is smaller.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first key pair to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxPlaybackKeyPairResults", + "documentation":"

Maximum number of key pairs to return. Default: your service quota or 100, whichever is smaller.

" } } }, @@ -1444,13 +1445,13 @@ "ListPlaybackRestrictionPoliciesRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"MaxPlaybackRestrictionPolicyResults", - "documentation":"

Maximum number of policies to return. Default: 1.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first policy to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxPlaybackRestrictionPolicyResults", + "documentation":"

Maximum number of policies to return. Default: 1.

" } } }, @@ -1458,26 +1459,26 @@ "type":"structure", "required":["playbackRestrictionPolicies"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If there are more channels than maxResults, use nextToken in the request to get the next set.

" - }, "playbackRestrictionPolicies":{ "shape":"PlaybackRestrictionPolicyList", "documentation":"

List of the matching policies.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If there are more channels than maxResults, use nextToken in the request to get the next set.

" } } }, "ListRecordingConfigurationsRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"MaxRecordingConfigurationResults", - "documentation":"

Maximum number of recording configurations to return. Default: your service quota or 100, whichever is smaller.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first recording configuration to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxRecordingConfigurationResults", + "documentation":"

Maximum number of recording configurations to return. Default: your service quota or 100, whichever is smaller.

" } } }, @@ -1485,13 +1486,13 @@ "type":"structure", "required":["recordingConfigurations"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If there are more recording configurations than maxResults, use nextToken in the request to get the next set.

" - }, "recordingConfigurations":{ "shape":"RecordingConfigurationList", "documentation":"

List of the matching recording configurations.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If there are more recording configurations than maxResults, use nextToken in the request to get the next set.

" } } }, @@ -1503,13 +1504,13 @@ "shape":"ChannelArn", "documentation":"

Channel ARN used to filter the list.

" }, - "maxResults":{ - "shape":"MaxStreamKeyResults", - "documentation":"

Maximum number of streamKeys to return. Default: 1.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first stream key to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxStreamKeyResults", + "documentation":"

Maximum number of streamKeys to return. Default: 1.

" } } }, @@ -1517,13 +1518,13 @@ "type":"structure", "required":["streamKeys"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If there are more stream keys than maxResults, use nextToken in the request to get the next set.

" - }, "streamKeys":{ "shape":"StreamKeyList", "documentation":"

List of stream keys.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If there are more stream keys than maxResults, use nextToken in the request to get the next set.

" } } }, @@ -1535,13 +1536,13 @@ "shape":"ChannelArn", "documentation":"

Channel ARN used to filter the list.

" }, - "maxResults":{ - "shape":"MaxStreamResults", - "documentation":"

Maximum number of streams to return. Default: 100.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first stream to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxStreamResults", + "documentation":"

Maximum number of streams to return. Default: 100.

" } } }, @@ -1549,13 +1550,13 @@ "type":"structure", "required":["streamSessions"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If there are more streams than maxResults, use nextToken in the request to get the next set.

" - }, "streamSessions":{ "shape":"StreamSessionList", "documentation":"

List of stream sessions.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If there are more streams than maxResults, use nextToken in the request to get the next set.

" } } }, @@ -1566,13 +1567,13 @@ "shape":"StreamFilters", "documentation":"

Filters the stream list to match the specified criterion.

" }, - "maxResults":{ - "shape":"MaxStreamResults", - "documentation":"

Maximum number of streams to return. Default: 100.

" - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

The first stream to retrieve. This is used for pagination; see the nextToken response field.

" + }, + "maxResults":{ + "shape":"MaxStreamResults", + "documentation":"

Maximum number of streams to return. Default: 100.

" } } }, @@ -1580,13 +1581,13 @@ "type":"structure", "required":["streams"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

If there are more streams than maxResults, use nextToken in the request to get the next set.

" - }, "streams":{ "shape":"StreamList", "documentation":"

List of streams.

" + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

If there are more streams than maxResults, use nextToken in the request to get the next set.

" } } }, @@ -1652,7 +1653,7 @@ "type":"string", "max":1024, "min":0, - "pattern":"^[a-zA-Z0-9+/=_-]*$" + "pattern":"[a-zA-Z0-9+/=_-]*" }, "PendingVerification":{ "type":"structure", @@ -1676,14 +1677,14 @@ "shape":"PlaybackKeyPairArn", "documentation":"

Key-pair ARN.

" }, - "fingerprint":{ - "shape":"PlaybackKeyPairFingerprint", - "documentation":"

Key-pair identifier.

" - }, "name":{ "shape":"PlaybackKeyPairName", "documentation":"

Playback-key-pair name. The value does not need to be unique.

" }, + "fingerprint":{ + "shape":"PlaybackKeyPairFingerprint", + "documentation":"

Key-pair identifier.

" + }, "tags":{ "shape":"Tags", "documentation":"

Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" @@ -1695,7 +1696,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-key/[a-zA-Z0-9-]+" }, "PlaybackKeyPairFingerprint":{"type":"string"}, "PlaybackKeyPairList":{ @@ -1706,7 +1707,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "PlaybackKeyPairSummary":{ "type":"structure", @@ -1730,11 +1731,15 @@ "PlaybackRestrictionPolicy":{ "type":"structure", "required":[ + "arn", "allowedCountries", - "allowedOrigins", - "arn" + "allowedOrigins" ], "members":{ + "arn":{ + "shape":"PlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN

" + }, "allowedCountries":{ "shape":"PlaybackRestrictionPolicyAllowedCountryList", "documentation":"

A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

" @@ -1743,10 +1748,6 @@ "shape":"PlaybackRestrictionPolicyAllowedOriginList", "documentation":"

A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).

" }, - "arn":{ - "shape":"PlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN

" - }, "enableStrictOriginEnforcement":{ "shape":"PlaybackRestrictionPolicyEnableStrictOriginEnforcement", "documentation":"

Whether channel playback is constrained by origin site. Default: false.

" @@ -1784,7 +1785,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-restriction-policy/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:playback-restriction-policy/[a-zA-Z0-9-]+" }, "PlaybackRestrictionPolicyEnableStrictOriginEnforcement":{ "type":"boolean", @@ -1798,16 +1799,20 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "PlaybackRestrictionPolicySummary":{ "type":"structure", "required":[ + "arn", "allowedCountries", - "allowedOrigins", - "arn" + "allowedOrigins" ], "members":{ + "arn":{ + "shape":"PlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN

" + }, "allowedCountries":{ "shape":"PlaybackRestrictionPolicyAllowedCountryList", "documentation":"

A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

" @@ -1816,10 +1821,6 @@ "shape":"PlaybackRestrictionPolicyAllowedOriginList", "documentation":"

A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).

" }, - "arn":{ - "shape":"PlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN

" - }, "enableStrictOriginEnforcement":{ "shape":"PlaybackRestrictionPolicyEnableStrictOriginEnforcement", "documentation":"

Whether channel playback is constrained by origin site. Default: false.

" @@ -1865,21 +1866,13 @@ "shape":"RecordingConfigurationArn", "documentation":"

Recording-configuration ARN.

" }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

A complex type that contains information about where recorded video will be stored.

" - }, "name":{ "shape":"RecordingConfigurationName", "documentation":"

Recording-configuration name. The value does not need to be unique.

" }, - "recordingReconnectWindowSeconds":{ - "shape":"RecordingReconnectWindowSeconds", - "documentation":"

If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.

" - }, - "renditionConfiguration":{ - "shape":"RenditionConfiguration", - "documentation":"

Object that describes which renditions should be recorded for a stream.

" + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

A complex type that contains information about where recorded video will be stored.

" }, "state":{ "shape":"RecordingConfigurationState", @@ -1892,6 +1885,14 @@ "thumbnailConfiguration":{ "shape":"ThumbnailConfiguration", "documentation":"

A complex type that allows you to enable/disable the recording of thumbnails for a live session and modify the interval at which thumbnails are generated for the live session.

" + }, + "recordingReconnectWindowSeconds":{ + "shape":"RecordingReconnectWindowSeconds", + "documentation":"

If a broadcast disconnects and then reconnects within the specified interval, the multiple streams will be considered a single broadcast and merged together. Default: 0.

" + }, + "renditionConfiguration":{ + "shape":"RenditionConfiguration", + "documentation":"

Object that describes which renditions should be recorded for a stream.

" } }, "documentation":"

An object representing a configuration to record a channel stream.

" @@ -1900,7 +1901,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:recording-configuration/[a-zA-Z0-9-]+" }, "RecordingConfigurationList":{ "type":"list", @@ -1910,7 +1911,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "RecordingConfigurationState":{ "type":"string", @@ -1932,14 +1933,14 @@ "shape":"RecordingConfigurationArn", "documentation":"

Recording-configuration ARN.

" }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

A complex type that contains information about where recorded video will be stored.

" - }, "name":{ "shape":"RecordingConfigurationName", "documentation":"

Recording-configuration name. The value does not need to be unique.

" }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

A complex type that contains information about where recorded video will be stored.

" + }, "state":{ "shape":"RecordingConfigurationState", "documentation":"

Indicates the current state of the recording configuration. When the state is ACTIVE, the configuration is ready for recording a channel stream.

" @@ -1980,9 +1981,9 @@ "RenditionConfigurationRendition":{ "type":"string", "enum":[ - "FULL_HD", - "HD", "SD", + "HD", + "FULL_HD", "LOWEST_RESOLUTION" ] }, @@ -2002,7 +2003,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+" }, "ResourceNotFoundException":{ "type":"structure", @@ -2023,7 +2024,7 @@ "type":"string", "max":63, "min":3, - "pattern":"^[a-z0-9-.]+$" + "pattern":"[a-z0-9-.]+" }, "S3DestinationConfiguration":{ "type":"structure", @@ -2118,9 +2119,9 @@ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

" }, - "health":{ - "shape":"StreamHealth", - "documentation":"

The stream’s health.

" + "streamId":{ + "shape":"StreamId", + "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" }, "playbackUrl":{ "shape":"PlaybackURL", @@ -2134,9 +2135,9 @@ "shape":"StreamState", "documentation":"

The stream’s state. Do not rely on the OFFLINE state, as the API may not return it; instead, a \"NotBroadcasting\" error will indicate that the stream is not live.

" }, - "streamId":{ - "shape":"StreamId", - "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" + "health":{ + "shape":"StreamHealth", + "documentation":"

The stream’s health.

" }, "viewerCount":{ "shape":"StreamViewerCount", @@ -2148,10 +2149,6 @@ "StreamEvent":{ "type":"structure", "members":{ - "eventTime":{ - "shape":"Time", - "documentation":"

Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.

" - }, "name":{ "shape":"String", "documentation":"

Name that identifies the stream event within a type.

" @@ -2159,6 +2156,10 @@ "type":{ "shape":"String", "documentation":"

Logical group for certain events.

" + }, + "eventTime":{ + "shape":"Time", + "documentation":"

Time when the event occurred. This is an ISO 8601 timestamp; note that this is returned as a string.

" } }, "documentation":"

Object specifying a stream’s events. For a list of events, see Using Amazon EventBridge with Amazon IVS.

" @@ -2191,7 +2192,7 @@ "type":"string", "max":26, "min":26, - "pattern":"^st-[a-zA-Z0-9]+$" + "pattern":"st-[a-zA-Z0-9]+" }, "StreamKey":{ "type":"structure", @@ -2200,6 +2201,10 @@ "shape":"StreamKeyArn", "documentation":"

Stream-key ARN.

" }, + "value":{ + "shape":"StreamKeyValue", + "documentation":"

Stream-key value.

" + }, "channelArn":{ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

" @@ -2207,10 +2212,6 @@ "tags":{ "shape":"Tags", "documentation":"

Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

" - }, - "value":{ - "shape":"StreamKeyValue", - "documentation":"

Stream-key value.

" } }, "documentation":"

Object specifying a stream key.

" @@ -2219,7 +2220,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivs:[a-z0-9-]+:[0-9]+:stream-key/[a-zA-Z0-9-]+" }, "StreamKeyArnList":{ "type":"list", @@ -2269,14 +2270,22 @@ "StreamSession":{ "type":"structure", "members":{ - "channel":{ - "shape":"Channel", - "documentation":"

The properties of the channel at the time of going live.

" + "streamId":{ + "shape":"StreamId", + "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" + }, + "startTime":{ + "shape":"Time", + "documentation":"

Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

" }, "endTime":{ "shape":"Time", "documentation":"

Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL.

" }, + "channel":{ + "shape":"Channel", + "documentation":"

The properties of the channel at the time of going live.

" + }, "ingestConfiguration":{ "shape":"IngestConfiguration", "documentation":"

The properties of the incoming RTMP stream for the stream.

" @@ -2285,14 +2294,6 @@ "shape":"RecordingConfiguration", "documentation":"

The properties of recording the live stream.

" }, - "startTime":{ - "shape":"Time", - "documentation":"

Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

" - }, - "streamId":{ - "shape":"StreamId", - "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" - }, "truncatedEvents":{ "shape":"StreamEvents", "documentation":"

List of Amazon IVS events that the stream encountered. The list is sorted by most recent events and contains up to 500 events. For Amazon IVS events, see Using Amazon EventBridge with Amazon IVS.

" @@ -2307,6 +2308,14 @@ "StreamSessionSummary":{ "type":"structure", "members":{ + "streamId":{ + "shape":"StreamId", + "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" + }, + "startTime":{ + "shape":"Time", + "documentation":"

Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

" + }, "endTime":{ "shape":"Time", "documentation":"

Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL.

" @@ -2314,14 +2323,6 @@ "hasErrorEvent":{ "shape":"Boolean", "documentation":"

If true, this stream encountered a quota breach or failure.

" - }, - "startTime":{ - "shape":"Time", - "documentation":"

Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

" - }, - "streamId":{ - "shape":"StreamId", - "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" } }, "documentation":"

Summary information about a stream session.

" @@ -2344,25 +2345,25 @@ "shape":"ChannelArn", "documentation":"

Channel ARN for the stream.

" }, - "health":{ - "shape":"StreamHealth", - "documentation":"

The stream’s health.

" - }, - "startTime":{ - "shape":"StreamStartTime", - "documentation":"

Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.

" + "streamId":{ + "shape":"StreamId", + "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" }, "state":{ "shape":"StreamState", "documentation":"

The stream’s state. Do not rely on the OFFLINE state, as the API may not return it; instead, a \"NotBroadcasting\" error will indicate that the stream is not live.

" }, - "streamId":{ - "shape":"StreamId", - "documentation":"

Unique identifier for a live or previously live stream in the specified channel.

" + "health":{ + "shape":"StreamHealth", + "documentation":"

The stream’s health.

" }, "viewerCount":{ "shape":"StreamViewerCount", "documentation":"

A count of concurrent views of the stream. Typically, a new view appears in viewerCount within 15 seconds of when video playback starts and a view is removed from viewerCount within 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.

" + }, + "startTime":{ + "shape":"StreamStartTime", + "documentation":"

Time of the stream’s start. This is an ISO 8601 timestamp; note that this is returned as a string.

" } }, "documentation":"

Summary information about a stream.

" @@ -2457,6 +2458,10 @@ "shape":"RecordingMode", "documentation":"

Thumbnail recording mode. Default: INTERVAL.

" }, + "targetIntervalSeconds":{ + "shape":"TargetIntervalSeconds", + "documentation":"

The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60.

Important: For the BASIC channel type, setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings.

" + }, "resolution":{ "shape":"ThumbnailConfigurationResolution", "documentation":"

Indicates the desired resolution of recorded thumbnails. Thumbnails are recorded at the selected resolution if the corresponding rendition is available during the stream; otherwise, they are recorded at source resolution. For more information about resolution values and their corresponding height and width dimensions, see Auto-Record to Amazon S3. Default: Null (source resolution is returned).

" @@ -2464,10 +2469,6 @@ "storage":{ "shape":"ThumbnailConfigurationStorageList", "documentation":"

Indicates the format in which thumbnails are recorded. SEQUENTIAL records all generated thumbnails in a serial manner, to the media/thumbnails directory. LATEST saves the latest thumbnail in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified by targetIntervalSeconds. You can enable both SEQUENTIAL and LATEST. Default: SEQUENTIAL.

" - }, - "targetIntervalSeconds":{ - "shape":"TargetIntervalSeconds", - "documentation":"

The targeted thumbnail-generation interval in seconds. This is configurable (and required) only if recordingMode is INTERVAL. Default: 60.

Important: For the BASIC channel type, setting a value for targetIntervalSeconds does not guarantee that thumbnails are generated at the specified interval. For thumbnails to be generated at the targetIntervalSeconds interval, the IDR/Keyframe value for the input video must be less than the targetIntervalSeconds value. See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe to the recommended value in video-encoder settings.

" } }, "documentation":"

An object representing a configuration of thumbnails for recorded video.

" @@ -2475,9 +2476,9 @@ "ThumbnailConfigurationResolution":{ "type":"string", "enum":[ - "FULL_HD", - "HD", "SD", + "HD", + "FULL_HD", "LOWEST_RESOLUTION" ] }, @@ -2537,37 +2538,37 @@ "shape":"ChannelArn", "documentation":"

ARN of the channel to be updated.

" }, + "name":{ + "shape":"ChannelName", + "documentation":"

Channel name.

" + }, + "latencyMode":{ + "shape":"ChannelLatencyMode", + "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.

" + }, + "type":{ + "shape":"ChannelType", + "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" + }, "authorized":{ "shape":"Boolean", "documentation":"

Whether the channel is private (enabled for playback authorization).

" }, + "recordingConfigurationArn":{ + "shape":"ChannelRecordingConfigurationArn", + "documentation":"

Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.

" + }, "insecureIngest":{ "shape":"Boolean", "documentation":"

Whether the channel allows insecure RTMP and SRT ingest. Default: false.

" }, - "latencyMode":{ - "shape":"ChannelLatencyMode", - "documentation":"

Channel latency mode. Use NORMAL to broadcast and deliver live video up to Full HD. Use LOW for near-real-time interaction with viewers.

" - }, - "name":{ - "shape":"ChannelName", - "documentation":"

Channel name.

" - }, - "playbackRestrictionPolicyArn":{ - "shape":"ChannelPlaybackRestrictionPolicyArn", - "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.

" - }, "preset":{ "shape":"TranscodePreset", "documentation":"

Optional transcode preset for the channel. This is selectable only for ADVANCED_HD and ADVANCED_SD channel types. For those channel types, the default preset is HIGHER_BANDWIDTH_DELIVERY. For other channel types (BASIC and STANDARD), preset is the empty string (\"\").

" }, - "recordingConfigurationArn":{ - "shape":"ChannelRecordingConfigurationArn", - "documentation":"

Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. If this is set to an empty string, recording is disabled.

" - }, - "type":{ - "shape":"ChannelType", - "documentation":"

Channel type, which determines the allowable resolution and bitrate. If you exceed the allowable input resolution or bitrate, the stream probably will disconnect immediately. Default: STANDARD. For details, see Channel Types.

" + "playbackRestrictionPolicyArn":{ + "shape":"ChannelPlaybackRestrictionPolicyArn", + "documentation":"

Playback-restriction-policy ARN. A valid ARN value here both specifies the ARN and enables playback restriction. If this is set to an empty string, playback restriction policy is disabled.

" } } }, @@ -2584,6 +2585,10 @@ "type":"structure", "required":["arn"], "members":{ + "arn":{ + "shape":"PlaybackRestrictionPolicyArn", + "documentation":"

ARN of the playback-restriction-policy to be updated.

" + }, "allowedCountries":{ "shape":"PlaybackRestrictionPolicyAllowedCountryList", "documentation":"

A list of country codes that control geoblocking restriction. Allowed values are the officially assigned ISO 3166-1 alpha-2 codes. Default: All countries (an empty array).

" @@ -2592,10 +2597,6 @@ "shape":"PlaybackRestrictionPolicyAllowedOriginList", "documentation":"

A list of origin sites that control CORS restriction. Allowed values are the same as valid values of the Origin header defined at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin. Default: All origins (an empty array).

" }, - "arn":{ - "shape":"PlaybackRestrictionPolicyArn", - "documentation":"

ARN of the playback-restriction-policy to be updated.

" - }, "enableStrictOriginEnforcement":{ "shape":"PlaybackRestrictionPolicyEnableStrictOriginEnforcement", "documentation":"

Whether channel playback is constrained by origin site. Default: false.

" @@ -2633,14 +2634,14 @@ "VideoConfiguration":{ "type":"structure", "members":{ - "avcLevel":{ - "shape":"String", - "documentation":"

Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.

" - }, "avcProfile":{ "shape":"String", "documentation":"

Indicates to the decoder the requirements for decoding the stream. For definitions of the valid values, see the H.264 specification.

" }, + "avcLevel":{ + "shape":"String", + "documentation":"

Indicates the degree of required decoder performance for a profile. Normally this is set automatically by the encoder. For details, see the H.264 specification.

" + }, "codec":{ "shape":"String", "documentation":"

Codec used for the video encoding.

" @@ -2680,5 +2681,5 @@ "errorCode":{"type":"string"}, "errorMessage":{"type":"string"} }, - "documentation":"

Introduction

The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.

All API request parameters and URLs are case sensitive.

For a summary of notable documentation changes in each release, see Document History.

Allowed Header Values

  • Accept: application/json

  • Accept-Encoding: gzip, deflate

  • Content-Type: application/json

Key Concepts

  • Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.

  • Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. Treat the stream key like a secret, since it allows anyone to stream to the channel.

  • Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.

  • Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.

  • Playback restriction policy — Restricts playback by countries and/or origin sites.

For more information about your IVS live stream, also see Getting Started with IVS Low-Latency Streaming.

Tagging

A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.

At most 50 tags can be applied to a resource.

Authentication versus Authorization

Note the differences between these concepts:

  • Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.

  • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")

Authentication

All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.

You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata permission.

For more information:

Amazon Resource Names (ARNs)

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.

Channel Endpoints

  • CreateChannel — Creates a new channel and an associated stream key to start streaming.

  • GetChannel — Gets the channel configuration for the specified channel ARN.

  • BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously.

  • ListChannels — Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 Conflict Exception).

  • UpdateChannel — Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.

  • DeleteChannel — Deletes the specified channel.

Playback Restriction Policy Endpoints

Private Channel Endpoints

For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

  • ImportPlaybackKeyPair — Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to private channels (channels enabled for playback authorization).

  • GetPlaybackKeyPair — Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels.

  • ListPlaybackKeyPairs — Gets summary information about playback key pairs.

  • DeletePlaybackKeyPair — Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.

  • StartViewerSessionRevocation — Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version.

  • BatchStartViewerSessionRevocation — Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.

Recording Configuration Endpoints

Stream Endpoints

  • GetStream — Gets information about the active (live) stream on a specified channel.

  • GetStreamSession — Gets metadata on a specified stream.

  • ListStreams — Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.

  • ListStreamSessions — Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.

  • StopStream — Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

  • PutMetadata — Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed.

Stream Key Endpoints

  • CreateStreamKey — Creates a stream key, used to initiate a stream, for the specified channel ARN.

  • GetStreamKey — Gets stream key information for the specified ARN.

  • BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously.

  • ListStreamKeys — Gets summary information about stream keys for the specified channel.

  • DeleteStreamKey — Deletes the stream key for the specified ARN, so it can no longer be used to stream.

Amazon Web Services Tags Endpoints

  • TagResource — Adds or updates tags for the Amazon Web Services resource with the specified ARN.

  • UntagResource — Removes tags from the resource with the specified ARN.

  • ListTagsForResource — Gets information about Amazon Web Services tags for the specified ARN.

" + "documentation":"

Introduction

The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.

All API request parameters and URLs are case sensitive.

For a summary of notable documentation changes in each release, see Document History.

Allowed Header Values

  • Accept: application/json

  • Accept-Encoding: gzip, deflate

  • Content-Type: application/json

Key Concepts

  • Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.

  • Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. Treat the stream key like a secret, since it allows anyone to stream to the channel.

  • Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.

  • Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.

  • Playback restriction policy — Restricts playback by countries and/or origin sites.

For more information about your IVS live stream, also see Getting Started with IVS Low-Latency Streaming.

Tagging

A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.

At most 50 tags can be applied to a resource.

Authentication versus Authorization

Note the differences between these concepts:

  • Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.

  • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")

Authentication

All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.

You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata permission.

For more information:

Amazon Resource Names (ARNs)

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.

" } diff --git a/tools/code-generation/api-descriptions/neptune-graph-2023-11-29.normal.json b/tools/code-generation/api-descriptions/neptune-graph-2023-11-29.normal.json index 58f09b07ad0..be4317fc147 100644 --- a/tools/code-generation/api-descriptions/neptune-graph-2023-11-29.normal.json +++ b/tools/code-generation/api-descriptions/neptune-graph-2023-11-29.normal.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2023-11-29", + "auth":["aws.auth#sigv4"], "endpointPrefix":"neptune-graph", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "ripServiceName":"neptune-graph", "serviceAbbreviation":"Neptune Graph", "serviceFullName":"Amazon Neptune Graph", @@ -2342,7 +2343,7 @@ "type":"integer", "box":true, "max":24576, - "min":128 + "min":32 }, "QueryLanguage":{ "type":"string", diff --git a/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json b/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json index 170fcd51856..26a91f59bbb 100644 --- a/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json +++ b/tools/code-generation/api-descriptions/redshift-serverless-2021-04-21.normal.json @@ -172,7 +172,8 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, {"shape":"ValidationException"}, - {"shape":"TooManyTagsException"} + {"shape":"TooManyTagsException"}, + {"shape":"Ipv6CidrBlockNotFoundException"} ], "documentation":"

Creates an workgroup in Amazon Redshift Serverless.

", "idempotent":true @@ -916,7 +917,8 @@ {"shape":"InsufficientCapacityException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ConflictException"}, - {"shape":"ValidationException"} + {"shape":"ValidationException"}, + {"shape":"Ipv6CidrBlockNotFoundException"} ], "documentation":"

Updates a workgroup with the specified configuration settings. You can't update multiple parameters in one request. For example, you can update baseCapacity or port in a single request, but you can't update both in the same request.

" } @@ -1200,7 +1202,7 @@ }, "roleArn":{ "shape":"IamRoleArn", - "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide

" + "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide

" }, "schedule":{ "shape":"Schedule", @@ -1383,6 +1385,10 @@ "shape":"Boolean", "documentation":"

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC instead of over the internet.

" }, + "ipAddressType":{ + "shape":"IpAddressType", + "documentation":"

The IP address type that the workgroup supports. Possible values are ipv4 and dualstack.

" + }, "maxCapacity":{ "shape":"Integer", "documentation":"

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" @@ -1999,6 +2005,19 @@ "documentation":"

The provided pagination token is invalid.

", "exception":true }, + "IpAddressType":{ + "type":"string", + "pattern":"^(ipv4|dualstack)$" + }, + "Ipv6CidrBlockNotFoundException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{"shape":"String"} + }, + "documentation":"

There are no subnets in your VPC with associated IPv6 CIDR blocks. To use dual-stack mode, associate an IPv6 CIDR block with each subnet in your VPC.

", + "exception":true + }, "KmsKeyId":{"type":"string"}, "ListCustomDomainAssociationsRequest":{ "type":"structure", @@ -2538,6 +2557,10 @@ "shape":"String", "documentation":"

The availability Zone.

" }, + "ipv6Address":{ + "shape":"String", + "documentation":"

The IPv6 address of the network interface within the subnet.

" + }, "networkInterfaceId":{ "shape":"String", "documentation":"

The unique identifier of the network interface.

" @@ -2925,7 +2948,7 @@ }, "roleArn":{ "shape":"IamRoleArn", - "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide

" + "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots. (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide

" }, "schedule":{ "shape":"Schedule", @@ -3461,7 +3484,7 @@ }, "roleArn":{ "shape":"IamRoleArn", - "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Cluster Management Guide

" + "documentation":"

The ARN of the IAM role to assume to run the scheduled action. This IAM role must have permission to run the Amazon Redshift Serverless API operation in the scheduled action. This IAM role must allow the Amazon Redshift scheduler to schedule creating snapshots (Principal scheduler.redshift.amazonaws.com) to assume permissions on your behalf. For more information about the IAM role to use with the Amazon Redshift scheduler, see Using Identity-Based Policies for Amazon Redshift in the Amazon Redshift Management Guide

" }, "schedule":{ "shape":"Schedule", @@ -3581,6 +3604,10 @@ "shape":"Boolean", "documentation":"

The value that specifies whether to turn on enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

" }, + "ipAddressType":{ + "shape":"IpAddressType", + "documentation":"

The IP address type that the workgroup supports. Possible values are ipv4 and dualstack.

" + }, "maxCapacity":{ "shape":"Integer", "documentation":"

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

" @@ -3777,6 +3804,10 @@ "shape":"Boolean", "documentation":"

The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC.

" }, + "ipAddressType":{ + "shape":"IpAddressType", + "documentation":"

The IP address type that the workgroup supports. Possible values are ipv4 and dualstack.

" + }, "maxCapacity":{ "shape":"Integer", "documentation":"

The maximum data-warehouse capacity Amazon Redshift Serverless uses to serve queries. The max capacity is specified in RPUs.

"