AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CustomerProfiles
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CUSTOMERPROFILES_API PutIntegrationRequest() = 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 "PutIntegration"; }
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 PutIntegrationRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetUri() const { return m_uri; }
55 inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
56 template<typename UriT = Aws::String>
57 void SetUri(UriT&& value) { m_uriHasBeenSet = true; m_uri = std::forward<UriT>(value); }
58 template<typename UriT = Aws::String>
59 PutIntegrationRequest& WithUri(UriT&& value) { SetUri(std::forward<UriT>(value)); return *this;}
61
63
66 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
67 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
68 template<typename ObjectTypeNameT = Aws::String>
69 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
70 template<typename ObjectTypeNameT = Aws::String>
71 PutIntegrationRequest& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
79 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
80 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
81 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 PutIntegrationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
84 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
85 PutIntegrationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
86 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
87 }
89
91
95 inline const FlowDefinition& GetFlowDefinition() const { return m_flowDefinition; }
96 inline bool FlowDefinitionHasBeenSet() const { return m_flowDefinitionHasBeenSet; }
97 template<typename FlowDefinitionT = FlowDefinition>
98 void SetFlowDefinition(FlowDefinitionT&& value) { m_flowDefinitionHasBeenSet = true; m_flowDefinition = std::forward<FlowDefinitionT>(value); }
99 template<typename FlowDefinitionT = FlowDefinition>
100 PutIntegrationRequest& WithFlowDefinition(FlowDefinitionT&& value) { SetFlowDefinition(std::forward<FlowDefinitionT>(value)); return *this;}
102
104
113 inline const Aws::Map<Aws::String, Aws::String>& GetObjectTypeNames() const { return m_objectTypeNames; }
114 inline bool ObjectTypeNamesHasBeenSet() const { return m_objectTypeNamesHasBeenSet; }
115 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
116 void SetObjectTypeNames(ObjectTypeNamesT&& value) { m_objectTypeNamesHasBeenSet = true; m_objectTypeNames = std::forward<ObjectTypeNamesT>(value); }
117 template<typename ObjectTypeNamesT = Aws::Map<Aws::String, Aws::String>>
118 PutIntegrationRequest& WithObjectTypeNames(ObjectTypeNamesT&& value) { SetObjectTypeNames(std::forward<ObjectTypeNamesT>(value)); return *this;}
119 template<typename ObjectTypeNamesKeyT = Aws::String, typename ObjectTypeNamesValueT = Aws::String>
120 PutIntegrationRequest& AddObjectTypeNames(ObjectTypeNamesKeyT&& key, ObjectTypeNamesValueT&& value) {
121 m_objectTypeNamesHasBeenSet = true; m_objectTypeNames.emplace(std::forward<ObjectTypeNamesKeyT>(key), std::forward<ObjectTypeNamesValueT>(value)); return *this;
122 }
124
126
130 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
131 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
132 template<typename RoleArnT = Aws::String>
133 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
134 template<typename RoleArnT = Aws::String>
135 PutIntegrationRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
137
139
143 inline const Aws::Vector<Aws::String>& GetEventTriggerNames() const { return m_eventTriggerNames; }
144 inline bool EventTriggerNamesHasBeenSet() const { return m_eventTriggerNamesHasBeenSet; }
145 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
146 void SetEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames = std::forward<EventTriggerNamesT>(value); }
147 template<typename EventTriggerNamesT = Aws::Vector<Aws::String>>
148 PutIntegrationRequest& WithEventTriggerNames(EventTriggerNamesT&& value) { SetEventTriggerNames(std::forward<EventTriggerNamesT>(value)); return *this;}
149 template<typename EventTriggerNamesT = Aws::String>
150 PutIntegrationRequest& AddEventTriggerNames(EventTriggerNamesT&& value) { m_eventTriggerNamesHasBeenSet = true; m_eventTriggerNames.emplace_back(std::forward<EventTriggerNamesT>(value)); return *this; }
152 private:
153
154 Aws::String m_domainName;
155 bool m_domainNameHasBeenSet = false;
156
157 Aws::String m_uri;
158 bool m_uriHasBeenSet = false;
159
160 Aws::String m_objectTypeName;
161 bool m_objectTypeNameHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
166 FlowDefinition m_flowDefinition;
167 bool m_flowDefinitionHasBeenSet = false;
168
169 Aws::Map<Aws::String, Aws::String> m_objectTypeNames;
170 bool m_objectTypeNamesHasBeenSet = false;
171
172 Aws::String m_roleArn;
173 bool m_roleArnHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_eventTriggerNames;
176 bool m_eventTriggerNamesHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace CustomerProfiles
181} // namespace Aws
PutIntegrationRequest & WithRoleArn(RoleArnT &&value)
PutIntegrationRequest & WithFlowDefinition(FlowDefinitionT &&value)
PutIntegrationRequest & WithObjectTypeNames(ObjectTypeNamesT &&value)
const Aws::Vector< Aws::String > & GetEventTriggerNames() const
PutIntegrationRequest & WithEventTriggerNames(EventTriggerNamesT &&value)
PutIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
PutIntegrationRequest & WithObjectTypeName(ObjectTypeNameT &&value)
PutIntegrationRequest & WithDomainName(DomainNameT &&value)
PutIntegrationRequest & AddEventTriggerNames(EventTriggerNamesT &&value)
AWS_CUSTOMERPROFILES_API PutIntegrationRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Map< Aws::String, Aws::String > & GetObjectTypeNames() const
PutIntegrationRequest & AddObjectTypeNames(ObjectTypeNamesKeyT &&key, ObjectTypeNamesValueT &&value)
PutIntegrationRequest & WithTags(TagsT &&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
std::vector< T, Aws::Allocator< T > > Vector