AWS SDK for C++  1.9.45
AWS SDK for C++
VpcPeeringConnection.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 GameLift
23 {
24 namespace Model
25 {
26 
41  {
42  public:
47 
48 
53  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
54 
59  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
60 
65  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
66 
71  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
72 
77  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
78 
83  inline VpcPeeringConnection& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
84 
89  inline VpcPeeringConnection& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
90 
95  inline VpcPeeringConnection& WithFleetId(const char* value) { SetFleetId(value); return *this;}
96 
97 
103  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
104 
110  inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
111 
117  inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
118 
124  inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
125 
131  inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
132 
138  inline VpcPeeringConnection& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
139 
145  inline VpcPeeringConnection& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
146 
152  inline VpcPeeringConnection& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
153 
154 
160  inline const Aws::String& GetIpV4CidrBlock() const{ return m_ipV4CidrBlock; }
161 
167  inline bool IpV4CidrBlockHasBeenSet() const { return m_ipV4CidrBlockHasBeenSet; }
168 
174  inline void SetIpV4CidrBlock(const Aws::String& value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock = value; }
175 
181  inline void SetIpV4CidrBlock(Aws::String&& value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock = std::move(value); }
182 
188  inline void SetIpV4CidrBlock(const char* value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock.assign(value); }
189 
195  inline VpcPeeringConnection& WithIpV4CidrBlock(const Aws::String& value) { SetIpV4CidrBlock(value); return *this;}
196 
202  inline VpcPeeringConnection& WithIpV4CidrBlock(Aws::String&& value) { SetIpV4CidrBlock(std::move(value)); return *this;}
203 
209  inline VpcPeeringConnection& WithIpV4CidrBlock(const char* value) { SetIpV4CidrBlock(value); return *this;}
210 
211 
217  inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
218 
224  inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
225 
231  inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
232 
238  inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
239 
245  inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
246 
252  inline VpcPeeringConnection& WithVpcPeeringConnectionId(const Aws::String& value) { SetVpcPeeringConnectionId(value); return *this;}
253 
259  inline VpcPeeringConnection& WithVpcPeeringConnectionId(Aws::String&& value) { SetVpcPeeringConnectionId(std::move(value)); return *this;}
260 
266  inline VpcPeeringConnection& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
267 
268 
273  inline const VpcPeeringConnectionStatus& GetStatus() const{ return m_status; }
274 
279  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
280 
285  inline void SetStatus(const VpcPeeringConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
286 
291  inline void SetStatus(VpcPeeringConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
292 
297  inline VpcPeeringConnection& WithStatus(const VpcPeeringConnectionStatus& value) { SetStatus(value); return *this;}
298 
303  inline VpcPeeringConnection& WithStatus(VpcPeeringConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
304 
305 
314  inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
315 
324  inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
325 
334  inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
335 
344  inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
345 
354  inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
355 
364  inline VpcPeeringConnection& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
365 
374  inline VpcPeeringConnection& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
375 
384  inline VpcPeeringConnection& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
385 
386 
392  inline const Aws::String& GetGameLiftVpcId() const{ return m_gameLiftVpcId; }
393 
399  inline bool GameLiftVpcIdHasBeenSet() const { return m_gameLiftVpcIdHasBeenSet; }
400 
406  inline void SetGameLiftVpcId(const Aws::String& value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId = value; }
407 
413  inline void SetGameLiftVpcId(Aws::String&& value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId = std::move(value); }
414 
420  inline void SetGameLiftVpcId(const char* value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId.assign(value); }
421 
427  inline VpcPeeringConnection& WithGameLiftVpcId(const Aws::String& value) { SetGameLiftVpcId(value); return *this;}
428 
434  inline VpcPeeringConnection& WithGameLiftVpcId(Aws::String&& value) { SetGameLiftVpcId(std::move(value)); return *this;}
435 
441  inline VpcPeeringConnection& WithGameLiftVpcId(const char* value) { SetGameLiftVpcId(value); return *this;}
442 
443  private:
444 
445  Aws::String m_fleetId;
446  bool m_fleetIdHasBeenSet;
447 
448  Aws::String m_fleetArn;
449  bool m_fleetArnHasBeenSet;
450 
451  Aws::String m_ipV4CidrBlock;
452  bool m_ipV4CidrBlockHasBeenSet;
453 
454  Aws::String m_vpcPeeringConnectionId;
455  bool m_vpcPeeringConnectionIdHasBeenSet;
456 
458  bool m_statusHasBeenSet;
459 
460  Aws::String m_peerVpcId;
461  bool m_peerVpcIdHasBeenSet;
462 
463  Aws::String m_gameLiftVpcId;
464  bool m_gameLiftVpcIdHasBeenSet;
465  };
466 
467 } // namespace Model
468 } // namespace GameLift
469 } // namespace Aws
Aws::GameLift::Model::VpcPeeringConnection::VpcPeeringConnectionIdHasBeenSet
bool VpcPeeringConnectionIdHasBeenSet() const
Definition: VpcPeeringConnection.h:224
Aws::GameLift::Model::VpcPeeringConnectionStatus
Definition: VpcPeeringConnectionStatus.h:37
Aws::GameLift::Model::VpcPeeringConnection::WithIpV4CidrBlock
VpcPeeringConnection & WithIpV4CidrBlock(Aws::String &&value)
Definition: VpcPeeringConnection.h:202
Aws::GameLift::Model::VpcPeeringConnection::GetVpcPeeringConnectionId
const Aws::String & GetVpcPeeringConnectionId() const
Definition: VpcPeeringConnection.h:217
VpcPeeringConnectionStatus.h
Aws::GameLift::Model::VpcPeeringConnection::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VpcPeeringConnection.h:279
Aws::GameLift::Model::VpcPeeringConnection::GetStatus
const VpcPeeringConnectionStatus & GetStatus() const
Definition: VpcPeeringConnection.h:273
Aws::GameLift::Model::VpcPeeringConnection::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const char *value)
Definition: VpcPeeringConnection.h:245
Aws::GameLift::Model::VpcPeeringConnection::WithVpcPeeringConnectionId
VpcPeeringConnection & WithVpcPeeringConnectionId(const Aws::String &value)
Definition: VpcPeeringConnection.h:252
Aws::GameLift::Model::VpcPeeringConnection::WithFleetId
VpcPeeringConnection & WithFleetId(const char *value)
Definition: VpcPeeringConnection.h:95
Aws::GameLift::Model::VpcPeeringConnection::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: VpcPeeringConnection.h:65
Aws::GameLift::Model::VpcPeeringConnection::SetPeerVpcId
void SetPeerVpcId(const Aws::String &value)
Definition: VpcPeeringConnection.h:334
Aws::GameLift::Model::VpcPeeringConnection::SetIpV4CidrBlock
void SetIpV4CidrBlock(const char *value)
Definition: VpcPeeringConnection.h:188
Aws::GameLift::Model::VpcPeeringConnection::SetFleetId
void SetFleetId(const char *value)
Definition: VpcPeeringConnection.h:77
Aws::GameLift::Model::VpcPeeringConnection::WithFleetId
VpcPeeringConnection & WithFleetId(const Aws::String &value)
Definition: VpcPeeringConnection.h:83
Aws::GameLift::Model::VpcPeeringConnection::SetGameLiftVpcId
void SetGameLiftVpcId(Aws::String &&value)
Definition: VpcPeeringConnection.h:413
Aws::GameLift::Model::VpcPeeringConnection::SetStatus
void SetStatus(const VpcPeeringConnectionStatus &value)
Definition: VpcPeeringConnection.h:285
Aws::GameLift::Model::VpcPeeringConnection::WithGameLiftVpcId
VpcPeeringConnection & WithGameLiftVpcId(Aws::String &&value)
Definition: VpcPeeringConnection.h:434
Aws::GameLift::Model::VpcPeeringConnection::SetIpV4CidrBlock
void SetIpV4CidrBlock(const Aws::String &value)
Definition: VpcPeeringConnection.h:174
Aws::GameLift::Model::VpcPeeringConnection::WithPeerVpcId
VpcPeeringConnection & WithPeerVpcId(Aws::String &&value)
Definition: VpcPeeringConnection.h:374
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::VpcPeeringConnection::SetFleetArn
void SetFleetArn(const char *value)
Definition: VpcPeeringConnection.h:131
Aws::GameLift::Model::VpcPeeringConnection::IpV4CidrBlockHasBeenSet
bool IpV4CidrBlockHasBeenSet() const
Definition: VpcPeeringConnection.h:167
Aws::GameLift::Model::VpcPeeringConnection::VpcPeeringConnection
VpcPeeringConnection(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringConnection::WithFleetId
VpcPeeringConnection & WithFleetId(Aws::String &&value)
Definition: VpcPeeringConnection.h:89
Aws::GameLift::Model::VpcPeeringConnection::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: VpcPeeringConnection.h:117
Aws::GameLift::Model::VpcPeeringConnection::SetGameLiftVpcId
void SetGameLiftVpcId(const char *value)
Definition: VpcPeeringConnection.h:420
Aws::GameLift::Model::VpcPeeringConnection::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: VpcPeeringConnection.h:71
Aws::GameLift::Model::VpcPeeringConnection::FleetArnHasBeenSet
bool FleetArnHasBeenSet() const
Definition: VpcPeeringConnection.h:110
Aws::GameLift::Model::VpcPeeringConnection::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: VpcPeeringConnection.h:103
Aws::GameLift::Model::VpcPeeringConnection::PeerVpcIdHasBeenSet
bool PeerVpcIdHasBeenSet() const
Definition: VpcPeeringConnection.h:324
Aws::GameLift::Model::VpcPeeringConnection::WithIpV4CidrBlock
VpcPeeringConnection & WithIpV4CidrBlock(const char *value)
Definition: VpcPeeringConnection.h:209
Aws::GameLift::Model::VpcPeeringConnection::WithPeerVpcId
VpcPeeringConnection & WithPeerVpcId(const Aws::String &value)
Definition: VpcPeeringConnection.h:364
Aws::GameLift::Model::VpcPeeringConnection::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::VpcPeeringConnection::SetGameLiftVpcId
void SetGameLiftVpcId(const Aws::String &value)
Definition: VpcPeeringConnection.h:406
GameLift_EXPORTS.h
Aws::GameLift::Model::VpcPeeringConnection::SetIpV4CidrBlock
void SetIpV4CidrBlock(Aws::String &&value)
Definition: VpcPeeringConnection.h:181
Aws::GameLift::Model::VpcPeeringConnection::WithStatus
VpcPeeringConnection & WithStatus(VpcPeeringConnectionStatus &&value)
Definition: VpcPeeringConnection.h:303
Aws::GameLift::Model::VpcPeeringConnection::operator=
VpcPeeringConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringConnection::GetGameLiftVpcId
const Aws::String & GetGameLiftVpcId() const
Definition: VpcPeeringConnection.h:392
Aws::GameLift::Model::VpcPeeringConnection::WithGameLiftVpcId
VpcPeeringConnection & WithGameLiftVpcId(const char *value)
Definition: VpcPeeringConnection.h:441
Aws::GameLift::Model::VpcPeeringConnection::SetPeerVpcId
void SetPeerVpcId(Aws::String &&value)
Definition: VpcPeeringConnection.h:344
Aws::GameLift::Model::VpcPeeringConnection::GetIpV4CidrBlock
const Aws::String & GetIpV4CidrBlock() const
Definition: VpcPeeringConnection.h:160
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::GameLift::Model::VpcPeeringConnection::WithFleetArn
VpcPeeringConnection & WithFleetArn(const char *value)
Definition: VpcPeeringConnection.h:152
Aws::GameLift::Model::VpcPeeringConnection::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(const Aws::String &value)
Definition: VpcPeeringConnection.h:231
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::VpcPeeringConnection::GameLiftVpcIdHasBeenSet
bool GameLiftVpcIdHasBeenSet() const
Definition: VpcPeeringConnection.h:399
Aws::GameLift::Model::VpcPeeringConnection
Definition: VpcPeeringConnection.h:41
Aws::GameLift::Model::VpcPeeringConnection::WithVpcPeeringConnectionId
VpcPeeringConnection & WithVpcPeeringConnectionId(const char *value)
Definition: VpcPeeringConnection.h:266
Aws::GameLift::Model::VpcPeeringConnection::SetVpcPeeringConnectionId
void SetVpcPeeringConnectionId(Aws::String &&value)
Definition: VpcPeeringConnection.h:238
Aws::GameLift::Model::VpcPeeringConnection::GetPeerVpcId
const Aws::String & GetPeerVpcId() const
Definition: VpcPeeringConnection.h:314
Aws::GameLift::Model::VpcPeeringConnection::WithFleetArn
VpcPeeringConnection & WithFleetArn(Aws::String &&value)
Definition: VpcPeeringConnection.h:145
Aws::GameLift::Model::VpcPeeringConnection::WithGameLiftVpcId
VpcPeeringConnection & WithGameLiftVpcId(const Aws::String &value)
Definition: VpcPeeringConnection.h:427
Aws::GameLift::Model::VpcPeeringConnection::WithPeerVpcId
VpcPeeringConnection & WithPeerVpcId(const char *value)
Definition: VpcPeeringConnection.h:384
Aws::GameLift::Model::VpcPeeringConnection::WithStatus
VpcPeeringConnection & WithStatus(const VpcPeeringConnectionStatus &value)
Definition: VpcPeeringConnection.h:297
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::VpcPeeringConnection::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: VpcPeeringConnection.h:59
Aws::GameLift::Model::VpcPeeringConnection::WithFleetArn
VpcPeeringConnection & WithFleetArn(const Aws::String &value)
Definition: VpcPeeringConnection.h:138
Aws::GameLift::Model::VpcPeeringConnection::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: VpcPeeringConnection.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::VpcPeeringConnection::SetPeerVpcId
void SetPeerVpcId(const char *value)
Definition: VpcPeeringConnection.h:354
Aws::GameLift::Model::VpcPeeringConnection::WithIpV4CidrBlock
VpcPeeringConnection & WithIpV4CidrBlock(const Aws::String &value)
Definition: VpcPeeringConnection.h:195
Aws::GameLift::Model::VpcPeeringConnection::GetFleetId
const Aws::String & GetFleetId() const
Definition: VpcPeeringConnection.h:53
Aws::GameLift::Model::VpcPeeringConnection::WithVpcPeeringConnectionId
VpcPeeringConnection & WithVpcPeeringConnectionId(Aws::String &&value)
Definition: VpcPeeringConnection.h:259
Aws::GameLift::Model::VpcPeeringConnection::VpcPeeringConnection
VpcPeeringConnection()
Aws::GameLift::Model::VpcPeeringConnection::SetStatus
void SetStatus(VpcPeeringConnectionStatus &&value)
Definition: VpcPeeringConnection.h:291