AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetUsagePlanId(const Aws::String& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = value; }
53 inline void SetUsagePlanId(Aws::String&& value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId = std::move(value); }
54 inline void SetUsagePlanId(const char* value) { m_usagePlanIdHasBeenSet = true; m_usagePlanId.assign(value); }
55 inline GetUsagePlanKeysRequest& WithUsagePlanId(const Aws::String& value) { SetUsagePlanId(value); return *this;}
56 inline GetUsagePlanKeysRequest& WithUsagePlanId(Aws::String&& value) { SetUsagePlanId(std::move(value)); return *this;}
57 inline GetUsagePlanKeysRequest& WithUsagePlanId(const char* value) { SetUsagePlanId(value); return *this;}
59
61
64 inline const Aws::String& GetPosition() const{ return m_position; }
65 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
66 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
67 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
68 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
69 inline GetUsagePlanKeysRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
70 inline GetUsagePlanKeysRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
71 inline GetUsagePlanKeysRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
73
75
79 inline int GetLimit() const{ return m_limit; }
80 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
81 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
82 inline GetUsagePlanKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
84
86
90 inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
91 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
92 inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
93 inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
94 inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
95 inline GetUsagePlanKeysRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
96 inline GetUsagePlanKeysRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
97 inline GetUsagePlanKeysRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
99 private:
100
101 Aws::String m_usagePlanId;
102 bool m_usagePlanIdHasBeenSet = false;
103
104 Aws::String m_position;
105 bool m_positionHasBeenSet = false;
106
107 int m_limit;
108 bool m_limitHasBeenSet = false;
109
110 Aws::String m_nameQuery;
111 bool m_nameQueryHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace APIGateway
116} // namespace Aws
GetUsagePlanKeysRequest & WithNameQuery(const char *value)
GetUsagePlanKeysRequest & WithUsagePlanId(const Aws::String &value)
GetUsagePlanKeysRequest & WithUsagePlanId(Aws::String &&value)
GetUsagePlanKeysRequest & WithPosition(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
GetUsagePlanKeysRequest & WithNameQuery(Aws::String &&value)
GetUsagePlanKeysRequest & WithNameQuery(const Aws::String &value)
GetUsagePlanKeysRequest & WithPosition(const char *value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetUsagePlanKeysRequest & WithPosition(Aws::String &&value)
GetUsagePlanKeysRequest & WithUsagePlanId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String