AWS SDK for C++  1.9.44
AWS SDK for C++
DescribeFleetLocationAttributesResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
48 
53  inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
54 
59  inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
60 
65  inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
66 
71  inline DescribeFleetLocationAttributesResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
72 
77  inline DescribeFleetLocationAttributesResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
78 
83  inline DescribeFleetLocationAttributesResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
84 
85 
94  inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
95 
104  inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
105 
114  inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
115 
124  inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
125 
134  inline DescribeFleetLocationAttributesResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
135 
144  inline DescribeFleetLocationAttributesResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
145 
154  inline DescribeFleetLocationAttributesResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
155 
156 
161  inline const Aws::Vector<LocationAttributes>& GetLocationAttributes() const{ return m_locationAttributes; }
162 
167  inline void SetLocationAttributes(const Aws::Vector<LocationAttributes>& value) { m_locationAttributes = value; }
168 
173  inline void SetLocationAttributes(Aws::Vector<LocationAttributes>&& value) { m_locationAttributes = std::move(value); }
174 
179  inline DescribeFleetLocationAttributesResult& WithLocationAttributes(const Aws::Vector<LocationAttributes>& value) { SetLocationAttributes(value); return *this;}
180 
185  inline DescribeFleetLocationAttributesResult& WithLocationAttributes(Aws::Vector<LocationAttributes>&& value) { SetLocationAttributes(std::move(value)); return *this;}
186 
191  inline DescribeFleetLocationAttributesResult& AddLocationAttributes(const LocationAttributes& value) { m_locationAttributes.push_back(value); return *this; }
192 
197  inline DescribeFleetLocationAttributesResult& AddLocationAttributes(LocationAttributes&& value) { m_locationAttributes.push_back(std::move(value)); return *this; }
198 
199 
205  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
206 
212  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
213 
219  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
220 
226  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
227 
233  inline DescribeFleetLocationAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
234 
240  inline DescribeFleetLocationAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
241 
247  inline DescribeFleetLocationAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
248 
249  private:
250 
251  Aws::String m_fleetId;
252 
253  Aws::String m_fleetArn;
254 
255  Aws::Vector<LocationAttributes> m_locationAttributes;
256 
257  Aws::String m_nextToken;
258  };
259 
260 } // namespace Model
261 } // namespace GameLift
262 } // namespace Aws
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithNextToken
DescribeFleetLocationAttributesResult & WithNextToken(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:233
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithLocationAttributes
DescribeFleetLocationAttributesResult & WithLocationAttributes(Aws::Vector< LocationAttributes > &&value)
Definition: DescribeFleetLocationAttributesResult.h:185
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:53
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::DescribeFleetLocationAttributesResult
DescribeFleetLocationAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetId
DescribeFleetLocationAttributesResult & WithFleetId(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:71
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetArn
DescribeFleetLocationAttributesResult & WithFleetArn(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:144
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::operator=
DescribeFleetLocationAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LocationAttributes.h
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:65
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetArn
void SetFleetArn(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:104
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::DescribeFleetLocationAttributesResult
DescribeFleetLocationAttributesResult()
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetLocationAttributes
void SetLocationAttributes(const Aws::Vector< LocationAttributes > &value)
Definition: DescribeFleetLocationAttributesResult.h:167
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeFleetLocationAttributesResult.h:47
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetArn
DescribeFleetLocationAttributesResult & WithFleetArn(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:154
Aws::GameLift::Model::DescribeFleetLocationAttributesResult
Definition: DescribeFleetLocationAttributesResult.h:36
AWSVector.h
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:212
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:226
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::AddLocationAttributes
DescribeFleetLocationAttributesResult & AddLocationAttributes(const LocationAttributes &value)
Definition: DescribeFleetLocationAttributesResult.h:191
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::GetFleetArn
const Aws::String & GetFleetArn() const
Definition: DescribeFleetLocationAttributesResult.h:94
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetId
DescribeFleetLocationAttributesResult & WithFleetId(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:83
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetArn
void SetFleetArn(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:124
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithNextToken
DescribeFleetLocationAttributesResult & WithNextToken(const char *value)
Definition: DescribeFleetLocationAttributesResult.h:247
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetArn
DescribeFleetLocationAttributesResult & WithFleetArn(const Aws::String &value)
Definition: DescribeFleetLocationAttributesResult.h:134
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:219
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:59
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithFleetId
DescribeFleetLocationAttributesResult & WithFleetId(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:77
AWSString.h
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetLocationAttributesResult.h:205
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::LocationAttributes
Definition: LocationAttributes.h:37
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetFleetArn
void SetFleetArn(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:114
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::SetLocationAttributes
void SetLocationAttributes(Aws::Vector< LocationAttributes > &&value)
Definition: DescribeFleetLocationAttributesResult.h:173
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::GetLocationAttributes
const Aws::Vector< LocationAttributes > & GetLocationAttributes() const
Definition: DescribeFleetLocationAttributesResult.h:161
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithLocationAttributes
DescribeFleetLocationAttributesResult & WithLocationAttributes(const Aws::Vector< LocationAttributes > &value)
Definition: DescribeFleetLocationAttributesResult.h:179
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::AddLocationAttributes
DescribeFleetLocationAttributesResult & AddLocationAttributes(LocationAttributes &&value)
Definition: DescribeFleetLocationAttributesResult.h:197
Aws::GameLift::Model::DescribeFleetLocationAttributesResult::WithNextToken
DescribeFleetLocationAttributesResult & WithNextToken(Aws::String &&value)
Definition: DescribeFleetLocationAttributesResult.h:240