AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcPeeringAuthorization.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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
39 {
40 public:
41 AWS_GAMELIFT_API VpcPeeringAuthorization();
44 AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
53 inline const Aws::String& GetGameLiftAwsAccountId() const{ return m_gameLiftAwsAccountId; }
54 inline bool GameLiftAwsAccountIdHasBeenSet() const { return m_gameLiftAwsAccountIdHasBeenSet; }
55 inline void SetGameLiftAwsAccountId(const Aws::String& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = value; }
56 inline void SetGameLiftAwsAccountId(Aws::String&& value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId = std::move(value); }
57 inline void SetGameLiftAwsAccountId(const char* value) { m_gameLiftAwsAccountIdHasBeenSet = true; m_gameLiftAwsAccountId.assign(value); }
59 inline VpcPeeringAuthorization& WithGameLiftAwsAccountId(Aws::String&& value) { SetGameLiftAwsAccountId(std::move(value)); return *this;}
60 inline VpcPeeringAuthorization& WithGameLiftAwsAccountId(const char* value) { SetGameLiftAwsAccountId(value); return *this;}
62
64
67 inline const Aws::String& GetPeerVpcAwsAccountId() const{ return m_peerVpcAwsAccountId; }
68 inline bool PeerVpcAwsAccountIdHasBeenSet() const { return m_peerVpcAwsAccountIdHasBeenSet; }
69 inline void SetPeerVpcAwsAccountId(const Aws::String& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = value; }
70 inline void SetPeerVpcAwsAccountId(Aws::String&& value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId = std::move(value); }
71 inline void SetPeerVpcAwsAccountId(const char* value) { m_peerVpcAwsAccountIdHasBeenSet = true; m_peerVpcAwsAccountId.assign(value); }
73 inline VpcPeeringAuthorization& WithPeerVpcAwsAccountId(Aws::String&& value) { SetPeerVpcAwsAccountId(std::move(value)); return *this;}
74 inline VpcPeeringAuthorization& WithPeerVpcAwsAccountId(const char* value) { SetPeerVpcAwsAccountId(value); return *this;}
76
78
87 inline const Aws::String& GetPeerVpcId() const{ return m_peerVpcId; }
88 inline bool PeerVpcIdHasBeenSet() const { return m_peerVpcIdHasBeenSet; }
89 inline void SetPeerVpcId(const Aws::String& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = value; }
90 inline void SetPeerVpcId(Aws::String&& value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId = std::move(value); }
91 inline void SetPeerVpcId(const char* value) { m_peerVpcIdHasBeenSet = true; m_peerVpcId.assign(value); }
92 inline VpcPeeringAuthorization& WithPeerVpcId(const Aws::String& value) { SetPeerVpcId(value); return *this;}
93 inline VpcPeeringAuthorization& WithPeerVpcId(Aws::String&& value) { SetPeerVpcId(std::move(value)); return *this;}
94 inline VpcPeeringAuthorization& WithPeerVpcId(const char* value) { SetPeerVpcId(value); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
104 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
105 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
106 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
108 inline VpcPeeringAuthorization& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
110
112
117 inline const Aws::Utils::DateTime& GetExpirationTime() const{ return m_expirationTime; }
118 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
119 inline void SetExpirationTime(const Aws::Utils::DateTime& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = value; }
120 inline void SetExpirationTime(Aws::Utils::DateTime&& value) { m_expirationTimeHasBeenSet = true; m_expirationTime = std::move(value); }
122 inline VpcPeeringAuthorization& WithExpirationTime(Aws::Utils::DateTime&& value) { SetExpirationTime(std::move(value)); return *this;}
124 private:
125
126 Aws::String m_gameLiftAwsAccountId;
127 bool m_gameLiftAwsAccountIdHasBeenSet = false;
128
129 Aws::String m_peerVpcAwsAccountId;
130 bool m_peerVpcAwsAccountIdHasBeenSet = false;
131
132 Aws::String m_peerVpcId;
133 bool m_peerVpcIdHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationTime;
136 bool m_creationTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_expirationTime;
139 bool m_expirationTimeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace GameLift
144} // namespace Aws
VpcPeeringAuthorization & WithGameLiftAwsAccountId(const Aws::String &value)
VpcPeeringAuthorization & WithCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetExpirationTime() const
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(Aws::Utils::DateTime &&value)
VpcPeeringAuthorization & WithCreationTime(const Aws::Utils::DateTime &value)
VpcPeeringAuthorization & WithPeerVpcId(const char *value)
VpcPeeringAuthorization & WithExpirationTime(const Aws::Utils::DateTime &value)
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(Aws::String &&value)
VpcPeeringAuthorization & WithExpirationTime(Aws::Utils::DateTime &&value)
AWS_GAMELIFT_API VpcPeeringAuthorization(Aws::Utils::Json::JsonView jsonValue)
void SetExpirationTime(const Aws::Utils::DateTime &value)
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(const Aws::String &value)
VpcPeeringAuthorization & WithGameLiftAwsAccountId(Aws::String &&value)
VpcPeeringAuthorization & WithPeerVpcId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetExpirationTime(Aws::Utils::DateTime &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
VpcPeeringAuthorization & WithPeerVpcId(const Aws::String &value)
VpcPeeringAuthorization & WithGameLiftAwsAccountId(const char *value)
VpcPeeringAuthorization & WithPeerVpcAwsAccountId(const char *value)
AWS_GAMELIFT_API VpcPeeringAuthorization & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue