AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbInstanceStorage.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/RdsDbInstanceStorageConfiguration.h>
9#include <aws/cost-optimization-hub/model/ResourceCostCalculation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CostOptimizationHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage();
37 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const RdsDbInstanceStorageConfiguration& GetConfiguration() const{ return m_configuration; }
48 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
49 inline void SetConfiguration(const RdsDbInstanceStorageConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
50 inline void SetConfiguration(RdsDbInstanceStorageConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
54
56
57 inline const ResourceCostCalculation& GetCostCalculation() const{ return m_costCalculation; }
58 inline bool CostCalculationHasBeenSet() const { return m_costCalculationHasBeenSet; }
59 inline void SetCostCalculation(const ResourceCostCalculation& value) { m_costCalculationHasBeenSet = true; m_costCalculation = value; }
60 inline void SetCostCalculation(ResourceCostCalculation&& value) { m_costCalculationHasBeenSet = true; m_costCalculation = std::move(value); }
62 inline RdsDbInstanceStorage& WithCostCalculation(ResourceCostCalculation&& value) { SetCostCalculation(std::move(value)); return *this;}
64 private:
65
67 bool m_configurationHasBeenSet = false;
68
69 ResourceCostCalculation m_costCalculation;
70 bool m_costCalculationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CostOptimizationHub
75} // namespace Aws
void SetCostCalculation(const ResourceCostCalculation &value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage()
void SetConfiguration(RdsDbInstanceStorageConfiguration &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage(Aws::Utils::Json::JsonView jsonValue)
RdsDbInstanceStorage & WithConfiguration(RdsDbInstanceStorageConfiguration &&value)
RdsDbInstanceStorage & WithCostCalculation(const ResourceCostCalculation &value)
RdsDbInstanceStorage & WithCostCalculation(ResourceCostCalculation &&value)
void SetConfiguration(const RdsDbInstanceStorageConfiguration &value)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const RdsDbInstanceStorageConfiguration & GetConfiguration() const
RdsDbInstanceStorage & WithConfiguration(const RdsDbInstanceStorageConfiguration &value)
void SetCostCalculation(ResourceCostCalculation &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceCostCalculation & GetCostCalculation() const
Aws::Utils::Json::JsonValue JsonValue