/** * 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 AppIntegrationsService { namespace Model { class CreateDataIntegrationResult { public: AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationResult(); AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationResult(const Aws::AmazonWebServiceResult& result); AWS_APPINTEGRATIONSSERVICE_API CreateDataIntegrationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN)

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN)

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The Amazon Resource Name (ARN)

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN)

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN)

*/ inline CreateDataIntegrationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN)

*/ inline CreateDataIntegrationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN)

*/ inline CreateDataIntegrationResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

A unique identifier.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

A unique identifier.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

A unique identifier.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

A unique identifier.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

A unique identifier.

*/ inline CreateDataIntegrationResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

A unique identifier.

*/ inline CreateDataIntegrationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

A unique identifier.

*/ inline CreateDataIntegrationResult& WithId(const char* value) { SetId(value); return *this;} /** *

The name of the DataIntegration.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the DataIntegration.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the DataIntegration.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the DataIntegration.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithName(const char* value) { SetName(value); return *this;} /** *

A description of the DataIntegration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the DataIntegration.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

A description of the DataIntegration.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

A description of the DataIntegration.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

A description of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the DataIntegration.

*/ inline CreateDataIntegrationResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The KMS key for the DataIntegration.

*/ inline const Aws::String& GetKmsKey() const{ return m_kmsKey; } /** *

The KMS key for the DataIntegration.

*/ inline void SetKmsKey(const Aws::String& value) { m_kmsKey = value; } /** *

The KMS key for the DataIntegration.

*/ inline void SetKmsKey(Aws::String&& value) { m_kmsKey = std::move(value); } /** *

The KMS key for the DataIntegration.

*/ inline void SetKmsKey(const char* value) { m_kmsKey.assign(value); } /** *

The KMS key for the DataIntegration.

*/ inline CreateDataIntegrationResult& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;} /** *

The KMS key for the DataIntegration.

*/ inline CreateDataIntegrationResult& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;} /** *

The KMS key for the DataIntegration.

*/ inline CreateDataIntegrationResult& WithKmsKey(const char* value) { SetKmsKey(value); return *this;} /** *

The URI of the data source.

*/ inline const Aws::String& GetSourceURI() const{ return m_sourceURI; } /** *

The URI of the data source.

*/ inline void SetSourceURI(const Aws::String& value) { m_sourceURI = value; } /** *

The URI of the data source.

*/ inline void SetSourceURI(Aws::String&& value) { m_sourceURI = std::move(value); } /** *

The URI of the data source.

*/ inline void SetSourceURI(const char* value) { m_sourceURI.assign(value); } /** *

The URI of the data source.

*/ inline CreateDataIntegrationResult& WithSourceURI(const Aws::String& value) { SetSourceURI(value); return *this;} /** *

The URI of the data source.

*/ inline CreateDataIntegrationResult& WithSourceURI(Aws::String&& value) { SetSourceURI(std::move(value)); return *this;} /** *

The URI of the data source.

*/ inline CreateDataIntegrationResult& WithSourceURI(const char* value) { SetSourceURI(value); return *this;} /** *

The name of the data and how often it should be pulled from the source.

*/ inline const ScheduleConfiguration& GetScheduleConfiguration() const{ return m_scheduleConfiguration; } /** *

The name of the data and how often it should be pulled from the source.

*/ inline void SetScheduleConfiguration(const ScheduleConfiguration& value) { m_scheduleConfiguration = value; } /** *

The name of the data and how often it should be pulled from the source.

*/ inline void SetScheduleConfiguration(ScheduleConfiguration&& value) { m_scheduleConfiguration = std::move(value); } /** *

The name of the data and how often it should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithScheduleConfiguration(const ScheduleConfiguration& value) { SetScheduleConfiguration(value); return *this;} /** *

The name of the data and how often it should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithScheduleConfiguration(ScheduleConfiguration&& value) { SetScheduleConfiguration(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline CreateDataIntegrationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. If not provided, the Amazon Web Services SDK * populates this field. For more information about idempotency, see Making * retries safe with idempotent APIs.

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

The configuration for what files should be pulled from the source.

*/ inline const FileConfiguration& GetFileConfiguration() const{ return m_fileConfiguration; } /** *

The configuration for what files should be pulled from the source.

*/ inline void SetFileConfiguration(const FileConfiguration& value) { m_fileConfiguration = value; } /** *

The configuration for what files should be pulled from the source.

*/ inline void SetFileConfiguration(FileConfiguration&& value) { m_fileConfiguration = std::move(value); } /** *

The configuration for what files should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithFileConfiguration(const FileConfiguration& value) { SetFileConfiguration(value); return *this;} /** *

The configuration for what files should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithFileConfiguration(FileConfiguration&& value) { SetFileConfiguration(std::move(value)); return *this;} /** *

The configuration for what data should be pulled from the source.

*/ inline const Aws::Map>>& GetObjectConfiguration() const{ return m_objectConfiguration; } /** *

The configuration for what data should be pulled from the source.

*/ inline void SetObjectConfiguration(const Aws::Map>>& value) { m_objectConfiguration = value; } /** *

The configuration for what data should be pulled from the source.

*/ inline void SetObjectConfiguration(Aws::Map>>&& value) { m_objectConfiguration = std::move(value); } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithObjectConfiguration(const Aws::Map>>& value) { SetObjectConfiguration(value); return *this;} /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& WithObjectConfiguration(Aws::Map>>&& value) { SetObjectConfiguration(std::move(value)); return *this;} /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(const Aws::String& key, const Aws::Map>& value) { m_objectConfiguration.emplace(key, value); return *this; } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(Aws::String&& key, const Aws::Map>& value) { m_objectConfiguration.emplace(std::move(key), value); return *this; } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(const Aws::String& key, Aws::Map>&& value) { m_objectConfiguration.emplace(key, std::move(value)); return *this; } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(Aws::String&& key, Aws::Map>&& value) { m_objectConfiguration.emplace(std::move(key), std::move(value)); return *this; } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(const char* key, Aws::Map>&& value) { m_objectConfiguration.emplace(key, std::move(value)); return *this; } /** *

The configuration for what data should be pulled from the source.

*/ inline CreateDataIntegrationResult& AddObjectConfiguration(const char* key, const Aws::Map>& value) { m_objectConfiguration.emplace(key, 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 CreateDataIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateDataIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateDataIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; Aws::String m_name; Aws::String m_description; Aws::String m_kmsKey; Aws::String m_sourceURI; ScheduleConfiguration m_scheduleConfiguration; Aws::Map m_tags; Aws::String m_clientToken; FileConfiguration m_fileConfiguration; Aws::Map>> m_objectConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace AppIntegrationsService } // namespace Aws