AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDSDBRecommendation.h
1
6#pragma once
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>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace ComputeOptimizer
35{
36namespace Model
37{
38
45 {
46 public:
47 AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation();
48 AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation(Aws::Utils::Json::JsonView jsonValue);
49 AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
59 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
60 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
61 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
62 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
63 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
64 inline RDSDBRecommendation& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
65 inline RDSDBRecommendation& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
66 inline RDSDBRecommendation& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
68
70
73 inline const Aws::String& GetAccountId() const{ return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
76 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
77 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
78 inline RDSDBRecommendation& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
79 inline RDSDBRecommendation& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
80 inline RDSDBRecommendation& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82
84
87 inline const Aws::String& GetEngine() const{ return m_engine; }
88 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
89 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
90 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
91 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
92 inline RDSDBRecommendation& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
93 inline RDSDBRecommendation& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
94 inline RDSDBRecommendation& WithEngine(const char* value) { SetEngine(value); return *this;}
96
98
101 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
102 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
103 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
104 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
105 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
106 inline RDSDBRecommendation& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
107 inline RDSDBRecommendation& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
108 inline RDSDBRecommendation& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
110
112
115 inline const Aws::String& GetCurrentDBInstanceClass() const{ return m_currentDBInstanceClass; }
116 inline bool CurrentDBInstanceClassHasBeenSet() const { return m_currentDBInstanceClassHasBeenSet; }
117 inline void SetCurrentDBInstanceClass(const Aws::String& value) { m_currentDBInstanceClassHasBeenSet = true; m_currentDBInstanceClass = value; }
118 inline void SetCurrentDBInstanceClass(Aws::String&& value) { m_currentDBInstanceClassHasBeenSet = true; m_currentDBInstanceClass = std::move(value); }
119 inline void SetCurrentDBInstanceClass(const char* value) { m_currentDBInstanceClassHasBeenSet = true; m_currentDBInstanceClass.assign(value); }
121 inline RDSDBRecommendation& WithCurrentDBInstanceClass(Aws::String&& value) { SetCurrentDBInstanceClass(std::move(value)); return *this;}
122 inline RDSDBRecommendation& WithCurrentDBInstanceClass(const char* value) { SetCurrentDBInstanceClass(value); return *this;}
124
126
129 inline const DBStorageConfiguration& GetCurrentStorageConfiguration() const{ return m_currentStorageConfiguration; }
130 inline bool CurrentStorageConfigurationHasBeenSet() const { return m_currentStorageConfigurationHasBeenSet; }
131 inline void SetCurrentStorageConfiguration(const DBStorageConfiguration& value) { m_currentStorageConfigurationHasBeenSet = true; m_currentStorageConfiguration = value; }
132 inline void SetCurrentStorageConfiguration(DBStorageConfiguration&& value) { m_currentStorageConfigurationHasBeenSet = true; m_currentStorageConfiguration = std::move(value); }
136
138
141 inline const Idle& GetIdle() const{ return m_idle; }
142 inline bool IdleHasBeenSet() const { return m_idleHasBeenSet; }
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); }
145 inline RDSDBRecommendation& WithIdle(const Idle& value) { SetIdle(value); return *this;}
146 inline RDSDBRecommendation& WithIdle(Idle&& value) { SetIdle(std::move(value)); return *this;}
148
150
161 inline const RDSInstanceFinding& GetInstanceFinding() const{ return m_instanceFinding; }
162 inline bool InstanceFindingHasBeenSet() const { return m_instanceFindingHasBeenSet; }
163 inline void SetInstanceFinding(const RDSInstanceFinding& value) { m_instanceFindingHasBeenSet = true; m_instanceFinding = value; }
164 inline void SetInstanceFinding(RDSInstanceFinding&& value) { m_instanceFindingHasBeenSet = true; m_instanceFinding = std::move(value); }
166 inline RDSDBRecommendation& WithInstanceFinding(RDSInstanceFinding&& value) { SetInstanceFinding(std::move(value)); return *this;}
168
170
181 inline const RDSStorageFinding& GetStorageFinding() const{ return m_storageFinding; }
182 inline bool StorageFindingHasBeenSet() const { return m_storageFindingHasBeenSet; }
183 inline void SetStorageFinding(const RDSStorageFinding& value) { m_storageFindingHasBeenSet = true; m_storageFinding = value; }
184 inline void SetStorageFinding(RDSStorageFinding&& value) { m_storageFindingHasBeenSet = true; m_storageFinding = std::move(value); }
185 inline RDSDBRecommendation& WithStorageFinding(const RDSStorageFinding& value) { SetStorageFinding(value); return *this;}
186 inline RDSDBRecommendation& WithStorageFinding(RDSStorageFinding&& value) { SetStorageFinding(std::move(value)); return *this;}
188
190
193 inline const Aws::Vector<RDSInstanceFindingReasonCode>& GetInstanceFindingReasonCodes() const{ return m_instanceFindingReasonCodes; }
194 inline bool InstanceFindingReasonCodesHasBeenSet() const { return m_instanceFindingReasonCodesHasBeenSet; }
195 inline void SetInstanceFindingReasonCodes(const Aws::Vector<RDSInstanceFindingReasonCode>& value) { m_instanceFindingReasonCodesHasBeenSet = true; m_instanceFindingReasonCodes = value; }
196 inline void SetInstanceFindingReasonCodes(Aws::Vector<RDSInstanceFindingReasonCode>&& value) { m_instanceFindingReasonCodesHasBeenSet = true; m_instanceFindingReasonCodes = std::move(value); }
199 inline RDSDBRecommendation& AddInstanceFindingReasonCodes(const RDSInstanceFindingReasonCode& value) { m_instanceFindingReasonCodesHasBeenSet = true; m_instanceFindingReasonCodes.push_back(value); return *this; }
200 inline RDSDBRecommendation& AddInstanceFindingReasonCodes(RDSInstanceFindingReasonCode&& value) { m_instanceFindingReasonCodesHasBeenSet = true; m_instanceFindingReasonCodes.push_back(std::move(value)); return *this; }
202
204
207 inline const Aws::Vector<RDSStorageFindingReasonCode>& GetStorageFindingReasonCodes() const{ return m_storageFindingReasonCodes; }
208 inline bool StorageFindingReasonCodesHasBeenSet() const { return m_storageFindingReasonCodesHasBeenSet; }
209 inline void SetStorageFindingReasonCodes(const Aws::Vector<RDSStorageFindingReasonCode>& value) { m_storageFindingReasonCodesHasBeenSet = true; m_storageFindingReasonCodes = value; }
210 inline void SetStorageFindingReasonCodes(Aws::Vector<RDSStorageFindingReasonCode>&& value) { m_storageFindingReasonCodesHasBeenSet = true; m_storageFindingReasonCodes = std::move(value); }
213 inline RDSDBRecommendation& AddStorageFindingReasonCodes(const RDSStorageFindingReasonCode& value) { m_storageFindingReasonCodesHasBeenSet = true; m_storageFindingReasonCodes.push_back(value); return *this; }
214 inline RDSDBRecommendation& AddStorageFindingReasonCodes(RDSStorageFindingReasonCode&& value) { m_storageFindingReasonCodesHasBeenSet = true; m_storageFindingReasonCodes.push_back(std::move(value)); return *this; }
216
218
222 inline const Aws::Vector<RDSDBInstanceRecommendationOption>& GetInstanceRecommendationOptions() const{ return m_instanceRecommendationOptions; }
223 inline bool InstanceRecommendationOptionsHasBeenSet() const { return m_instanceRecommendationOptionsHasBeenSet; }
224 inline void SetInstanceRecommendationOptions(const Aws::Vector<RDSDBInstanceRecommendationOption>& value) { m_instanceRecommendationOptionsHasBeenSet = true; m_instanceRecommendationOptions = value; }
225 inline void SetInstanceRecommendationOptions(Aws::Vector<RDSDBInstanceRecommendationOption>&& value) { m_instanceRecommendationOptionsHasBeenSet = true; m_instanceRecommendationOptions = std::move(value); }
228 inline RDSDBRecommendation& AddInstanceRecommendationOptions(const RDSDBInstanceRecommendationOption& value) { m_instanceRecommendationOptionsHasBeenSet = true; m_instanceRecommendationOptions.push_back(value); return *this; }
229 inline RDSDBRecommendation& AddInstanceRecommendationOptions(RDSDBInstanceRecommendationOption&& value) { m_instanceRecommendationOptionsHasBeenSet = true; m_instanceRecommendationOptions.push_back(std::move(value)); return *this; }
231
233
237 inline const Aws::Vector<RDSDBStorageRecommendationOption>& GetStorageRecommendationOptions() const{ return m_storageRecommendationOptions; }
238 inline bool StorageRecommendationOptionsHasBeenSet() const { return m_storageRecommendationOptionsHasBeenSet; }
239 inline void SetStorageRecommendationOptions(const Aws::Vector<RDSDBStorageRecommendationOption>& value) { m_storageRecommendationOptionsHasBeenSet = true; m_storageRecommendationOptions = value; }
240 inline void SetStorageRecommendationOptions(Aws::Vector<RDSDBStorageRecommendationOption>&& value) { m_storageRecommendationOptionsHasBeenSet = true; m_storageRecommendationOptions = std::move(value); }
243 inline RDSDBRecommendation& AddStorageRecommendationOptions(const RDSDBStorageRecommendationOption& value) { m_storageRecommendationOptionsHasBeenSet = true; m_storageRecommendationOptions.push_back(value); return *this; }
244 inline RDSDBRecommendation& AddStorageRecommendationOptions(RDSDBStorageRecommendationOption&& value) { m_storageRecommendationOptionsHasBeenSet = true; m_storageRecommendationOptions.push_back(std::move(value)); return *this; }
246
248
252 inline const Aws::Vector<RDSDBUtilizationMetric>& GetUtilizationMetrics() const{ return m_utilizationMetrics; }
253 inline bool UtilizationMetricsHasBeenSet() const { return m_utilizationMetricsHasBeenSet; }
254 inline void SetUtilizationMetrics(const Aws::Vector<RDSDBUtilizationMetric>& value) { m_utilizationMetricsHasBeenSet = true; m_utilizationMetrics = value; }
255 inline void SetUtilizationMetrics(Aws::Vector<RDSDBUtilizationMetric>&& value) { m_utilizationMetricsHasBeenSet = true; m_utilizationMetrics = std::move(value); }
258 inline RDSDBRecommendation& AddUtilizationMetrics(const RDSDBUtilizationMetric& value) { m_utilizationMetricsHasBeenSet = true; m_utilizationMetrics.push_back(value); return *this; }
259 inline RDSDBRecommendation& AddUtilizationMetrics(RDSDBUtilizationMetric&& value) { m_utilizationMetricsHasBeenSet = true; m_utilizationMetrics.push_back(std::move(value)); return *this; }
261
263
266 inline const RDSEffectiveRecommendationPreferences& GetEffectiveRecommendationPreferences() const{ return m_effectiveRecommendationPreferences; }
267 inline bool EffectiveRecommendationPreferencesHasBeenSet() const { return m_effectiveRecommendationPreferencesHasBeenSet; }
268 inline void SetEffectiveRecommendationPreferences(const RDSEffectiveRecommendationPreferences& value) { m_effectiveRecommendationPreferencesHasBeenSet = true; m_effectiveRecommendationPreferences = value; }
269 inline void SetEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences&& value) { m_effectiveRecommendationPreferencesHasBeenSet = true; m_effectiveRecommendationPreferences = std::move(value); }
273
275
278 inline double GetLookbackPeriodInDays() const{ return m_lookbackPeriodInDays; }
279 inline bool LookbackPeriodInDaysHasBeenSet() const { return m_lookbackPeriodInDaysHasBeenSet; }
280 inline void SetLookbackPeriodInDays(double value) { m_lookbackPeriodInDaysHasBeenSet = true; m_lookbackPeriodInDays = value; }
281 inline RDSDBRecommendation& WithLookbackPeriodInDays(double value) { SetLookbackPeriodInDays(value); return *this;}
283
285
288 inline const Aws::Utils::DateTime& GetLastRefreshTimestamp() const{ return m_lastRefreshTimestamp; }
289 inline bool LastRefreshTimestampHasBeenSet() const { return m_lastRefreshTimestampHasBeenSet; }
290 inline void SetLastRefreshTimestamp(const Aws::Utils::DateTime& value) { m_lastRefreshTimestampHasBeenSet = true; m_lastRefreshTimestamp = value; }
291 inline void SetLastRefreshTimestamp(Aws::Utils::DateTime&& value) { m_lastRefreshTimestampHasBeenSet = true; m_lastRefreshTimestamp = std::move(value); }
295
297
300 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
301 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
302 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
303 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
304 inline RDSDBRecommendation& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
305 inline RDSDBRecommendation& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
306 inline RDSDBRecommendation& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
307 inline RDSDBRecommendation& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
309 private:
310
311 Aws::String m_resourceArn;
312 bool m_resourceArnHasBeenSet = false;
313
314 Aws::String m_accountId;
315 bool m_accountIdHasBeenSet = false;
316
317 Aws::String m_engine;
318 bool m_engineHasBeenSet = false;
319
320 Aws::String m_engineVersion;
321 bool m_engineVersionHasBeenSet = false;
322
323 Aws::String m_currentDBInstanceClass;
324 bool m_currentDBInstanceClassHasBeenSet = false;
325
326 DBStorageConfiguration m_currentStorageConfiguration;
327 bool m_currentStorageConfigurationHasBeenSet = false;
328
329 Idle m_idle;
330 bool m_idleHasBeenSet = false;
331
332 RDSInstanceFinding m_instanceFinding;
333 bool m_instanceFindingHasBeenSet = false;
334
335 RDSStorageFinding m_storageFinding;
336 bool m_storageFindingHasBeenSet = false;
337
338 Aws::Vector<RDSInstanceFindingReasonCode> m_instanceFindingReasonCodes;
339 bool m_instanceFindingReasonCodesHasBeenSet = false;
340
341 Aws::Vector<RDSStorageFindingReasonCode> m_storageFindingReasonCodes;
342 bool m_storageFindingReasonCodesHasBeenSet = false;
343
344 Aws::Vector<RDSDBInstanceRecommendationOption> m_instanceRecommendationOptions;
345 bool m_instanceRecommendationOptionsHasBeenSet = false;
346
347 Aws::Vector<RDSDBStorageRecommendationOption> m_storageRecommendationOptions;
348 bool m_storageRecommendationOptionsHasBeenSet = false;
349
350 Aws::Vector<RDSDBUtilizationMetric> m_utilizationMetrics;
351 bool m_utilizationMetricsHasBeenSet = false;
352
353 RDSEffectiveRecommendationPreferences m_effectiveRecommendationPreferences;
354 bool m_effectiveRecommendationPreferencesHasBeenSet = false;
355
356 double m_lookbackPeriodInDays;
357 bool m_lookbackPeriodInDaysHasBeenSet = false;
358
359 Aws::Utils::DateTime m_lastRefreshTimestamp;
360 bool m_lastRefreshTimestampHasBeenSet = false;
361
362 Aws::Vector<Tag> m_tags;
363 bool m_tagsHasBeenSet = false;
364 };
365
366} // namespace Model
367} // namespace ComputeOptimizer
368} // namespace Aws
const Aws::Vector< RDSDBStorageRecommendationOption > & GetStorageRecommendationOptions() 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 SetStorageFinding(const RDSStorageFinding &value)
const DBStorageConfiguration & GetCurrentStorageConfiguration() 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)
RDSDBRecommendation & WithEngine(const char *value)
RDSDBRecommendation & AddInstanceFindingReasonCodes(RDSInstanceFindingReasonCode &&value)
void SetStorageFindingReasonCodes(const Aws::Vector< RDSStorageFindingReasonCode > &value)
const Aws::Vector< RDSStorageFindingReasonCode > & GetStorageFindingReasonCodes() const
void SetStorageRecommendationOptions(Aws::Vector< RDSDBStorageRecommendationOption > &&value)
RDSDBRecommendation & WithLookbackPeriodInDays(double value)
void SetUtilizationMetrics(const Aws::Vector< RDSDBUtilizationMetric > &value)
const Aws::Vector< RDSInstanceFindingReasonCode > & GetInstanceFindingReasonCodes() const
void SetEffectiveRecommendationPreferences(const RDSEffectiveRecommendationPreferences &value)
AWS_COMPUTEOPTIMIZER_API Aws::Utils::Json::JsonValue Jsonize() const
RDSDBRecommendation & WithCurrentStorageConfiguration(DBStorageConfiguration &&value)
RDSDBRecommendation & WithAccountId(const Aws::String &value)
RDSDBRecommendation & WithEngineVersion(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)
RDSDBRecommendation & AddStorageFindingReasonCodes(RDSStorageFindingReasonCode &&value)
void SetEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences &&value)
const RDSInstanceFinding & GetInstanceFinding() const
RDSDBRecommendation & WithEngine(Aws::String &&value)
void SetLastRefreshTimestamp(Aws::Utils::DateTime &&value)
RDSDBRecommendation & WithInstanceFinding(RDSInstanceFinding &&value)
AWS_COMPUTEOPTIMIZER_API RDSDBRecommendation & operator=(Aws::Utils::Json::JsonView jsonValue)
RDSDBRecommendation & AddInstanceFindingReasonCodes(const RDSInstanceFindingReasonCode &value)
const Aws::Vector< RDSDBUtilizationMetric > & GetUtilizationMetrics() const
RDSDBRecommendation & WithIdle(const Idle &value)
RDSDBRecommendation & WithLastRefreshTimestamp(Aws::Utils::DateTime &&value)
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 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)
RDSDBRecommendation & WithCurrentStorageConfiguration(const DBStorageConfiguration &value)
RDSDBRecommendation & AddInstanceRecommendationOptions(const RDSDBInstanceRecommendationOption &value)
RDSDBRecommendation & WithEffectiveRecommendationPreferences(const RDSEffectiveRecommendationPreferences &value)
RDSDBRecommendation & AddTags(const Tag &value)
RDSDBRecommendation & WithEngine(const Aws::String &value)
void SetLastRefreshTimestamp(const Aws::Utils::DateTime &value)
RDSDBRecommendation & AddInstanceRecommendationOptions(RDSDBInstanceRecommendationOption &&value)
RDSDBRecommendation & AddUtilizationMetrics(RDSDBUtilizationMetric &&value)
RDSDBRecommendation & WithStorageRecommendationOptions(Aws::Vector< RDSDBStorageRecommendationOption > &&value)
void SetInstanceRecommendationOptions(const Aws::Vector< RDSDBInstanceRecommendationOption > &value)
void SetInstanceFinding(const RDSInstanceFinding &value)
RDSDBRecommendation & WithInstanceFinding(const RDSInstanceFinding &value)
void SetInstanceFindingReasonCodes(const Aws::Vector< RDSInstanceFindingReasonCode > &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)
RDSDBRecommendation & WithInstanceRecommendationOptions(Aws::Vector< RDSDBInstanceRecommendationOption > &&value)
RDSDBRecommendation & AddStorageRecommendationOptions(RDSDBStorageRecommendationOption &&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