AWS SDK for C++  1.9.19
AWS SDK for C++
VpcPeeringAuthorization.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 
42  {
43  public:
48 
49 
55  inline const Aws::String& GetGameLiftAwsAccountId() const{ return m_gameLiftAwsAccountId; }
56 
62  inline bool GameLiftAwsAccountIdHasBeenSet() const { return m_gameLiftAwsAccountIdHasBeenSet; }
63 
69  inline void SetGameLiftAwsAccountId(const Aws::String& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = value; }
70 
76  inline void SetGameLiftAwsAccountId(Aws::String&& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = std::move(value); }
77 
83  inline void SetGameLiftAwsAccountId(const char* value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId.assign(value); }
84 
90  inline VpcPeeringAuthorization& WithGameLiftAwsAccountId(const Aws::String& value) { SetGameLiftAwsAccountId(value); return *this;}
91 
97  inline VpcPeeringAuthorization& WithGameLiftAwsAccountId(Aws::String&& value) { SetGameLiftAwsAccountId(std::move(value)); return *this;}
98 
104  inline VpcPeeringAuthorization& WithGameLiftAwsAccountId(const char* value) { SetGameLiftAwsAccountId(value); return *this;}
105 
106 
110  inline const Aws::String& GetPeerVpcAwsAccountId() const{ return m_peerVpcAwsAccountId; }
111 
115  inline bool PeerVpcAwsAccountIdHasBeenSet() const { return m_peerVpcAwsAccountIdHasBeenSet; }
116 
120  inline void SetPeerVpcAwsAccountId(const Aws::String& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = value; }
121 
125  inline void SetPeerVpcAwsAccountId(Aws::String&& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = std::move(value); }
126 
130  inline void SetPeerVpcAwsAccountId(const char* value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId.assign(value); }
131 
135  inline VpcPeeringAuthorization& WithPeerVpcAwsAccountId(const Aws::String& value) { SetPeerVpcAwsAccountId(value); return *this;}
136 
140  inline VpcPeeringAuthorization& WithPeerVpcAwsAccountId(Aws::String&& value) { SetPeerVpcAwsAccountId(std::move(value)); return *this;}
141 
145  inline VpcPeeringAuthorization& WithPeerVpcAwsAccountId(const char* value) { SetPeerVpcAwsAccountId(value); return *this;}
146 
147 
156  inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
157 
166  inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
167 
176  inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
177 
186  inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
187 
196  inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
197 
206  inline VpcPeeringAuthorization& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
207 
216  inline VpcPeeringAuthorization& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
217 
226  inline VpcPeeringAuthorization& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
227 
228 
234  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
235 
241  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
242 
248  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
249 
255  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
256 
262  inline VpcPeeringAuthorization& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
263 
269  inline VpcPeeringAuthorization& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
270 
271 
277  inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
278 
284  inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
285 
291  inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
292 
298  inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
299 
305  inline VpcPeeringAuthorization& WithExpirationTime(const Aws::Utils::DateTime& value) { SetExpirationTime(value); return *this;}
306 
312  inline VpcPeeringAuthorization& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;}
313 
314  private:
315 
316  Aws::String m_gameLiftAwsAccountId;
317  bool m_gameLiftAwsAccountIdHasBeenSet;
318 
319  Aws::String m_peerVpcAwsAccountId;
320  bool m_peerVpcAwsAccountIdHasBeenSet;
321 
322  Aws::String m_peerVpcId;
323  bool m_peerVpcIdHasBeenSet;
324 
325  Aws::Utils::DateTime m_creationTime;
326  bool m_creationTimeHasBeenSet;
327 
328  Aws::Utils::DateTime m_expirationTime;
329  bool m_expirationTimeHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace GameLift
334 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::VpcPeeringAuthorization::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: VpcPeeringAuthorization.h:255
Aws::GameLift::Model::VpcPeeringAuthorization::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(const char *value)
Definition: VpcPeeringAuthorization.h:83
Aws::GameLift::Model::VpcPeeringAuthorization::SetExpirationTime
void SetExpirationTime(const Aws::Utils::DateTime &value)
Definition: VpcPeeringAuthorization.h:291
Aws::GameLift::Model::VpcPeeringAuthorization::WithCreationTime
VpcPeeringAuthorization & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: VpcPeeringAuthorization.h:269
DateTime.h
Aws::GameLift::Model::VpcPeeringAuthorization::ExpirationTimeHasBeenSet
bool ExpirationTimeHasBeenSet() const
Definition: VpcPeeringAuthorization.h:284
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::VpcPeeringAuthorization::GetGameLiftAwsAccountId
const Aws::String & GetGameLiftAwsAccountId() const
Definition: VpcPeeringAuthorization.h:55
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcId
VpcPeeringAuthorization & WithPeerVpcId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:216
Aws::GameLift::Model::VpcPeeringAuthorization::GetPeerVpcAwsAccountId
const Aws::String & GetPeerVpcAwsAccountId() const
Definition: VpcPeeringAuthorization.h:110
Aws::GameLift::Model::VpcPeeringAuthorization::PeerVpcAwsAccountIdHasBeenSet
bool PeerVpcAwsAccountIdHasBeenSet() const
Definition: VpcPeeringAuthorization.h:115
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcAwsAccountId
void SetPeerVpcAwsAccountId(const char *value)
Definition: VpcPeeringAuthorization.h:130
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcId
void SetPeerVpcId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:176
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcAwsAccountId
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:135
GameLift_EXPORTS.h
Aws::GameLift::Model::VpcPeeringAuthorization::SetExpirationTime
void SetExpirationTime(Aws::Utils::DateTime &&value)
Definition: VpcPeeringAuthorization.h:298
Aws::GameLift::Model::VpcPeeringAuthorization::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: VpcPeeringAuthorization.h:234
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcId
VpcPeeringAuthorization & WithPeerVpcId(const char *value)
Definition: VpcPeeringAuthorization.h:226
Aws::GameLift::Model::VpcPeeringAuthorization
Definition: VpcPeeringAuthorization.h:42
Aws::GameLift::Model::VpcPeeringAuthorization::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:69
Aws::GameLift::Model::VpcPeeringAuthorization::WithCreationTime
VpcPeeringAuthorization & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: VpcPeeringAuthorization.h:262
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcId
VpcPeeringAuthorization & WithPeerVpcId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:206
Aws::GameLift::Model::VpcPeeringAuthorization::PeerVpcIdHasBeenSet
bool PeerVpcIdHasBeenSet() const
Definition: VpcPeeringAuthorization.h:166
Aws::GameLift::Model::VpcPeeringAuthorization::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::VpcPeeringAuthorization::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: VpcPeeringAuthorization.h:248
Aws::GameLift::Model::VpcPeeringAuthorization::VpcPeeringAuthorization
VpcPeeringAuthorization(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcId
void SetPeerVpcId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:186
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcAwsAccountId
void SetPeerVpcAwsAccountId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:125
Aws::GameLift::Model::VpcPeeringAuthorization::VpcPeeringAuthorization
VpcPeeringAuthorization()
Aws::GameLift::Model::VpcPeeringAuthorization::WithGameLiftAwsAccountId
VpcPeeringAuthorization & WithGameLiftAwsAccountId(const char *value)
Definition: VpcPeeringAuthorization.h:104
Aws::GameLift::Model::VpcPeeringAuthorization::WithExpirationTime
VpcPeeringAuthorization & WithExpirationTime(Aws::Utils::DateTime &&value)
Definition: VpcPeeringAuthorization.h:312
Aws::GameLift::Model::VpcPeeringAuthorization::GetExpirationTime
const Aws::Utils::DateTime & GetExpirationTime() const
Definition: VpcPeeringAuthorization.h:277
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcAwsAccountId
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:140
Aws::GameLift::Model::VpcPeeringAuthorization::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: VpcPeeringAuthorization.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::VpcPeeringAuthorization::operator=
VpcPeeringAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::VpcPeeringAuthorization::WithGameLiftAwsAccountId
VpcPeeringAuthorization & WithGameLiftAwsAccountId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:97
Aws::GameLift::Model::VpcPeeringAuthorization::WithExpirationTime
VpcPeeringAuthorization & WithExpirationTime(const Aws::Utils::DateTime &value)
Definition: VpcPeeringAuthorization.h:305
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcAwsAccountId
void SetPeerVpcAwsAccountId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:120
Aws::GameLift::Model::VpcPeeringAuthorization::WithPeerVpcAwsAccountId
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(const char *value)
Definition: VpcPeeringAuthorization.h:145
Aws::GameLift::Model::VpcPeeringAuthorization::SetGameLiftAwsAccountId
void SetGameLiftAwsAccountId(Aws::String &&value)
Definition: VpcPeeringAuthorization.h:76
Aws::GameLift::Model::VpcPeeringAuthorization::GetPeerVpcId
const Aws::String & GetPeerVpcId() const
Definition: VpcPeeringAuthorization.h:156
Aws::GameLift::Model::VpcPeeringAuthorization::WithGameLiftAwsAccountId
VpcPeeringAuthorization & WithGameLiftAwsAccountId(const Aws::String &value)
Definition: VpcPeeringAuthorization.h:90
Aws::GameLift::Model::VpcPeeringAuthorization::SetPeerVpcId
void SetPeerVpcId(const char *value)
Definition: VpcPeeringAuthorization.h:196
Aws::GameLift::Model::VpcPeeringAuthorization::GameLiftAwsAccountIdHasBeenSet
bool GameLiftAwsAccountIdHasBeenSet() const
Definition: VpcPeeringAuthorization.h:62