AWS SDK for C++  1.9.46
AWS SDK for C++
ResolveAliasResult.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 Aws::String& GetFleetId() const{ return m_fleetId; }
45 
49  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
50 
54  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
55 
59  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
60 
64  inline ResolveAliasResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
65 
69  inline ResolveAliasResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
70 
74  inline ResolveAliasResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
75 
76 
82  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
83 
89  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
90 
96  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
97 
103  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
104 
110  inline ResolveAliasResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
111 
117  inline ResolveAliasResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
118 
124  inline ResolveAliasResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
125 
126  private:
127 
128  Aws::String m_fleetId;
129 
130  Aws::String m_fleetArn;
131  };
132 
133 } // namespace Model
134 } // namespace GameLift
135 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ResolveAliasResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: ResolveAliasResult.h:82
Aws::GameLift::Model::ResolveAliasResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: ResolveAliasResult.h:89
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::ResolveAliasResult::operator=
ResolveAliasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::ResolveAliasResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: ResolveAliasResult.h:44
Aws::GameLift::Model::ResolveAliasResult::SetFleetId
void SetFleetId(const char *value)
Definition: ResolveAliasResult.h:59
GameLift_EXPORTS.h
Aws::GameLift::Model::ResolveAliasResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: ResolveAliasResult.h:96
Aws::GameLift::Model::ResolveAliasResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: ResolveAliasResult.h:49
Aws::GameLift::Model::ResolveAliasResult::WithFleetId
ResolveAliasResult & WithFleetId(Aws::String &&value)
Definition: ResolveAliasResult.h:69
AWSString.h
Aws::GameLift::Model::ResolveAliasResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: ResolveAliasResult.h:103
Aws::GameLift::Model::ResolveAliasResult::WithFleetId
ResolveAliasResult & WithFleetId(const Aws::String &value)
Definition: ResolveAliasResult.h:64
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ResolveAliasResult::WithFleetArn
ResolveAliasResult & WithFleetArn(const Aws::String &value)
Definition: ResolveAliasResult.h:110
Aws::GameLift::Model::ResolveAliasResult::WithFleetArn
ResolveAliasResult & WithFleetArn(Aws::String &&value)
Definition: ResolveAliasResult.h:117
Aws::GameLift::Model::ResolveAliasResult
Definition: ResolveAliasResult.h:34
Aws::GameLift::Model::ResolveAliasResult::ResolveAliasResult
ResolveAliasResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ResolveAliasResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: ResolveAliasResult.h:54
Aws::GameLift::Model::ResolveAliasResult::WithFleetId
ResolveAliasResult & WithFleetId(const char *value)
Definition: ResolveAliasResult.h:74
Aws::GameLift::Model::ResolveAliasResult::WithFleetArn
ResolveAliasResult & WithFleetArn(const char *value)
Definition: ResolveAliasResult.h:124
Aws::GameLift::Model::ResolveAliasResult::ResolveAliasResult
ResolveAliasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)