AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OrganizationRecommendationSummary.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/trustedadvisor/model/RecommendationLifecycleStage.h>
12#include <aws/trustedadvisor/model/RecommendationPillarSpecificAggregates.h>
13#include <aws/trustedadvisor/model/RecommendationResourcesAggregates.h>
14#include <aws/trustedadvisor/model/RecommendationSource.h>
15#include <aws/trustedadvisor/model/RecommendationStatus.h>
16#include <aws/trustedadvisor/model/RecommendationType.h>
17#include <aws/trustedadvisor/model/RecommendationPillar.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace TrustedAdvisor
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary() = default;
47 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 OrganizationRecommendationSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetAwsServices() const { return m_awsServices; }
67 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
68 template<typename AwsServicesT = Aws::Vector<Aws::String>>
69 void SetAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet = true; m_awsServices = std::forward<AwsServicesT>(value); }
70 template<typename AwsServicesT = Aws::Vector<Aws::String>>
71 OrganizationRecommendationSummary& WithAwsServices(AwsServicesT&& value) { SetAwsServices(std::forward<AwsServicesT>(value)); return *this;}
72 template<typename AwsServicesT = Aws::String>
73 OrganizationRecommendationSummary& AddAwsServices(AwsServicesT&& value) { m_awsServicesHasBeenSet = true; m_awsServices.emplace_back(std::forward<AwsServicesT>(value)); return *this; }
75
77
80 inline const Aws::String& GetCheckArn() const { return m_checkArn; }
81 inline bool CheckArnHasBeenSet() const { return m_checkArnHasBeenSet; }
82 template<typename CheckArnT = Aws::String>
83 void SetCheckArn(CheckArnT&& value) { m_checkArnHasBeenSet = true; m_checkArn = std::forward<CheckArnT>(value); }
84 template<typename CheckArnT = Aws::String>
85 OrganizationRecommendationSummary& WithCheckArn(CheckArnT&& value) { SetCheckArn(std::forward<CheckArnT>(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
94 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 OrganizationRecommendationSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
100
102
105 inline const Aws::String& GetId() const { return m_id; }
106 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
107 template<typename IdT = Aws::String>
108 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
109 template<typename IdT = Aws::String>
110 OrganizationRecommendationSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
118 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
119 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
120 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
121 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
122 OrganizationRecommendationSummary& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
124
126
129 inline RecommendationLifecycleStage GetLifecycleStage() const { return m_lifecycleStage; }
130 inline bool LifecycleStageHasBeenSet() const { return m_lifecycleStageHasBeenSet; }
131 inline void SetLifecycleStage(RecommendationLifecycleStage value) { m_lifecycleStageHasBeenSet = true; m_lifecycleStage = value; }
134
136
139 inline const Aws::String& GetName() const { return m_name; }
140 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 template<typename NameT = Aws::String>
142 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
143 template<typename NameT = Aws::String>
144 OrganizationRecommendationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
146
148
151 inline const RecommendationPillarSpecificAggregates& GetPillarSpecificAggregates() const { return m_pillarSpecificAggregates; }
152 inline bool PillarSpecificAggregatesHasBeenSet() const { return m_pillarSpecificAggregatesHasBeenSet; }
153 template<typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
154 void SetPillarSpecificAggregates(PillarSpecificAggregatesT&& value) { m_pillarSpecificAggregatesHasBeenSet = true; m_pillarSpecificAggregates = std::forward<PillarSpecificAggregatesT>(value); }
155 template<typename PillarSpecificAggregatesT = RecommendationPillarSpecificAggregates>
156 OrganizationRecommendationSummary& WithPillarSpecificAggregates(PillarSpecificAggregatesT&& value) { SetPillarSpecificAggregates(std::forward<PillarSpecificAggregatesT>(value)); return *this;}
158
160
163 inline const Aws::Vector<RecommendationPillar>& GetPillars() const { return m_pillars; }
164 inline bool PillarsHasBeenSet() const { return m_pillarsHasBeenSet; }
165 template<typename PillarsT = Aws::Vector<RecommendationPillar>>
166 void SetPillars(PillarsT&& value) { m_pillarsHasBeenSet = true; m_pillars = std::forward<PillarsT>(value); }
167 template<typename PillarsT = Aws::Vector<RecommendationPillar>>
168 OrganizationRecommendationSummary& WithPillars(PillarsT&& value) { SetPillars(std::forward<PillarsT>(value)); return *this;}
169 inline OrganizationRecommendationSummary& AddPillars(RecommendationPillar value) { m_pillarsHasBeenSet = true; m_pillars.push_back(value); return *this; }
171
173
176 inline const RecommendationResourcesAggregates& GetResourcesAggregates() const { return m_resourcesAggregates; }
177 inline bool ResourcesAggregatesHasBeenSet() const { return m_resourcesAggregatesHasBeenSet; }
178 template<typename ResourcesAggregatesT = RecommendationResourcesAggregates>
179 void SetResourcesAggregates(ResourcesAggregatesT&& value) { m_resourcesAggregatesHasBeenSet = true; m_resourcesAggregates = std::forward<ResourcesAggregatesT>(value); }
180 template<typename ResourcesAggregatesT = RecommendationResourcesAggregates>
181 OrganizationRecommendationSummary& WithResourcesAggregates(ResourcesAggregatesT&& value) { SetResourcesAggregates(std::forward<ResourcesAggregatesT>(value)); return *this;}
183
185
188 inline RecommendationSource GetSource() const { return m_source; }
189 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
190 inline void SetSource(RecommendationSource value) { m_sourceHasBeenSet = true; m_source = value; }
193
195
198 inline RecommendationStatus GetStatus() const { return m_status; }
199 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
200 inline void SetStatus(RecommendationStatus value) { m_statusHasBeenSet = true; m_status = value; }
203
205
209 inline RecommendationType GetType() const { return m_type; }
210 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
211 inline void SetType(RecommendationType value) { m_typeHasBeenSet = true; m_type = value; }
214 private:
215
216 Aws::String m_arn;
217 bool m_arnHasBeenSet = false;
218
219 Aws::Vector<Aws::String> m_awsServices;
220 bool m_awsServicesHasBeenSet = false;
221
222 Aws::String m_checkArn;
223 bool m_checkArnHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createdAt{};
226 bool m_createdAtHasBeenSet = false;
227
228 Aws::String m_id;
229 bool m_idHasBeenSet = false;
230
231 Aws::Utils::DateTime m_lastUpdatedAt{};
232 bool m_lastUpdatedAtHasBeenSet = false;
233
235 bool m_lifecycleStageHasBeenSet = false;
236
237 Aws::String m_name;
238 bool m_nameHasBeenSet = false;
239
240 RecommendationPillarSpecificAggregates m_pillarSpecificAggregates;
241 bool m_pillarSpecificAggregatesHasBeenSet = false;
242
244 bool m_pillarsHasBeenSet = false;
245
246 RecommendationResourcesAggregates m_resourcesAggregates;
247 bool m_resourcesAggregatesHasBeenSet = false;
248
250 bool m_sourceHasBeenSet = false;
251
253 bool m_statusHasBeenSet = false;
254
256 bool m_typeHasBeenSet = false;
257 };
258
259} // namespace Model
260} // namespace TrustedAdvisor
261} // namespace Aws
OrganizationRecommendationSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
OrganizationRecommendationSummary & WithSource(RecommendationSource value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
const RecommendationPillarSpecificAggregates & GetPillarSpecificAggregates() const
const RecommendationResourcesAggregates & GetResourcesAggregates() const
OrganizationRecommendationSummary & WithCreatedAt(CreatedAtT &&value)
OrganizationRecommendationSummary & AddPillars(RecommendationPillar value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationRecommendationSummary & WithAwsServices(AwsServicesT &&value)
OrganizationRecommendationSummary & AddAwsServices(AwsServicesT &&value)
OrganizationRecommendationSummary & WithPillarSpecificAggregates(PillarSpecificAggregatesT &&value)
OrganizationRecommendationSummary & WithLifecycleStage(RecommendationLifecycleStage value)
AWS_TRUSTEDADVISOR_API OrganizationRecommendationSummary()=default
OrganizationRecommendationSummary & WithCheckArn(CheckArnT &&value)
OrganizationRecommendationSummary & WithType(RecommendationType value)
OrganizationRecommendationSummary & WithStatus(RecommendationStatus value)
OrganizationRecommendationSummary & WithPillars(PillarsT &&value)
OrganizationRecommendationSummary & WithResourcesAggregates(ResourcesAggregatesT &&value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue