7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/LicenseConfiguration.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/compute-optimizer/model/LicenseFinding.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/compute-optimizer/model/LicenseFindingReasonCode.h>
14#include <aws/compute-optimizer/model/LicenseRecommendationOption.h>
15#include <aws/compute-optimizer/model/Tag.h>
28namespace ComputeOptimizer
56 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
70 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
96 inline void SetLookbackPeriodInDays(
double value) { m_lookbackPeriodInDaysHasBeenSet =
true; m_lookbackPeriodInDays = value; }
187 bool m_resourceArnHasBeenSet =
false;
190 bool m_accountIdHasBeenSet =
false;
193 bool m_currentLicenseConfigurationHasBeenSet =
false;
195 double m_lookbackPeriodInDays;
196 bool m_lookbackPeriodInDaysHasBeenSet =
false;
199 bool m_lastRefreshTimestampHasBeenSet =
false;
202 bool m_findingHasBeenSet =
false;
205 bool m_findingReasonCodesHasBeenSet =
false;
208 bool m_licenseRecommendationOptionsHasBeenSet =
false;
211 bool m_tagsHasBeenSet =
false;
void SetAccountId(Aws::String &&value)
void SetLicenseRecommendationOptions(const Aws::Vector< LicenseRecommendationOption > &value)
const Aws::Vector< LicenseFindingReasonCode > & GetFindingReasonCodes() const
LicenseRecommendation & WithCurrentLicenseConfiguration(const LicenseConfiguration &value)
void SetFindingReasonCodes(Aws::Vector< LicenseFindingReasonCode > &&value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
LicenseRecommendation & AddFindingReasonCodes(LicenseFindingReasonCode &&value)
LicenseRecommendation & WithTags(const Aws::Vector< Tag > &value)
LicenseRecommendation & WithAccountId(const char *value)
const Aws::Utils::DateTime & GetLastRefreshTimestamp() const
LicenseRecommendation & AddLicenseRecommendationOptions(LicenseRecommendationOption &&value)
void SetFinding(const LicenseFinding &value)
bool LastRefreshTimestampHasBeenSet() const
LicenseRecommendation & WithResourceArn(const char *value)
LicenseRecommendation & WithLookbackPeriodInDays(double value)
const Aws::String & GetAccountId() const
void SetLicenseRecommendationOptions(Aws::Vector< LicenseRecommendationOption > &&value)
bool LookbackPeriodInDaysHasBeenSet() const
LicenseRecommendation & AddTags(const Tag &value)
void SetFindingReasonCodes(const Aws::Vector< LicenseFindingReasonCode > &value)
bool TagsHasBeenSet() const
void SetLastRefreshTimestamp(const Aws::Utils::DateTime &value)
void SetTags(Aws::Vector< Tag > &&value)
LicenseRecommendation & WithLicenseRecommendationOptions(Aws::Vector< LicenseRecommendationOption > &&value)
LicenseRecommendation & WithFinding(const LicenseFinding &value)
bool CurrentLicenseConfigurationHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API LicenseRecommendation()
bool ResourceArnHasBeenSet() const
LicenseRecommendation & AddLicenseRecommendationOptions(const LicenseRecommendationOption &value)
LicenseRecommendation & WithResourceArn(Aws::String &&value)
LicenseRecommendation & WithResourceArn(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API LicenseRecommendation(Aws::Utils::Json::JsonView jsonValue)
void SetFinding(LicenseFinding &&value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
LicenseRecommendation & WithFindingReasonCodes(const Aws::Vector< LicenseFindingReasonCode > &value)
const LicenseConfiguration & GetCurrentLicenseConfiguration() const
LicenseRecommendation & WithAccountId(const Aws::String &value)
LicenseRecommendation & AddTags(Tag &&value)
void SetLookbackPeriodInDays(double value)
const Aws::String & GetResourceArn() const
LicenseRecommendation & WithFindingReasonCodes(Aws::Vector< LicenseFindingReasonCode > &&value)
LicenseRecommendation & WithAccountId(Aws::String &&value)
void SetCurrentLicenseConfiguration(const LicenseConfiguration &value)
bool FindingHasBeenSet() const
const Aws::Vector< LicenseRecommendationOption > & GetLicenseRecommendationOptions() const
LicenseRecommendation & WithLastRefreshTimestamp(Aws::Utils::DateTime &&value)
LicenseRecommendation & WithFinding(LicenseFinding &&value)
void SetResourceArn(Aws::String &&value)
double GetLookbackPeriodInDays() const
const Aws::Vector< Tag > & GetTags() const
void SetAccountId(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetCurrentLicenseConfiguration(LicenseConfiguration &&value)
void SetResourceArn(const char *value)
const LicenseFinding & GetFinding() const
LicenseRecommendation & AddFindingReasonCodes(const LicenseFindingReasonCode &value)
void SetLastRefreshTimestamp(Aws::Utils::DateTime &&value)
LicenseRecommendation & WithLicenseRecommendationOptions(const Aws::Vector< LicenseRecommendationOption > &value)
bool LicenseRecommendationOptionsHasBeenSet() const
bool AccountIdHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetAccountId(const char *value)
LicenseRecommendation & WithLastRefreshTimestamp(const Aws::Utils::DateTime &value)
LicenseRecommendation & WithTags(Aws::Vector< Tag > &&value)
bool FindingReasonCodesHasBeenSet() const
LicenseRecommendation & WithCurrentLicenseConfiguration(LicenseConfiguration &&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