AWS SDK for C++  1.9.44
AWS SDK for C++
InstanceAccess.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
47 
51  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
52 
56  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
61  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
62 
66  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
67 
71  inline InstanceAccess& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
72 
76  inline InstanceAccess& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
77 
81  inline InstanceAccess& WithFleetId(const char* value) { SetFleetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
88 
92  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
93 
97  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
98 
102  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
103 
107  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
108 
112  inline InstanceAccess& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
113 
117  inline InstanceAccess& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
118 
122  inline InstanceAccess& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
123 
124 
128  inline const Aws::String& GetIpAddress() const{ return m_ipAddress; }
129 
133  inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
134 
138  inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
139 
143  inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
144 
148  inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
149 
153  inline InstanceAccess& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
154 
158  inline InstanceAccess& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
159 
163  inline InstanceAccess& WithIpAddress(const char* value) { SetIpAddress(value); return *this;}
164 
165 
169  inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; }
170 
174  inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; }
175 
179  inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; }
180 
184  inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); }
185 
189  inline InstanceAccess& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;}
190 
194  inline InstanceAccess& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;}
195 
196 
200  inline const InstanceCredentials& GetCredentials() const{ return m_credentials; }
201 
205  inline bool CredentialsHasBeenSet() const { return m_credentialsHasBeenSet; }
206 
210  inline void SetCredentials(const InstanceCredentials& value) { m_credentialsHasBeenSet = true; m_credentials = value; }
211 
215  inline void SetCredentials(InstanceCredentials&& value) { m_credentialsHasBeenSet = true; m_credentials = std::move(value); }
216 
220  inline InstanceAccess& WithCredentials(const InstanceCredentials& value) { SetCredentials(value); return *this;}
221 
225  inline InstanceAccess& WithCredentials(InstanceCredentials&& value) { SetCredentials(std::move(value)); return *this;}
226 
227  private:
228 
229  Aws::String m_fleetId;
230  bool m_fleetIdHasBeenSet;
231 
232  Aws::String m_instanceId;
233  bool m_instanceIdHasBeenSet;
234 
235  Aws::String m_ipAddress;
236  bool m_ipAddressHasBeenSet;
237 
238  OperatingSystem m_operatingSystem;
239  bool m_operatingSystemHasBeenSet;
240 
241  InstanceCredentials m_credentials;
242  bool m_credentialsHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace GameLift
247 } // namespace Aws
Aws::GameLift::Model::InstanceAccess::WithFleetId
InstanceAccess & WithFleetId(const Aws::String &value)
Definition: InstanceAccess.h:71
Aws::GameLift::Model::InstanceAccess::WithFleetId
InstanceAccess & WithFleetId(const char *value)
Definition: InstanceAccess.h:81
Aws::GameLift::Model::InstanceAccess::SetIpAddress
void SetIpAddress(const Aws::String &value)
Definition: InstanceAccess.h:138
Aws::GameLift::Model::InstanceAccess::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: InstanceAccess.h:97
Aws::GameLift::Model::InstanceAccess::CredentialsHasBeenSet
bool CredentialsHasBeenSet() const
Definition: InstanceAccess.h:205
Aws::GameLift::Model::InstanceAccess::WithCredentials
InstanceAccess & WithCredentials(InstanceCredentials &&value)
Definition: InstanceAccess.h:225
Aws::GameLift::Model::InstanceAccess::InstanceAccess
InstanceAccess(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::InstanceAccess::WithIpAddress
InstanceAccess & WithIpAddress(Aws::String &&value)
Definition: InstanceAccess.h:158
Aws::GameLift::Model::InstanceCredentials
Definition: InstanceCredentials.h:34
Aws::GameLift::Model::InstanceAccess::InstanceAccess
InstanceAccess()
Aws::GameLift::Model::InstanceAccess::SetFleetId
void SetFleetId(const char *value)
Definition: InstanceAccess.h:66
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::InstanceAccess
Definition: InstanceAccess.h:35
Aws::GameLift::Model::InstanceAccess::WithCredentials
InstanceAccess & WithCredentials(const InstanceCredentials &value)
Definition: InstanceAccess.h:220
Aws::GameLift::Model::InstanceAccess::SetIpAddress
void SetIpAddress(const char *value)
Definition: InstanceAccess.h:148
Aws::GameLift::Model::InstanceAccess::WithIpAddress
InstanceAccess & WithIpAddress(const Aws::String &value)
Definition: InstanceAccess.h:153
InstanceCredentials.h
Aws::GameLift::Model::InstanceAccess::SetOperatingSystem
void SetOperatingSystem(OperatingSystem &&value)
Definition: InstanceAccess.h:184
OperatingSystem.h
Aws::GameLift::Model::InstanceAccess::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: InstanceAccess.h:51
Aws::GameLift::Model::InstanceAccess::operator=
InstanceAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
GameLift_EXPORTS.h
Aws::GameLift::Model::InstanceAccess::SetCredentials
void SetCredentials(const InstanceCredentials &value)
Definition: InstanceAccess.h:210
Aws::GameLift::Model::InstanceAccess::WithOperatingSystem
InstanceAccess & WithOperatingSystem(OperatingSystem &&value)
Definition: InstanceAccess.h:194
Aws::GameLift::Model::InstanceAccess::GetOperatingSystem
const OperatingSystem & GetOperatingSystem() const
Definition: InstanceAccess.h:169
Aws::GameLift::Model::InstanceAccess::WithInstanceId
InstanceAccess & WithInstanceId(const char *value)
Definition: InstanceAccess.h:122
Aws::GameLift::Model::InstanceAccess::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: InstanceAccess.h:102
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::GameLift::Model::InstanceAccess::GetFleetId
const Aws::String & GetFleetId() const
Definition: InstanceAccess.h:46
Aws::GameLift::Model::InstanceAccess::WithInstanceId
InstanceAccess & WithInstanceId(const Aws::String &value)
Definition: InstanceAccess.h:112
Aws::GameLift::Model::InstanceAccess::WithOperatingSystem
InstanceAccess & WithOperatingSystem(const OperatingSystem &value)
Definition: InstanceAccess.h:189
Aws::GameLift::Model::InstanceAccess::WithIpAddress
InstanceAccess & WithIpAddress(const char *value)
Definition: InstanceAccess.h:163
Aws::GameLift::Model::InstanceAccess::WithFleetId
InstanceAccess & WithFleetId(Aws::String &&value)
Definition: InstanceAccess.h:76
Aws::GameLift::Model::InstanceAccess::GetCredentials
const InstanceCredentials & GetCredentials() const
Definition: InstanceAccess.h:200
Aws::GameLift::Model::InstanceAccess::GetIpAddress
const Aws::String & GetIpAddress() const
Definition: InstanceAccess.h:128
Aws::GameLift::Model::InstanceAccess::WithInstanceId
InstanceAccess & WithInstanceId(Aws::String &&value)
Definition: InstanceAccess.h:117
Aws::GameLift::Model::InstanceAccess::OperatingSystemHasBeenSet
bool OperatingSystemHasBeenSet() const
Definition: InstanceAccess.h:174
Aws::GameLift::Model::InstanceAccess::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::GameLift::Model::InstanceAccess::SetOperatingSystem
void SetOperatingSystem(const OperatingSystem &value)
Definition: InstanceAccess.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::InstanceAccess::SetInstanceId
void SetInstanceId(const char *value)
Definition: InstanceAccess.h:107
Aws::GameLift::Model::InstanceAccess::IpAddressHasBeenSet
bool IpAddressHasBeenSet() const
Definition: InstanceAccess.h:133
Aws::GameLift::Model::InstanceAccess::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: InstanceAccess.h:87
Aws::GameLift::Model::InstanceAccess::SetIpAddress
void SetIpAddress(Aws::String &&value)
Definition: InstanceAccess.h:143
Aws::GameLift::Model::InstanceAccess::SetCredentials
void SetCredentials(InstanceCredentials &&value)
Definition: InstanceAccess.h:215
Aws::GameLift::Model::InstanceAccess::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: InstanceAccess.h:56
Aws::GameLift::Model::InstanceAccess::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: InstanceAccess.h:61
Aws::GameLift::Model::InstanceAccess::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: InstanceAccess.h:92
Aws::GameLift::Model::OperatingSystem
OperatingSystem
Definition: OperatingSystem.h:17