AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListAliasesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/RoutingStrategyType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GameLift {
16namespace Model {
17
21 public:
22 AWS_GAMELIFT_API ListAliasesRequest() = 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 "ListAliases"; }
29
30 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
31
33
35
47 inline RoutingStrategyType GetRoutingStrategyType() const { return m_routingStrategyType; }
48 inline bool RoutingStrategyTypeHasBeenSet() const { return m_routingStrategyTypeHasBeenSet; }
50 m_routingStrategyTypeHasBeenSet = true;
51 m_routingStrategyType = value;
52 }
55 return *this;
56 }
58
60
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template <typename NameT = Aws::String>
67 void SetName(NameT&& value) {
68 m_nameHasBeenSet = true;
69 m_name = std::forward<NameT>(value);
70 }
71 template <typename NameT = Aws::String>
72 ListAliasesRequest& WithName(NameT&& value) {
73 SetName(std::forward<NameT>(value));
74 return *this;
75 }
77
79
83 inline int GetLimit() const { return m_limit; }
84 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
85 inline void SetLimit(int value) {
86 m_limitHasBeenSet = true;
87 m_limit = value;
88 }
89 inline ListAliasesRequest& WithLimit(int value) {
90 SetLimit(value);
91 return *this;
92 }
94
96
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
103 template <typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) {
105 m_nextTokenHasBeenSet = true;
106 m_nextToken = std::forward<NextTokenT>(value);
107 }
108 template <typename NextTokenT = Aws::String>
109 ListAliasesRequest& WithNextToken(NextTokenT&& value) {
110 SetNextToken(std::forward<NextTokenT>(value));
111 return *this;
112 }
114 private:
116 bool m_routingStrategyTypeHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 int m_limit{0};
122 bool m_limitHasBeenSet = false;
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace GameLift
130} // namespace Aws
void SetRoutingStrategyType(RoutingStrategyType value)
ListAliasesRequest & WithNextToken(NextTokenT &&value)
AWS_GAMELIFT_API ListAliasesRequest()=default
ListAliasesRequest & WithRoutingStrategyType(RoutingStrategyType value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
RoutingStrategyType GetRoutingStrategyType() const
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListAliasesRequest & WithLimit(int value)
virtual const char * GetServiceRequestName() const override
ListAliasesRequest & WithName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String