AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ProactiveOrganizationInsightSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
9#include <aws/devops-guru/model/InsightSeverity.h>
10#include <aws/devops-guru/model/InsightStatus.h>
11#include <aws/devops-guru/model/InsightTimeRange.h>
12#include <aws/devops-guru/model/PredictionTimeRange.h>
13#include <aws/devops-guru/model/ResourceCollection.h>
14#include <aws/devops-guru/model/ServiceCollection.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DevOpsGuru {
26namespace Model {
27
35 public:
36 AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary() = default;
39 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetAccountId() const { return m_accountId; }
64 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
65 template <typename AccountIdT = Aws::String>
66 void SetAccountId(AccountIdT&& value) {
67 m_accountIdHasBeenSet = true;
68 m_accountId = std::forward<AccountIdT>(value);
69 }
70 template <typename AccountIdT = Aws::String>
72 SetAccountId(std::forward<AccountIdT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
82 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
83 template <typename OrganizationalUnitIdT = Aws::String>
84 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) {
85 m_organizationalUnitIdHasBeenSet = true;
86 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
87 }
88 template <typename OrganizationalUnitIdT = Aws::String>
90 SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetName() const { return m_name; }
100 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
101 template <typename NameT = Aws::String>
102 void SetName(NameT&& value) {
103 m_nameHasBeenSet = true;
104 m_name = std::forward<NameT>(value);
105 }
106 template <typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
109 return *this;
110 }
112
114
120 inline InsightSeverity GetSeverity() const { return m_severity; }
121 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
122 inline void SetSeverity(InsightSeverity value) {
123 m_severityHasBeenSet = true;
124 m_severity = value;
125 }
127 SetSeverity(value);
128 return *this;
129 }
131
133
136 inline InsightStatus GetStatus() const { return m_status; }
137 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
138 inline void SetStatus(InsightStatus value) {
139 m_statusHasBeenSet = true;
140 m_status = value;
141 }
143 SetStatus(value);
144 return *this;
145 }
147
149
150 inline const InsightTimeRange& GetInsightTimeRange() const { return m_insightTimeRange; }
151 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
152 template <typename InsightTimeRangeT = InsightTimeRange>
153 void SetInsightTimeRange(InsightTimeRangeT&& value) {
154 m_insightTimeRangeHasBeenSet = true;
155 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
156 }
157 template <typename InsightTimeRangeT = InsightTimeRange>
159 SetInsightTimeRange(std::forward<InsightTimeRangeT>(value));
160 return *this;
161 }
163
165
166 inline const PredictionTimeRange& GetPredictionTimeRange() const { return m_predictionTimeRange; }
167 inline bool PredictionTimeRangeHasBeenSet() const { return m_predictionTimeRangeHasBeenSet; }
168 template <typename PredictionTimeRangeT = PredictionTimeRange>
169 void SetPredictionTimeRange(PredictionTimeRangeT&& value) {
170 m_predictionTimeRangeHasBeenSet = true;
171 m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value);
172 }
173 template <typename PredictionTimeRangeT = PredictionTimeRange>
175 SetPredictionTimeRange(std::forward<PredictionTimeRangeT>(value));
176 return *this;
177 }
179
181
182 inline const ResourceCollection& GetResourceCollection() const { return m_resourceCollection; }
183 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
184 template <typename ResourceCollectionT = ResourceCollection>
185 void SetResourceCollection(ResourceCollectionT&& value) {
186 m_resourceCollectionHasBeenSet = true;
187 m_resourceCollection = std::forward<ResourceCollectionT>(value);
188 }
189 template <typename ResourceCollectionT = ResourceCollection>
191 SetResourceCollection(std::forward<ResourceCollectionT>(value));
192 return *this;
193 }
195
197
198 inline const ServiceCollection& GetServiceCollection() const { return m_serviceCollection; }
199 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
200 template <typename ServiceCollectionT = ServiceCollection>
201 void SetServiceCollection(ServiceCollectionT&& value) {
202 m_serviceCollectionHasBeenSet = true;
203 m_serviceCollection = std::forward<ServiceCollectionT>(value);
204 }
205 template <typename ServiceCollectionT = ServiceCollection>
207 SetServiceCollection(std::forward<ServiceCollectionT>(value));
208 return *this;
209 }
211 private:
212 Aws::String m_id;
213
214 Aws::String m_accountId;
215
216 Aws::String m_organizationalUnitId;
217
218 Aws::String m_name;
219
221
223
224 InsightTimeRange m_insightTimeRange;
225
226 PredictionTimeRange m_predictionTimeRange;
227
228 ResourceCollection m_resourceCollection;
229
230 ServiceCollection m_serviceCollection;
231 bool m_idHasBeenSet = false;
232 bool m_accountIdHasBeenSet = false;
233 bool m_organizationalUnitIdHasBeenSet = false;
234 bool m_nameHasBeenSet = false;
235 bool m_severityHasBeenSet = false;
236 bool m_statusHasBeenSet = false;
237 bool m_insightTimeRangeHasBeenSet = false;
238 bool m_predictionTimeRangeHasBeenSet = false;
239 bool m_resourceCollectionHasBeenSet = false;
240 bool m_serviceCollectionHasBeenSet = false;
241};
242
243} // namespace Model
244} // namespace DevOpsGuru
245} // namespace Aws
ProactiveOrganizationInsightSummary & WithStatus(InsightStatus value)
ProactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
ProactiveOrganizationInsightSummary & WithPredictionTimeRange(PredictionTimeRangeT &&value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary()=default
ProactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
ProactiveOrganizationInsightSummary & WithSeverity(InsightSeverity value)
ProactiveOrganizationInsightSummary & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary(Aws::Utils::Json::JsonView jsonValue)
ProactiveOrganizationInsightSummary & WithAccountId(AccountIdT &&value)
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue