AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
ContextContent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
10#include <aws/wellarchitected/model/ApplicationType.h>
11#include <aws/wellarchitected/model/ContextResourceTag.h>
12#include <aws/wellarchitected/model/Criticality.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WellArchitected {
24namespace Model {
25
34 public:
35 AWS_WELLARCHITECTED_API ContextContent() = default;
36 AWS_WELLARCHITECTED_API ContextContent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_WELLARCHITECTED_API ContextContent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::Vector<Aws::String>& GetAccountIds() const { return m_accountIds; }
46 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
47 template <typename AccountIdsT = Aws::Vector<Aws::String>>
48 void SetAccountIds(AccountIdsT&& value) {
49 m_accountIdsHasBeenSet = true;
50 m_accountIds = std::forward<AccountIdsT>(value);
51 }
52 template <typename AccountIdsT = Aws::Vector<Aws::String>>
53 ContextContent& WithAccountIds(AccountIdsT&& value) {
54 SetAccountIds(std::forward<AccountIdsT>(value));
55 return *this;
56 }
57 template <typename AccountIdsT = Aws::String>
58 ContextContent& AddAccountIds(AccountIdsT&& value) {
59 m_accountIdsHasBeenSet = true;
60 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
70 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
71 template <typename RegionsT = Aws::Vector<Aws::String>>
72 void SetRegions(RegionsT&& value) {
73 m_regionsHasBeenSet = true;
74 m_regions = std::forward<RegionsT>(value);
75 }
76 template <typename RegionsT = Aws::Vector<Aws::String>>
77 ContextContent& WithRegions(RegionsT&& value) {
78 SetRegions(std::forward<RegionsT>(value));
79 return *this;
80 }
81 template <typename RegionsT = Aws::String>
82 ContextContent& AddRegions(RegionsT&& value) {
83 m_regionsHasBeenSet = true;
84 m_regions.emplace_back(std::forward<RegionsT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetAwsServices() const { return m_awsServices; }
94 inline bool AwsServicesHasBeenSet() const { return m_awsServicesHasBeenSet; }
95 template <typename AwsServicesT = Aws::Vector<Aws::String>>
96 void SetAwsServices(AwsServicesT&& value) {
97 m_awsServicesHasBeenSet = true;
98 m_awsServices = std::forward<AwsServicesT>(value);
99 }
100 template <typename AwsServicesT = Aws::Vector<Aws::String>>
101 ContextContent& WithAwsServices(AwsServicesT&& value) {
102 SetAwsServices(std::forward<AwsServicesT>(value));
103 return *this;
104 }
105 template <typename AwsServicesT = Aws::String>
106 ContextContent& AddAwsServices(AwsServicesT&& value) {
107 m_awsServicesHasBeenSet = true;
108 m_awsServices.emplace_back(std::forward<AwsServicesT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<Aws::String>& GetResourceTypes() const { return m_resourceTypes; }
118 inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
119 template <typename ResourceTypesT = Aws::Vector<Aws::String>>
120 void SetResourceTypes(ResourceTypesT&& value) {
121 m_resourceTypesHasBeenSet = true;
122 m_resourceTypes = std::forward<ResourceTypesT>(value);
123 }
124 template <typename ResourceTypesT = Aws::Vector<Aws::String>>
125 ContextContent& WithResourceTypes(ResourceTypesT&& value) {
126 SetResourceTypes(std::forward<ResourceTypesT>(value));
127 return *this;
128 }
129 template <typename ResourceTypesT = Aws::String>
130 ContextContent& AddResourceTypes(ResourceTypesT&& value) {
131 m_resourceTypesHasBeenSet = true;
132 m_resourceTypes.emplace_back(std::forward<ResourceTypesT>(value));
133 return *this;
134 }
136
138
141 inline const Aws::Vector<ContextResourceTag>& GetResourceTags() const { return m_resourceTags; }
142 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
143 template <typename ResourceTagsT = Aws::Vector<ContextResourceTag>>
144 void SetResourceTags(ResourceTagsT&& value) {
145 m_resourceTagsHasBeenSet = true;
146 m_resourceTags = std::forward<ResourceTagsT>(value);
147 }
148 template <typename ResourceTagsT = Aws::Vector<ContextResourceTag>>
149 ContextContent& WithResourceTags(ResourceTagsT&& value) {
150 SetResourceTags(std::forward<ResourceTagsT>(value));
151 return *this;
152 }
153 template <typename ResourceTagsT = ContextResourceTag>
154 ContextContent& AddResourceTags(ResourceTagsT&& value) {
155 m_resourceTagsHasBeenSet = true;
156 m_resourceTags.emplace_back(std::forward<ResourceTagsT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::String& GetApplicationOverview() const { return m_applicationOverview; }
166 inline bool ApplicationOverviewHasBeenSet() const { return m_applicationOverviewHasBeenSet; }
167 template <typename ApplicationOverviewT = Aws::String>
168 void SetApplicationOverview(ApplicationOverviewT&& value) {
169 m_applicationOverviewHasBeenSet = true;
170 m_applicationOverview = std::forward<ApplicationOverviewT>(value);
171 }
172 template <typename ApplicationOverviewT = Aws::String>
173 ContextContent& WithApplicationOverview(ApplicationOverviewT&& value) {
174 SetApplicationOverview(std::forward<ApplicationOverviewT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetIndustry() const { return m_industry; }
184 inline bool IndustryHasBeenSet() const { return m_industryHasBeenSet; }
185 template <typename IndustryT = Aws::String>
186 void SetIndustry(IndustryT&& value) {
187 m_industryHasBeenSet = true;
188 m_industry = std::forward<IndustryT>(value);
189 }
190 template <typename IndustryT = Aws::String>
191 ContextContent& WithIndustry(IndustryT&& value) {
192 SetIndustry(std::forward<IndustryT>(value));
193 return *this;
194 }
196
198
201 inline ApplicationType GetApplicationType() const { return m_applicationType; }
202 inline bool ApplicationTypeHasBeenSet() const { return m_applicationTypeHasBeenSet; }
204 m_applicationTypeHasBeenSet = true;
205 m_applicationType = value;
206 }
208 SetApplicationType(value);
209 return *this;
210 }
212
214
217 inline Criticality GetCriticality() const { return m_criticality; }
218 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
219 inline void SetCriticality(Criticality value) {
220 m_criticalityHasBeenSet = true;
221 m_criticality = value;
222 }
224 SetCriticality(value);
225 return *this;
226 }
228
230
233 inline const Aws::String& GetArchitectureOverview() const { return m_architectureOverview; }
234 inline bool ArchitectureOverviewHasBeenSet() const { return m_architectureOverviewHasBeenSet; }
235 template <typename ArchitectureOverviewT = Aws::String>
236 void SetArchitectureOverview(ArchitectureOverviewT&& value) {
237 m_architectureOverviewHasBeenSet = true;
238 m_architectureOverview = std::forward<ArchitectureOverviewT>(value);
239 }
240 template <typename ArchitectureOverviewT = Aws::String>
241 ContextContent& WithArchitectureOverview(ArchitectureOverviewT&& value) {
242 SetArchitectureOverview(std::forward<ArchitectureOverviewT>(value));
243 return *this;
244 }
246
248
251 inline const Aws::String& GetAdditionalContext() const { return m_additionalContext; }
252 inline bool AdditionalContextHasBeenSet() const { return m_additionalContextHasBeenSet; }
253 template <typename AdditionalContextT = Aws::String>
254 void SetAdditionalContext(AdditionalContextT&& value) {
255 m_additionalContextHasBeenSet = true;
256 m_additionalContext = std::forward<AdditionalContextT>(value);
257 }
258 template <typename AdditionalContextT = Aws::String>
259 ContextContent& WithAdditionalContext(AdditionalContextT&& value) {
260 SetAdditionalContext(std::forward<AdditionalContextT>(value));
261 return *this;
262 }
264 private:
265 Aws::Vector<Aws::String> m_accountIds;
266
267 Aws::Vector<Aws::String> m_regions;
268
269 Aws::Vector<Aws::String> m_awsServices;
270
271 Aws::Vector<Aws::String> m_resourceTypes;
272
273 Aws::Vector<ContextResourceTag> m_resourceTags;
274
275 Aws::String m_applicationOverview;
276
277 Aws::String m_industry;
278
279 ApplicationType m_applicationType{ApplicationType::NOT_SET};
280
281 Criticality m_criticality{Criticality::NOT_SET};
282
283 Aws::String m_architectureOverview;
284
285 Aws::String m_additionalContext;
286 bool m_accountIdsHasBeenSet = false;
287 bool m_regionsHasBeenSet = false;
288 bool m_awsServicesHasBeenSet = false;
289 bool m_resourceTypesHasBeenSet = false;
290 bool m_resourceTagsHasBeenSet = false;
291 bool m_applicationOverviewHasBeenSet = false;
292 bool m_industryHasBeenSet = false;
293 bool m_applicationTypeHasBeenSet = false;
294 bool m_criticalityHasBeenSet = false;
295 bool m_architectureOverviewHasBeenSet = false;
296 bool m_additionalContextHasBeenSet = false;
297};
298
299} // namespace Model
300} // namespace WellArchitected
301} // namespace Aws
const Aws::String & GetAdditionalContext() const
AWS_WELLARCHITECTED_API ContextContent(Aws::Utils::Json::JsonView jsonValue)
ContextContent & WithApplicationOverview(ApplicationOverviewT &&value)
ContextContent & WithAwsServices(AwsServicesT &&value)
const Aws::Vector< Aws::String > & GetAccountIds() const
ContextContent & WithResourceTypes(ResourceTypesT &&value)
ContextContent & WithCriticality(Criticality value)
ContextContent & WithArchitectureOverview(ArchitectureOverviewT &&value)
const Aws::Vector< Aws::String > & GetResourceTypes() const
ContextContent & WithResourceTags(ResourceTagsT &&value)
ContextContent & WithApplicationType(ApplicationType value)
AWS_WELLARCHITECTED_API ContextContent()=default
ContextContent & AddAccountIds(AccountIdsT &&value)
void SetResourceTags(ResourceTagsT &&value)
const Aws::Vector< ContextResourceTag > & GetResourceTags() const
const Aws::String & GetArchitectureOverview() const
ContextContent & AddResourceTypes(ResourceTypesT &&value)
ContextContent & AddResourceTags(ResourceTagsT &&value)
ContextContent & WithRegions(RegionsT &&value)
AWS_WELLARCHITECTED_API ContextContent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsServices(AwsServicesT &&value)
ContextContent & WithIndustry(IndustryT &&value)
const Aws::Vector< Aws::String > & GetAwsServices() const
void SetAdditionalContext(AdditionalContextT &&value)
void SetResourceTypes(ResourceTypesT &&value)
void SetApplicationOverview(ApplicationOverviewT &&value)
const Aws::String & GetApplicationOverview() const
AWS_WELLARCHITECTED_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetRegions() const
ContextContent & AddAwsServices(AwsServicesT &&value)
void SetArchitectureOverview(ArchitectureOverviewT &&value)
ContextContent & WithAccountIds(AccountIdsT &&value)
void SetApplicationType(ApplicationType value)
ContextContent & WithAdditionalContext(AdditionalContextT &&value)
ContextContent & AddRegions(RegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue