AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
GetRegistryResult.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/CustomMetadataSchemaConfiguration.h>
11#include <aws/agent-registry-control/model/DiscoveryConfiguration.h>
12#include <aws/agent-registry-control/model/EncryptionConfiguration.h>
13#include <aws/agent-registry-control/model/RegistryStatus.h>
14#include <aws/core/http/HttpResponse.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace AgentRegistryControl {
30namespace Model {
37 public:
38 AWS_AGENTREGISTRYCONTROL_API GetRegistryResult() = default;
41
43
46 inline const Aws::String& GetName() const { return m_name; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 GetRegistryResult& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template <typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) {
66 m_descriptionHasBeenSet = true;
67 m_description = std::forward<DescriptionT>(value);
68 }
69 template <typename DescriptionT = Aws::String>
70 GetRegistryResult& WithDescription(DescriptionT&& value) {
71 SetDescription(std::forward<DescriptionT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetRegistryId() const { return m_registryId; }
81 template <typename RegistryIdT = Aws::String>
82 void SetRegistryId(RegistryIdT&& value) {
83 m_registryIdHasBeenSet = true;
84 m_registryId = std::forward<RegistryIdT>(value);
85 }
86 template <typename RegistryIdT = Aws::String>
87 GetRegistryResult& WithRegistryId(RegistryIdT&& value) {
88 SetRegistryId(std::forward<RegistryIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
98 template <typename RegistryArnT = Aws::String>
99 void SetRegistryArn(RegistryArnT&& value) {
100 m_registryArnHasBeenSet = true;
101 m_registryArn = std::forward<RegistryArnT>(value);
102 }
103 template <typename RegistryArnT = Aws::String>
104 GetRegistryResult& WithRegistryArn(RegistryArnT&& value) {
105 SetRegistryArn(std::forward<RegistryArnT>(value));
106 return *this;
107 }
109
111
114 inline const DiscoveryConfiguration& GetDiscoveryConfiguration() const { return m_discoveryConfiguration; }
115 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
116 void SetDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
117 m_discoveryConfigurationHasBeenSet = true;
118 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
119 }
120 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
121 GetRegistryResult& WithDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
122 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
123 return *this;
124 }
126
128
132 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
133 template <typename EncryptionConfigurationT = EncryptionConfiguration>
134 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
135 m_encryptionConfigurationHasBeenSet = true;
136 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
137 }
138 template <typename EncryptionConfigurationT = EncryptionConfiguration>
139 GetRegistryResult& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
140 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
141 return *this;
142 }
144
146
149 inline const ApprovalConfiguration& GetApprovalConfiguration() const { return m_approvalConfiguration; }
150 template <typename ApprovalConfigurationT = ApprovalConfiguration>
151 void SetApprovalConfiguration(ApprovalConfigurationT&& value) {
152 m_approvalConfigurationHasBeenSet = true;
153 m_approvalConfiguration = std::forward<ApprovalConfigurationT>(value);
154 }
155 template <typename ApprovalConfigurationT = ApprovalConfiguration>
156 GetRegistryResult& WithApprovalConfiguration(ApprovalConfigurationT&& value) {
157 SetApprovalConfiguration(std::forward<ApprovalConfigurationT>(value));
158 return *this;
159 }
161
163
168 return m_customMetadataSchemaConfiguration;
169 }
170 template <typename CustomMetadataSchemaConfigurationT = CustomMetadataSchemaConfiguration>
171 void SetCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT&& value) {
172 m_customMetadataSchemaConfigurationHasBeenSet = true;
173 m_customMetadataSchemaConfiguration = std::forward<CustomMetadataSchemaConfigurationT>(value);
174 }
175 template <typename CustomMetadataSchemaConfigurationT = CustomMetadataSchemaConfiguration>
176 GetRegistryResult& WithCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT&& value) {
177 SetCustomMetadataSchemaConfiguration(std::forward<CustomMetadataSchemaConfigurationT>(value));
178 return *this;
179 }
181
183
186 inline RegistryStatus GetStatus() const { return m_status; }
187 inline void SetStatus(RegistryStatus value) {
188 m_statusHasBeenSet = true;
189 m_status = value;
190 }
192 SetStatus(value);
193 return *this;
194 }
196
198
202 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
203 template <typename StatusReasonT = Aws::String>
204 void SetStatusReason(StatusReasonT&& value) {
205 m_statusReasonHasBeenSet = true;
206 m_statusReason = std::forward<StatusReasonT>(value);
207 }
208 template <typename StatusReasonT = Aws::String>
209 GetRegistryResult& WithStatusReason(StatusReasonT&& value) {
210 SetStatusReason(std::forward<StatusReasonT>(value));
211 return *this;
212 }
214
216
221 inline const AutoDetection& GetAutoDetection() const { return m_autoDetection; }
222 template <typename AutoDetectionT = AutoDetection>
223 void SetAutoDetection(AutoDetectionT&& value) {
224 m_autoDetectionHasBeenSet = true;
225 m_autoDetection = std::forward<AutoDetectionT>(value);
226 }
227 template <typename AutoDetectionT = AutoDetection>
228 GetRegistryResult& WithAutoDetection(AutoDetectionT&& value) {
229 SetAutoDetection(std::forward<AutoDetectionT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
239 template <typename CreatedAtT = Aws::Utils::DateTime>
240 void SetCreatedAt(CreatedAtT&& value) {
241 m_createdAtHasBeenSet = true;
242 m_createdAt = std::forward<CreatedAtT>(value);
243 }
244 template <typename CreatedAtT = Aws::Utils::DateTime>
245 GetRegistryResult& WithCreatedAt(CreatedAtT&& value) {
246 SetCreatedAt(std::forward<CreatedAtT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
256 template <typename UpdatedAtT = Aws::Utils::DateTime>
257 void SetUpdatedAt(UpdatedAtT&& value) {
258 m_updatedAtHasBeenSet = true;
259 m_updatedAt = std::forward<UpdatedAtT>(value);
260 }
261 template <typename UpdatedAtT = Aws::Utils::DateTime>
262 GetRegistryResult& WithUpdatedAt(UpdatedAtT&& value) {
263 SetUpdatedAt(std::forward<UpdatedAtT>(value));
264 return *this;
265 }
267
269
270 inline const Aws::String& GetRequestId() const { return m_requestId; }
271 template <typename RequestIdT = Aws::String>
272 void SetRequestId(RequestIdT&& value) {
273 m_requestIdHasBeenSet = true;
274 m_requestId = std::forward<RequestIdT>(value);
275 }
276 template <typename RequestIdT = Aws::String>
277 GetRegistryResult& WithRequestId(RequestIdT&& value) {
278 SetRequestId(std::forward<RequestIdT>(value));
279 return *this;
280 }
282 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
283
284 private:
285 Aws::String m_name;
286
287 Aws::String m_description;
288
289 Aws::String m_registryId;
290
291 Aws::String m_registryArn;
292
293 DiscoveryConfiguration m_discoveryConfiguration;
294
295 EncryptionConfiguration m_encryptionConfiguration;
296
297 ApprovalConfiguration m_approvalConfiguration;
298
299 CustomMetadataSchemaConfiguration m_customMetadataSchemaConfiguration;
300
302
303 Aws::String m_statusReason;
304
305 AutoDetection m_autoDetection;
306
307 Aws::Utils::DateTime m_createdAt{};
308
309 Aws::Utils::DateTime m_updatedAt{};
310
311 Aws::String m_requestId;
312 Aws::Http::HttpResponseCode m_HttpResponseCode;
313 bool m_nameHasBeenSet = false;
314 bool m_descriptionHasBeenSet = false;
315 bool m_registryIdHasBeenSet = false;
316 bool m_registryArnHasBeenSet = false;
317 bool m_discoveryConfigurationHasBeenSet = false;
318 bool m_encryptionConfigurationHasBeenSet = false;
319 bool m_approvalConfigurationHasBeenSet = false;
320 bool m_customMetadataSchemaConfigurationHasBeenSet = false;
321 bool m_statusHasBeenSet = false;
322 bool m_statusReasonHasBeenSet = false;
323 bool m_autoDetectionHasBeenSet = false;
324 bool m_createdAtHasBeenSet = false;
325 bool m_updatedAtHasBeenSet = false;
326 bool m_requestIdHasBeenSet = false;
327};
328
329} // namespace Model
330} // namespace AgentRegistryControl
331} // namespace Aws
const ApprovalConfiguration & GetApprovalConfiguration() const
GetRegistryResult & WithStatusReason(StatusReasonT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetRegistryResult & WithDescription(DescriptionT &&value)
void SetCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
GetRegistryResult & WithCreatedAt(CreatedAtT &&value)
GetRegistryResult & WithRegistryId(RegistryIdT &&value)
GetRegistryResult & WithCustomMetadataSchemaConfiguration(CustomMetadataSchemaConfigurationT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetApprovalConfiguration(ApprovalConfigurationT &&value)
GetRegistryResult & WithApprovalConfiguration(ApprovalConfigurationT &&value)
GetRegistryResult & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API GetRegistryResult()=default
GetRegistryResult & WithAutoDetection(AutoDetectionT &&value)
void SetDiscoveryConfiguration(DiscoveryConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const CustomMetadataSchemaConfiguration & GetCustomMetadataSchemaConfiguration() const
GetRegistryResult & WithUpdatedAt(UpdatedAtT &&value)
GetRegistryResult & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
GetRegistryResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_AGENTREGISTRYCONTROL_API GetRegistryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const DiscoveryConfiguration & GetDiscoveryConfiguration() const
AWS_AGENTREGISTRYCONTROL_API GetRegistryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegistryResult & WithStatus(RegistryStatus value)
GetRegistryResult & WithRegistryArn(RegistryArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue