AWS SDK for C++  1.8.154
AWS SDK for C++
DescribeFleetAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeFleetAttributes"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
48  inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
49 
57  inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
58 
66  inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
67 
75  inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); }
76 
84  inline DescribeFleetAttributesRequest& WithFleetIds(const Aws::Vector<Aws::String>& value) { SetFleetIds(value); return *this;}
85 
93  inline DescribeFleetAttributesRequest& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(std::move(value)); return *this;}
94 
102  inline DescribeFleetAttributesRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
103 
111  inline DescribeFleetAttributesRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; }
112 
120  inline DescribeFleetAttributesRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
121 
122 
128  inline int GetLimit() const{ return m_limit; }
129 
135  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
136 
142  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
143 
149  inline DescribeFleetAttributesRequest& WithLimit(int value) { SetLimit(value); return *this;}
150 
151 
158  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
159 
166  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
167 
174  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
175 
182  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
183 
190  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
191 
198  inline DescribeFleetAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
199 
206  inline DescribeFleetAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
207 
214  inline DescribeFleetAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
215 
216  private:
217 
218  Aws::Vector<Aws::String> m_fleetIds;
219  bool m_fleetIdsHasBeenSet;
220 
221  int m_limit;
222  bool m_limitHasBeenSet;
223 
224  Aws::String m_nextToken;
225  bool m_nextTokenHasBeenSet;
226  };
227 
228 } // namespace Model
229 } // namespace GameLift
230 } // namespace Aws
Aws::GameLift::Model::DescribeFleetAttributesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:166
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetFleetIds
const Aws::Vector< Aws::String > & GetFleetIds() const
Definition: DescribeFleetAttributesRequest.h:48
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(const Aws::String &value)
Definition: DescribeFleetAttributesRequest.h:102
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(Aws::String &&value)
Definition: DescribeFleetAttributesRequest.h:111
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithFleetIds
DescribeFleetAttributesRequest & WithFleetIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetAttributesRequest.h:93
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeFleetAttributesRequest::DescribeFleetAttributesRequest
DescribeFleetAttributesRequest()
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetAttributesRequest.h:182
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithNextToken
DescribeFleetAttributesRequest & WithNextToken(Aws::String &&value)
Definition: DescribeFleetAttributesRequest.h:206
Aws::GameLift::Model::DescribeFleetAttributesRequest::FleetIdsHasBeenSet
bool FleetIdsHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:57
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetAttributesRequest.h:158
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetFleetIds
void SetFleetIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetAttributesRequest.h:66
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFleetAttributesRequest.h:34
Aws::GameLift::Model::DescribeFleetAttributesRequest
Definition: DescribeFleetAttributesRequest.h:26
AWSVector.h
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithNextToken
DescribeFleetAttributesRequest & WithNextToken(const char *value)
Definition: DescribeFleetAttributesRequest.h:214
GameLiftRequest.h
Aws::GameLift::Model::DescribeFleetAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetLimit
int GetLimit() const
Definition: DescribeFleetAttributesRequest.h:128
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(const char *value)
Definition: DescribeFleetAttributesRequest.h:120
Aws::GameLift::Model::DescribeFleetAttributesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:135
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetAttributesRequest.h:190
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithNextToken
DescribeFleetAttributesRequest & WithNextToken(const Aws::String &value)
Definition: DescribeFleetAttributesRequest.h:198
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithFleetIds
DescribeFleetAttributesRequest & WithFleetIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetAttributesRequest.h:84
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::DescribeFleetAttributesRequest::SetLimit
void SetLimit(int value)
Definition: DescribeFleetAttributesRequest.h:142
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithLimit
DescribeFleetAttributesRequest & WithLimit(int value)
Definition: DescribeFleetAttributesRequest.h:149
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetAttributesRequest.h:174
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetFleetIds
void SetFleetIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetAttributesRequest.h:75