AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateIntegrationWorkflowRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfilesRequest.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/IntegrationConfig.h>
12#include <aws/customer-profiles/model/WorkflowType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace CustomerProfiles {
18namespace Model {
19
23 public:
24 AWS_CUSTOMERPROFILES_API CreateIntegrationWorkflowRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateIntegrationWorkflow"; }
31
32 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDomainName() const { return m_domainName; }
39 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
40 template <typename DomainNameT = Aws::String>
41 void SetDomainName(DomainNameT&& value) {
42 m_domainNameHasBeenSet = true;
43 m_domainName = std::forward<DomainNameT>(value);
44 }
45 template <typename DomainNameT = Aws::String>
47 SetDomainName(std::forward<DomainNameT>(value));
48 return *this;
49 }
51
53
56 inline WorkflowType GetWorkflowType() const { return m_workflowType; }
57 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
58 inline void SetWorkflowType(WorkflowType value) {
59 m_workflowTypeHasBeenSet = true;
60 m_workflowType = value;
61 }
63 SetWorkflowType(value);
64 return *this;
65 }
67
69
72 inline const IntegrationConfig& GetIntegrationConfig() const { return m_integrationConfig; }
73 inline bool IntegrationConfigHasBeenSet() const { return m_integrationConfigHasBeenSet; }
74 template <typename IntegrationConfigT = IntegrationConfig>
75 void SetIntegrationConfig(IntegrationConfigT&& value) {
76 m_integrationConfigHasBeenSet = true;
77 m_integrationConfig = std::forward<IntegrationConfigT>(value);
78 }
79 template <typename IntegrationConfigT = IntegrationConfig>
81 SetIntegrationConfig(std::forward<IntegrationConfigT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
91 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
92 template <typename ObjectTypeNameT = Aws::String>
93 void SetObjectTypeName(ObjectTypeNameT&& value) {
94 m_objectTypeNameHasBeenSet = true;
95 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
96 }
97 template <typename ObjectTypeNameT = Aws::String>
99 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
110 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
111 template <typename RoleArnT = Aws::String>
112 void SetRoleArn(RoleArnT&& value) {
113 m_roleArnHasBeenSet = true;
114 m_roleArn = std::forward<RoleArnT>(value);
115 }
116 template <typename RoleArnT = Aws::String>
118 SetRoleArn(std::forward<RoleArnT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
128 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
129 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 void SetTags(TagsT&& value) {
131 m_tagsHasBeenSet = true;
132 m_tags = std::forward<TagsT>(value);
133 }
134 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 SetTags(std::forward<TagsT>(value));
137 return *this;
138 }
139 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
140 CreateIntegrationWorkflowRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
141 m_tagsHasBeenSet = true;
142 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 return *this;
144 }
146 private:
147 Aws::String m_domainName;
148
149 WorkflowType m_workflowType{WorkflowType::NOT_SET};
150
151 IntegrationConfig m_integrationConfig;
152
153 Aws::String m_objectTypeName;
154
155 Aws::String m_roleArn;
156
158 bool m_domainNameHasBeenSet = false;
159 bool m_workflowTypeHasBeenSet = false;
160 bool m_integrationConfigHasBeenSet = false;
161 bool m_objectTypeNameHasBeenSet = false;
162 bool m_roleArnHasBeenSet = false;
163 bool m_tagsHasBeenSet = false;
164};
165
166} // namespace Model
167} // namespace CustomerProfiles
168} // namespace Aws
CreateIntegrationWorkflowRequest & WithObjectTypeName(ObjectTypeNameT &&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