AWS SDK for C++  1.9.104
AWS SDK for C++
CreateAliasResult.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 CreateAliasResult& WithAlias(const Alias& value) { SetAlias(value); return *this;}
60 
64  inline CreateAliasResult& 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::GameLift::Model::CreateAliasResult
Definition: CreateAliasResult.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::CreateAliasResult::CreateAliasResult
CreateAliasResult()
Aws::GameLift::Model::CreateAliasResult::WithAlias
CreateAliasResult & WithAlias(Alias &&value)
Definition: CreateAliasResult.h:64
GameLift_EXPORTS.h
Aws::GameLift::Model::CreateAliasResult::SetAlias
void SetAlias(Alias &&value)
Definition: CreateAliasResult.h:54
Aws::GameLift::Model::CreateAliasResult::WithAlias
CreateAliasResult & WithAlias(const Alias &value)
Definition: CreateAliasResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::CreateAliasResult::GetAlias
const Alias & GetAlias() const
Definition: CreateAliasResult.h:44
Alias.h
Aws::GameLift::Model::CreateAliasResult::operator=
CreateAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::CreateAliasResult::SetAlias
void SetAlias(const Alias &value)
Definition: CreateAliasResult.h:49
Aws::GameLift::Model::CreateAliasResult::CreateAliasResult
CreateAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::Alias
Definition: Alias.h:38