AWS SDK for C++

AWS SDK for C++ Version 1.11.866

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/DiscoveryConfiguration.h>
9#include <aws/agent-registry-control/model/RegistryStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AgentRegistryControl {
23namespace Model {
24
31 public:
32 AWS_AGENTREGISTRYCONTROL_API RegistrySummary() = default;
33 AWS_AGENTREGISTRYCONTROL_API RegistrySummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API RegistrySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 RegistrySummary& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
67 RegistrySummary& WithDescription(DescriptionT&& value) {
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetRegistryId() const { return m_registryId; }
78 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
79 template <typename RegistryIdT = Aws::String>
80 void SetRegistryId(RegistryIdT&& value) {
81 m_registryIdHasBeenSet = true;
82 m_registryId = std::forward<RegistryIdT>(value);
83 }
84 template <typename RegistryIdT = Aws::String>
85 RegistrySummary& WithRegistryId(RegistryIdT&& value) {
86 SetRegistryId(std::forward<RegistryIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetRegistryArn() const { return m_registryArn; }
96 inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
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 RegistrySummary& 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 inline bool DiscoveryConfigurationHasBeenSet() const { return m_discoveryConfigurationHasBeenSet; }
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 RegistrySummary& WithDiscoveryConfiguration(DiscoveryConfigurationT&& value) {
122 SetDiscoveryConfiguration(std::forward<DiscoveryConfigurationT>(value));
123 return *this;
124 }
126
128
131 inline RegistryStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(RegistryStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142
144
148 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
149 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
150 template <typename StatusReasonT = Aws::String>
151 void SetStatusReason(StatusReasonT&& value) {
152 m_statusReasonHasBeenSet = true;
153 m_statusReason = std::forward<StatusReasonT>(value);
154 }
155 template <typename StatusReasonT = Aws::String>
156 RegistrySummary& WithStatusReason(StatusReasonT&& value) {
157 SetStatusReason(std::forward<StatusReasonT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
167 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
168 template <typename CreatedAtT = Aws::Utils::DateTime>
169 void SetCreatedAt(CreatedAtT&& value) {
170 m_createdAtHasBeenSet = true;
171 m_createdAt = std::forward<CreatedAtT>(value);
172 }
173 template <typename CreatedAtT = Aws::Utils::DateTime>
174 RegistrySummary& WithCreatedAt(CreatedAtT&& value) {
175 SetCreatedAt(std::forward<CreatedAtT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
185 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
186 template <typename UpdatedAtT = Aws::Utils::DateTime>
187 void SetUpdatedAt(UpdatedAtT&& value) {
188 m_updatedAtHasBeenSet = true;
189 m_updatedAt = std::forward<UpdatedAtT>(value);
190 }
191 template <typename UpdatedAtT = Aws::Utils::DateTime>
192 RegistrySummary& WithUpdatedAt(UpdatedAtT&& value) {
193 SetUpdatedAt(std::forward<UpdatedAtT>(value));
194 return *this;
195 }
197 private:
198 Aws::String m_name;
199
200 Aws::String m_description;
201
202 Aws::String m_registryId;
203
204 Aws::String m_registryArn;
205
206 DiscoveryConfiguration m_discoveryConfiguration;
207
209
210 Aws::String m_statusReason;
211
212 Aws::Utils::DateTime m_createdAt{};
213
214 Aws::Utils::DateTime m_updatedAt{};
215 bool m_nameHasBeenSet = false;
216 bool m_descriptionHasBeenSet = false;
217 bool m_registryIdHasBeenSet = false;
218 bool m_registryArnHasBeenSet = false;
219 bool m_discoveryConfigurationHasBeenSet = false;
220 bool m_statusHasBeenSet = false;
221 bool m_statusReasonHasBeenSet = false;
222 bool m_createdAtHasBeenSet = false;
223 bool m_updatedAtHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace AgentRegistryControl
228} // namespace Aws
RegistrySummary & WithUpdatedAt(UpdatedAtT &&value)
const DiscoveryConfiguration & GetDiscoveryConfiguration() const
RegistrySummary & WithDescription(DescriptionT &&value)
RegistrySummary & WithStatus(RegistryStatus value)
RegistrySummary & WithDiscoveryConfiguration(DiscoveryConfigurationT &&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