7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/compute-optimizer/model/DBStorageConfiguration.h>
10#include <aws/compute-optimizer/model/Idle.h>
11#include <aws/compute-optimizer/model/RDSInstanceFinding.h>
12#include <aws/compute-optimizer/model/RDSStorageFinding.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/compute-optimizer/model/RDSEffectiveRecommendationPreferences.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/compute-optimizer/model/RDSInstanceFindingReasonCode.h>
17#include <aws/compute-optimizer/model/RDSStorageFindingReasonCode.h>
18#include <aws/compute-optimizer/model/RDSDBInstanceRecommendationOption.h>
19#include <aws/compute-optimizer/model/RDSDBStorageRecommendationOption.h>
20#include <aws/compute-optimizer/model/RDSDBUtilizationMetric.h>
21#include <aws/compute-optimizer/model/Tag.h>
34namespace ComputeOptimizer
63 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
77 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
91 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
105 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
119 inline void SetCurrentDBInstanceClass(
const char* value) { m_currentDBInstanceClassHasBeenSet =
true; m_currentDBInstanceClass.assign(value); }
143 inline void SetIdle(
const Idle& value) { m_idleHasBeenSet =
true; m_idle = value; }
144 inline void SetIdle(
Idle&& value) { m_idleHasBeenSet =
true; m_idle = std::move(value); }
280 inline void SetLookbackPeriodInDays(
double value) { m_lookbackPeriodInDaysHasBeenSet =
true; m_lookbackPeriodInDays = value; }
312 bool m_resourceArnHasBeenSet =
false;
315 bool m_accountIdHasBeenSet =
false;
318 bool m_engineHasBeenSet =
false;
321 bool m_engineVersionHasBeenSet =
false;
324 bool m_currentDBInstanceClassHasBeenSet =
false;
327 bool m_currentStorageConfigurationHasBeenSet =
false;
330 bool m_idleHasBeenSet =
false;
333 bool m_instanceFindingHasBeenSet =
false;
336 bool m_storageFindingHasBeenSet =
false;
339 bool m_instanceFindingReasonCodesHasBeenSet =
false;
342 bool m_storageFindingReasonCodesHasBeenSet =
false;
345 bool m_instanceRecommendationOptionsHasBeenSet =
false;
348 bool m_storageRecommendationOptionsHasBeenSet =
false;
351 bool m_utilizationMetricsHasBeenSet =
false;
354 bool m_effectiveRecommendationPreferencesHasBeenSet =
false;
356 double m_lookbackPeriodInDays;
357 bool m_lookbackPeriodInDaysHasBeenSet =
false;
360 bool m_lastRefreshTimestampHasBeenSet =
false;
363 bool m_tagsHasBeenSet =
false;
double GetLookbackPeriodInDays() const
const Aws::Vector< RDSDBStorageRecommendationOption > & GetStorageRecommendationOptions() const
bool StorageFindingReasonCodesHasBeenSet() const
void SetStorageRecommendationOptions(const Aws::Vector< RDSDBStorageRecommendationOption > &value)
RDSDBRecommendation & WithTags(Aws::Vector< Tag > &&value)
RDSDBRecommendation & WithInstanceFindingReasonCodes(const Aws::Vector< RDSInstanceFindingReasonCode > &value)
RDSDBRecommendation & WithUtilizationMetrics(const Aws::Vector< RDSDBUtilizationMetric > &value)
RDSDBRecommendation & WithStorageRecommendationOptions(const Aws::Vector< RDSDBStorageRecommendationOption > &value)
RDSDBRecommendation & WithResourceArn(const Aws::String &value)
RDSDBRecommendation & WithStorageFindingReasonCodes(Aws::Vector< RDSStorageFindingReasonCode > &&value)
RDSDBRecommendation & WithLastRefreshTimestamp(const Aws::Utils::DateTime &value)
void SetEngineVersion(Aws::String &&value)
void SetStorageFinding(const RDSStorageFinding &value)
void SetStorageFinding(RDSStorageFinding &&value)
void SetInstanceFinding(RDSInstanceFinding &&value)
const DBStorageConfiguration & GetCurrentStorageConfiguration() const
bool InstanceRecommendationOptionsHasBeenSet() const
RDSDBRecommendation & WithStorageFinding(const RDSStorageFinding &value)
RDSDBRecommendation & WithAccountId(const char *value)
void SetInstanceFindingReasonCodes(Aws::Vector< RDSInstanceFindingReasonCode > &&value)
RDSDBRecommendation & WithAccountId(Aws::String &&value)
void SetCurrentStorageConfiguration(const DBStorageConfiguration &value)
void SetCurrentDBInstanceClass(const char *value)
RDSDBRecommendation & WithEngine(const char *value)
RDSDBRecommendation & AddInstanceFindingReasonCodes(RDSInstanceFindingReasonCode &&value)
bool StorageFindingHasBeenSet() const
void SetResourceArn(Aws::String &&value)
const Aws::String & GetResourceArn() const
void SetStorageFindingReasonCodes(const Aws::Vector< RDSStorageFindingReasonCode > &value)
bool StorageRecommendationOptionsHasBeenSet() const
const Aws::String & GetAccountId() const
const Aws::String & GetCurrentDBInstanceClass() const
const Aws::Vector< RDSStorageFindingReasonCode > & GetStorageFindingReasonCodes() const
void SetAccountId(const Aws::String &value)
void SetStorageRecommendationOptions(Aws::Vector< RDSDBStorageRecommendationOption > &&value)
RDSDBRecommendation & WithLookbackPeriodInDays(double value)
void SetUtilizationMetrics(const Aws::Vector< RDSDBUtilizationMetric > &value)
bool EngineHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< RDSInstanceFindingReasonCode > & GetInstanceFindingReasonCodes() const
bool InstanceFindingReasonCodesHasBeenSet() const
void SetIdle(const Idle &value)
void SetEffectiveRecommendationPreferences(const RDSEffectiveRecommendationPreferences &value)
const Aws::String & GetEngineVersion() const
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RDSDBRecommendation & WithCurrentStorageConfiguration(DBStorageConfiguration &&value)
RDSDBRecommendation & WithAccountId(const Aws::String &value)
RDSDBRecommendation & WithIdle(Idle &&value)
void SetResourceArn(const char *value)
RDSDBRecommendation & WithEngineVersion(const Aws::String &value)
void SetEngine(const Aws::String &value)
void SetUtilizationMetrics(Aws::Vector< RDSDBUtilizationMetric > &&value)
RDSDBRecommendation & WithStorageFindingReasonCodes(const Aws::Vector< RDSStorageFindingReasonCode > &value)
RDSDBRecommendation & WithCurrentDBInstanceClass(const Aws::String &value)
const RDSEffectiveRecommendationPreferences & GetEffectiveRecommendationPreferences() const
void SetStorageFindingReasonCodes(Aws::Vector< RDSStorageFindingReasonCode > &&value)
void SetEngine(const char *value)
RDSDBRecommendation & AddStorageFindingReasonCodes(RDSStorageFindingReasonCode &&value)
void SetEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences &&value)
bool CurrentStorageConfigurationHasBeenSet() const
const RDSInstanceFinding & GetInstanceFinding() const
RDSDBRecommendation & WithEngine(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
void SetLastRefreshTimestamp(Aws::Utils::DateTime &&value)
RDSDBRecommendation & WithInstanceFinding(RDSInstanceFinding &&value)
AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LookbackPeriodInDaysHasBeenSet() const
RDSDBRecommendation & AddInstanceFindingReasonCodes(const RDSInstanceFindingReasonCode &value)
const Aws::Vector< RDSDBUtilizationMetric > & GetUtilizationMetrics() const
RDSDBRecommendation & WithIdle(const Idle &value)
RDSDBRecommendation & WithLastRefreshTimestamp(Aws::Utils::DateTime &&value)
bool EngineVersionHasBeenSet() const
bool LastRefreshTimestampHasBeenSet() const
RDSDBRecommendation & WithResourceArn(const char *value)
const RDSStorageFinding & GetStorageFinding() const
RDSDBRecommendation & WithCurrentDBInstanceClass(Aws::String &&value)
RDSDBRecommendation & AddStorageRecommendationOptions(const RDSDBStorageRecommendationOption &value)
RDSDBRecommendation & WithUtilizationMetrics(Aws::Vector< RDSDBUtilizationMetric > &&value)
RDSDBRecommendation & AddStorageFindingReasonCodes(const RDSStorageFindingReasonCode &value)
void SetCurrentDBInstanceClass(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetCurrentStorageConfiguration(DBStorageConfiguration &&value)
RDSDBRecommendation & WithEngineVersion(Aws::String &&value)
void SetInstanceRecommendationOptions(Aws::Vector< RDSDBInstanceRecommendationOption > &&value)
RDSDBRecommendation & WithCurrentDBInstanceClass(const char *value)
RDSDBRecommendation & AddUtilizationMetrics(const RDSDBUtilizationMetric &value)
const Aws::Vector< RDSDBInstanceRecommendationOption > & GetInstanceRecommendationOptions() const
RDSDBRecommendation & WithResourceArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastRefreshTimestamp() const
RDSDBRecommendation & WithTags(const Aws::Vector< Tag > &value)
RDSDBRecommendation & WithInstanceFindingReasonCodes(Aws::Vector< RDSInstanceFindingReasonCode > &&value)
bool InstanceFindingHasBeenSet() const
RDSDBRecommendation & WithCurrentStorageConfiguration(const DBStorageConfiguration &value)
void SetAccountId(Aws::String &&value)
void SetCurrentDBInstanceClass(const Aws::String &value)
RDSDBRecommendation & AddInstanceRecommendationOptions(const RDSDBInstanceRecommendationOption &value)
RDSDBRecommendation & AddTags(Tag &&value)
void SetAccountId(const char *value)
RDSDBRecommendation & WithEffectiveRecommendationPreferences(const RDSEffectiveRecommendationPreferences &value)
bool UtilizationMetricsHasBeenSet() const
RDSDBRecommendation & AddTags(const Tag &value)
RDSDBRecommendation & WithEngine(const Aws::String &value)
void SetLastRefreshTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetEngine() const
RDSDBRecommendation & AddInstanceRecommendationOptions(RDSDBInstanceRecommendationOption &&value)
bool IdleHasBeenSet() const
AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation()
void SetEngineVersion(const char *value)
bool EffectiveRecommendationPreferencesHasBeenSet() const
RDSDBRecommendation & AddUtilizationMetrics(RDSDBUtilizationMetric &&value)
RDSDBRecommendation & WithStorageRecommendationOptions(Aws::Vector< RDSDBStorageRecommendationOption > &&value)
void SetInstanceRecommendationOptions(const Aws::Vector< RDSDBInstanceRecommendationOption > &value)
void SetInstanceFinding(const RDSInstanceFinding &value)
bool CurrentDBInstanceClassHasBeenSet() const
bool ResourceArnHasBeenSet() const
void SetResourceArn(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetIdle(Idle &&value)
void SetEngine(Aws::String &&value)
RDSDBRecommendation & WithInstanceFinding(const RDSInstanceFinding &value)
void SetInstanceFindingReasonCodes(const Aws::Vector< RDSInstanceFindingReasonCode > &value)
void SetLookbackPeriodInDays(double value)
RDSDBRecommendation & WithInstanceRecommendationOptions(const Aws::Vector< RDSDBInstanceRecommendationOption > &value)
RDSDBRecommendation & WithEngineVersion(const char *value)
RDSDBRecommendation & WithEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences &&value)
void SetTags(const Aws::Vector< Tag > &value)
RDSDBRecommendation & WithStorageFinding(RDSStorageFinding &&value)
AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation(Aws::Utils::Json::JsonView jsonValue)
const Idle & GetIdle() const
bool TagsHasBeenSet() const
RDSDBRecommendation & WithInstanceRecommendationOptions(Aws::Vector< RDSDBInstanceRecommendationOption > &&value)
RDSDBRecommendation & AddStorageRecommendationOptions(RDSDBStorageRecommendationOption &&value)
RDSStorageFindingReasonCode
RDSInstanceFindingReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue