AWS SDK for C++  1.9.44
AWS SDK for C++
GetInstanceAccessResult.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 
45  inline const InstanceAccess& GetInstanceAccess() const{ return m_instanceAccess; }
46 
51  inline void SetInstanceAccess(const InstanceAccess& value) { m_instanceAccess = value; }
52 
57  inline void SetInstanceAccess(InstanceAccess&& value) { m_instanceAccess = std::move(value); }
58 
63  inline GetInstanceAccessResult& WithInstanceAccess(const InstanceAccess& value) { SetInstanceAccess(value); return *this;}
64 
69  inline GetInstanceAccessResult& WithInstanceAccess(InstanceAccess&& value) { SetInstanceAccess(std::move(value)); return *this;}
70 
71  private:
72 
73  InstanceAccess m_instanceAccess;
74  };
75 
76 } // namespace Model
77 } // namespace GameLift
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::GetInstanceAccessResult::SetInstanceAccess
void SetInstanceAccess(const InstanceAccess &value)
Definition: GetInstanceAccessResult.h:51
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::InstanceAccess
Definition: InstanceAccess.h:35
Aws::GameLift::Model::GetInstanceAccessResult::GetInstanceAccess
const InstanceAccess & GetInstanceAccess() const
Definition: GetInstanceAccessResult.h:45
Aws::GameLift::Model::GetInstanceAccessResult::WithInstanceAccess
GetInstanceAccessResult & WithInstanceAccess(const InstanceAccess &value)
Definition: GetInstanceAccessResult.h:63
Aws::GameLift::Model::GetInstanceAccessResult
Definition: GetInstanceAccessResult.h:34
GameLift_EXPORTS.h
Aws::GameLift::Model::GetInstanceAccessResult::WithInstanceAccess
GetInstanceAccessResult & WithInstanceAccess(InstanceAccess &&value)
Definition: GetInstanceAccessResult.h:69
Aws::GameLift::Model::GetInstanceAccessResult::GetInstanceAccessResult
GetInstanceAccessResult()
InstanceAccess.h
Aws::GameLift::Model::GetInstanceAccessResult::GetInstanceAccessResult
GetInstanceAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::GetInstanceAccessResult::SetInstanceAccess
void SetInstanceAccess(InstanceAccess &&value)
Definition: GetInstanceAccessResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::GetInstanceAccessResult::operator=
GetInstanceAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)