AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApiKeyResult.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace APIGateway
27{
28namespace Model
29{
39 {
40 public:
41 AWS_APIGATEWAY_API GetApiKeyResult();
44
45
47
50 inline const Aws::String& GetId() const{ return m_id; }
51 inline void SetId(const Aws::String& value) { m_id = value; }
52 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
53 inline void SetId(const char* value) { m_id.assign(value); }
54 inline GetApiKeyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline GetApiKeyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline GetApiKeyResult& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetValue() const{ return m_value; }
64 inline void SetValue(const Aws::String& value) { m_value = value; }
65 inline void SetValue(Aws::String&& value) { m_value = std::move(value); }
66 inline void SetValue(const char* value) { m_value.assign(value); }
67 inline GetApiKeyResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
68 inline GetApiKeyResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
69 inline GetApiKeyResult& WithValue(const char* value) { SetValue(value); return *this;}
71
73
76 inline const Aws::String& GetName() const{ return m_name; }
77 inline void SetName(const Aws::String& value) { m_name = value; }
78 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
79 inline void SetName(const char* value) { m_name.assign(value); }
80 inline GetApiKeyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline GetApiKeyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline GetApiKeyResult& WithName(const char* value) { SetName(value); return *this;}
84
86
90 inline const Aws::String& GetCustomerId() const{ return m_customerId; }
91 inline void SetCustomerId(const Aws::String& value) { m_customerId = value; }
92 inline void SetCustomerId(Aws::String&& value) { m_customerId = std::move(value); }
93 inline void SetCustomerId(const char* value) { m_customerId.assign(value); }
94 inline GetApiKeyResult& WithCustomerId(const Aws::String& value) { SetCustomerId(value); return *this;}
95 inline GetApiKeyResult& WithCustomerId(Aws::String&& value) { SetCustomerId(std::move(value)); return *this;}
96 inline GetApiKeyResult& WithCustomerId(const char* value) { SetCustomerId(value); return *this;}
98
100
103 inline const Aws::String& GetDescription() const{ return m_description; }
104 inline void SetDescription(const Aws::String& value) { m_description = value; }
105 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
106 inline void SetDescription(const char* value) { m_description.assign(value); }
107 inline GetApiKeyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline GetApiKeyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline GetApiKeyResult& WithDescription(const char* value) { SetDescription(value); return *this;}
111
113
116 inline bool GetEnabled() const{ return m_enabled; }
117 inline void SetEnabled(bool value) { m_enabled = value; }
118 inline GetApiKeyResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
120
122
125 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
126 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
127 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
128 inline GetApiKeyResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
129 inline GetApiKeyResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
131
133
136 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
137 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
138 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
139 inline GetApiKeyResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
140 inline GetApiKeyResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
142
144
147 inline const Aws::Vector<Aws::String>& GetStageKeys() const{ return m_stageKeys; }
148 inline void SetStageKeys(const Aws::Vector<Aws::String>& value) { m_stageKeys = value; }
149 inline void SetStageKeys(Aws::Vector<Aws::String>&& value) { m_stageKeys = std::move(value); }
150 inline GetApiKeyResult& WithStageKeys(const Aws::Vector<Aws::String>& value) { SetStageKeys(value); return *this;}
151 inline GetApiKeyResult& WithStageKeys(Aws::Vector<Aws::String>&& value) { SetStageKeys(std::move(value)); return *this;}
152 inline GetApiKeyResult& AddStageKeys(const Aws::String& value) { m_stageKeys.push_back(value); return *this; }
153 inline GetApiKeyResult& AddStageKeys(Aws::String&& value) { m_stageKeys.push_back(std::move(value)); return *this; }
154 inline GetApiKeyResult& AddStageKeys(const char* value) { m_stageKeys.push_back(value); return *this; }
156
158
162 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
163 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
164 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
165 inline GetApiKeyResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
166 inline GetApiKeyResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
167 inline GetApiKeyResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
168 inline GetApiKeyResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
169 inline GetApiKeyResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
170 inline GetApiKeyResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
171 inline GetApiKeyResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
172 inline GetApiKeyResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
173 inline GetApiKeyResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline GetApiKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline GetApiKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline GetApiKeyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 Aws::String m_id;
189
190 Aws::String m_value;
191
192 Aws::String m_name;
193
194 Aws::String m_customerId;
195
196 Aws::String m_description;
197
198 bool m_enabled;
199
200 Aws::Utils::DateTime m_createdDate;
201
202 Aws::Utils::DateTime m_lastUpdatedDate;
203
204 Aws::Vector<Aws::String> m_stageKeys;
205
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace APIGateway
213} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCustomerId(const Aws::String &value)
const Aws::String & GetName() const
GetApiKeyResult & WithCustomerId(Aws::String &&value)
GetApiKeyResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
GetApiKeyResult & AddStageKeys(const char *value)
GetApiKeyResult & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::String & GetCustomerId() const
AWS_APIGATEWAY_API GetApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
GetApiKeyResult & WithName(Aws::String &&value)
GetApiKeyResult & WithRequestId(const Aws::String &value)
GetApiKeyResult & WithCustomerId(const Aws::String &value)
AWS_APIGATEWAY_API GetApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApiKeyResult & AddStageKeys(Aws::String &&value)
GetApiKeyResult & WithDescription(Aws::String &&value)
GetApiKeyResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetApiKeyResult & AddStageKeys(const Aws::String &value)
const Aws::String & GetValue() const
GetApiKeyResult & WithValue(const Aws::String &value)
GetApiKeyResult & AddTags(const Aws::String &key, Aws::String &&value)
GetApiKeyResult & WithName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStageKeys() const
GetApiKeyResult & WithId(const char *value)
GetApiKeyResult & AddTags(const char *key, const char *value)
void SetValue(const Aws::String &value)
GetApiKeyResult & WithValue(const char *value)
GetApiKeyResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
GetApiKeyResult & WithId(const Aws::String &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetStageKeys(const Aws::Vector< Aws::String > &value)
void SetStageKeys(Aws::Vector< Aws::String > &&value)
const Aws::String & GetId() const
void SetCustomerId(Aws::String &&value)
GetApiKeyResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
void SetName(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApiKeyResult & WithCustomerId(const char *value)
GetApiKeyResult & WithRequestId(Aws::String &&value)
GetApiKeyResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetApiKeyResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetDescription(Aws::String &&value)
GetApiKeyResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
GetApiKeyResult & AddTags(const char *key, Aws::String &&value)
GetApiKeyResult & AddTags(Aws::String &&key, const char *value)
GetApiKeyResult & WithStageKeys(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDescription() const
GetApiKeyResult & WithEnabled(bool value)
GetApiKeyResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
GetApiKeyResult & WithDescription(const Aws::String &value)
GetApiKeyResult & WithName(const char *value)
GetApiKeyResult & WithDescription(const char *value)
GetApiKeyResult & WithValue(Aws::String &&value)
const Aws::String & GetRequestId() const
GetApiKeyResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
GetApiKeyResult & WithId(Aws::String &&value)
GetApiKeyResult & WithStageKeys(const Aws::Vector< Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue