AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
GetApiKeysRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace APIGateway {
18namespace Model {
19
27 public:
28 AWS_APIGATEWAY_API GetApiKeysRequest() = default;
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 "GetApiKeys"; }
35
36 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetPosition() const { return m_position; }
45 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
46 template <typename PositionT = Aws::String>
47 void SetPosition(PositionT&& value) {
48 m_positionHasBeenSet = true;
49 m_position = std::forward<PositionT>(value);
50 }
51 template <typename PositionT = Aws::String>
52 GetApiKeysRequest& WithPosition(PositionT&& value) {
53 SetPosition(std::forward<PositionT>(value));
54 return *this;
55 }
57
59
63 inline int GetLimit() const { return m_limit; }
64 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
65 inline void SetLimit(int value) {
66 m_limitHasBeenSet = true;
67 m_limit = value;
68 }
69 inline GetApiKeysRequest& WithLimit(int value) {
70 SetLimit(value);
71 return *this;
72 }
74
76
79 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
80 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
81 template <typename NameQueryT = Aws::String>
82 void SetNameQuery(NameQueryT&& value) {
83 m_nameQueryHasBeenSet = true;
84 m_nameQuery = std::forward<NameQueryT>(value);
85 }
86 template <typename NameQueryT = Aws::String>
87 GetApiKeysRequest& WithNameQuery(NameQueryT&& value) {
88 SetNameQuery(std::forward<NameQueryT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetCustomerId() const { return m_customerId; }
99 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
100 template <typename CustomerIdT = Aws::String>
101 void SetCustomerId(CustomerIdT&& value) {
102 m_customerIdHasBeenSet = true;
103 m_customerId = std::forward<CustomerIdT>(value);
104 }
105 template <typename CustomerIdT = Aws::String>
106 GetApiKeysRequest& WithCustomerId(CustomerIdT&& value) {
107 SetCustomerId(std::forward<CustomerIdT>(value));
108 return *this;
109 }
111
113
117 inline bool GetIncludeValues() const { return m_includeValues; }
118 inline bool IncludeValuesHasBeenSet() const { return m_includeValuesHasBeenSet; }
119 inline void SetIncludeValues(bool value) {
120 m_includeValuesHasBeenSet = true;
121 m_includeValues = value;
122 }
124 SetIncludeValues(value);
125 return *this;
126 }
128 private:
129 Aws::String m_position;
130
131 int m_limit{0};
132
133 Aws::String m_nameQuery;
134
135 Aws::String m_customerId;
136
137 bool m_includeValues{false};
138 bool m_positionHasBeenSet = false;
139 bool m_limitHasBeenSet = false;
140 bool m_nameQueryHasBeenSet = false;
141 bool m_customerIdHasBeenSet = false;
142 bool m_includeValuesHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace APIGateway
147} // namespace Aws
GetApiKeysRequest & WithIncludeValues(bool value)
GetApiKeysRequest & WithPosition(PositionT &&value)
GetApiKeysRequest & WithNameQuery(NameQueryT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetApiKeysRequest & WithCustomerId(CustomerIdT &&value)
virtual const char * GetServiceRequestName() const override
GetApiKeysRequest & WithLimit(int value)
AWS_APIGATEWAY_API GetApiKeysRequest()=default
const Aws::String & GetCustomerId() const
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String