AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAliasesRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/model/RoutingStrategyType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API ListAliasesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListAliases"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
51 inline const RoutingStrategyType& GetRoutingStrategyType() const{ return m_routingStrategyType; }
52 inline bool RoutingStrategyTypeHasBeenSet() const { return m_routingStrategyTypeHasBeenSet; }
53 inline void SetRoutingStrategyType(const RoutingStrategyType& value) { m_routingStrategyTypeHasBeenSet = true; m_routingStrategyType = value; }
54 inline void SetRoutingStrategyType(RoutingStrategyType&& value) { m_routingStrategyTypeHasBeenSet = true; m_routingStrategyType = std::move(value); }
56 inline ListAliasesRequest& WithRoutingStrategyType(RoutingStrategyType&& value) { SetRoutingStrategyType(std::move(value)); return *this;}
58
60
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
67 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
68 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
69 inline ListAliasesRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 inline ListAliasesRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
71 inline ListAliasesRequest& WithName(const char* value) { SetName(value); return *this;}
73
75
79 inline int GetLimit() const{ return m_limit; }
80 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
81 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
82 inline ListAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
84
86
91 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
93 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
94 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
95 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
96 inline ListAliasesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 inline ListAliasesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
98 inline ListAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
100 private:
101
102 RoutingStrategyType m_routingStrategyType;
103 bool m_routingStrategyTypeHasBeenSet = false;
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 int m_limit;
109 bool m_limitHasBeenSet = false;
110
111 Aws::String m_nextToken;
112 bool m_nextTokenHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace GameLift
117} // namespace Aws
ListAliasesRequest & WithNextToken(const Aws::String &value)
void SetRoutingStrategyType(RoutingStrategyType &&value)
ListAliasesRequest & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
ListAliasesRequest & WithRoutingStrategyType(const RoutingStrategyType &value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
ListAliasesRequest & WithNextToken(const char *value)
ListAliasesRequest & WithName(const char *value)
const RoutingStrategyType & GetRoutingStrategyType() const
ListAliasesRequest & WithNextToken(Aws::String &&value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoutingStrategyType(const RoutingStrategyType &value)
ListAliasesRequest & WithRoutingStrategyType(RoutingStrategyType &&value)
void SetNextToken(const Aws::String &value)
ListAliasesRequest & WithLimit(int value)
ListAliasesRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String