AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeFleetAttributesRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace GameLift
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::Vector<Aws::String>& GetFleetIds() const{ return m_fleetIds; }
44 
49  inline void SetFleetIds(const Aws::Vector<Aws::String>& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
50 
55  inline void SetFleetIds(Aws::Vector<Aws::String>&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds = value; }
56 
61  inline DescribeFleetAttributesRequest& WithFleetIds(const Aws::Vector<Aws::String>& value) { SetFleetIds(value); return *this;}
62 
67  inline DescribeFleetAttributesRequest& WithFleetIds(Aws::Vector<Aws::String>&& value) { SetFleetIds(value); return *this;}
68 
73  inline DescribeFleetAttributesRequest& AddFleetIds(const Aws::String& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
74 
79  inline DescribeFleetAttributesRequest& AddFleetIds(Aws::String&& value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
80 
85  inline DescribeFleetAttributesRequest& AddFleetIds(const char* value) { m_fleetIdsHasBeenSet = true; m_fleetIds.push_back(value); return *this; }
86 
92  inline long GetLimit() const{ return m_limit; }
93 
99  inline void SetLimit(long value) { m_limitHasBeenSet = true; m_limit = value; }
100 
106  inline DescribeFleetAttributesRequest& WithLimit(long value) { SetLimit(value); return *this;}
107 
114  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
115 
122  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
123 
130  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
131 
138  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
139 
146  inline DescribeFleetAttributesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
147 
154  inline DescribeFleetAttributesRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
155 
162  inline DescribeFleetAttributesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
163 
164  private:
165  Aws::Vector<Aws::String> m_fleetIds;
166  bool m_fleetIdsHasBeenSet;
167  long m_limit;
168  bool m_limitHasBeenSet;
169  Aws::String m_nextToken;
170  bool m_nextTokenHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace GameLift
175 } // namespace Aws
#define AWS_GAMELIFT_API
DescribeFleetAttributesRequest & AddFleetIds(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetFleetIds(const Aws::Vector< Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
const Aws::Vector< Aws::String > & GetFleetIds() const
DescribeFleetAttributesRequest & AddFleetIds(const char *value)
DescribeFleetAttributesRequest & WithFleetIds(const Aws::Vector< Aws::String > &value)
DescribeFleetAttributesRequest & WithLimit(long value)
DescribeFleetAttributesRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeFleetAttributesRequest & WithFleetIds(Aws::Vector< Aws::String > &&value)
DescribeFleetAttributesRequest & WithNextToken(const Aws::String &value)
DescribeFleetAttributesRequest & AddFleetIds(const Aws::String &value)
DescribeFleetAttributesRequest & WithNextToken(const char *value)
JSON (JavaScript Object Notation).