AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetApiKeysRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace APIGateway
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_APIGATEWAY_API GetApiKeysRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "GetApiKeys"; }
39
40 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetPosition() const { return m_position; }
50 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
51 template<typename PositionT = Aws::String>
52 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
53 template<typename PositionT = Aws::String>
54 GetApiKeysRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(value)); return *this;}
56
58
62 inline int GetLimit() const { return m_limit; }
63 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
64 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
65 inline GetApiKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
67
69
72 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
73 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
74 template<typename NameQueryT = Aws::String>
75 void SetNameQuery(NameQueryT&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::forward<NameQueryT>(value); }
76 template<typename NameQueryT = Aws::String>
77 GetApiKeysRequest& WithNameQuery(NameQueryT&& value) { SetNameQuery(std::forward<NameQueryT>(value)); return *this;}
79
81
85 inline const Aws::String& GetCustomerId() const { return m_customerId; }
86 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
87 template<typename CustomerIdT = Aws::String>
88 void SetCustomerId(CustomerIdT&& value) { m_customerIdHasBeenSet = true; m_customerId = std::forward<CustomerIdT>(value); }
89 template<typename CustomerIdT = Aws::String>
90 GetApiKeysRequest& WithCustomerId(CustomerIdT&& value) { SetCustomerId(std::forward<CustomerIdT>(value)); return *this;}
92
94
98 inline bool GetIncludeValues() const { return m_includeValues; }
99 inline bool IncludeValuesHasBeenSet() const { return m_includeValuesHasBeenSet; }
100 inline void SetIncludeValues(bool value) { m_includeValuesHasBeenSet = true; m_includeValues = value; }
101 inline GetApiKeysRequest& WithIncludeValues(bool value) { SetIncludeValues(value); return *this;}
103 private:
104
105 Aws::String m_position;
106 bool m_positionHasBeenSet = false;
107
108 int m_limit{0};
109 bool m_limitHasBeenSet = false;
110
111 Aws::String m_nameQuery;
112 bool m_nameQueryHasBeenSet = false;
113
114 Aws::String m_customerId;
115 bool m_customerIdHasBeenSet = false;
116
117 bool m_includeValues{false};
118 bool m_includeValuesHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace APIGateway
123} // 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