AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
DescribeGameSessionQueuesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLiftRequest.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API DescribeGameSessionQueuesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeGameSessionQueues"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
40 inline const Aws::Vector<Aws::String>& GetNames() const { return m_names; }
41 inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; }
42 template <typename NamesT = Aws::Vector<Aws::String>>
43 void SetNames(NamesT&& value) {
44 m_namesHasBeenSet = true;
45 m_names = std::forward<NamesT>(value);
46 }
47 template <typename NamesT = Aws::Vector<Aws::String>>
49 SetNames(std::forward<NamesT>(value));
50 return *this;
51 }
52 template <typename NamesT = Aws::String>
54 m_namesHasBeenSet = true;
55 m_names.emplace_back(std::forward<NamesT>(value));
56 return *this;
57 }
59
61
66 inline int GetLimit() const { return m_limit; }
67 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
68 inline void SetLimit(int value) {
69 m_limitHasBeenSet = true;
70 m_limit = value;
71 }
73 SetLimit(value);
74 return *this;
75 }
77
79
84 inline const Aws::String& GetNextToken() const { return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 template <typename NextTokenT = Aws::String>
87 void SetNextToken(NextTokenT&& value) {
88 m_nextTokenHasBeenSet = true;
89 m_nextToken = std::forward<NextTokenT>(value);
90 }
91 template <typename NextTokenT = Aws::String>
93 SetNextToken(std::forward<NextTokenT>(value));
94 return *this;
95 }
97 private:
99
100 int m_limit{0};
101
102 Aws::String m_nextToken;
103 bool m_namesHasBeenSet = false;
104 bool m_limitHasBeenSet = false;
105 bool m_nextTokenHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace GameLift
110} // namespace Aws
DescribeGameSessionQueuesRequest & WithNextToken(NextTokenT &&value)
AWS_GAMELIFT_API DescribeGameSessionQueuesRequest()=default
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeGameSessionQueuesRequest & WithNames(NamesT &&value)
DescribeGameSessionQueuesRequest & AddNames(NamesT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector