AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPosition(const Aws::String& value) { m_positionHasBeenSet = true; m_position = value; }
52 inline void SetPosition(Aws::String&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
53 inline void SetPosition(const char* value) { m_positionHasBeenSet = true; m_position.assign(value); }
54 inline GetApiKeysRequest& WithPosition(const Aws::String& value) { SetPosition(value); return *this;}
55 inline GetApiKeysRequest& WithPosition(Aws::String&& value) { SetPosition(std::move(value)); return *this;}
56 inline GetApiKeysRequest& WithPosition(const char* value) { SetPosition(value); return *this;}
58
60
64 inline int GetLimit() const{ return m_limit; }
65 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
66 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
67 inline GetApiKeysRequest& WithLimit(int value) { SetLimit(value); return *this;}
69
71
74 inline const Aws::String& GetNameQuery() const{ return m_nameQuery; }
75 inline bool NameQueryHasBeenSet() const { return m_nameQueryHasBeenSet; }
76 inline void SetNameQuery(const Aws::String& value) { m_nameQueryHasBeenSet = true; m_nameQuery = value; }
77 inline void SetNameQuery(Aws::String&& value) { m_nameQueryHasBeenSet = true; m_nameQuery = std::move(value); }
78 inline void SetNameQuery(const char* value) { m_nameQueryHasBeenSet = true; m_nameQuery.assign(value); }
79 inline GetApiKeysRequest& WithNameQuery(const Aws::String& value) { SetNameQuery(value); return *this;}
80 inline GetApiKeysRequest& WithNameQuery(Aws::String&& value) { SetNameQuery(std::move(value)); return *this;}
81 inline GetApiKeysRequest& WithNameQuery(const char* value) { SetNameQuery(value); return *this;}
83
85
89 inline const Aws::String& GetCustomerId() const{ return m_customerId; }
90 inline bool CustomerIdHasBeenSet() const { return m_customerIdHasBeenSet; }
91 inline void SetCustomerId(const Aws::String& value) { m_customerIdHasBeenSet = true; m_customerId = value; }
92 inline void SetCustomerId(Aws::String&& value) { m_customerIdHasBeenSet = true; m_customerId = std::move(value); }
93 inline void SetCustomerId(const char* value) { m_customerIdHasBeenSet = true; m_customerId.assign(value); }
94 inline GetApiKeysRequest& WithCustomerId(const Aws::String& value) { SetCustomerId(value); return *this;}
95 inline GetApiKeysRequest& WithCustomerId(Aws::String&& value) { SetCustomerId(std::move(value)); return *this;}
96 inline GetApiKeysRequest& WithCustomerId(const char* value) { SetCustomerId(value); return *this;}
98
100
104 inline bool GetIncludeValues() const{ return m_includeValues; }
105 inline bool IncludeValuesHasBeenSet() const { return m_includeValuesHasBeenSet; }
106 inline void SetIncludeValues(bool value) { m_includeValuesHasBeenSet = true; m_includeValues = value; }
107 inline GetApiKeysRequest& WithIncludeValues(bool value) { SetIncludeValues(value); return *this;}
109 private:
110
111 Aws::String m_position;
112 bool m_positionHasBeenSet = false;
113
114 int m_limit;
115 bool m_limitHasBeenSet = false;
116
117 Aws::String m_nameQuery;
118 bool m_nameQueryHasBeenSet = false;
119
120 Aws::String m_customerId;
121 bool m_customerIdHasBeenSet = false;
122
123 bool m_includeValues;
124 bool m_includeValuesHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace APIGateway
129} // namespace Aws
GetApiKeysRequest & WithCustomerId(const Aws::String &value)
GetApiKeysRequest & WithNameQuery(const char *value)
GetApiKeysRequest & WithIncludeValues(bool value)
void SetNameQuery(const Aws::String &value)
GetApiKeysRequest & WithNameQuery(Aws::String &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetApiKeysRequest & WithPosition(Aws::String &&value)
GetApiKeysRequest & WithLimit(int value)
GetApiKeysRequest & WithPosition(const char *value)
void SetPosition(const Aws::String &value)
GetApiKeysRequest & WithCustomerId(const char *value)
const Aws::String & GetCustomerId() const
void SetCustomerId(const Aws::String &value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetApiKeysRequest & WithNameQuery(const Aws::String &value)
GetApiKeysRequest & WithCustomerId(Aws::String &&value)
GetApiKeysRequest & WithPosition(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String