AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProactiveOrganizationInsightSummary.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace DevOpsGuru
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary() = default;
44 AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const { return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 ProactiveOrganizationInsightSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
67 template<typename AccountIdT = Aws::String>
68 ProactiveOrganizationInsightSummary& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetOrganizationalUnitId() const { return m_organizationalUnitId; }
76 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
77 template<typename OrganizationalUnitIdT = Aws::String>
78 void SetOrganizationalUnitId(OrganizationalUnitIdT&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value); }
79 template<typename OrganizationalUnitIdT = Aws::String>
80 ProactiveOrganizationInsightSummary& WithOrganizationalUnitId(OrganizationalUnitIdT&& value) { SetOrganizationalUnitId(std::forward<OrganizationalUnitIdT>(value)); return *this;}
82
84
87 inline const Aws::String& GetName() const { return m_name; }
88 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
89 template<typename NameT = Aws::String>
90 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
91 template<typename NameT = Aws::String>
92 ProactiveOrganizationInsightSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
94
96
102 inline InsightSeverity GetSeverity() const { return m_severity; }
103 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
104 inline void SetSeverity(InsightSeverity value) { m_severityHasBeenSet = true; m_severity = value; }
107
109
112 inline InsightStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(InsightStatus value) { m_statusHasBeenSet = true; m_status = value; }
117
119
120 inline const InsightTimeRange& GetInsightTimeRange() const { return m_insightTimeRange; }
121 inline bool InsightTimeRangeHasBeenSet() const { return m_insightTimeRangeHasBeenSet; }
122 template<typename InsightTimeRangeT = InsightTimeRange>
123 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet = true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
124 template<typename InsightTimeRangeT = InsightTimeRange>
125 ProactiveOrganizationInsightSummary& WithInsightTimeRange(InsightTimeRangeT&& value) { SetInsightTimeRange(std::forward<InsightTimeRangeT>(value)); return *this;}
127
129
130 inline const PredictionTimeRange& GetPredictionTimeRange() const { return m_predictionTimeRange; }
131 inline bool PredictionTimeRangeHasBeenSet() const { return m_predictionTimeRangeHasBeenSet; }
132 template<typename PredictionTimeRangeT = PredictionTimeRange>
133 void SetPredictionTimeRange(PredictionTimeRangeT&& value) { m_predictionTimeRangeHasBeenSet = true; m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value); }
134 template<typename PredictionTimeRangeT = PredictionTimeRange>
135 ProactiveOrganizationInsightSummary& WithPredictionTimeRange(PredictionTimeRangeT&& value) { SetPredictionTimeRange(std::forward<PredictionTimeRangeT>(value)); return *this;}
137
139
140 inline const ResourceCollection& GetResourceCollection() const { return m_resourceCollection; }
141 inline bool ResourceCollectionHasBeenSet() const { return m_resourceCollectionHasBeenSet; }
142 template<typename ResourceCollectionT = ResourceCollection>
143 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet = true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
144 template<typename ResourceCollectionT = ResourceCollection>
145 ProactiveOrganizationInsightSummary& WithResourceCollection(ResourceCollectionT&& value) { SetResourceCollection(std::forward<ResourceCollectionT>(value)); return *this;}
147
149
150 inline const ServiceCollection& GetServiceCollection() const { return m_serviceCollection; }
151 inline bool ServiceCollectionHasBeenSet() const { return m_serviceCollectionHasBeenSet; }
152 template<typename ServiceCollectionT = ServiceCollection>
153 void SetServiceCollection(ServiceCollectionT&& value) { m_serviceCollectionHasBeenSet = true; m_serviceCollection = std::forward<ServiceCollectionT>(value); }
154 template<typename ServiceCollectionT = ServiceCollection>
155 ProactiveOrganizationInsightSummary& WithServiceCollection(ServiceCollectionT&& value) { SetServiceCollection(std::forward<ServiceCollectionT>(value)); return *this;}
157 private:
158
159 Aws::String m_id;
160 bool m_idHasBeenSet = false;
161
162 Aws::String m_accountId;
163 bool m_accountIdHasBeenSet = false;
164
165 Aws::String m_organizationalUnitId;
166 bool m_organizationalUnitIdHasBeenSet = false;
167
168 Aws::String m_name;
169 bool m_nameHasBeenSet = false;
170
172 bool m_severityHasBeenSet = false;
173
175 bool m_statusHasBeenSet = false;
176
177 InsightTimeRange m_insightTimeRange;
178 bool m_insightTimeRangeHasBeenSet = false;
179
180 PredictionTimeRange m_predictionTimeRange;
181 bool m_predictionTimeRangeHasBeenSet = false;
182
183 ResourceCollection m_resourceCollection;
184 bool m_resourceCollectionHasBeenSet = false;
185
186 ServiceCollection m_serviceCollection;
187 bool m_serviceCollectionHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace DevOpsGuru
192} // 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