AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
AgentProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
12#include <aws/wellarchitected/model/AggregationConfiguration.h>
13#include <aws/wellarchitected/model/Pillar.h>
14#include <aws/wellarchitected/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace WellArchitected {
26namespace Model {
27
35 public:
36 AWS_WELLARCHITECTED_API AgentProfileSummary() = default;
37 AWS_WELLARCHITECTED_API AgentProfileSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API AgentProfileSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
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 AgentProfileSummary& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetDisplayName() const { return m_displayName; }
64 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
65 template <typename DisplayNameT = Aws::String>
66 void SetDisplayName(DisplayNameT&& value) {
67 m_displayNameHasBeenSet = true;
68 m_displayName = std::forward<DisplayNameT>(value);
69 }
70 template <typename DisplayNameT = Aws::String>
71 AgentProfileSummary& WithDisplayName(DisplayNameT&& value) {
72 SetDisplayName(std::forward<DisplayNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
89 AgentProfileSummary& WithDescription(DescriptionT&& value) {
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetBusinessOverview() const { return m_businessOverview; }
100 inline bool BusinessOverviewHasBeenSet() const { return m_businessOverviewHasBeenSet; }
101 template <typename BusinessOverviewT = Aws::String>
102 void SetBusinessOverview(BusinessOverviewT&& value) {
103 m_businessOverviewHasBeenSet = true;
104 m_businessOverview = std::forward<BusinessOverviewT>(value);
105 }
106 template <typename BusinessOverviewT = Aws::String>
107 AgentProfileSummary& WithBusinessOverview(BusinessOverviewT&& value) {
108 SetBusinessOverview(std::forward<BusinessOverviewT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<Pillar>& GetPillars() const { return m_pillars; }
118 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
119 template <typename PillarsT = Aws::Vector<Pillar>>
120 void SetPillars(PillarsT&& value) {
121 m_pillarsHasBeenSet = true;
122 m_pillars = std::forward<PillarsT>(value);
123 }
124 template <typename PillarsT = Aws::Vector<Pillar>>
125 AgentProfileSummary& WithPillars(PillarsT&& value) {
126 SetPillars(std::forward<PillarsT>(value));
127 return *this;
128 }
130 m_pillarsHasBeenSet = true;
131 m_pillars.push_back(value);
132 return *this;
133 }
135
137
140 inline bool GetDeletionProtection() const { return m_deletionProtection; }
141 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
142 inline void SetDeletionProtection(bool value) {
143 m_deletionProtectionHasBeenSet = true;
144 m_deletionProtection = value;
145 }
148 return *this;
149 }
151
153
156 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
157 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
158 template <typename ExecutionRoleArnT = Aws::String>
159 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
160 m_executionRoleArnHasBeenSet = true;
161 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
162 }
163 template <typename ExecutionRoleArnT = Aws::String>
164 AgentProfileSummary& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
165 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
166 return *this;
167 }
169
171
175 inline const Aws::Vector<AggregationConfiguration>& GetAggregationConfiguration() const { return m_aggregationConfiguration; }
176 inline bool AggregationConfigurationHasBeenSet() const { return m_aggregationConfigurationHasBeenSet; }
177 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
178 void SetAggregationConfiguration(AggregationConfigurationT&& value) {
179 m_aggregationConfigurationHasBeenSet = true;
180 m_aggregationConfiguration = std::forward<AggregationConfigurationT>(value);
181 }
182 template <typename AggregationConfigurationT = Aws::Vector<AggregationConfiguration>>
183 AgentProfileSummary& WithAggregationConfiguration(AggregationConfigurationT&& value) {
184 SetAggregationConfiguration(std::forward<AggregationConfigurationT>(value));
185 return *this;
186 }
187 template <typename AggregationConfigurationT = AggregationConfiguration>
188 AgentProfileSummary& AddAggregationConfiguration(AggregationConfigurationT&& value) {
189 m_aggregationConfigurationHasBeenSet = true;
190 m_aggregationConfiguration.emplace_back(std::forward<AggregationConfigurationT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::String& GetArn() const { return m_arn; }
200 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
201 template <typename ArnT = Aws::String>
202 void SetArn(ArnT&& value) {
203 m_arnHasBeenSet = true;
204 m_arn = std::forward<ArnT>(value);
205 }
206 template <typename ArnT = Aws::String>
208 SetArn(std::forward<ArnT>(value));
209 return *this;
210 }
212
214
218 inline bool GetEligibleForScheduledGeneration() const { return m_eligibleForScheduledGeneration; }
219 inline bool EligibleForScheduledGenerationHasBeenSet() const { return m_eligibleForScheduledGenerationHasBeenSet; }
220 inline void SetEligibleForScheduledGeneration(bool value) {
221 m_eligibleForScheduledGenerationHasBeenSet = true;
222 m_eligibleForScheduledGeneration = value;
223 }
226 return *this;
227 }
229
231
235 inline bool GetEligibleForArchitectureGeneration() const { return m_eligibleForArchitectureGeneration; }
236 inline bool EligibleForArchitectureGenerationHasBeenSet() const { return m_eligibleForArchitectureGenerationHasBeenSet; }
237 inline void SetEligibleForArchitectureGeneration(bool value) {
238 m_eligibleForArchitectureGenerationHasBeenSet = true;
239 m_eligibleForArchitectureGeneration = value;
240 }
243 return *this;
244 }
246
248
252 inline const Aws::Map<Aws::String, Aws::String>& GetFieldErrors() const { return m_fieldErrors; }
253 inline bool FieldErrorsHasBeenSet() const { return m_fieldErrorsHasBeenSet; }
254 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
255 void SetFieldErrors(FieldErrorsT&& value) {
256 m_fieldErrorsHasBeenSet = true;
257 m_fieldErrors = std::forward<FieldErrorsT>(value);
258 }
259 template <typename FieldErrorsT = Aws::Map<Aws::String, Aws::String>>
260 AgentProfileSummary& WithFieldErrors(FieldErrorsT&& value) {
261 SetFieldErrors(std::forward<FieldErrorsT>(value));
262 return *this;
263 }
264 template <typename FieldErrorsKeyT = Aws::String, typename FieldErrorsValueT = Aws::String>
265 AgentProfileSummary& AddFieldErrors(FieldErrorsKeyT&& key, FieldErrorsValueT&& value) {
266 m_fieldErrorsHasBeenSet = true;
267 m_fieldErrors.emplace(std::forward<FieldErrorsKeyT>(key), std::forward<FieldErrorsValueT>(value));
268 return *this;
269 }
271
273
276 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
277 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
278 template <typename TagsT = Aws::Vector<Tag>>
279 void SetTags(TagsT&& value) {
280 m_tagsHasBeenSet = true;
281 m_tags = std::forward<TagsT>(value);
282 }
283 template <typename TagsT = Aws::Vector<Tag>>
285 SetTags(std::forward<TagsT>(value));
286 return *this;
287 }
288 template <typename TagsT = Tag>
289 AgentProfileSummary& AddTags(TagsT&& value) {
290 m_tagsHasBeenSet = true;
291 m_tags.emplace_back(std::forward<TagsT>(value));
292 return *this;
293 }
295
297
300 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
301 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
302 template <typename CreatedByT = Aws::String>
303 void SetCreatedBy(CreatedByT&& value) {
304 m_createdByHasBeenSet = true;
305 m_createdBy = std::forward<CreatedByT>(value);
306 }
307 template <typename CreatedByT = Aws::String>
308 AgentProfileSummary& WithCreatedBy(CreatedByT&& value) {
309 SetCreatedBy(std::forward<CreatedByT>(value));
310 return *this;
311 }
313
315
318 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
319 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
320 template <typename CreatedAtT = Aws::Utils::DateTime>
321 void SetCreatedAt(CreatedAtT&& value) {
322 m_createdAtHasBeenSet = true;
323 m_createdAt = std::forward<CreatedAtT>(value);
324 }
325 template <typename CreatedAtT = Aws::Utils::DateTime>
326 AgentProfileSummary& WithCreatedAt(CreatedAtT&& value) {
327 SetCreatedAt(std::forward<CreatedAtT>(value));
328 return *this;
329 }
331
333
336 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
337 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
338 template <typename LastModifiedByT = Aws::String>
339 void SetLastModifiedBy(LastModifiedByT&& value) {
340 m_lastModifiedByHasBeenSet = true;
341 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
342 }
343 template <typename LastModifiedByT = Aws::String>
344 AgentProfileSummary& WithLastModifiedBy(LastModifiedByT&& value) {
345 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
346 return *this;
347 }
349
351
354 inline const Aws::Utils::DateTime& GetLastModifiedAt() const { return m_lastModifiedAt; }
355 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
356 template <typename LastModifiedAtT = Aws::Utils::DateTime>
357 void SetLastModifiedAt(LastModifiedAtT&& value) {
358 m_lastModifiedAtHasBeenSet = true;
359 m_lastModifiedAt = std::forward<LastModifiedAtT>(value);
360 }
361 template <typename LastModifiedAtT = Aws::Utils::DateTime>
362 AgentProfileSummary& WithLastModifiedAt(LastModifiedAtT&& value) {
363 SetLastModifiedAt(std::forward<LastModifiedAtT>(value));
364 return *this;
365 }
367 private:
368 Aws::String m_name;
369
370 Aws::String m_displayName;
371
372 Aws::String m_description;
373
374 Aws::String m_businessOverview;
375
376 Aws::Vector<Pillar> m_pillars;
377
378 bool m_deletionProtection{false};
379
380 Aws::String m_executionRoleArn;
381
382 Aws::Vector<AggregationConfiguration> m_aggregationConfiguration;
383
384 Aws::String m_arn;
385
386 bool m_eligibleForScheduledGeneration{false};
387
388 bool m_eligibleForArchitectureGeneration{false};
389
391
392 Aws::Vector<Tag> m_tags;
393
394 Aws::String m_createdBy;
395
396 Aws::Utils::DateTime m_createdAt{};
397
398 Aws::String m_lastModifiedBy;
399
400 Aws::Utils::DateTime m_lastModifiedAt{};
401 bool m_nameHasBeenSet = false;
402 bool m_displayNameHasBeenSet = false;
403 bool m_descriptionHasBeenSet = false;
404 bool m_businessOverviewHasBeenSet = false;
405 bool m_pillarsHasBeenSet = false;
406 bool m_deletionProtectionHasBeenSet = false;
407 bool m_executionRoleArnHasBeenSet = false;
408 bool m_aggregationConfigurationHasBeenSet = false;
409 bool m_arnHasBeenSet = false;
410 bool m_eligibleForScheduledGenerationHasBeenSet = false;
411 bool m_eligibleForArchitectureGenerationHasBeenSet = false;
412 bool m_fieldErrorsHasBeenSet = false;
413 bool m_tagsHasBeenSet = false;
414 bool m_createdByHasBeenSet = false;
415 bool m_createdAtHasBeenSet = false;
416 bool m_lastModifiedByHasBeenSet = false;
417 bool m_lastModifiedAtHasBeenSet = false;
418};
419
420} // namespace Model
421} // namespace WellArchitected
422} // namespace Aws
AgentProfileSummary & WithLastModifiedAt(LastModifiedAtT &&value)
AWS_WELLARCHITECTED_API AgentProfileSummary()=default
AWS_WELLARCHITECTED_API AgentProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AgentProfileSummary & AddAggregationConfiguration(AggregationConfigurationT &&value)
AgentProfileSummary & WithAggregationConfiguration(AggregationConfigurationT &&value)
AgentProfileSummary & WithDisplayName(DisplayNameT &&value)
AgentProfileSummary & WithFieldErrors(FieldErrorsT &&value)
AgentProfileSummary & WithPillars(PillarsT &&value)
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
AgentProfileSummary & AddPillars(Pillar value)
AgentProfileSummary & WithLastModifiedBy(LastModifiedByT &&value)
AgentProfileSummary & WithDescription(DescriptionT &&value)
const Aws::Vector< AggregationConfiguration > & GetAggregationConfiguration() const
AgentProfileSummary & WithEligibleForArchitectureGeneration(bool value)
AgentProfileSummary & WithCreatedBy(CreatedByT &&value)
AgentProfileSummary & WithDeletionProtection(bool value)
const Aws::Vector< Pillar > & GetPillars() const
AgentProfileSummary & WithBusinessOverview(BusinessOverviewT &&value)
AgentProfileSummary & AddFieldErrors(FieldErrorsKeyT &&key, FieldErrorsValueT &&value)
void SetAggregationConfiguration(AggregationConfigurationT &&value)
AgentProfileSummary & AddTags(TagsT &&value)
AgentProfileSummary & WithExecutionRoleArn(ExecutionRoleArnT &&value)
AgentProfileSummary & WithName(NameT &&value)
AgentProfileSummary & WithEligibleForScheduledGeneration(bool value)
const Aws::Map< Aws::String, Aws::String > & GetFieldErrors() const
AgentProfileSummary & WithTags(TagsT &&value)
AgentProfileSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_WELLARCHITECTED_API AgentProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedAt() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue