AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ReactiveOrganizationInsightSummary.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/ResourceCollection.h>
13#include <aws/devops-guru/model/ServiceCollection.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DevOpsGuru {
25namespace Model {
26
34 public:
35 AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary() = default;
38 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetAccountId() const { return m_accountId; }
63 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
64 template <typename AccountIdT = Aws::String>
65 void SetAccountId(AccountIdT&& value) {
66 m_accountIdHasBeenSet = true;
67 m_accountId = std::forward<AccountIdT>(value);
68 }
69 template <typename AccountIdT = Aws::String>
71 SetAccountId(std::forward<AccountIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
81 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
82 template <typename OrganizationalUnitIdT = Aws::String>
83 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) {
84 m_organizationalUnitIdHasBeenSet = true;
85 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
86 }
87 template <typename OrganizationalUnitIdT = Aws::String>
89 SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template <typename NameT = Aws::String>
101 void SetName(NameT&& value) {
102 m_nameHasBeenSet = true;
103 m_name = std::forward<NameT>(value);
104 }
105 template <typename NameT = Aws::String>
107 SetName(std::forward<NameT>(value));
108 return *this;
109 }
111
113
119 inline InsightSeverity GetSeverity() const { return m_severity; }
120 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
121 inline void SetSeverity(InsightSeverity value) {
122 m_severityHasBeenSet = true;
123 m_severity = value;
124 }
126 SetSeverity(value);
127 return *this;
128 }
130
132
135 inline InsightStatus GetStatus() const { return m_status; }
136 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
137 inline void SetStatus(InsightStatus value) {
138 m_statusHasBeenSet = true;
139 m_status = value;
140 }
142 SetStatus(value);
143 return *this;
144 }
146
148
149 inline const InsightTimeRange& GetInsightTimeRange() const { return m_insightTimeRange; }
150 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
151 template <typename InsightTimeRangeT = InsightTimeRange>
152 void SetInsightTimeRange(InsightTimeRangeT&& value) {
153 m_insightTimeRangeHasBeenSet = true;
154 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
155 }
156 template <typename InsightTimeRangeT = InsightTimeRange>
158 SetInsightTimeRange(std::forward<InsightTimeRangeT>(value));
159 return *this;
160 }
162
164
165 inline const ResourceCollection& GetResourceCollection() const { return m_resourceCollection; }
166 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
167 template <typename ResourceCollectionT = ResourceCollection>
168 void SetResourceCollection(ResourceCollectionT&& value) {
169 m_resourceCollectionHasBeenSet = true;
170 m_resourceCollection = std::forward<ResourceCollectionT>(value);
171 }
172 template <typename ResourceCollectionT = ResourceCollection>
174 SetResourceCollection(std::forward<ResourceCollectionT>(value));
175 return *this;
176 }
178
180
181 inline const ServiceCollection& GetServiceCollection() const { return m_serviceCollection; }
182 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
183 template <typename ServiceCollectionT = ServiceCollection>
184 void SetServiceCollection(ServiceCollectionT&& value) {
185 m_serviceCollectionHasBeenSet = true;
186 m_serviceCollection = std::forward<ServiceCollectionT>(value);
187 }
188 template <typename ServiceCollectionT = ServiceCollection>
190 SetServiceCollection(std::forward<ServiceCollectionT>(value));
191 return *this;
192 }
194 private:
195 Aws::String m_id;
196
197 Aws::String m_accountId;
198
199 Aws::String m_organizationalUnitId;
200
201 Aws::String m_name;
202
204
206
207 InsightTimeRange m_insightTimeRange;
208
209 ResourceCollection m_resourceCollection;
210
211 ServiceCollection m_serviceCollection;
212 bool m_idHasBeenSet = false;
213 bool m_accountIdHasBeenSet = false;
214 bool m_organizationalUnitIdHasBeenSet = false;
215 bool m_nameHasBeenSet = false;
216 bool m_severityHasBeenSet = false;
217 bool m_statusHasBeenSet = false;
218 bool m_insightTimeRangeHasBeenSet = false;
219 bool m_resourceCollectionHasBeenSet = false;
220 bool m_serviceCollectionHasBeenSet = false;
221};
222
223} // namespace Model
224} // namespace DevOpsGuru
225} // namespace Aws
ReactiveOrganizationInsightSummary & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
ReactiveOrganizationInsightSummary & WithAccountId(AccountIdT &&value)
ReactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
ReactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary()=default
ReactiveOrganizationInsightSummary & WithSeverity(InsightSeverity value)
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
ReactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
ReactiveOrganizationInsightSummary & WithStatus(InsightStatus value)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSGURU_API ReactiveOrganizationInsightSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue