AWS SDK for C++  1.9.160
AWS SDK for C++
Alias.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 
38  {
39  public:
40  Alias();
44 
45 
49  inline const Aws::String& GetAliasId() const{ return m_aliasId; }
50 
54  inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
55 
59  inline void SetAliasId(const Aws::String& value) { m_aliasIdHasBeenSet = true; m_aliasId = value; }
60 
64  inline void SetAliasId(Aws::String&& value) { m_aliasIdHasBeenSet = true; m_aliasId = std::move(value); }
65 
69  inline void SetAliasId(const char* value) { m_aliasIdHasBeenSet = true; m_aliasId.assign(value); }
70 
74  inline Alias& WithAliasId(const Aws::String& value) { SetAliasId(value); return *this;}
75 
79  inline Alias& WithAliasId(Aws::String&& value) { SetAliasId(std::move(value)); return *this;}
80 
84  inline Alias& WithAliasId(const char* value) { SetAliasId(value); return *this;}
85 
86 
91  inline const Aws::String& GetName() const{ return m_name; }
92 
97  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 
103  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 
109  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
110 
115  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
116 
121  inline Alias& WithName(const Aws::String& value) { SetName(value); return *this;}
122 
127  inline Alias& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
128 
133  inline Alias& WithName(const char* value) { SetName(value); return *this;}
134 
135 
144  inline const Aws::String& GetAliasArn() const{ return m_aliasArn; }
145 
154  inline bool AliasArnHasBeenSet() const { return m_aliasArnHasBeenSet; }
155 
164  inline void SetAliasArn(const Aws::String& value) { m_aliasArnHasBeenSet = true; m_aliasArn = value; }
165 
174  inline void SetAliasArn(Aws::String&& value) { m_aliasArnHasBeenSet = true; m_aliasArn = std::move(value); }
175 
184  inline void SetAliasArn(const char* value) { m_aliasArnHasBeenSet = true; m_aliasArn.assign(value); }
185 
194  inline Alias& WithAliasArn(const Aws::String& value) { SetAliasArn(value); return *this;}
195 
204  inline Alias& WithAliasArn(Aws::String&& value) { SetAliasArn(std::move(value)); return *this;}
205 
214  inline Alias& WithAliasArn(const char* value) { SetAliasArn(value); return *this;}
215 
216 
220  inline const Aws::String& GetDescription() const{ return m_description; }
221 
225  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
226 
230  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
231 
235  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
236 
240  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
241 
245  inline Alias& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
246 
250  inline Alias& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
251 
255  inline Alias& WithDescription(const char* value) { SetDescription(value); return *this;}
256 
257 
262  inline const RoutingStrategy& GetRoutingStrategy() const{ return m_routingStrategy; }
263 
268  inline bool RoutingStrategyHasBeenSet() const { return m_routingStrategyHasBeenSet; }
269 
274  inline void SetRoutingStrategy(const RoutingStrategy& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = value; }
275 
280  inline void SetRoutingStrategy(RoutingStrategy&& value) { m_routingStrategyHasBeenSet = true; m_routingStrategy = std::move(value); }
281 
286  inline Alias& WithRoutingStrategy(const RoutingStrategy& value) { SetRoutingStrategy(value); return *this;}
287 
292  inline Alias& WithRoutingStrategy(RoutingStrategy&& value) { SetRoutingStrategy(std::move(value)); return *this;}
293 
294 
300  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
301 
307  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
308 
314  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
315 
321  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
322 
328  inline Alias& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
329 
335  inline Alias& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
336 
337 
343  inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
344 
350  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
351 
357  inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
358 
364  inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
365 
371  inline Alias& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
372 
378  inline Alias& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
379 
380  private:
381 
382  Aws::String m_aliasId;
383  bool m_aliasIdHasBeenSet;
384 
385  Aws::String m_name;
386  bool m_nameHasBeenSet;
387 
388  Aws::String m_aliasArn;
389  bool m_aliasArnHasBeenSet;
390 
391  Aws::String m_description;
392  bool m_descriptionHasBeenSet;
393 
394  RoutingStrategy m_routingStrategy;
395  bool m_routingStrategyHasBeenSet;
396 
397  Aws::Utils::DateTime m_creationTime;
398  bool m_creationTimeHasBeenSet;
399 
400  Aws::Utils::DateTime m_lastUpdatedTime;
401  bool m_lastUpdatedTimeHasBeenSet;
402  };
403 
404 } // namespace Model
405 } // namespace GameLift
406 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::Alias::WithAliasArn
Alias & WithAliasArn(Aws::String &&value)
Definition: Alias.h:204
Aws::GameLift::Model::Alias::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: Alias.h:350
Aws::GameLift::Model::Alias::WithAliasId
Alias & WithAliasId(const Aws::String &value)
Definition: Alias.h:74
Aws::GameLift::Model::Alias::WithAliasId
Alias & WithAliasId(const char *value)
Definition: Alias.h:84
Aws::GameLift::Model::RoutingStrategy
Definition: RoutingStrategy.h:37
Aws::GameLift::Model::Alias::GetDescription
const Aws::String & GetDescription() const
Definition: Alias.h:220
Aws::GameLift::Model::Alias::GetName
const Aws::String & GetName() const
Definition: Alias.h:91
Aws::GameLift::Model::Alias::SetRoutingStrategy
void SetRoutingStrategy(const RoutingStrategy &value)
Definition: Alias.h:274
Aws::GameLift::Model::Alias::GetRoutingStrategy
const RoutingStrategy & GetRoutingStrategy() const
Definition: Alias.h:262
Aws::GameLift::Model::Alias::WithName
Alias & WithName(const char *value)
Definition: Alias.h:133
DateTime.h
Aws::GameLift::Model::Alias::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: Alias.h:300
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::Alias::WithAliasId
Alias & WithAliasId(Aws::String &&value)
Definition: Alias.h:79
Aws::GameLift::Model::Alias::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: Alias.h:314
Aws::GameLift::Model::Alias::RoutingStrategyHasBeenSet
bool RoutingStrategyHasBeenSet() const
Definition: Alias.h:268
RoutingStrategy.h
Aws::GameLift::Model::Alias::GetAliasArn
const Aws::String & GetAliasArn() const
Definition: Alias.h:144
Aws::GameLift::Model::Alias::SetDescription
void SetDescription(const Aws::String &value)
Definition: Alias.h:230
Aws::GameLift::Model::Alias::GetAliasId
const Aws::String & GetAliasId() const
Definition: Alias.h:49
Aws::GameLift::Model::Alias::WithAliasArn
Alias & WithAliasArn(const char *value)
Definition: Alias.h:214
Aws::GameLift::Model::Alias::WithDescription
Alias & WithDescription(const Aws::String &value)
Definition: Alias.h:245
Aws::GameLift::Model::Alias::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: Alias.h:307
Aws::GameLift::Model::Alias::WithDescription
Alias & WithDescription(const char *value)
Definition: Alias.h:255
Aws::GameLift::Model::Alias::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
GameLift_EXPORTS.h
Aws::GameLift::Model::Alias::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Alias.h:225
Aws::GameLift::Model::Alias::Alias
Alias()
Aws::GameLift::Model::Alias::SetName
void SetName(const Aws::String &value)
Definition: Alias.h:103
Aws::GameLift::Model::Alias::SetAliasId
void SetAliasId(const Aws::String &value)
Definition: Alias.h:59
Aws::GameLift::Model::Alias::WithLastUpdatedTime
Alias & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Alias.h:371
Aws::GameLift::Model::Alias::SetDescription
void SetDescription(Aws::String &&value)
Definition: Alias.h:235
Aws::GameLift::Model::Alias::SetDescription
void SetDescription(const char *value)
Definition: Alias.h:240
Aws::GameLift::Model::Alias::SetAliasArn
void SetAliasArn(const Aws::String &value)
Definition: Alias.h:164
Aws::GameLift::Model::Alias::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Alias.h:97
Aws::GameLift::Model::Alias::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Alias.h:357
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::GameLift::Model::Alias::AliasIdHasBeenSet
bool AliasIdHasBeenSet() const
Definition: Alias.h:54
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::GameLift::Model::Alias::SetAliasArn
void SetAliasArn(Aws::String &&value)
Definition: Alias.h:174
Aws::GameLift::Model::Alias::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Alias.h:364
Aws::GameLift::Model::Alias::WithCreationTime
Alias & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: Alias.h:335
Aws::GameLift::Model::Alias::WithDescription
Alias & WithDescription(Aws::String &&value)
Definition: Alias.h:250
Aws::GameLift::Model::Alias::AliasArnHasBeenSet
bool AliasArnHasBeenSet() const
Definition: Alias.h:154
Aws::GameLift::Model::Alias::SetName
void SetName(Aws::String &&value)
Definition: Alias.h:109
Aws::GameLift::Model::Alias::WithRoutingStrategy
Alias & WithRoutingStrategy(const RoutingStrategy &value)
Definition: Alias.h:286
Aws::GameLift::Model::Alias::GetLastUpdatedTime
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition: Alias.h:343
Aws::GameLift::Model::Alias::operator=
Alias & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::Alias::WithRoutingStrategy
Alias & WithRoutingStrategy(RoutingStrategy &&value)
Definition: Alias.h:292
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::GameLift::Model::Alias::WithAliasArn
Alias & WithAliasArn(const Aws::String &value)
Definition: Alias.h:194
Aws::GameLift::Model::Alias::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: Alias.h:321
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::Alias::SetAliasArn
void SetAliasArn(const char *value)
Definition: Alias.h:184
Aws::GameLift::Model::Alias::WithName
Alias & WithName(Aws::String &&value)
Definition: Alias.h:127
Aws::GameLift::Model::Alias::WithName
Alias & WithName(const Aws::String &value)
Definition: Alias.h:121
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::Alias::Alias
Alias(Aws::Utils::Json::JsonView jsonValue)
Aws::GameLift::Model::Alias::WithCreationTime
Alias & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: Alias.h:328
Aws::GameLift::Model::Alias::SetRoutingStrategy
void SetRoutingStrategy(RoutingStrategy &&value)
Definition: Alias.h:280
Aws::GameLift::Model::Alias::SetName
void SetName(const char *value)
Definition: Alias.h:115
Aws::GameLift::Model::Alias
Definition: Alias.h:38
Aws::GameLift::Model::Alias::WithLastUpdatedTime
Alias & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Alias.h:378
Aws::GameLift::Model::Alias::SetAliasId
void SetAliasId(Aws::String &&value)
Definition: Alias.h:64
Aws::GameLift::Model::Alias::SetAliasId
void SetAliasId(const char *value)
Definition: Alias.h:69