AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApiKeyResult.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 UpdateApiKeyResult();
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 UpdateApiKeyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline UpdateApiKeyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithValue(const Aws::String& value) { SetValue(value); return *this;}
68 inline UpdateApiKeyResult& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
69 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline UpdateApiKeyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithCustomerId(const Aws::String& value) { SetCustomerId(value); return *this;}
95 inline UpdateApiKeyResult& WithCustomerId(Aws::String&& value) { SetCustomerId(std::move(value)); return *this;}
96 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 inline UpdateApiKeyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
109 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& 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 UpdateApiKeyResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
129 inline UpdateApiKeyResult& 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); }
140 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithStageKeys(const Aws::Vector<Aws::String>& value) { SetStageKeys(value); return *this;}
151 inline UpdateApiKeyResult& WithStageKeys(Aws::Vector<Aws::String>&& value) { SetStageKeys(std::move(value)); return *this;}
152 inline UpdateApiKeyResult& AddStageKeys(const Aws::String& value) { m_stageKeys.push_back(value); return *this; }
153 inline UpdateApiKeyResult& AddStageKeys(Aws::String&& value) { m_stageKeys.push_back(std::move(value)); return *this; }
154 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
166 inline UpdateApiKeyResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
167 inline UpdateApiKeyResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
168 inline UpdateApiKeyResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
169 inline UpdateApiKeyResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
170 inline UpdateApiKeyResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
171 inline UpdateApiKeyResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
172 inline UpdateApiKeyResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
173 inline UpdateApiKeyResult& 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 UpdateApiKeyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline UpdateApiKeyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline UpdateApiKeyResult& 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
UpdateApiKeyResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
void SetCustomerId(const Aws::String &value)
UpdateApiKeyResult & WithDescription(Aws::String &&value)
UpdateApiKeyResult & WithId(const char *value)
AWS_APIGATEWAY_API UpdateApiKeyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiKeyResult & WithRequestId(Aws::String &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
UpdateApiKeyResult & WithValue(const Aws::String &value)
UpdateApiKeyResult & WithCustomerId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateApiKeyResult & AddStageKeys(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
UpdateApiKeyResult & WithId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetStageKeys() const
void SetStageKeys(const Aws::Vector< Aws::String > &value)
UpdateApiKeyResult & WithName(Aws::String &&value)
UpdateApiKeyResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStageKeys(Aws::Vector< Aws::String > &&value)
UpdateApiKeyResult & WithRequestId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetLastUpdatedDate() const
UpdateApiKeyResult & WithName(const char *value)
UpdateApiKeyResult & WithId(const Aws::String &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
UpdateApiKeyResult & WithDescription(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateApiKeyResult & WithCreatedDate(const Aws::Utils::DateTime &value)
UpdateApiKeyResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
UpdateApiKeyResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
UpdateApiKeyResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateApiKeyResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateApiKeyResult & WithName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
UpdateApiKeyResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateApiKeyResult & WithCustomerId(Aws::String &&value)
UpdateApiKeyResult & WithDescription(const Aws::String &value)
AWS_APIGATEWAY_API UpdateApiKeyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateApiKeyResult & WithRequestId(const Aws::String &value)
UpdateApiKeyResult & AddTags(const char *key, const char *value)
UpdateApiKeyResult & AddStageKeys(const Aws::String &value)
UpdateApiKeyResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
UpdateApiKeyResult & WithValue(const char *value)
UpdateApiKeyResult & AddTags(Aws::String &&key, const char *value)
void SetValue(const Aws::String &value)
UpdateApiKeyResult & WithValue(Aws::String &&value)
UpdateApiKeyResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateApiKeyResult & WithCustomerId(const char *value)
UpdateApiKeyResult & WithStageKeys(Aws::Vector< Aws::String > &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
UpdateApiKeyResult & AddTags(const char *key, Aws::String &&value)
UpdateApiKeyResult & WithEnabled(bool value)
UpdateApiKeyResult & WithStageKeys(const Aws::Vector< Aws::String > &value)
UpdateApiKeyResult & AddStageKeys(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