/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace CustomerProfiles { namespace Model { /** */ class CreateIntegrationWorkflowRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API CreateIntegrationWorkflowRequest(); // 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 "CreateIntegrationWorkflow"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The unique name of the domain.

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

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); } /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline CreateIntegrationWorkflowRequest& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;} /** *

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

*/ inline CreateIntegrationWorkflowRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;} /** *

Configuration data for integration workflow.

*/ inline const IntegrationConfig& GetIntegrationConfig() const{ return m_integrationConfig; } /** *

Configuration data for integration workflow.

*/ inline bool IntegrationConfigHasBeenSet() const { return m_integrationConfigHasBeenSet; } /** *

Configuration data for integration workflow.

*/ inline void SetIntegrationConfig(const IntegrationConfig& value) { m_integrationConfigHasBeenSet = true; m_integrationConfig = value; } /** *

Configuration data for integration workflow.

*/ inline void SetIntegrationConfig(IntegrationConfig&& value) { m_integrationConfigHasBeenSet = true; m_integrationConfig = std::move(value); } /** *

Configuration data for integration workflow.

*/ inline CreateIntegrationWorkflowRequest& WithIntegrationConfig(const IntegrationConfig& value) { SetIntegrationConfig(value); return *this;} /** *

Configuration data for integration workflow.

*/ inline CreateIntegrationWorkflowRequest& WithIntegrationConfig(IntegrationConfig&& value) { SetIntegrationConfig(std::move(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 bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; } /** *

The name of the profile object type.

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

The name of the profile object type.

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

The name of the profile object type.

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

The name of the profile object type.

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

The name of the profile object type.

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

The name of the profile object type.

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

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline CreateIntegrationWorkflowRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline CreateIntegrationWorkflowRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes * this role to create resources on your behalf as part of workflow execution.

*/ inline CreateIntegrationWorkflowRequest& WithRoleArn(const char* value) { SetRoleArn(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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline CreateIntegrationWorkflowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; WorkflowType m_workflowType; bool m_workflowTypeHasBeenSet = false; IntegrationConfig m_integrationConfig; bool m_integrationConfigHasBeenSet = false; Aws::String m_objectTypeName; bool m_objectTypeNameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws