AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutIntegrationRequest.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/core/utils/memory/stl/AWSMap.h>
11#include <aws/customer-profiles/model/FlowDefinition.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CustomerProfiles
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CUSTOMERPROFILES_API PutIntegrationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutIntegration"; }
33
34 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDomainName() const{ return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
44 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
45 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
46 inline PutIntegrationRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
47 inline PutIntegrationRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
48 inline PutIntegrationRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
50
52
55 inline const Aws::String& GetUri() const{ return m_uri; }
56 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
57 inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
58 inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
59 inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
60 inline PutIntegrationRequest& WithUri(const Aws::String& value) { SetUri(value); return *this;}
61 inline PutIntegrationRequest& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
62 inline PutIntegrationRequest& WithUri(const char* value) { SetUri(value); return *this;}
64
66
69 inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; }
70 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
71 inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; }
72 inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); }
73 inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); }
74 inline PutIntegrationRequest& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;}
75 inline PutIntegrationRequest& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;}
76 inline PutIntegrationRequest& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;}
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
84 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
85 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
86 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
87 inline PutIntegrationRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
88 inline PutIntegrationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
89 inline PutIntegrationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 inline PutIntegrationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
91 inline PutIntegrationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
92 inline PutIntegrationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
93 inline PutIntegrationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline PutIntegrationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
95 inline PutIntegrationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
97
99
103 inline const FlowDefinition& GetFlowDefinition() const{ return m_flowDefinition; }
104 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
105 inline void SetFlowDefinition(const FlowDefinition& value) { m_flowDefinitionHasBeenSet = true; m_flowDefinition = value; }
106 inline void SetFlowDefinition(FlowDefinition&& value) { m_flowDefinitionHasBeenSet = true; m_flowDefinition = std::move(value); }
107 inline PutIntegrationRequest& WithFlowDefinition(const FlowDefinition& value) { SetFlowDefinition(value); return *this;}
108 inline PutIntegrationRequest& WithFlowDefinition(FlowDefinition&& value) { SetFlowDefinition(std::move(value)); return *this;}
110
112
121 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const{ return m_objectTypeNames; }
122 inline bool ObjectTypeNamesHasBeenSet() const { return m_objectTypeNamesHasBeenSet; }
123 inline void SetObjectTypeNames(const Aws::Map<Aws::String, Aws::String>& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames = value; }
124 inline void SetObjectTypeNames(Aws::Map<Aws::String, Aws::String>&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames = std::move(value); }
127 inline PutIntegrationRequest& AddObjectTypeNames(const Aws::String& key, const Aws::String& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(key, value); return *this; }
128 inline PutIntegrationRequest& AddObjectTypeNames(Aws::String&& key, const Aws::String& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::move(key), value); return *this; }
129 inline PutIntegrationRequest& AddObjectTypeNames(const Aws::String& key, Aws::String&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(key, std::move(value)); return *this; }
130 inline PutIntegrationRequest& AddObjectTypeNames(Aws::String&& key, Aws::String&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::move(key), std::move(value)); return *this; }
131 inline PutIntegrationRequest& AddObjectTypeNames(const char* key, Aws::String&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(key, std::move(value)); return *this; }
132 inline PutIntegrationRequest& AddObjectTypeNames(Aws::String&& key, const char* value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::move(key), value); return *this; }
133 inline PutIntegrationRequest& AddObjectTypeNames(const char* key, const char* value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(key, value); return *this; }
135
137
141 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
142 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
143 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
144 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
145 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
146 inline PutIntegrationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
147 inline PutIntegrationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
148 inline PutIntegrationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
150 private:
151
152 Aws::String m_domainName;
153 bool m_domainNameHasBeenSet = false;
154
155 Aws::String m_uri;
156 bool m_uriHasBeenSet = false;
157
158 Aws::String m_objectTypeName;
159 bool m_objectTypeNameHasBeenSet = false;
160
162 bool m_tagsHasBeenSet = false;
163
164 FlowDefinition m_flowDefinition;
165 bool m_flowDefinitionHasBeenSet = false;
166
167 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
168 bool m_objectTypeNamesHasBeenSet = false;
169
170 Aws::String m_roleArn;
171 bool m_roleArnHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace CustomerProfiles
176} // namespace Aws
PutIntegrationRequest & WithDomainName(const char *value)
PutIntegrationRequest & WithUri(Aws::String &&value)
PutIntegrationRequest & WithFlowDefinition(const FlowDefinition &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetObjectTypeNames(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationRequest & AddObjectTypeNames(const char *key, const char *value)
PutIntegrationRequest & AddTags(Aws::String &&key, const char *value)
void SetObjectTypeNames(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationRequest & WithRoleArn(const char *value)
PutIntegrationRequest & WithDomainName(Aws::String &&value)
PutIntegrationRequest & WithObjectTypeName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationRequest & AddObjectTypeNames(const char *key, Aws::String &&value)
PutIntegrationRequest & AddTags(const Aws::String &key, Aws::String &&value)
PutIntegrationRequest & WithObjectTypeNames(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationRequest & AddObjectTypeNames(const Aws::String &key, const Aws::String &value)
PutIntegrationRequest & AddTags(const char *key, const char *value)
PutIntegrationRequest & WithRoleArn(Aws::String &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
PutIntegrationRequest & WithUri(const Aws::String &value)
PutIntegrationRequest & WithObjectTypeNames(Aws::Map< Aws::String, Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
PutIntegrationRequest & WithFlowDefinition(FlowDefinition &&value)
PutIntegrationRequest & AddObjectTypeNames(const Aws::String &key, Aws::String &&value)
PutIntegrationRequest & AddTags(Aws::String &&key, Aws::String &&value)
PutIntegrationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PutIntegrationRequest & WithRoleArn(const Aws::String &value)
PutIntegrationRequest & AddObjectTypeNames(Aws::String &&key, const Aws::String &value)
PutIntegrationRequest & WithUri(const char *value)
PutIntegrationRequest & AddObjectTypeNames(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutIntegrationRequest & WithDomainName(const Aws::String &value)
PutIntegrationRequest & WithObjectTypeName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetObjectTypeNames() const
PutIntegrationRequest & AddTags(const Aws::String &key, const Aws::String &value)
PutIntegrationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PutIntegrationRequest & AddObjectTypeNames(Aws::String &&key, Aws::String &&value)
PutIntegrationRequest & WithObjectTypeName(const Aws::String &value)
PutIntegrationRequest & AddTags(Aws::String &&key, const Aws::String &value)
PutIntegrationRequest & AddTags(const char *key, Aws::String &&value)
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