AWS SDK for C++  1.9.157
AWS SDK for C++
EndpointDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Transfer
23 {
24 namespace Model
25 {
26 
46  {
47  public:
52 
53 
60  inline const Aws::Vector<Aws::String>& GetAddressAllocationIds() const{ return m_addressAllocationIds; }
61 
68  inline bool AddressAllocationIdsHasBeenSet() const { return m_addressAllocationIdsHasBeenSet; }
69 
76  inline void SetAddressAllocationIds(const Aws::Vector<Aws::String>& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds = value; }
77 
84  inline void SetAddressAllocationIds(Aws::Vector<Aws::String>&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds = std::move(value); }
85 
92  inline EndpointDetails& WithAddressAllocationIds(const Aws::Vector<Aws::String>& value) { SetAddressAllocationIds(value); return *this;}
93 
100  inline EndpointDetails& WithAddressAllocationIds(Aws::Vector<Aws::String>&& value) { SetAddressAllocationIds(std::move(value)); return *this;}
101 
108  inline EndpointDetails& AddAddressAllocationIds(const Aws::String& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(value); return *this; }
109 
116  inline EndpointDetails& AddAddressAllocationIds(Aws::String&& value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(std::move(value)); return *this; }
117 
124  inline EndpointDetails& AddAddressAllocationIds(const char* value) { m_addressAllocationIdsHasBeenSet = true; m_addressAllocationIds.push_back(value); return *this; }
125 
126 
132  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
133 
139  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
140 
146  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
147 
153  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
154 
160  inline EndpointDetails& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
161 
167  inline EndpointDetails& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
168 
174  inline EndpointDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
175 
181  inline EndpointDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
182 
188  inline EndpointDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
189 
190 
198  inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
199 
207  inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
208 
216  inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
217 
225  inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
226 
234  inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
235 
243  inline EndpointDetails& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
244 
252  inline EndpointDetails& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
253 
261  inline EndpointDetails& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
262 
263 
269  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
270 
276  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
277 
283  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
284 
290  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
291 
297  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
298 
304  inline EndpointDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
305 
311  inline EndpointDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
312 
318  inline EndpointDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
319 
320 
334  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
335 
349  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
350 
364  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
365 
379  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
380 
394  inline EndpointDetails& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
395 
409  inline EndpointDetails& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
410 
424  inline EndpointDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
425 
439  inline EndpointDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
440 
454  inline EndpointDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
455 
456  private:
457 
458  Aws::Vector<Aws::String> m_addressAllocationIds;
459  bool m_addressAllocationIdsHasBeenSet;
460 
461  Aws::Vector<Aws::String> m_subnetIds;
462  bool m_subnetIdsHasBeenSet;
463 
464  Aws::String m_vpcEndpointId;
465  bool m_vpcEndpointIdHasBeenSet;
466 
467  Aws::String m_vpcId;
468  bool m_vpcIdHasBeenSet;
469 
470  Aws::Vector<Aws::String> m_securityGroupIds;
471  bool m_securityGroupIdsHasBeenSet;
472  };
473 
474 } // namespace Model
475 } // namespace Transfer
476 } // namespace Aws
Aws::Transfer::Model::EndpointDetails::AddSecurityGroupIds
EndpointDetails & AddSecurityGroupIds(Aws::String &&value)
Definition: EndpointDetails.h:439
Aws::Transfer::Model::EndpointDetails::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: EndpointDetails.h:276
Aws::Transfer::Model::EndpointDetails::WithSubnetIds
EndpointDetails & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:167
Aws::Transfer::Model::EndpointDetails::EndpointDetails
EndpointDetails()
Aws::Transfer::Model::EndpointDetails::WithVpcEndpointId
EndpointDetails & WithVpcEndpointId(const Aws::String &value)
Definition: EndpointDetails.h:243
Aws::Transfer::Model::EndpointDetails::AddSubnetIds
EndpointDetails & AddSubnetIds(Aws::String &&value)
Definition: EndpointDetails.h:181
Aws::Transfer::Model::EndpointDetails::WithVpcId
EndpointDetails & WithVpcId(const Aws::String &value)
Definition: EndpointDetails.h:304
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Transfer::Model::EndpointDetails::SetVpcEndpointId
void SetVpcEndpointId(const Aws::String &value)
Definition: EndpointDetails.h:216
Aws::Transfer::Model::EndpointDetails::AddAddressAllocationIds
EndpointDetails & AddAddressAllocationIds(const char *value)
Definition: EndpointDetails.h:124
AWSVector.h
Aws::Transfer::Model::EndpointDetails::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: EndpointDetails.h:283
Aws::Transfer::Model::EndpointDetails::AddAddressAllocationIds
EndpointDetails & AddAddressAllocationIds(const Aws::String &value)
Definition: EndpointDetails.h:108
Aws::Transfer::Model::EndpointDetails::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:146
Aws::Transfer::Model::EndpointDetails::SetAddressAllocationIds
void SetAddressAllocationIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:76
Aws::Transfer::Model::EndpointDetails::SetVpcEndpointId
void SetVpcEndpointId(const char *value)
Definition: EndpointDetails.h:234
Aws::Transfer::Model::EndpointDetails::WithVpcEndpointId
EndpointDetails & WithVpcEndpointId(const char *value)
Definition: EndpointDetails.h:261
Aws::Transfer::Model::EndpointDetails::WithVpcId
EndpointDetails & WithVpcId(Aws::String &&value)
Definition: EndpointDetails.h:311
Transfer_EXPORTS.h
Aws::Transfer::Model::EndpointDetails::SetVpcId
void SetVpcId(const char *value)
Definition: EndpointDetails.h:297
Aws::Transfer::Model::EndpointDetails::WithSubnetIds
EndpointDetails & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:160
Aws::Transfer::Model::EndpointDetails::AddAddressAllocationIds
EndpointDetails & AddAddressAllocationIds(Aws::String &&value)
Definition: EndpointDetails.h:116
Aws::Transfer::Model::EndpointDetails::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:364
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Transfer::Model::EndpointDetails::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: EndpointDetails.h:132
Aws::Transfer::Model::EndpointDetails::AddressAllocationIdsHasBeenSet
bool AddressAllocationIdsHasBeenSet() const
Definition: EndpointDetails.h:68
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Transfer::Model::EndpointDetails::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:379
Aws::Transfer::Model::EndpointDetails::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: EndpointDetails.h:334
Aws::Transfer::Model::EndpointDetails::AddSecurityGroupIds
EndpointDetails & AddSecurityGroupIds(const char *value)
Definition: EndpointDetails.h:454
Aws::Transfer::Model::EndpointDetails
Definition: EndpointDetails.h:46
Aws::Transfer::Model::EndpointDetails::GetVpcEndpointId
const Aws::String & GetVpcEndpointId() const
Definition: EndpointDetails.h:198
Aws::Transfer::Model::EndpointDetails::AddSecurityGroupIds
EndpointDetails & AddSecurityGroupIds(const Aws::String &value)
Definition: EndpointDetails.h:424
Aws::Transfer::Model::EndpointDetails::EndpointDetails
EndpointDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::EndpointDetails::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: EndpointDetails.h:290
Aws::Transfer::Model::EndpointDetails::AddSubnetIds
EndpointDetails & AddSubnetIds(const char *value)
Definition: EndpointDetails.h:188
Aws::Transfer::Model::EndpointDetails::WithVpcEndpointId
EndpointDetails & WithVpcEndpointId(Aws::String &&value)
Definition: EndpointDetails.h:252
Aws::Transfer::Model::EndpointDetails::AddSubnetIds
EndpointDetails & AddSubnetIds(const Aws::String &value)
Definition: EndpointDetails.h:174
Aws::Transfer::Model::EndpointDetails::WithAddressAllocationIds
EndpointDetails & WithAddressAllocationIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Transfer::Model::EndpointDetails::WithVpcId
EndpointDetails & WithVpcId(const char *value)
Definition: EndpointDetails.h:318
Aws
Definition: AccessManagementClient.h:15
Aws::Transfer::Model::EndpointDetails::SetVpcEndpointId
void SetVpcEndpointId(Aws::String &&value)
Definition: EndpointDetails.h:225
Aws::Transfer::Model::EndpointDetails::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: EndpointDetails.h:349
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Transfer::Model::EndpointDetails::operator=
EndpointDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Transfer::Model::EndpointDetails::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:153
Aws::Transfer::Model::EndpointDetails::WithAddressAllocationIds
EndpointDetails & WithAddressAllocationIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:92
Aws::Transfer::Model::EndpointDetails::GetAddressAllocationIds
const Aws::Vector< Aws::String > & GetAddressAllocationIds() const
Definition: EndpointDetails.h:60
Aws::Transfer::Model::EndpointDetails::GetVpcId
const Aws::String & GetVpcId() const
Definition: EndpointDetails.h:269
Aws::Transfer::Model::EndpointDetails::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: EndpointDetails.h:139
Aws::Transfer::Model::EndpointDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Transfer::Model::EndpointDetails::WithSecurityGroupIds
EndpointDetails & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:409
Aws::Transfer::Model::EndpointDetails::WithSecurityGroupIds
EndpointDetails & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: EndpointDetails.h:394
Aws::Transfer::Model::EndpointDetails::SetAddressAllocationIds
void SetAddressAllocationIds(Aws::Vector< Aws::String > &&value)
Definition: EndpointDetails.h:84
Aws::Transfer::Model::EndpointDetails::VpcEndpointIdHasBeenSet
bool VpcEndpointIdHasBeenSet() const
Definition: EndpointDetails.h:207
AWS_TRANSFER_API
#define AWS_TRANSFER_API
Definition: Transfer_EXPORTS.h:28