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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline PutIntegrationResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline PutIntegrationResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline PutIntegrationResult& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The URI of the S3 bucket or any other type of data source.

*/ inline const Aws::String& GetUri() const{ return m_uri; } /** *

The URI of the S3 bucket or any other type of data source.

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

The URI of the S3 bucket or any other type of data source.

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

The URI of the S3 bucket or any other type of data source.

*/ inline void SetUri(const char* value) { m_uri.assign(value); } /** *

The URI of the S3 bucket or any other type of data source.

*/ inline PutIntegrationResult& WithUri(const Aws::String& value) { SetUri(value); return *this;} /** *

The URI of the S3 bucket or any other type of data source.

*/ inline PutIntegrationResult& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} /** *

The URI of the S3 bucket or any other type of data source.

*/ inline PutIntegrationResult& WithUri(const char* value) { SetUri(value); return *this;} /** *

The name of the profile object type.

*/ inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; } /** *

The name of the profile object type.

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

The name of the profile object type.

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

The name of the profile object type.

*/ inline void SetObjectTypeName(const char* value) { m_objectTypeName.assign(value); } /** *

The name of the profile object type.

*/ inline PutIntegrationResult& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;} /** *

The name of the profile object type.

*/ inline PutIntegrationResult& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;} /** *

The name of the profile object type.

*/ inline PutIntegrationResult& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;} /** *

The timestamp of when the domain was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the domain was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp of when the domain was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The timestamp of when the domain was created.

*/ inline PutIntegrationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the domain was created.

*/ inline PutIntegrationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The timestamp of when the domain was most recently edited.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The timestamp of when the domain was most recently edited.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } /** *

The timestamp of when the domain was most recently edited.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } /** *

The timestamp of when the domain was most recently edited.

*/ inline PutIntegrationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The timestamp of when the domain was most recently edited.

*/ inline PutIntegrationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

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

The tags used to organize, track, or control access for this resource.

*/ inline PutIntegrationResult& 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.

*/ inline PutIntegrationResult& 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.

*/ inline PutIntegrationResult& 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.

*/ inline PutIntegrationResult& 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.

*/ inline PutIntegrationResult& 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.

*/ inline PutIntegrationResult& 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.

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

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline const Aws::Map& GetObjectTypeNames() const{ return m_objectTypeNames; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

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

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

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

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& WithObjectTypeNames(const Aws::Map& value) { SetObjectTypeNames(value); return *this;} /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& WithObjectTypeNames(Aws::Map&& value) { SetObjectTypeNames(std::move(value)); return *this;} /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(const Aws::String& key, const Aws::String& value) { m_objectTypeNames.emplace(key, value); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(Aws::String&& key, const Aws::String& value) { m_objectTypeNames.emplace(std::move(key), value); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(const Aws::String& key, Aws::String&& value) { m_objectTypeNames.emplace(key, std::move(value)); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(Aws::String&& key, Aws::String&& value) { m_objectTypeNames.emplace(std::move(key), std::move(value)); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(const char* key, Aws::String&& value) { m_objectTypeNames.emplace(key, std::move(value)); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(Aws::String&& key, const char* value) { m_objectTypeNames.emplace(std::move(key), value); return *this; } /** *

A map in which each key is an event type from an external application such as * Segment or Shopify, and each value is an ObjectTypeName (template) * used to ingest the event. It supports the following event types: * SegmentIdentify, ShopifyCreateCustomers, * ShopifyUpdateCustomers, ShopifyCreateDraftOrders, * ShopifyUpdateDraftOrders, ShopifyCreateOrders, and * ShopifyUpdatedOrders.

*/ inline PutIntegrationResult& AddObjectTypeNames(const char* key, const char* value) { m_objectTypeNames.emplace(key, value); return *this; } /** *

Unique identifier for the workflow.

*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *

Unique identifier for the workflow.

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

Unique identifier for the workflow.

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

Unique identifier for the workflow.

*/ inline void SetWorkflowId(const char* value) { m_workflowId.assign(value); } /** *

Unique identifier for the workflow.

*/ inline PutIntegrationResult& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *

Unique identifier for the workflow.

*/ inline PutIntegrationResult& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *

Unique identifier for the workflow.

*/ inline PutIntegrationResult& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *

Boolean that shows if the Flow that's associated with the Integration is * created in Amazon Appflow, or with ObjectTypeName equals _unstructured via * API/CLI in flowDefinition.

*/ inline bool GetIsUnstructured() const{ return m_isUnstructured; } /** *

Boolean that shows if the Flow that's associated with the Integration is * created in Amazon Appflow, or with ObjectTypeName equals _unstructured via * API/CLI in flowDefinition.

*/ inline void SetIsUnstructured(bool value) { m_isUnstructured = value; } /** *

Boolean that shows if the Flow that's associated with the Integration is * created in Amazon Appflow, or with ObjectTypeName equals _unstructured via * API/CLI in flowDefinition.

*/ inline PutIntegrationResult& WithIsUnstructured(bool value) { SetIsUnstructured(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 PutIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainName; Aws::String m_uri; Aws::String m_objectTypeName; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastUpdatedAt; Aws::Map m_tags; Aws::Map m_objectTypeNames; Aws::String m_workflowId; bool m_isUnstructured; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws