AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ProfileEntrySummary.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/VersionPolicy.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudExtensions {
22namespace Model {
23
30 public:
31 AWS_CLOUDEXTENSIONS_API ProfileEntrySummary() = default;
32 AWS_CLOUDEXTENSIONS_API ProfileEntrySummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDEXTENSIONS_API ProfileEntrySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 ProfileEntrySummary& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 template <typename ArnT = Aws::String>
80 void SetArn(ArnT&& value) {
81 m_arnHasBeenSet = true;
82 m_arn = std::forward<ArnT>(value);
83 }
84 template <typename ArnT = Aws::String>
86 SetArn(std::forward<ArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetProfileId() const { return m_profileId; }
96 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
97 template <typename ProfileIdT = Aws::String>
98 void SetProfileId(ProfileIdT&& value) {
99 m_profileIdHasBeenSet = true;
100 m_profileId = std::forward<ProfileIdT>(value);
101 }
102 template <typename ProfileIdT = Aws::String>
103 ProfileEntrySummary& WithProfileId(ProfileIdT&& value) {
104 SetProfileId(std::forward<ProfileIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetProfileName() const { return m_profileName; }
114 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
115 template <typename ProfileNameT = Aws::String>
116 void SetProfileName(ProfileNameT&& value) {
117 m_profileNameHasBeenSet = true;
118 m_profileName = std::forward<ProfileNameT>(value);
119 }
120 template <typename ProfileNameT = Aws::String>
121 ProfileEntrySummary& WithProfileName(ProfileNameT&& value) {
122 SetProfileName(std::forward<ProfileNameT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::String& GetExtensionId() const { return m_extensionId; }
133 inline bool ExtensionIdHasBeenSet() const { return m_extensionIdHasBeenSet; }
134 template <typename ExtensionIdT = Aws::String>
135 void SetExtensionId(ExtensionIdT&& value) {
136 m_extensionIdHasBeenSet = true;
137 m_extensionId = std::forward<ExtensionIdT>(value);
138 }
139 template <typename ExtensionIdT = Aws::String>
140 ProfileEntrySummary& WithExtensionId(ExtensionIdT&& value) {
141 SetExtensionId(std::forward<ExtensionIdT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetExtensionDisplayName() const { return m_extensionDisplayName; }
151 inline bool ExtensionDisplayNameHasBeenSet() const { return m_extensionDisplayNameHasBeenSet; }
152 template <typename ExtensionDisplayNameT = Aws::String>
153 void SetExtensionDisplayName(ExtensionDisplayNameT&& value) {
154 m_extensionDisplayNameHasBeenSet = true;
155 m_extensionDisplayName = std::forward<ExtensionDisplayNameT>(value);
156 }
157 template <typename ExtensionDisplayNameT = Aws::String>
158 ProfileEntrySummary& WithExtensionDisplayName(ExtensionDisplayNameT&& value) {
159 SetExtensionDisplayName(std::forward<ExtensionDisplayNameT>(value));
160 return *this;
161 }
163
165
169 inline const VersionPolicy& GetVersionPolicy() const { return m_versionPolicy; }
170 inline bool VersionPolicyHasBeenSet() const { return m_versionPolicyHasBeenSet; }
171 template <typename VersionPolicyT = VersionPolicy>
172 void SetVersionPolicy(VersionPolicyT&& value) {
173 m_versionPolicyHasBeenSet = true;
174 m_versionPolicy = std::forward<VersionPolicyT>(value);
175 }
176 template <typename VersionPolicyT = VersionPolicy>
177 ProfileEntrySummary& WithVersionPolicy(VersionPolicyT&& value) {
178 SetVersionPolicy(std::forward<VersionPolicyT>(value));
179 return *this;
180 }
182
184
188 inline const Aws::String& GetResolvedVersion() const { return m_resolvedVersion; }
189 inline bool ResolvedVersionHasBeenSet() const { return m_resolvedVersionHasBeenSet; }
190 template <typename ResolvedVersionT = Aws::String>
191 void SetResolvedVersion(ResolvedVersionT&& value) {
192 m_resolvedVersionHasBeenSet = true;
193 m_resolvedVersion = std::forward<ResolvedVersionT>(value);
194 }
195 template <typename ResolvedVersionT = Aws::String>
196 ProfileEntrySummary& WithResolvedVersion(ResolvedVersionT&& value) {
197 SetResolvedVersion(std::forward<ResolvedVersionT>(value));
198 return *this;
199 }
201
203
207 inline const Aws::String& GetLatestVersion() const { return m_latestVersion; }
208 inline bool LatestVersionHasBeenSet() const { return m_latestVersionHasBeenSet; }
209 template <typename LatestVersionT = Aws::String>
210 void SetLatestVersion(LatestVersionT&& value) {
211 m_latestVersionHasBeenSet = true;
212 m_latestVersion = std::forward<LatestVersionT>(value);
213 }
214 template <typename LatestVersionT = Aws::String>
215 ProfileEntrySummary& WithLatestVersion(LatestVersionT&& value) {
216 SetLatestVersion(std::forward<LatestVersionT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
226 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
227 template <typename CreatedAtT = Aws::Utils::DateTime>
228 void SetCreatedAt(CreatedAtT&& value) {
229 m_createdAtHasBeenSet = true;
230 m_createdAt = std::forward<CreatedAtT>(value);
231 }
232 template <typename CreatedAtT = Aws::Utils::DateTime>
233 ProfileEntrySummary& WithCreatedAt(CreatedAtT&& value) {
234 SetCreatedAt(std::forward<CreatedAtT>(value));
235 return *this;
236 }
238
240
244 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
245 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
246 template <typename UpdatedAtT = Aws::Utils::DateTime>
247 void SetUpdatedAt(UpdatedAtT&& value) {
248 m_updatedAtHasBeenSet = true;
249 m_updatedAt = std::forward<UpdatedAtT>(value);
250 }
251 template <typename UpdatedAtT = Aws::Utils::DateTime>
252 ProfileEntrySummary& WithUpdatedAt(UpdatedAtT&& value) {
253 SetUpdatedAt(std::forward<UpdatedAtT>(value));
254 return *this;
255 }
257 private:
258 Aws::String m_id;
259
260 Aws::String m_name;
261
262 Aws::String m_arn;
263
264 Aws::String m_profileId;
265
266 Aws::String m_profileName;
267
268 Aws::String m_extensionId;
269
270 Aws::String m_extensionDisplayName;
271
272 VersionPolicy m_versionPolicy;
273
274 Aws::String m_resolvedVersion;
275
276 Aws::String m_latestVersion;
277
278 Aws::Utils::DateTime m_createdAt{};
279
280 Aws::Utils::DateTime m_updatedAt{};
281 bool m_idHasBeenSet = false;
282 bool m_nameHasBeenSet = false;
283 bool m_arnHasBeenSet = false;
284 bool m_profileIdHasBeenSet = false;
285 bool m_profileNameHasBeenSet = false;
286 bool m_extensionIdHasBeenSet = false;
287 bool m_extensionDisplayNameHasBeenSet = false;
288 bool m_versionPolicyHasBeenSet = false;
289 bool m_resolvedVersionHasBeenSet = false;
290 bool m_latestVersionHasBeenSet = false;
291 bool m_createdAtHasBeenSet = false;
292 bool m_updatedAtHasBeenSet = false;
293};
294
295} // namespace Model
296} // namespace CloudExtensions
297} // namespace Aws
ProfileEntrySummary & WithName(NameT &&value)
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
void SetResolvedVersion(ResolvedVersionT &&value)
bool VersionPolicyHasBeenSet() const
bool ArnHasBeenSet() const
bool IdHasBeenSet() const
ProfileEntrySummary & WithVersionPolicy(VersionPolicyT &&value)
ProfileEntrySummary & WithExtensionId(ExtensionIdT &&value)
bool LatestVersionHasBeenSet() const
const Aws::String & GetExtensionDisplayName() const
void SetVersionPolicy(VersionPolicyT &&value)
void SetArn(ArnT &&value)
void SetId(IdT &&value)
bool NameHasBeenSet() const
ProfileEntrySummary & WithProfileName(ProfileNameT &&value)
ProfileEntrySummary & WithProfileId(ProfileIdT &&value)
ProfileEntrySummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
void SetCreatedAt(CreatedAtT &&value)
ProfileEntrySummary & WithResolvedVersion(ResolvedVersionT &&value)
const Aws::String & GetLatestVersion() const
const Aws::String & GetExtensionId() const
AWS_CLOUDEXTENSIONS_API ProfileEntrySummary()=default
const VersionPolicy & GetVersionPolicy() const
AWS_CLOUDEXTENSIONS_API ProfileEntrySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(UpdatedAtT &&value)
bool ProfileIdHasBeenSet() const
void SetName(NameT &&value)
bool ProfileNameHasBeenSet() const
void SetProfileName(ProfileNameT &&value)
ProfileEntrySummary & WithId(IdT &&value)
const Aws::String & GetArn() const
ProfileEntrySummary & WithArn(ArnT &&value)
ProfileEntrySummary & WithExtensionDisplayName(ExtensionDisplayNameT &&value)
void SetProfileId(ProfileIdT &&value)
AWS_CLOUDEXTENSIONS_API ProfileEntrySummary(Aws::Utils::Json::JsonView jsonValue)
bool ExtensionIdHasBeenSet() const
const Aws::String & GetProfileName() const
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
ProfileEntrySummary & WithLatestVersion(LatestVersionT &&value)
ProfileEntrySummary & WithCreatedAt(CreatedAtT &&value)
bool ResolvedVersionHasBeenSet() const
bool CreatedAtHasBeenSet() const
bool ExtensionDisplayNameHasBeenSet() const
const Aws::String & GetProfileId() const
const Aws::String & GetResolvedVersion() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetExtensionDisplayName(ExtensionDisplayNameT &&value)
void SetLatestVersion(LatestVersionT &&value)
void SetExtensionId(ExtensionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue