AWS SDK for C++  1.9.158
AWS SDK for C++
UpdateAliasResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace GameLift
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Alias& GetAlias() const{ return m_alias; }
45 
49  inline void SetAlias(const Alias& value) { m_alias = value; }
50 
54  inline void SetAlias(Alias&& value) { m_alias = std::move(value); }
55 
59  inline UpdateAliasResult& WithAlias(const Alias& value) { SetAlias(value); return *this;}
60 
64  inline UpdateAliasResult& WithAlias(Alias&& value) { SetAlias(std::move(value)); return *this;}
65 
66  private:
67 
68  Alias m_alias;
69  };
70 
71 } // namespace Model
72 } // namespace GameLift
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::UpdateAliasResult::GetAlias
const Alias & GetAlias() const
Definition: UpdateAliasResult.h:44
GameLift_EXPORTS.h
Aws::GameLift::Model::UpdateAliasResult
Definition: UpdateAliasResult.h:34
Aws::GameLift::Model::UpdateAliasResult::WithAlias
UpdateAliasResult & WithAlias(Alias &&value)
Definition: UpdateAliasResult.h:64
Aws::GameLift::Model::UpdateAliasResult::WithAlias
UpdateAliasResult & WithAlias(const Alias &value)
Definition: UpdateAliasResult.h:59
Aws::GameLift::Model::UpdateAliasResult::UpdateAliasResult
UpdateAliasResult()
Aws::GameLift::Model::UpdateAliasResult::operator=
UpdateAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::UpdateAliasResult::SetAlias
void SetAlias(Alias &&value)
Definition: UpdateAliasResult.h:54
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::UpdateAliasResult::SetAlias
void SetAlias(const Alias &value)
Definition: UpdateAliasResult.h:49
Aws::GameLift::Model::UpdateAliasResult::UpdateAliasResult
UpdateAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Alias.h
Aws::GameLift::Model::Alias
Definition: Alias.h:38