AWS SDK for C++  1.8.55
AWS SDK for C++
DescribeGameSessionQueuesRequest.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 "DescribeGameSessionQueues"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
46  inline const Aws::Vector<Aws::String>& GetNames() const{ return m_names; }
47 
53  inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
54 
60  inline void SetNames(const Aws::Vector<Aws::String>& value) { m_namesHasBeenSet = true; m_names = value; }
61 
67  inline void SetNames(Aws::Vector<Aws::String>&& value) { m_namesHasBeenSet = true; m_names = std::move(value); }
68 
74  inline DescribeGameSessionQueuesRequest& WithNames(const Aws::Vector<Aws::String>& value) { SetNames(value); return *this;}
75 
81  inline DescribeGameSessionQueuesRequest& WithNames(Aws::Vector<Aws::String>&& value) { SetNames(std::move(value)); return *this;}
82 
88  inline DescribeGameSessionQueuesRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; }
89 
95  inline DescribeGameSessionQueuesRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; }
96 
102  inline DescribeGameSessionQueuesRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.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 DescribeGameSessionQueuesRequest& WithLimit(int value) { SetLimit(value); return *this;}
132 
133 
139  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
140 
146  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
147 
153  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
154 
160  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
161 
167  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
168 
174  inline DescribeGameSessionQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
175 
181  inline DescribeGameSessionQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
182 
188  inline DescribeGameSessionQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
189 
190  private:
191 
192  Aws::Vector<Aws::String> m_names;
193  bool m_namesHasBeenSet;
194 
195  int m_limit;
196  bool m_limitHasBeenSet;
197 
198  Aws::String m_nextToken;
199  bool m_nextTokenHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace GameLift
204 } // namespace Aws
#define AWS_GAMELIFT_API
DescribeGameSessionQueuesRequest & WithNextToken(const char *value)
DescribeGameSessionQueuesRequest & WithNextToken(Aws::String &&value)
DescribeGameSessionQueuesRequest & AddNames(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DescribeGameSessionQueuesRequest & WithNextToken(const Aws::String &value)
DescribeGameSessionQueuesRequest & WithNames(Aws::Vector< Aws::String > &&value)
DescribeGameSessionQueuesRequest & AddNames(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeGameSessionQueuesRequest & WithNames(const Aws::Vector< Aws::String > &value)
DescribeGameSessionQueuesRequest & AddNames(const Aws::String &value)