AWS SDK for C++  1.8.7
AWS SDK for C++
ListAliasesRequest.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 "ListAliases"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39 
40 
51  inline const RoutingStrategyType& GetRoutingStrategyType() const{ return m_routingStrategyType; }
52 
63  inline bool RoutingStrategyTypeHasBeenSet() const { return m_routingStrategyTypeHasBeenSet; }
64 
75  inline void SetRoutingStrategyType(const RoutingStrategyType& value) { m_routingStrategyTypeHasBeenSet = true; m_routingStrategyType = value; }
76 
87  inline void SetRoutingStrategyType(RoutingStrategyType&& value) { m_routingStrategyTypeHasBeenSet = true; m_routingStrategyType = std::move(value); }
88 
99  inline ListAliasesRequest& WithRoutingStrategyType(const RoutingStrategyType& value) { SetRoutingStrategyType(value); return *this;}
100 
111  inline ListAliasesRequest& WithRoutingStrategyType(RoutingStrategyType&& value) { SetRoutingStrategyType(std::move(value)); return *this;}
112 
113 
118  inline const Aws::String& GetName() const{ return m_name; }
119 
124  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
125 
130  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
131 
136  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
137 
142  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
143 
148  inline ListAliasesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
149 
154  inline ListAliasesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
155 
160  inline ListAliasesRequest& WithName(const char* value) { SetName(value); return *this;}
161 
162 
167  inline int GetLimit() const{ return m_limit; }
168 
173  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
174 
179  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
180 
185  inline ListAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
186 
187 
193  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
194 
200  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
201 
207  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
208 
214  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
215 
221  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
222 
228  inline ListAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
229 
235  inline ListAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
236 
242  inline ListAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
243 
244  private:
245 
246  RoutingStrategyType m_routingStrategyType;
247  bool m_routingStrategyTypeHasBeenSet;
248 
249  Aws::String m_name;
250  bool m_nameHasBeenSet;
251 
252  int m_limit;
253  bool m_limitHasBeenSet;
254 
255  Aws::String m_nextToken;
256  bool m_nextTokenHasBeenSet;
257  };
258 
259 } // namespace Model
260 } // namespace GameLift
261 } // namespace Aws
void SetRoutingStrategyType(const RoutingStrategyType &value)
const Aws::String & GetNextToken() const
#define AWS_GAMELIFT_API
const RoutingStrategyType & GetRoutingStrategyType() const
ListAliasesRequest & WithLimit(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ListAliasesRequest & WithNextToken(Aws::String &&value)
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListAliasesRequest & WithNextToken(const Aws::String &value)
ListAliasesRequest & WithName(const Aws::String &value)
ListAliasesRequest & WithNextToken(const char *value)
ListAliasesRequest & WithName(Aws::String &&value)
void SetRoutingStrategyType(RoutingStrategyType &&value)
ListAliasesRequest & WithName(const char *value)
void SetNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListAliasesRequest & WithRoutingStrategyType(const RoutingStrategyType &value)
ListAliasesRequest & WithRoutingStrategyType(RoutingStrategyType &&value)