AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcPeeringConnection.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/model/VpcPeeringConnectionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GameLift
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_GAMELIFT_API VpcPeeringConnection();
43 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
52 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
53 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
54 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
55 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
56 inline VpcPeeringConnection& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
57 inline VpcPeeringConnection& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
58 inline VpcPeeringConnection& WithFleetId(const char* value) { SetFleetId(value); return *this;}
60
62
67 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
68 inline bool FleetArnHasBeenSet() const { return m_fleetArnHasBeenSet; }
69 inline void SetFleetArn(const Aws::String& value) { m_fleetArnHasBeenSet = true; m_fleetArn = value; }
70 inline void SetFleetArn(Aws::String&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::move(value); }
71 inline void SetFleetArn(const char* value) { m_fleetArnHasBeenSet = true; m_fleetArn.assign(value); }
72 inline VpcPeeringConnection& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
73 inline VpcPeeringConnection& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
74 inline VpcPeeringConnection& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
76
78
83 inline const Aws::String& GetIpV4CidrBlock() const{ return m_ipV4CidrBlock; }
84 inline bool IpV4CidrBlockHasBeenSet() const { return m_ipV4CidrBlockHasBeenSet; }
85 inline void SetIpV4CidrBlock(const Aws::String& value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock = value; }
86 inline void SetIpV4CidrBlock(Aws::String&& value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock = std::move(value); }
87 inline void SetIpV4CidrBlock(const char* value) { m_ipV4CidrBlockHasBeenSet = true; m_ipV4CidrBlock.assign(value); }
88 inline VpcPeeringConnection& WithIpV4CidrBlock(const Aws::String& value) { SetIpV4CidrBlock(value); return *this;}
89 inline VpcPeeringConnection& WithIpV4CidrBlock(Aws::String&& value) { SetIpV4CidrBlock(std::move(value)); return *this;}
90 inline VpcPeeringConnection& WithIpV4CidrBlock(const char* value) { SetIpV4CidrBlock(value); return *this;}
92
94
99 inline const Aws::String& GetVpcPeeringConnectionId() const{ return m_vpcPeeringConnectionId; }
100 inline bool VpcPeeringConnectionIdHasBeenSet() const { return m_vpcPeeringConnectionIdHasBeenSet; }
101 inline void SetVpcPeeringConnectionId(const Aws::String& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = value; }
102 inline void SetVpcPeeringConnectionId(Aws::String&& value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId = std::move(value); }
103 inline void SetVpcPeeringConnectionId(const char* value) { m_vpcPeeringConnectionIdHasBeenSet = true; m_vpcPeeringConnectionId.assign(value); }
106 inline VpcPeeringConnection& WithVpcPeeringConnectionId(const char* value) { SetVpcPeeringConnectionId(value); return *this;}
108
110
114 inline const VpcPeeringConnectionStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const VpcPeeringConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(VpcPeeringConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline VpcPeeringConnection& WithStatus(const VpcPeeringConnectionStatus& value) { SetStatus(value); return *this;}
119 inline VpcPeeringConnection& WithStatus(VpcPeeringConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
132 inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
133 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
134 inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
135 inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
136 inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
137 inline VpcPeeringConnection& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
138 inline VpcPeeringConnection& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
139 inline VpcPeeringConnection& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
141
143
148 inline const Aws::String& GetGameLiftVpcId() const{ return m_gameLiftVpcId; }
149 inline bool GameLiftVpcIdHasBeenSet() const { return m_gameLiftVpcIdHasBeenSet; }
150 inline void SetGameLiftVpcId(const Aws::String& value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId = value; }
151 inline void SetGameLiftVpcId(Aws::String&& value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId = std::move(value); }
152 inline void SetGameLiftVpcId(const char* value) { m_gameLiftVpcIdHasBeenSet = true; m_gameLiftVpcId.assign(value); }
153 inline VpcPeeringConnection& WithGameLiftVpcId(const Aws::String& value) { SetGameLiftVpcId(value); return *this;}
154 inline VpcPeeringConnection& WithGameLiftVpcId(Aws::String&& value) { SetGameLiftVpcId(std::move(value)); return *this;}
155 inline VpcPeeringConnection& WithGameLiftVpcId(const char* value) { SetGameLiftVpcId(value); return *this;}
157 private:
158
159 Aws::String m_fleetId;
160 bool m_fleetIdHasBeenSet = false;
161
162 Aws::String m_fleetArn;
163 bool m_fleetArnHasBeenSet = false;
164
165 Aws::String m_ipV4CidrBlock;
166 bool m_ipV4CidrBlockHasBeenSet = false;
167
168 Aws::String m_vpcPeeringConnectionId;
169 bool m_vpcPeeringConnectionIdHasBeenSet = false;
170
172 bool m_statusHasBeenSet = false;
173
174 Aws::String m_peerVpcId;
175 bool m_peerVpcIdHasBeenSet = false;
176
177 Aws::String m_gameLiftVpcId;
178 bool m_gameLiftVpcIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace GameLift
183} // namespace Aws
VpcPeeringConnection & WithStatus(const VpcPeeringConnectionStatus &value)
VpcPeeringConnection & WithFleetId(const char *value)
const VpcPeeringConnectionStatus & GetStatus() const
VpcPeeringConnection & WithFleetArn(Aws::String &&value)
VpcPeeringConnection & WithIpV4CidrBlock(const char *value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
VpcPeeringConnection & WithGameLiftVpcId(const char *value)
VpcPeeringConnection & WithPeerVpcId(const Aws::String &value)
VpcPeeringConnection & WithPeerVpcId(const char *value)
VpcPeeringConnection & WithFleetArn(const Aws::String &value)
const Aws::String & GetVpcPeeringConnectionId() const
void SetStatus(VpcPeeringConnectionStatus &&value)
void SetVpcPeeringConnectionId(const Aws::String &value)
AWS_GAMELIFT_API VpcPeeringConnection(Aws::Utils::Json::JsonView jsonValue)
VpcPeeringConnection & WithVpcPeeringConnectionId(Aws::String &&value)
VpcPeeringConnection & WithGameLiftVpcId(const Aws::String &value)
void SetGameLiftVpcId(const Aws::String &value)
AWS_GAMELIFT_API VpcPeeringConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
VpcPeeringConnection & WithFleetId(Aws::String &&value)
VpcPeeringConnection & WithGameLiftVpcId(Aws::String &&value)
VpcPeeringConnection & WithFleetId(const Aws::String &value)
VpcPeeringConnection & WithFleetArn(const char *value)
VpcPeeringConnection & WithStatus(VpcPeeringConnectionStatus &&value)
VpcPeeringConnection & WithVpcPeeringConnectionId(const char *value)
VpcPeeringConnection & WithIpV4CidrBlock(const Aws::String &value)
VpcPeeringConnection & WithPeerVpcId(Aws::String &&value)
void SetStatus(const VpcPeeringConnectionStatus &value)
void SetIpV4CidrBlock(const Aws::String &value)
VpcPeeringConnection & WithIpV4CidrBlock(Aws::String &&value)
VpcPeeringConnection & WithVpcPeeringConnectionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue