AWS SDK for C++  1.9.17
AWS SDK for C++
DescribeFleetLocationCapacityRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GameLift
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeFleetLocationCapacity"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
45 
50  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
51 
56  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
57 
62  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
63 
68  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
69 
74  inline DescribeFleetLocationCapacityRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
75 
80  inline DescribeFleetLocationCapacityRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
81 
86  inline DescribeFleetLocationCapacityRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
87 
88 
93  inline const Aws::String& GetLocation() const{ return m_location; }
94 
99  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
100 
105  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
106 
111  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
112 
117  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
118 
123  inline DescribeFleetLocationCapacityRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
124 
129  inline DescribeFleetLocationCapacityRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
130 
135  inline DescribeFleetLocationCapacityRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
136 
137  private:
138 
139  Aws::String m_fleetId;
140  bool m_fleetIdHasBeenSet;
141 
142  Aws::String m_location;
143  bool m_locationHasBeenSet;
144  };
145 
146 } // namespace Model
147 } // namespace GameLift
148 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithFleetId
DescribeFleetLocationCapacityRequest & WithFleetId(Aws::String &&value)
Definition: DescribeFleetLocationCapacityRequest.h:80
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithFleetId
DescribeFleetLocationCapacityRequest & WithFleetId(const char *value)
Definition: DescribeFleetLocationCapacityRequest.h:86
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetLocation
void SetLocation(const char *value)
Definition: DescribeFleetLocationCapacityRequest.h:117
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: DescribeFleetLocationCapacityRequest.h:111
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithLocation
DescribeFleetLocationCapacityRequest & WithLocation(Aws::String &&value)
Definition: DescribeFleetLocationCapacityRequest.h:129
GameLift_EXPORTS.h
GameLiftRequest.h
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeFleetLocationCapacityRequest.h:68
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeFleetLocationCapacityRequest.h:62
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest
Definition: DescribeFleetLocationCapacityRequest.h:25
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::DescribeFleetLocationCapacityRequest
DescribeFleetLocationCapacityRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFleetLocationCapacityRequest.h:33
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeFleetLocationCapacityRequest.h:56
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeFleetLocationCapacityRequest.h:44
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: DescribeFleetLocationCapacityRequest.h:99
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithLocation
DescribeFleetLocationCapacityRequest & WithLocation(const char *value)
Definition: DescribeFleetLocationCapacityRequest.h:135
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithFleetId
DescribeFleetLocationCapacityRequest & WithFleetId(const Aws::String &value)
Definition: DescribeFleetLocationCapacityRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeFleetLocationCapacityRequest.h:50
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: DescribeFleetLocationCapacityRequest.h:105
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::GetLocation
const Aws::String & GetLocation() const
Definition: DescribeFleetLocationCapacityRequest.h:93
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeFleetLocationCapacityRequest::WithLocation
DescribeFleetLocationCapacityRequest & WithLocation(const Aws::String &value)
Definition: DescribeFleetLocationCapacityRequest.h:123