AWS SDK for C++  0.12.9
AWS SDK for C++
ListBuildsRequest.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 
49  inline const BuildStatus& GetStatus() const{ return m_status; }
50 
61  inline void SetStatus(const BuildStatus& value) { m_statusHasBeenSet = true; m_status = value; }
62 
73  inline void SetStatus(BuildStatus&& value) { m_statusHasBeenSet = true; m_status = value; }
74 
85  inline ListBuildsRequest& WithStatus(const BuildStatus& value) { SetStatus(value); return *this;}
86 
97  inline ListBuildsRequest& WithStatus(BuildStatus&& value) { SetStatus(value); return *this;}
98 
103  inline long GetLimit() const{ return m_limit; }
104 
109  inline void SetLimit(long value) { m_limitHasBeenSet = true; m_limit = value; }
110 
115  inline ListBuildsRequest& WithLimit(long value) { SetLimit(value); return *this;}
116 
122  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
123 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
136  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
137 
143  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
144 
150  inline ListBuildsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
151 
157  inline ListBuildsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
158 
164  inline ListBuildsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
165 
166  private:
167  BuildStatus m_status;
168  bool m_statusHasBeenSet;
169  long m_limit;
170  bool m_limitHasBeenSet;
171  Aws::String m_nextToken;
172  bool m_nextTokenHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace GameLift
177 } // namespace Aws
ListBuildsRequest & WithNextToken(const char *value)
ListBuildsRequest & WithNextToken(const Aws::String &value)
#define AWS_GAMELIFT_API
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ListBuildsRequest & WithStatus(const BuildStatus &value)
ListBuildsRequest & WithNextToken(Aws::String &&value)
const BuildStatus & GetStatus() const
const Aws::String & GetNextToken() const
ListBuildsRequest & WithLimit(long value)
ListBuildsRequest & WithStatus(BuildStatus &&value)
void SetStatus(const BuildStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetNextToken(const Aws::String &value)
JSON (JavaScript Object Notation).