AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
CreateRequesterGatewayRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rtbfabric/RTBFabricRequest.h>
12#include <aws/rtbfabric/RTBFabric_EXPORTS.h>
13
14#include <utility>
15
16namespace Aws {
17namespace RTBFabric {
18namespace Model {
19
23 public:
24 AWS_RTBFABRIC_API CreateRequesterGatewayRequest() = 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 "CreateRequesterGateway"; }
31
32 AWS_RTBFABRIC_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetVpcId() const { return m_vpcId; }
39 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
40 template <typename VpcIdT = Aws::String>
41 void SetVpcId(VpcIdT&& value) {
42 m_vpcIdHasBeenSet = true;
43 m_vpcId = std::forward<VpcIdT>(value);
44 }
45 template <typename VpcIdT = Aws::String>
47 SetVpcId(std::forward<VpcIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
57 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
58 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
59 void SetSubnetIds(SubnetIdsT&& value) {
60 m_subnetIdsHasBeenSet = true;
61 m_subnetIds = std::forward<SubnetIdsT>(value);
62 }
63 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
65 SetSubnetIds(std::forward<SubnetIdsT>(value));
66 return *this;
67 }
68 template <typename SubnetIdsT = Aws::String>
70 m_subnetIdsHasBeenSet = true;
71 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
81 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
82 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
83 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
84 m_securityGroupIdsHasBeenSet = true;
85 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
86 }
87 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
89 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
90 return *this;
91 }
92 template <typename SecurityGroupIdsT = Aws::String>
94 m_securityGroupIdsHasBeenSet = true;
95 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
96 return *this;
97 }
99
101
113 inline const Aws::String& GetClientToken() const { return m_clientToken; }
114 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
115 template <typename ClientTokenT = Aws::String>
116 void SetClientToken(ClientTokenT&& value) {
117 m_clientTokenHasBeenSet = true;
118 m_clientToken = std::forward<ClientTokenT>(value);
119 }
120 template <typename ClientTokenT = Aws::String>
122 SetClientToken(std::forward<ClientTokenT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetDescription() const { return m_description; }
132 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 template <typename DescriptionT = Aws::String>
134 void SetDescription(DescriptionT&& value) {
135 m_descriptionHasBeenSet = true;
136 m_description = std::forward<DescriptionT>(value);
137 }
138 template <typename DescriptionT = Aws::String>
140 SetDescription(std::forward<DescriptionT>(value));
141 return *this;
142 }
144
146
150 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
151 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
152 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 void SetTags(TagsT&& value) {
154 m_tagsHasBeenSet = true;
155 m_tags = std::forward<TagsT>(value);
156 }
157 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
159 SetTags(std::forward<TagsT>(value));
160 return *this;
161 }
162 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
163 CreateRequesterGatewayRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
164 m_tagsHasBeenSet = true;
165 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_vpcId;
171
172 Aws::Vector<Aws::String> m_subnetIds;
173
174 Aws::Vector<Aws::String> m_securityGroupIds;
175
177
178 Aws::String m_description;
179
181 bool m_vpcIdHasBeenSet = false;
182 bool m_subnetIdsHasBeenSet = false;
183 bool m_securityGroupIdsHasBeenSet = false;
184 bool m_clientTokenHasBeenSet = true;
185 bool m_descriptionHasBeenSet = false;
186 bool m_tagsHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace RTBFabric
191} // namespace Aws
CreateRequesterGatewayRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
CreateRequesterGatewayRequest & WithSubnetIds(SubnetIdsT &&value)
CreateRequesterGatewayRequest & AddSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateRequesterGatewayRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_RTBFABRIC_API Aws::String SerializePayload() const override
CreateRequesterGatewayRequest & WithVpcId(VpcIdT &&value)
CreateRequesterGatewayRequest & WithDescription(DescriptionT &&value)
CreateRequesterGatewayRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
CreateRequesterGatewayRequest & WithTags(TagsT &&value)
AWS_RTBFABRIC_API CreateRequesterGatewayRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRequesterGatewayRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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