AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeFleetAttributesResult.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 
48  inline const Aws::Vector<FleetAttributes>& GetFleetAttributes() const{ return m_fleetAttributes; }
49 
55  inline void SetFleetAttributes(const Aws::Vector<FleetAttributes>& value) { m_fleetAttributes = value; }
56 
62  inline void SetFleetAttributes(Aws::Vector<FleetAttributes>&& value) { m_fleetAttributes = std::move(value); }
63 
69  inline DescribeFleetAttributesResult& WithFleetAttributes(const Aws::Vector<FleetAttributes>& value) { SetFleetAttributes(value); return *this;}
70 
76  inline DescribeFleetAttributesResult& WithFleetAttributes(Aws::Vector<FleetAttributes>&& value) { SetFleetAttributes(std::move(value)); return *this;}
77 
83  inline DescribeFleetAttributesResult& AddFleetAttributes(const FleetAttributes& value) { m_fleetAttributes.push_back(value); return *this; }
84 
90  inline DescribeFleetAttributesResult& AddFleetAttributes(FleetAttributes&& value) { m_fleetAttributes.push_back(std::move(value)); return *this; }
91 
92 
98  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
99 
105  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
106 
112  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
113 
119  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
120 
126  inline DescribeFleetAttributesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 
133  inline DescribeFleetAttributesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
140  inline DescribeFleetAttributesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
141 
142  private:
143 
144  Aws::Vector<FleetAttributes> m_fleetAttributes;
145 
146  Aws::String m_nextToken;
147  };
148 
149 } // namespace Model
150 } // namespace GameLift
151 } // namespace Aws
Aws::GameLift::Model::DescribeFleetAttributesResult::WithNextToken
DescribeFleetAttributesResult & WithNextToken(const char *value)
Definition: DescribeFleetAttributesResult.h:140
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeFleetAttributesResult::AddFleetAttributes
DescribeFleetAttributesResult & AddFleetAttributes(const FleetAttributes &value)
Definition: DescribeFleetAttributesResult.h:83
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetAttributesResult::WithNextToken
DescribeFleetAttributesResult & WithNextToken(Aws::String &&value)
Definition: DescribeFleetAttributesResult.h:133
Aws::GameLift::Model::DescribeFleetAttributesResult::WithNextToken
DescribeFleetAttributesResult & WithNextToken(const Aws::String &value)
Definition: DescribeFleetAttributesResult.h:126
Aws::GameLift::Model::DescribeFleetAttributesResult::DescribeFleetAttributesResult
DescribeFleetAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
FleetAttributes.h
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeFleetAttributesResult
Definition: DescribeFleetAttributesResult.h:36
Aws::GameLift::Model::DescribeFleetAttributesResult::SetFleetAttributes
void SetFleetAttributes(Aws::Vector< FleetAttributes > &&value)
Definition: DescribeFleetAttributesResult.h:62
Aws::GameLift::Model::DescribeFleetAttributesResult::operator=
DescribeFleetAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeFleetAttributesResult::SetFleetAttributes
void SetFleetAttributes(const Aws::Vector< FleetAttributes > &value)
Definition: DescribeFleetAttributesResult.h:55
AWSString.h
Aws::GameLift::Model::DescribeFleetAttributesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetAttributesResult.h:105
Aws::GameLift::Model::DescribeFleetAttributesResult::DescribeFleetAttributesResult
DescribeFleetAttributesResult()
Aws::GameLift::Model::DescribeFleetAttributesResult::GetFleetAttributes
const Aws::Vector< FleetAttributes > & GetFleetAttributes() const
Definition: DescribeFleetAttributesResult.h:48
Aws::GameLift::Model::DescribeFleetAttributesResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetAttributesResult.h:119
Aws::GameLift::Model::DescribeFleetAttributesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetAttributesResult.h:98
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetAttributesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetAttributesResult.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetAttributesResult::WithFleetAttributes
DescribeFleetAttributesResult & WithFleetAttributes(const Aws::Vector< FleetAttributes > &value)
Definition: DescribeFleetAttributesResult.h:69
Aws::GameLift::Model::DescribeFleetAttributesResult::AddFleetAttributes
DescribeFleetAttributesResult & AddFleetAttributes(FleetAttributes &&value)
Definition: DescribeFleetAttributesResult.h:90
Aws::GameLift::Model::FleetAttributes
Definition: FleetAttributes.h:44
Aws::GameLift::Model::DescribeFleetAttributesResult::WithFleetAttributes
DescribeFleetAttributesResult & WithFleetAttributes(Aws::Vector< FleetAttributes > &&value)
Definition: DescribeFleetAttributesResult.h:76