AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetUsagePlanKeysRequest.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 GetUsagePlanKeysRequest() = 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 "GetUsagePlanKeys"; }
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
50 inline const Aws::String& GetUsagePlanId() const { return m_usagePlanId; }
51 inline bool UsagePlanIdHasBeenSet() const { return m_usagePlanIdHasBeenSet; }
52 template<typename UsagePlanIdT = Aws::String>
53 void SetUsagePlanId(UsagePlanIdT&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::forward<UsagePlanIdT>(value); }
54 template<typename UsagePlanIdT = Aws::String>
55 GetUsagePlanKeysRequest& WithUsagePlanId(UsagePlanIdT&& value) { SetUsagePlanId(std::forward<UsagePlanIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetPosition() const { return m_position; }
63 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
64 template<typename PositionT = Aws::String>
65 void SetPosition(PositionT&& value) { m_positionHasBeenSet = true; m_position = std::forward<PositionT>(value); }
66 template<typename PositionT = Aws::String>
67 GetUsagePlanKeysRequest& WithPosition(PositionT&& value) { SetPosition(std::forward<PositionT>(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 GetUsagePlanKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
80
82
86 inline const Aws::String& GetNameQuery() const { return m_nameQuery; }
87 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
88 template<typename NameQueryT = Aws::String>
89 void SetNameQuery(NameQueryT&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::forward<NameQueryT>(value); }
90 template<typename NameQueryT = Aws::String>
91 GetUsagePlanKeysRequest& WithNameQuery(NameQueryT&& value) { SetNameQuery(std::forward<NameQueryT>(value)); return *this;}
93 private:
94
95 Aws::String m_usagePlanId;
96 bool m_usagePlanIdHasBeenSet = false;
97
98 Aws::String m_position;
99 bool m_positionHasBeenSet = false;
100
101 int m_limit{0};
102 bool m_limitHasBeenSet = false;
103
104 Aws::String m_nameQuery;
105 bool m_nameQueryHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace APIGateway
110} // 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