7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cost-optimization-hub/model/Source.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cost-optimization-hub/model/Tag.h>
25namespace CostOptimizationHub
52 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
66 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
80 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
94 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
108 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
122 inline void SetCurrentResourceType(
const char* value) { m_currentResourceTypeHasBeenSet =
true; m_currentResourceType.assign(value); }
136 inline void SetRecommendedResourceType(
const char* value) { m_recommendedResourceTypeHasBeenSet =
true; m_recommendedResourceType.assign(value); }
170 inline void SetEstimatedMonthlyCost(
double value) { m_estimatedMonthlyCostHasBeenSet =
true; m_estimatedMonthlyCost = value; }
182 inline void SetCurrencyCode(
const char* value) { m_currencyCodeHasBeenSet =
true; m_currencyCode.assign(value); }
196 inline void SetImplementationEffort(
const char* value) { m_implementationEffortHasBeenSet =
true; m_implementationEffort.assign(value); }
208 inline void SetRestartNeeded(
bool value) { m_restartNeededHasBeenSet =
true; m_restartNeeded = value; }
220 inline void SetActionType(
const char* value) { m_actionTypeHasBeenSet =
true; m_actionType.assign(value); }
232 inline void SetRollbackPossible(
bool value) { m_rollbackPossibleHasBeenSet =
true; m_rollbackPossible = value; }
244 inline void SetCurrentResourceSummary(
const char* value) { m_currentResourceSummaryHasBeenSet =
true; m_currentResourceSummary.assign(value); }
292 inline void SetSource(
const Source& value) { m_sourceHasBeenSet =
true; m_source = value; }
293 inline void SetSource(
Source&& value) { m_sourceHasBeenSet =
true; m_source = std::move(value); }
314 bool m_recommendationIdHasBeenSet =
false;
317 bool m_accountIdHasBeenSet =
false;
320 bool m_regionHasBeenSet =
false;
323 bool m_resourceIdHasBeenSet =
false;
326 bool m_resourceArnHasBeenSet =
false;
329 bool m_currentResourceTypeHasBeenSet =
false;
332 bool m_recommendedResourceTypeHasBeenSet =
false;
334 double m_estimatedMonthlySavings;
335 bool m_estimatedMonthlySavingsHasBeenSet =
false;
337 double m_estimatedSavingsPercentage;
338 bool m_estimatedSavingsPercentageHasBeenSet =
false;
340 double m_estimatedMonthlyCost;
341 bool m_estimatedMonthlyCostHasBeenSet =
false;
344 bool m_currencyCodeHasBeenSet =
false;
347 bool m_implementationEffortHasBeenSet =
false;
349 bool m_restartNeeded;
350 bool m_restartNeededHasBeenSet =
false;
353 bool m_actionTypeHasBeenSet =
false;
355 bool m_rollbackPossible;
356 bool m_rollbackPossibleHasBeenSet =
false;
359 bool m_currentResourceSummaryHasBeenSet =
false;
362 bool m_recommendedResourceSummaryHasBeenSet =
false;
365 bool m_lastRefreshTimestampHasBeenSet =
false;
367 int m_recommendationLookbackPeriodInDays;
368 bool m_recommendationLookbackPeriodInDaysHasBeenSet =
false;
371 bool m_sourceHasBeenSet =
false;
374 bool m_tagsHasBeenSet =
false;
void SetRecommendedResourceSummary(Aws::String &&value)
Recommendation & WithCurrentResourceType(const char *value)
Recommendation & WithAccountId(const char *value)
AWS_COSTOPTIMIZATIONHUB_API Recommendation()
void SetRecommendationLookbackPeriodInDays(int value)
bool RecommendationIdHasBeenSet() const
Recommendation & WithImplementationEffort(const char *value)
bool EstimatedSavingsPercentageHasBeenSet() const
const Aws::String & GetActionType() const
bool GetRollbackPossible() const
void SetRegion(Aws::String &&value)
bool ResourceIdHasBeenSet() const
void SetAccountId(Aws::String &&value)
void SetRegion(const Aws::String &value)
void SetCurrentResourceSummary(Aws::String &&value)
const Aws::String & GetAccountId() const
Recommendation & WithEstimatedSavingsPercentage(double value)
void SetActionType(Aws::String &&value)
Recommendation & WithImplementationEffort(Aws::String &&value)
void SetRestartNeeded(bool value)
void SetEstimatedSavingsPercentage(double value)
Recommendation & WithEstimatedMonthlySavings(double value)
void SetImplementationEffort(Aws::String &&value)
void SetResourceId(const char *value)
bool RegionHasBeenSet() const
Recommendation & WithAccountId(const Aws::String &value)
Recommendation & AddTags(const Tag &value)
Recommendation & WithResourceId(const Aws::String &value)
void SetCurrencyCode(const char *value)
void SetSource(const Source &value)
double GetEstimatedMonthlyCost() const
Recommendation & WithCurrencyCode(Aws::String &&value)
bool ActionTypeHasBeenSet() const
void SetRegion(const char *value)
bool AccountIdHasBeenSet() const
bool RecommendedResourceSummaryHasBeenSet() const
bool CurrentResourceSummaryHasBeenSet() const
Recommendation & WithCurrentResourceSummary(Aws::String &&value)
void SetResourceId(const Aws::String &value)
void SetRecommendedResourceType(const Aws::String &value)
void SetRecommendationId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool SourceHasBeenSet() const
Recommendation & WithRecommendationLookbackPeriodInDays(int value)
void SetTags(const Aws::Vector< Tag > &value)
Recommendation & WithResourceId(const char *value)
Recommendation & WithCurrentResourceType(const Aws::String &value)
Recommendation & WithAccountId(Aws::String &&value)
Recommendation & WithActionType(Aws::String &&value)
bool RecommendedResourceTypeHasBeenSet() const
const Aws::String & GetCurrentResourceSummary() const
void SetCurrentResourceType(Aws::String &&value)
void SetRecommendedResourceType(Aws::String &&value)
bool ResourceArnHasBeenSet() const
Recommendation & WithResourceId(Aws::String &&value)
Recommendation & WithResourceArn(const Aws::String &value)
const Aws::String & GetCurrentResourceType() const
void SetActionType(const char *value)
Recommendation & WithRecommendedResourceType(Aws::String &&value)
Recommendation & WithRestartNeeded(bool value)
int GetRecommendationLookbackPeriodInDays() const
Recommendation & WithCurrencyCode(const char *value)
Recommendation & WithRollbackPossible(bool value)
Recommendation & WithResourceArn(const char *value)
Recommendation & WithActionType(const Aws::String &value)
void SetEstimatedMonthlyCost(double value)
const Aws::String & GetRecommendedResourceSummary() const
Recommendation & WithTags(Aws::Vector< Tag > &&value)
const Source & GetSource() const
void SetResourceArn(const char *value)
void SetImplementationEffort(const Aws::String &value)
void SetCurrencyCode(Aws::String &&value)
Recommendation & WithCurrentResourceSummary(const Aws::String &value)
bool CurrentResourceTypeHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Recommendation & WithLastRefreshTimestamp(const Aws::Utils::DateTime &value)
bool GetRestartNeeded() const
void SetAccountId(const char *value)
Recommendation & WithCurrentResourceSummary(const char *value)
void SetResourceId(Aws::String &&value)
void SetRecommendedResourceType(const char *value)
Recommendation & WithImplementationEffort(const Aws::String &value)
Recommendation & WithSource(const Source &value)
bool LastRefreshTimestampHasBeenSet() const
void SetCurrentResourceType(const Aws::String &value)
const Aws::Utils::DateTime & GetLastRefreshTimestamp() const
void SetRecommendationId(const Aws::String &value)
Recommendation & WithRecommendedResourceSummary(Aws::String &&value)
const Aws::String & GetResourceArn() const
void SetResourceArn(const Aws::String &value)
double GetEstimatedSavingsPercentage() const
Recommendation & WithRecommendedResourceSummary(const char *value)
void SetResourceArn(Aws::String &&value)
Recommendation & WithRecommendedResourceType(const Aws::String &value)
const Aws::String & GetRegion() const
void SetRecommendationId(const char *value)
Recommendation & WithSource(Source &&value)
void SetRecommendedResourceSummary(const char *value)
Recommendation & AddTags(Tag &&value)
Recommendation & WithRecommendedResourceSummary(const Aws::String &value)
bool TagsHasBeenSet() const
void SetCurrencyCode(const Aws::String &value)
const Aws::String & GetResourceId() const
Recommendation & WithRegion(const Aws::String &value)
void SetRollbackPossible(bool value)
Recommendation & WithRecommendationId(const char *value)
bool ImplementationEffortHasBeenSet() const
Recommendation & WithRecommendationId(const Aws::String &value)
Recommendation & WithTags(const Aws::Vector< Tag > &value)
void SetCurrentResourceType(const char *value)
const Aws::String & GetRecommendationId() const
AWS_COSTOPTIMIZATIONHUB_API Recommendation(Aws::Utils::Json::JsonView jsonValue)
void SetLastRefreshTimestamp(Aws::Utils::DateTime &&value)
void SetLastRefreshTimestamp(const Aws::Utils::DateTime &value)
void SetImplementationEffort(const char *value)
void SetSource(Source &&value)
void SetEstimatedMonthlySavings(double value)
void SetAccountId(const Aws::String &value)
bool CurrencyCodeHasBeenSet() const
void SetActionType(const Aws::String &value)
Recommendation & WithRegion(Aws::String &&value)
void SetCurrentResourceSummary(const char *value)
const Aws::String & GetCurrencyCode() const
bool RestartNeededHasBeenSet() const
bool EstimatedMonthlyCostHasBeenSet() const
Recommendation & WithCurrentResourceType(Aws::String &&value)
double GetEstimatedMonthlySavings() const
bool RecommendationLookbackPeriodInDaysHasBeenSet() const
Recommendation & WithRecommendedResourceType(const char *value)
Recommendation & WithLastRefreshTimestamp(Aws::Utils::DateTime &&value)
void SetCurrentResourceSummary(const Aws::String &value)
Recommendation & WithRegion(const char *value)
const Aws::String & GetRecommendedResourceType() const
bool RollbackPossibleHasBeenSet() const
Recommendation & WithResourceArn(Aws::String &&value)
const Aws::String & GetImplementationEffort() const
Recommendation & WithCurrencyCode(const Aws::String &value)
AWS_COSTOPTIMIZATIONHUB_API Recommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
Recommendation & WithRecommendationId(Aws::String &&value)
Recommendation & WithActionType(const char *value)
void SetRecommendedResourceSummary(const Aws::String &value)
Recommendation & WithEstimatedMonthlyCost(double value)
bool EstimatedMonthlySavingsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue