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>
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>
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>
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>
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>
122 template<
typename InsightTimeRangeT = InsightTimeRange>
123 void SetInsightTimeRange(InsightTimeRangeT&& value) { m_insightTimeRangeHasBeenSet =
true; m_insightTimeRange = std::forward<InsightTimeRangeT>(value); }
124 template<
typename InsightTimeRangeT = InsightTimeRange>
132 template<
typename PredictionTimeRangeT = PredictionTimeRange>
133 void SetPredictionTimeRange(PredictionTimeRangeT&& value) { m_predictionTimeRangeHasBeenSet =
true; m_predictionTimeRange = std::forward<PredictionTimeRangeT>(value); }
134 template<
typename PredictionTimeRangeT = PredictionTimeRange>
142 template<
typename ResourceCollectionT = ResourceCollection>
143 void SetResourceCollection(ResourceCollectionT&& value) { m_resourceCollectionHasBeenSet =
true; m_resourceCollection = std::forward<ResourceCollectionT>(value); }
144 template<
typename ResourceCollectionT = ResourceCollection>
152 template<
typename ServiceCollectionT = ServiceCollection>
153 void SetServiceCollection(ServiceCollectionT&& value) { m_serviceCollectionHasBeenSet =
true; m_serviceCollection = std::forward<ServiceCollectionT>(value); }
154 template<
typename ServiceCollectionT = ServiceCollection>
160 bool m_idHasBeenSet =
false;
163 bool m_accountIdHasBeenSet =
false;
166 bool m_organizationalUnitIdHasBeenSet =
false;
169 bool m_nameHasBeenSet =
false;
172 bool m_severityHasBeenSet =
false;
175 bool m_statusHasBeenSet =
false;
177 InsightTimeRange m_insightTimeRange;
178 bool m_insightTimeRangeHasBeenSet =
false;
180 PredictionTimeRange m_predictionTimeRange;
181 bool m_predictionTimeRangeHasBeenSet =
false;
183 ResourceCollection m_resourceCollection;
184 bool m_resourceCollectionHasBeenSet =
false;
186 ServiceCollection m_serviceCollection;
187 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