/** * 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 namespace Aws { namespace AppFabric { namespace Model { /** */ class CreateIngestionDestinationRequest : public AppFabricRequest { public: AWS_APPFABRIC_API CreateIngestionDestinationRequest(); // 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 "CreateIngestionDestination"; } AWS_APPFABRIC_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline const Aws::String& GetAppBundleIdentifier() const{ return m_appBundleIdentifier; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline CreateIngestionDestinationRequest& WithAppBundleIdentifier(const Aws::String& value) { SetAppBundleIdentifier(value); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline CreateIngestionDestinationRequest& WithAppBundleIdentifier(Aws::String&& value) { SetAppBundleIdentifier(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline CreateIngestionDestinationRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline const Aws::String& GetIngestionIdentifier() const{ return m_ingestionIdentifier; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline bool IngestionIdentifierHasBeenSet() const { return m_ingestionIdentifierHasBeenSet; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline void SetIngestionIdentifier(const Aws::String& value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier = value; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline void SetIngestionIdentifier(Aws::String&& value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier = std::move(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline void SetIngestionIdentifier(const char* value) { m_ingestionIdentifierHasBeenSet = true; m_ingestionIdentifier.assign(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline CreateIngestionDestinationRequest& WithIngestionIdentifier(const Aws::String& value) { SetIngestionIdentifier(value); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline CreateIngestionDestinationRequest& WithIngestionIdentifier(Aws::String&& value) { SetIngestionIdentifier(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * ingestion to use for the request.

*/ inline CreateIngestionDestinationRequest& WithIngestionIdentifier(const char* value) { SetIngestionIdentifier(value); return *this;} /** *

Contains information about how ingested data is processed.

*/ inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } /** *

Contains information about how ingested data is processed.

*/ inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } /** *

Contains information about how ingested data is processed.

*/ inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } /** *

Contains information about how ingested data is processed.

*/ inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } /** *

Contains information about how ingested data is processed.

*/ inline CreateIngestionDestinationRequest& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} /** *

Contains information about how ingested data is processed.

*/ inline CreateIngestionDestinationRequest& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} /** *

Contains information about the destination of ingested data.

*/ inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } /** *

Contains information about the destination of ingested data.

*/ inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } /** *

Contains information about the destination of ingested data.

*/ inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } /** *

Contains information about the destination of ingested data.

*/ inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } /** *

Contains information about the destination of ingested data.

*/ inline CreateIngestionDestinationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} /** *

Contains information about the destination of ingested data.

*/ inline CreateIngestionDestinationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline CreateIngestionDestinationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline CreateIngestionDestinationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Specifies a unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. This lets you safely retry the request without * accidentally performing the same operation a second time. Passing the same value * to a later call to an operation requires that you also pass the same value for * all other parameters. We recommend that you use a UUID type of * value.

If you don't provide this value, then Amazon Web Services * generates a random one for you.

If you retry the operation with the same * ClientToken, but with different parameters, the retry fails with an * IdempotentParameterMismatch error.

*/ inline CreateIngestionDestinationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline CreateIngestionDestinationRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline CreateIngestionDestinationRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline CreateIngestionDestinationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A map of the key-value pairs of the tag or tags to assign to the * resource.

*/ inline CreateIngestionDestinationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_appBundleIdentifier; bool m_appBundleIdentifierHasBeenSet = false; Aws::String m_ingestionIdentifier; bool m_ingestionIdentifierHasBeenSet = false; ProcessingConfiguration m_processingConfiguration; bool m_processingConfigurationHasBeenSet = false; DestinationConfiguration m_destinationConfiguration; bool m_destinationConfigurationHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws