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>
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
65 template <
typename AccountIdT = Aws::String>
67 m_accountIdHasBeenSet =
true;
68 m_accountId = std::forward<AccountIdT>(value);
70 template <
typename AccountIdT = Aws::String>
83 template <
typename OrganizationalUnitIdT = Aws::String>
85 m_organizationalUnitIdHasBeenSet =
true;
86 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
88 template <
typename OrganizationalUnitIdT = Aws::String>
101 template <
typename NameT = Aws::String>
103 m_nameHasBeenSet =
true;
104 m_name = std::forward<NameT>(value);
106 template <
typename NameT = Aws::String>
108 SetName(std::forward<NameT>(value));
123 m_severityHasBeenSet =
true;
139 m_statusHasBeenSet =
true;
152 template <
typename InsightTimeRangeT = InsightTimeRange>
154 m_insightTimeRangeHasBeenSet =
true;
155 m_insightTimeRange = std::forward<InsightTimeRangeT>(value);
157 template <
typename InsightTimeRangeT = InsightTimeRange>
168 template <
typename PredictionTimeRangeT = PredictionTimeRange>
170 m_predictionTimeRangeHasBeenSet =
true;
171 m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value);
173 template <
typename PredictionTimeRangeT = PredictionTimeRange>
184 template <
typename ResourceCollectionT = ResourceCollection>
186 m_resourceCollectionHasBeenSet =
true;
187 m_resourceCollection = std::forward<ResourceCollectionT>(value);
189 template <
typename ResourceCollectionT = ResourceCollection>
200 template <
typename ServiceCollectionT = ServiceCollection>
202 m_serviceCollectionHasBeenSet =
true;
203 m_serviceCollection = std::forward<ServiceCollectionT>(value);
205 template <
typename ServiceCollectionT = ServiceCollection>
224 InsightTimeRange m_insightTimeRange;
226 PredictionTimeRange m_predictionTimeRange;
228 ResourceCollection m_resourceCollection;
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;
ProactiveOrganizationInsightSummary & WithStatus(InsightStatus value)
bool ResourceCollectionHasBeenSet() const
ProactiveOrganizationInsightSummary & WithInsightTimeRange(InsightTimeRangeT &&value)
void SetStatus(InsightStatus value)
void SetResourceCollection(ResourceCollectionT &&value)
const ResourceCollection & GetResourceCollection() const
void SetAccountId(AccountIdT &&value)
bool InsightTimeRangeHasBeenSet() const
const PredictionTimeRange & GetPredictionTimeRange() const
ProactiveOrganizationInsightSummary & WithPredictionTimeRange(PredictionTimeRangeT &&value)
bool ServiceCollectionHasBeenSet() const
bool PredictionTimeRangeHasBeenSet() const
AWS_DEVOPSGURU_API Aws::Utils::Json::JsonValue Jsonize() const
bool AccountIdHasBeenSet() const
bool OrganizationalUnitIdHasBeenSet() const
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary()=default
const Aws::String & GetName() const
ProactiveOrganizationInsightSummary & WithResourceCollection(ResourceCollectionT &&value)
InsightSeverity GetSeverity() const
void SetName(NameT &&value)
ProactiveOrganizationInsightSummary & WithSeverity(InsightSeverity value)
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
void SetInsightTimeRange(InsightTimeRangeT &&value)
ProactiveOrganizationInsightSummary & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
ProactiveOrganizationInsightSummary & WithName(NameT &&value)
const Aws::String & GetOrganizationalUnitId() const
bool NameHasBeenSet() const
void SetServiceCollection(ServiceCollectionT &&value)
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSeverity(InsightSeverity value)
bool SeverityHasBeenSet() const
const Aws::String & GetId() const
const Aws::String & GetAccountId() const
ProactiveOrganizationInsightSummary & WithAccountId(AccountIdT &&value)
void SetPredictionTimeRange(PredictionTimeRangeT &&value)
bool StatusHasBeenSet() const
AWS_DEVOPSGURU_API ProactiveOrganizationInsightSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceCollection & GetServiceCollection() const
ProactiveOrganizationInsightSummary & WithServiceCollection(ServiceCollectionT &&value)
const InsightTimeRange & GetInsightTimeRange() const
bool IdHasBeenSet() const
InsightStatus GetStatus() const
ProactiveOrganizationInsightSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue