AWS SDK for C++  1.9.16
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 
46  inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
47 
53  inline bool FleetIdsHasBeenSet() const { return m_fleetIdsHasBeenSet; }
54 
60  inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
61 
67  inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = std::move(value); }
68 
74  inline DescribeFleetAttributesRequest& WithFleetIds(const Aws::Vector<Aws::String>& value) { SetFleetIds(value); return *this;}
75 
81  inline DescribeFleetAttributesRequest& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(std::move(value)); return *this;}
82 
88  inline DescribeFleetAttributesRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
89 
95  inline DescribeFleetAttributesRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(std::move(value)); return *this; }
96 
102  inline DescribeFleetAttributesRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
103 
104 
110  inline int GetLimit() const{ return m_limit; }
111 
117  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
118 
124  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
125 
131  inline DescribeFleetAttributesRequest& WithLimit(int value) { SetLimit(value); return *this;}
132 
133 
140  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
141 
148  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
149 
156  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
157 
164  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
165 
172  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
173 
180  inline DescribeFleetAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
181 
188  inline DescribeFleetAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
189 
196  inline DescribeFleetAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
197 
198  private:
199 
200  Aws::Vector<Aws::String> m_fleetIds;
201  bool m_fleetIdsHasBeenSet;
202 
203  int m_limit;
204  bool m_limitHasBeenSet;
205 
206  Aws::String m_nextToken;
207  bool m_nextTokenHasBeenSet;
208  };
209 
210 } // namespace Model
211 } // namespace GameLift
212 } // namespace Aws
Aws::GameLift::Model::DescribeFleetAttributesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:148
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetFleetIds
const Aws::Vector< Aws::String > & GetFleetIds() const
Definition: DescribeFleetAttributesRequest.h:46
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(const Aws::String &value)
Definition: DescribeFleetAttributesRequest.h:88
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(Aws::String &&value)
Definition: DescribeFleetAttributesRequest.h:95
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithFleetIds
DescribeFleetAttributesRequest & WithFleetIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetAttributesRequest.h:81
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:164
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:188
Aws::GameLift::Model::DescribeFleetAttributesRequest::FleetIdsHasBeenSet
bool FleetIdsHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:53
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetAttributesRequest.h:140
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetFleetIds
void SetFleetIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetAttributesRequest.h:60
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:196
GameLiftRequest.h
Aws::GameLift::Model::DescribeFleetAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GameLift::Model::DescribeFleetAttributesRequest::GetLimit
int GetLimit() const
Definition: DescribeFleetAttributesRequest.h:110
Aws::GameLift::Model::DescribeFleetAttributesRequest::AddFleetIds
DescribeFleetAttributesRequest & AddFleetIds(const char *value)
Definition: DescribeFleetAttributesRequest.h:102
Aws::GameLift::Model::DescribeFleetAttributesRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeFleetAttributesRequest.h:117
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetAttributesRequest.h:172
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:180
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithFleetIds
DescribeFleetAttributesRequest & WithFleetIds(const Aws::Vector< Aws::String > &value)
Definition: DescribeFleetAttributesRequest.h:74
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:124
Aws::GameLift::Model::DescribeFleetAttributesRequest::WithLimit
DescribeFleetAttributesRequest & WithLimit(int value)
Definition: DescribeFleetAttributesRequest.h:131
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetAttributesRequest.h:156
Aws::GameLift::Model::DescribeFleetAttributesRequest::SetFleetIds
void SetFleetIds(Aws::Vector< Aws::String > &&value)
Definition: DescribeFleetAttributesRequest.h:67