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