AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
UpdateRegistryResult.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/ApprovalConfiguration.h>
9#include <aws/agent-registry-control/model/AutoDetection.h>
10#include <aws/agent-registry-control/model/DiscoveryConfiguration.h>
11#include <aws/agent-registry-control/model/EncryptionConfiguration.h>
12#include <aws/agent-registry-control/model/RegistryStatus.h>
13#include <aws/core/http/HttpResponse.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace AgentRegistryControl {
29namespace Model {
36 public:
37 AWS_AGENTREGISTRYCONTROL_API UpdateRegistryResult() = default;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 template <typename NameT = Aws::String>
47 void SetName(NameT&& value) {
48 m_nameHasBeenSet = true;
49 m_name = std::forward<NameT>(value);
50 }
51 template <typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template <typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) {
65 m_descriptionHasBeenSet = true;
66 m_description = std::forward<DescriptionT>(value);
67 }
68 template <typename DescriptionT = Aws::String>
69 UpdateRegistryResult& WithDescription(DescriptionT&& value) {
70 SetDescription(std::forward<DescriptionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetRegistryId() const { return m_registryId; }
80 template <typename RegistryIdT = Aws::String>
81 void SetRegistryId(RegistryIdT&& value) {
82 m_registryIdHasBeenSet = true;
83 m_registryId = std::forward<RegistryIdT>(value);
84 }
85 template <typename RegistryIdT = Aws::String>
86 UpdateRegistryResult& WithRegistryId(RegistryIdT&& value) {
87 SetRegistryId(std::forward<RegistryIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
97 template <typename RegistryArnT = Aws::String>
98 void SetRegistryArn(RegistryArnT&& value) {
99 m_registryArnHasBeenSet = true;
100 m_registryArn = std::forward<RegistryArnT>(value);
101 }
102 template <typename RegistryArnT = Aws::String>
103 UpdateRegistryResult& WithRegistryArn(RegistryArnT&& value) {
104 SetRegistryArn(std::forward<RegistryArnT>(value));
105 return *this;
106 }
108
110
113 inline const DiscoveryConfiguration& GetDiscoveryConfiguration() const { return m_discoveryConfiguration; }
114 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
115 void SetDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
116 m_discoveryConfigurationHasBeenSet = true;
117 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
118 }
119 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
120 UpdateRegistryResult& WithDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
121 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
122 return *this;
123 }
125
127
131 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
132 template <typename EncryptionConfigurationT = EncryptionConfiguration>
133 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
134 m_encryptionConfigurationHasBeenSet = true;
135 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
136 }
137 template <typename EncryptionConfigurationT = EncryptionConfiguration>
138 UpdateRegistryResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
139 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
140 return *this;
141 }
143
145
148 inline const ApprovalConfiguration& GetApprovalConfiguration() const { return m_approvalConfiguration; }
149 template <typename ApprovalConfigurationT = ApprovalConfiguration>
150 void SetApprovalConfiguration(ApprovalConfigurationT&& value) {
151 m_approvalConfigurationHasBeenSet = true;
152 m_approvalConfiguration = std::forward<ApprovalConfigurationT>(value);
153 }
154 template <typename ApprovalConfigurationT = ApprovalConfiguration>
155 UpdateRegistryResult& WithApprovalConfiguration(ApprovalConfigurationT&& value) {
156 SetApprovalConfiguration(std::forward<ApprovalConfigurationT>(value));
157 return *this;
158 }
160
162
165 inline RegistryStatus GetStatus() const { return m_status; }
166 inline void SetStatus(RegistryStatus value) {
167 m_statusHasBeenSet = true;
168 m_status = value;
169 }
171 SetStatus(value);
172 return *this;
173 }
175
177
181 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
182 template <typename StatusReasonT = Aws::String>
183 void SetStatusReason(StatusReasonT&& value) {
184 m_statusReasonHasBeenSet = true;
185 m_statusReason = std::forward<StatusReasonT>(value);
186 }
187 template <typename StatusReasonT = Aws::String>
188 UpdateRegistryResult& WithStatusReason(StatusReasonT&& value) {
189 SetStatusReason(std::forward<StatusReasonT>(value));
190 return *this;
191 }
193
195
200 inline const AutoDetection& GetAutoDetection() const { return m_autoDetection; }
201 template <typename AutoDetectionT = AutoDetection>
202 void SetAutoDetection(AutoDetectionT&& value) {
203 m_autoDetectionHasBeenSet = true;
204 m_autoDetection = std::forward<AutoDetectionT>(value);
205 }
206 template <typename AutoDetectionT = AutoDetection>
207 UpdateRegistryResult& WithAutoDetection(AutoDetectionT&& value) {
208 SetAutoDetection(std::forward<AutoDetectionT>(value));
209 return *this;
210 }
212
214
217 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
218 template <typename CreatedAtT = Aws::Utils::DateTime>
219 void SetCreatedAt(CreatedAtT&& value) {
220 m_createdAtHasBeenSet = true;
221 m_createdAt = std::forward<CreatedAtT>(value);
222 }
223 template <typename CreatedAtT = Aws::Utils::DateTime>
224 UpdateRegistryResult& WithCreatedAt(CreatedAtT&& value) {
225 SetCreatedAt(std::forward<CreatedAtT>(value));
226 return *this;
227 }
229
231
234 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
235 template <typename UpdatedAtT = Aws::Utils::DateTime>
236 void SetUpdatedAt(UpdatedAtT&& value) {
237 m_updatedAtHasBeenSet = true;
238 m_updatedAt = std::forward<UpdatedAtT>(value);
239 }
240 template <typename UpdatedAtT = Aws::Utils::DateTime>
241 UpdateRegistryResult& WithUpdatedAt(UpdatedAtT&& value) {
242 SetUpdatedAt(std::forward<UpdatedAtT>(value));
243 return *this;
244 }
246
248
249 inline const Aws::String& GetRequestId() const { return m_requestId; }
250 template <typename RequestIdT = Aws::String>
251 void SetRequestId(RequestIdT&& value) {
252 m_requestIdHasBeenSet = true;
253 m_requestId = std::forward<RequestIdT>(value);
254 }
255 template <typename RequestIdT = Aws::String>
256 UpdateRegistryResult& WithRequestId(RequestIdT&& value) {
257 SetRequestId(std::forward<RequestIdT>(value));
258 return *this;
259 }
261 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
262
263 private:
264 Aws::String m_name;
265
266 Aws::String m_description;
267
268 Aws::String m_registryId;
269
270 Aws::String m_registryArn;
271
272 DiscoveryConfiguration m_discoveryConfiguration;
273
274 EncryptionConfiguration m_encryptionConfiguration;
275
276 ApprovalConfiguration m_approvalConfiguration;
277
279
280 Aws::String m_statusReason;
281
282 AutoDetection m_autoDetection;
283
284 Aws::Utils::DateTime m_createdAt{};
285
286 Aws::Utils::DateTime m_updatedAt{};
287
288 Aws::String m_requestId;
289 Aws::Http::HttpResponseCode m_HttpResponseCode;
290 bool m_nameHasBeenSet = false;
291 bool m_descriptionHasBeenSet = false;
292 bool m_registryIdHasBeenSet = false;
293 bool m_registryArnHasBeenSet = false;
294 bool m_discoveryConfigurationHasBeenSet = false;
295 bool m_encryptionConfigurationHasBeenSet = false;
296 bool m_approvalConfigurationHasBeenSet = false;
297 bool m_statusHasBeenSet = false;
298 bool m_statusReasonHasBeenSet = false;
299 bool m_autoDetectionHasBeenSet = false;
300 bool m_createdAtHasBeenSet = false;
301 bool m_updatedAtHasBeenSet = false;
302 bool m_requestIdHasBeenSet = false;
303};
304
305} // namespace Model
306} // namespace AgentRegistryControl
307} // namespace Aws
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API UpdateRegistryResult()=default
UpdateRegistryResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetApprovalConfiguration(ApprovalConfigurationT &&value)
UpdateRegistryResult & WithRegistryId(RegistryIdT &&value)
UpdateRegistryResult & WithUpdatedAt(UpdatedAtT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
UpdateRegistryResult & WithApprovalConfiguration(ApprovalConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API UpdateRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRegistryResult & WithRequestId(RequestIdT &&value)
UpdateRegistryResult & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API UpdateRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ApprovalConfiguration & GetApprovalConfiguration() const
UpdateRegistryResult & WithCreatedAt(CreatedAtT &&value)
UpdateRegistryResult & WithRegistryArn(RegistryArnT &&value)
UpdateRegistryResult & WithStatus(RegistryStatus value)
UpdateRegistryResult & WithAutoDetection(AutoDetectionT &&value)
UpdateRegistryResult & WithStatusReason(StatusReasonT &&value)
const DiscoveryConfiguration & GetDiscoveryConfiguration() const
void SetDiscoveryConfiguration(DiscoveryConfigurationT &&value)
UpdateRegistryResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue