AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
GetUsagePlanKeysRequest.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 GetUsagePlanKeysRequest() = 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 "GetUsagePlanKeys"; }
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
45 inline const Aws::String& GetUsagePlanId() const { return m_usagePlanId; }
46 inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; }
47 template <typename UsagePlanIdT = Aws::String>
48 void SetUsagePlanId(UsagePlanIdT&& value) {
49 m_usagePlanIdHasBeenSet = true;
50 m_usagePlanId = std::forward<UsagePlanIdT>(value);
51 }
52 template <typename UsagePlanIdT = Aws::String>
54 SetUsagePlanId(std::forward<UsagePlanIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetPosition() const { return m_position; }
64 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
65 template <typename PositionT = Aws::String>
66 void SetPosition(PositionT&& value) {
67 m_positionHasBeenSet = true;
68 m_position = std::forward<PositionT>(value);
69 }
70 template <typename PositionT = Aws::String>
72 SetPosition(std::forward<PositionT>(value));
73 return *this;
74 }
76
78
82 inline int GetLimit() const { return m_limit; }
83 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
84 inline void SetLimit(int value) {
85 m_limitHasBeenSet = true;
86 m_limit = value;
87 }
89 SetLimit(value);
90 return *this;
91 }
93
95
99 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
100 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
101 template <typename NameQueryT = Aws::String>
102 void SetNameQuery(NameQueryT&& value) {
103 m_nameQueryHasBeenSet = true;
104 m_nameQuery = std::forward<NameQueryT>(value);
105 }
106 template <typename NameQueryT = Aws::String>
108 SetNameQuery(std::forward<NameQueryT>(value));
109 return *this;
110 }
112 private:
113 Aws::String m_usagePlanId;
114
115 Aws::String m_position;
116
117 int m_limit{0};
118
119 Aws::String m_nameQuery;
120 bool m_usagePlanIdHasBeenSet = false;
121 bool m_positionHasBeenSet = false;
122 bool m_limitHasBeenSet = false;
123 bool m_nameQueryHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace APIGateway
128} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetUsagePlanKeysRequest & WithUsagePlanId(UsagePlanIdT &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUsagePlanKeysRequest & WithPosition(PositionT &&value)
GetUsagePlanKeysRequest & WithNameQuery(NameQueryT &&value)
AWS_APIGATEWAY_API GetUsagePlanKeysRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String