AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 RoutingStrategyType GetRoutingStrategyType() const { return m_routingStrategyType; }
52 inline bool RoutingStrategyTypeHasBeenSet() const { return m_routingStrategyTypeHasBeenSet; }
53 inline void SetRoutingStrategyType(RoutingStrategyType value) { m_routingStrategyTypeHasBeenSet = true; m_routingStrategyType = value; }
56
58
62 inline const Aws::String& GetName() const { return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 template<typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
66 template<typename NameT = Aws::String>
67 ListAliasesRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
69
71
75 inline int GetLimit() const { return m_limit; }
76 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
77 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
78 inline ListAliasesRequest& WithLimit(int value) { SetLimit(value); return *this;}
80
82
87 inline const Aws::String& GetNextToken() const { return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 template<typename NextTokenT = Aws::String>
90 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
91 template<typename NextTokenT = Aws::String>
92 ListAliasesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
94 private:
95
97 bool m_routingStrategyTypeHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 int m_limit{0};
103 bool m_limitHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace GameLift
111} // 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