AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
47 inline CreateIntegrationWorkflowRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline CreateIntegrationWorkflowRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline CreateIntegrationWorkflowRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
56 inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; }
57 inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; }
58 inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; }
59 inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); }
61 inline CreateIntegrationWorkflowRequest& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;}
63
65
68 inline const IntegrationConfig& GetIntegrationConfig() const{ return m_integrationConfig; }
69 inline bool IntegrationConfigHasBeenSet() const { return m_integrationConfigHasBeenSet; }
70 inline void SetIntegrationConfig(const IntegrationConfig& value) { m_integrationConfigHasBeenSet = true; m_integrationConfig = value; }
71 inline void SetIntegrationConfig(IntegrationConfig&& value) { m_integrationConfigHasBeenSet = true; m_integrationConfig = std::move(value); }
75
77
80 inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; }
81 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
82 inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; }
83 inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); }
84 inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); }
86 inline CreateIntegrationWorkflowRequest& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;}
87 inline CreateIntegrationWorkflowRequest& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;}
89
91
95 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
96 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
97 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
98 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
99 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
100 inline CreateIntegrationWorkflowRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
101 inline CreateIntegrationWorkflowRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
102 inline CreateIntegrationWorkflowRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
104
106
109 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
114 inline CreateIntegrationWorkflowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
115 inline CreateIntegrationWorkflowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 inline CreateIntegrationWorkflowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
117 inline CreateIntegrationWorkflowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
118 inline CreateIntegrationWorkflowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
119 inline CreateIntegrationWorkflowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
120 inline CreateIntegrationWorkflowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline CreateIntegrationWorkflowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 private:
124
125 Aws::String m_domainName;
126 bool m_domainNameHasBeenSet = false;
127
128 WorkflowType m_workflowType;
129 bool m_workflowTypeHasBeenSet = false;
130
131 IntegrationConfig m_integrationConfig;
132 bool m_integrationConfigHasBeenSet = false;
133
134 Aws::String m_objectTypeName;
135 bool m_objectTypeNameHasBeenSet = false;
136
137 Aws::String m_roleArn;
138 bool m_roleArnHasBeenSet = false;
139
141 bool m_tagsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace CustomerProfiles
146} // namespace Aws
CreateIntegrationWorkflowRequest & WithRoleArn(const Aws::String &value)
CreateIntegrationWorkflowRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateIntegrationWorkflowRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateIntegrationWorkflowRequest & WithObjectTypeName(const char *value)
CreateIntegrationWorkflowRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateIntegrationWorkflowRequest & WithDomainName(const char *value)
CreateIntegrationWorkflowRequest & AddTags(const char *key, const char *value)
CreateIntegrationWorkflowRequest & WithIntegrationConfig(const IntegrationConfig &value)
CreateIntegrationWorkflowRequest & WithDomainName(const Aws::String &value)
CreateIntegrationWorkflowRequest & WithObjectTypeName(Aws::String &&value)
CreateIntegrationWorkflowRequest & WithObjectTypeName(const Aws::String &value)
CreateIntegrationWorkflowRequest & WithWorkflowType(WorkflowType &&value)
CreateIntegrationWorkflowRequest & WithIntegrationConfig(IntegrationConfig &&value)
CreateIntegrationWorkflowRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationWorkflowRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateIntegrationWorkflowRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateIntegrationWorkflowRequest & WithWorkflowType(const WorkflowType &value)
CreateIntegrationWorkflowRequest & WithRoleArn(Aws::String &&value)
CreateIntegrationWorkflowRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateIntegrationWorkflowRequest & WithDomainName(Aws::String &&value)
CreateIntegrationWorkflowRequest & WithRoleArn(const char *value)
CreateIntegrationWorkflowRequest & AddTags(const char *key, Aws::String &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
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