7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cost-optimization-hub/model/ResourceType.h>
10#include <aws/cost-optimization-hub/model/Source.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cost-optimization-hub/model/ImplementationEffort.h>
13#include <aws/cost-optimization-hub/model/ActionType.h>
14#include <aws/cost-optimization-hub/model/ResourceDetails.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/cost-optimization-hub/model/Tag.h>
21template<
typename RESULT_TYPE>
22class AmazonWebServiceResult;
31namespace CostOptimizationHub
64 inline void SetResourceId(
const char* value) { m_resourceId.assign(value); }
77 inline void SetResourceArn(
const char* value) { m_resourceArn.assign(value); }
90 inline void SetAccountId(
const char* value) { m_accountId.assign(value); }
176 inline void SetRegion(
const char* value) { m_region.assign(value); }
304 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
321 int m_recommendationLookbackPeriodInDays;
323 int m_costCalculationLookbackPeriodInDays;
325 double m_estimatedSavingsPercentage;
327 double m_estimatedSavingsOverCostCalculationLookbackPeriod;
339 double m_estimatedMonthlySavings;
341 double m_estimatedMonthlyCost;
345 bool m_restartNeeded;
349 bool m_rollbackPossible;
void SetResourceArn(const char *value)
void SetCostCalculationLookbackPeriodInDays(int value)
GetRecommendationResult & WithEstimatedSavingsOverCostCalculationLookbackPeriod(double value)
GetRecommendationResult & WithRequestId(const char *value)
void SetResourceId(const Aws::String &value)
GetRecommendationResult & WithRecommendedResourceType(ResourceType &&value)
GetRecommendationResult & WithLastRefreshTimestamp(const Aws::Utils::DateTime &value)
void SetRequestId(const char *value)
void SetImplementationEffort(const ImplementationEffort &value)
void SetAccountId(const Aws::String &value)
void SetImplementationEffort(ImplementationEffort &&value)
GetRecommendationResult & WithRegion(const char *value)
GetRecommendationResult & WithRecommendationId(const Aws::String &value)
void SetRecommendedResourceType(ResourceType &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetRequestId(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API GetRecommendationResult()
GetRecommendationResult & WithLastRefreshTimestamp(Aws::Utils::DateTime &&value)
const ImplementationEffort & GetImplementationEffort() const
void SetRecommendedResourceDetails(ResourceDetails &&value)
GetRecommendationResult & WithRestartNeeded(bool value)
GetRecommendationResult & WithCurrencyCode(const char *value)
void SetRollbackPossible(bool value)
void SetActionType(ActionType &&value)
void SetRegion(const Aws::String &value)
GetRecommendationResult & WithTags(Aws::Vector< Tag > &&value)
void SetLastRefreshTimestamp(Aws::Utils::DateTime &&value)
GetRecommendationResult & WithTags(const Aws::Vector< Tag > &value)
void SetResourceArn(const Aws::String &value)
const Aws::String & GetRequestId() const
GetRecommendationResult & WithActionType(ActionType &&value)
GetRecommendationResult & WithSource(Source &&value)
const Aws::Utils::DateTime & GetLastRefreshTimestamp() const
const Aws::String & GetAccountId() const
void SetCurrencyCode(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetEstimatedMonthlySavings(double value)
void SetSource(Source &&value)
void SetRecommendedResourceDetails(const ResourceDetails &value)
GetRecommendationResult & WithCurrentResourceType(const ResourceType &value)
int GetCostCalculationLookbackPeriodInDays() const
double GetEstimatedSavingsPercentage() const
void SetEstimatedSavingsPercentage(double value)
GetRecommendationResult & WithResourceArn(const Aws::String &value)
GetRecommendationResult & WithActionType(const ActionType &value)
void SetRecommendationLookbackPeriodInDays(int value)
void SetRegion(const char *value)
GetRecommendationResult & WithEstimatedSavingsPercentage(double value)
GetRecommendationResult & WithRecommendedResourceType(const ResourceType &value)
GetRecommendationResult & WithSource(const Source &value)
double GetEstimatedMonthlySavings() const
void SetEstimatedSavingsOverCostCalculationLookbackPeriod(double value)
void SetCurrentResourceDetails(const ResourceDetails &value)
const ResourceDetails & GetRecommendedResourceDetails() const
const Aws::Vector< Tag > & GetTags() const
void SetRecommendationId(const char *value)
void SetRecommendationId(Aws::String &&value)
void SetResourceId(const char *value)
const ResourceDetails & GetCurrentResourceDetails() const
GetRecommendationResult & WithCostCalculationLookbackPeriodInDays(int value)
GetRecommendationResult & WithCurrentResourceDetails(ResourceDetails &&value)
const Aws::String & GetResourceArn() const
void SetRecommendationId(const Aws::String &value)
const Aws::String & GetCurrencyCode() const
GetRecommendationResult & WithEstimatedMonthlyCost(double value)
double GetEstimatedMonthlyCost() const
void SetAccountId(Aws::String &&value)
double GetEstimatedSavingsOverCostCalculationLookbackPeriod() const
const Aws::String & GetRecommendationId() const
GetRecommendationResult & WithImplementationEffort(const ImplementationEffort &value)
GetRecommendationResult & WithAccountId(const Aws::String &value)
GetRecommendationResult & WithResourceId(const char *value)
void SetCurrentResourceType(const ResourceType &value)
void SetRestartNeeded(bool value)
void SetCurrencyCode(const Aws::String &value)
bool GetRollbackPossible() const
GetRecommendationResult & WithRollbackPossible(bool value)
GetRecommendationResult & WithImplementationEffort(ImplementationEffort &&value)
void SetRegion(Aws::String &&value)
GetRecommendationResult & WithRecommendationLookbackPeriodInDays(int value)
GetRecommendationResult & WithEstimatedMonthlySavings(double value)
GetRecommendationResult & WithRecommendationId(Aws::String &&value)
const ResourceType & GetCurrentResourceType() const
void SetCurrentResourceDetails(ResourceDetails &&value)
GetRecommendationResult & WithRecommendedResourceDetails(const ResourceDetails &value)
void SetResourceArn(Aws::String &&value)
void SetCurrencyCode(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetRecommendationResult & WithRecommendedResourceDetails(ResourceDetails &&value)
GetRecommendationResult & WithResourceId(const Aws::String &value)
void SetEstimatedMonthlyCost(double value)
GetRecommendationResult & WithCurrentResourceDetails(const ResourceDetails &value)
const Aws::String & GetRegion() const
const ResourceType & GetRecommendedResourceType() const
const Aws::String & GetResourceId() const
void SetSource(const Source &value)
bool GetRestartNeeded() const
const ActionType & GetActionType() const
GetRecommendationResult & WithResourceArn(const char *value)
void SetLastRefreshTimestamp(const Aws::Utils::DateTime &value)
int GetRecommendationLookbackPeriodInDays() const
GetRecommendationResult & AddTags(Tag &&value)
GetRecommendationResult & AddTags(const Tag &value)
GetRecommendationResult & WithRequestId(const Aws::String &value)
GetRecommendationResult & WithRegion(Aws::String &&value)
GetRecommendationResult & WithCurrencyCode(Aws::String &&value)
void SetResourceId(Aws::String &&value)
AWS_COSTOPTIMIZATIONHUB_API GetRecommendationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRecommendationResult & WithCurrencyCode(const Aws::String &value)
const Source & GetSource() const
GetRecommendationResult & WithRequestId(Aws::String &&value)
void SetActionType(const ActionType &value)
GetRecommendationResult & WithCurrentResourceType(ResourceType &&value)
void SetCurrentResourceType(ResourceType &&value)
void SetAccountId(const char *value)
AWS_COSTOPTIMIZATIONHUB_API GetRecommendationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRecommendationResult & WithRecommendationId(const char *value)
GetRecommendationResult & WithResourceArn(Aws::String &&value)
GetRecommendationResult & WithAccountId(Aws::String &&value)
void SetRecommendedResourceType(const ResourceType &value)
GetRecommendationResult & WithAccountId(const char *value)
GetRecommendationResult & WithRegion(const Aws::String &value)
GetRecommendationResult & WithResourceId(Aws::String &&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