AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
RegistrySummary.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/AutoDetection.h>
9#include <aws/agent-registry-control/model/DiscoveryConfiguration.h>
10#include <aws/agent-registry-control/model/RegistryStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AgentRegistryControl {
24namespace Model {
25
32 public:
33 AWS_AGENTREGISTRYCONTROL_API RegistrySummary() = default;
34 AWS_AGENTREGISTRYCONTROL_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRYCONTROL_API RegistrySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 RegistrySummary& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
68 RegistrySummary& WithDescription(DescriptionT&& value) {
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetRegistryId() const { return m_registryId; }
79 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
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 RegistrySummary& 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 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
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 RegistrySummary& 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 inline bool DiscoveryConfigurationHasBeenSet() const { return m_discoveryConfigurationHasBeenSet; }
116 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
117 void SetDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
118 m_discoveryConfigurationHasBeenSet = true;
119 m_discoveryConfiguration = std::forward<DiscoveryConfigurationT>(value);
120 }
121 template <typename DiscoveryConfigurationT = DiscoveryConfiguration>
122 RegistrySummary& WithDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
123 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
124 return *this;
125 }
127
129
132 inline RegistryStatus GetStatus() const { return m_status; }
133 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
134 inline void SetStatus(RegistryStatus value) {
135 m_statusHasBeenSet = true;
136 m_status = value;
137 }
139 SetStatus(value);
140 return *this;
141 }
143
145
149 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
150 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
151 template <typename StatusReasonT = Aws::String>
152 void SetStatusReason(StatusReasonT&& value) {
153 m_statusReasonHasBeenSet = true;
154 m_statusReason = std::forward<StatusReasonT>(value);
155 }
156 template <typename StatusReasonT = Aws::String>
157 RegistrySummary& WithStatusReason(StatusReasonT&& value) {
158 SetStatusReason(std::forward<StatusReasonT>(value));
159 return *this;
160 }
162
164
169 inline const AutoDetection& GetAutoDetection() const { return m_autoDetection; }
170 inline bool AutoDetectionHasBeenSet() const { return m_autoDetectionHasBeenSet; }
171 template <typename AutoDetectionT = AutoDetection>
172 void SetAutoDetection(AutoDetectionT&& value) {
173 m_autoDetectionHasBeenSet = true;
174 m_autoDetection = std::forward<AutoDetectionT>(value);
175 }
176 template <typename AutoDetectionT = AutoDetection>
177 RegistrySummary& WithAutoDetection(AutoDetectionT&& value) {
178 SetAutoDetection(std::forward<AutoDetectionT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
188 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
189 template <typename CreatedAtT = Aws::Utils::DateTime>
190 void SetCreatedAt(CreatedAtT&& value) {
191 m_createdAtHasBeenSet = true;
192 m_createdAt = std::forward<CreatedAtT>(value);
193 }
194 template <typename CreatedAtT = Aws::Utils::DateTime>
195 RegistrySummary& WithCreatedAt(CreatedAtT&& value) {
196 SetCreatedAt(std::forward<CreatedAtT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
206 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
207 template <typename UpdatedAtT = Aws::Utils::DateTime>
208 void SetUpdatedAt(UpdatedAtT&& value) {
209 m_updatedAtHasBeenSet = true;
210 m_updatedAt = std::forward<UpdatedAtT>(value);
211 }
212 template <typename UpdatedAtT = Aws::Utils::DateTime>
213 RegistrySummary& WithUpdatedAt(UpdatedAtT&& value) {
214 SetUpdatedAt(std::forward<UpdatedAtT>(value));
215 return *this;
216 }
218 private:
219 Aws::String m_name;
220
221 Aws::String m_description;
222
223 Aws::String m_registryId;
224
225 Aws::String m_registryArn;
226
227 DiscoveryConfiguration m_discoveryConfiguration;
228
230
231 Aws::String m_statusReason;
232
233 AutoDetection m_autoDetection;
234
235 Aws::Utils::DateTime m_createdAt{};
236
237 Aws::Utils::DateTime m_updatedAt{};
238 bool m_nameHasBeenSet = false;
239 bool m_descriptionHasBeenSet = false;
240 bool m_registryIdHasBeenSet = false;
241 bool m_registryArnHasBeenSet = false;
242 bool m_discoveryConfigurationHasBeenSet = false;
243 bool m_statusHasBeenSet = false;
244 bool m_statusReasonHasBeenSet = false;
245 bool m_autoDetectionHasBeenSet = false;
246 bool m_createdAtHasBeenSet = false;
247 bool m_updatedAtHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace AgentRegistryControl
252} // namespace Aws
RegistrySummary & WithUpdatedAt(UpdatedAtT &&value)
const DiscoveryConfiguration & GetDiscoveryConfiguration() const
RegistrySummary & WithDescription(DescriptionT &&value)
RegistrySummary & WithStatus(RegistryStatus value)
RegistrySummary & WithDiscoveryConfiguration(DiscoveryConfigurationT &&value)
RegistrySummary & WithAutoDetection(AutoDetectionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API RegistrySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue)
RegistrySummary & WithRegistryArn(RegistryArnT &&value)
AWS_AGENTREGISTRYCONTROL_API RegistrySummary()=default
RegistrySummary & WithRegistryId(RegistryIdT &&value)
void SetDiscoveryConfiguration(DiscoveryConfigurationT &&value)
RegistrySummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
RegistrySummary & WithStatusReason(StatusReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue