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