AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateIntegrationWorkflowRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/WorkflowType.h>
11#include <aws/customer-profiles/model/IntegrationConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CustomerProfiles
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CUSTOMERPROFILES_API CreateIntegrationWorkflowRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationWorkflow"; }
34
35 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template<typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
46 template<typename DomainNameT = Aws::String>
47 CreateIntegrationWorkflowRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
54 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
55 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
56 inline void SetWorkflowType(WorkflowType value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
59
61
64 inline const IntegrationConfig& GetIntegrationConfig() const { return m_integrationConfig; }
65 inline bool IntegrationConfigHasBeenSet() const { return m_integrationConfigHasBeenSet; }
66 template<typename IntegrationConfigT = IntegrationConfig>
67 void SetIntegrationConfig(IntegrationConfigT&& value) { m_integrationConfigHasBeenSet = true; m_integrationConfig = std::forward<IntegrationConfigT>(value); }
68 template<typename IntegrationConfigT = IntegrationConfig>
69 CreateIntegrationWorkflowRequest& WithIntegrationConfig(IntegrationConfigT&& value) { SetIntegrationConfig(std::forward<IntegrationConfigT>(value)); return *this;}
71
73
76 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
77 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
78 template<typename ObjectTypeNameT = Aws::String>
79 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
80 template<typename ObjectTypeNameT = Aws::String>
81 CreateIntegrationWorkflowRequest& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
83
85
89 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
90 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
91 template<typename RoleArnT = Aws::String>
92 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
93 template<typename RoleArnT = Aws::String>
94 CreateIntegrationWorkflowRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
96
98
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
105 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 CreateIntegrationWorkflowRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
107 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
108 CreateIntegrationWorkflowRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
109 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
110 }
112 private:
113
114 Aws::String m_domainName;
115 bool m_domainNameHasBeenSet = false;
116
117 WorkflowType m_workflowType{WorkflowType::NOT_SET};
118 bool m_workflowTypeHasBeenSet = false;
119
120 IntegrationConfig m_integrationConfig;
121 bool m_integrationConfigHasBeenSet = false;
122
123 Aws::String m_objectTypeName;
124 bool m_objectTypeNameHasBeenSet = false;
125
126 Aws::String m_roleArn;
127 bool m_roleArnHasBeenSet = false;
128
130 bool m_tagsHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CustomerProfiles
135} // namespace Aws
CreateIntegrationWorkflowRequest & WithObjectTypeName(ObjectTypeNameT &&value)
CreateIntegrationWorkflowRequest & WithRoleArn(RoleArnT &&value)
CreateIntegrationWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIntegrationWorkflowRequest & WithIntegrationConfig(IntegrationConfigT &&value)
CreateIntegrationWorkflowRequest & WithWorkflowType(WorkflowType value)
CreateIntegrationWorkflowRequest & WithDomainName(DomainNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API CreateIntegrationWorkflowRequest()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String