AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ConfigurationT = RdsDbInstanceStorageConfiguration>
50 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
51 template<typename ConfigurationT = RdsDbInstanceStorageConfiguration>
52 RdsDbInstanceStorage& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
54
56
57 inline const ResourceCostCalculation& GetCostCalculation() const { return m_costCalculation; }
58 inline bool CostCalculationHasBeenSet() const { return m_costCalculationHasBeenSet; }
59 template<typename CostCalculationT = ResourceCostCalculation>
60 void SetCostCalculation(CostCalculationT&& value) { m_costCalculationHasBeenSet = true; m_costCalculation = std::forward<CostCalculationT>(value); }
61 template<typename CostCalculationT = ResourceCostCalculation>
62 RdsDbInstanceStorage& WithCostCalculation(CostCalculationT&& value) { SetCostCalculation(std::forward<CostCalculationT>(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
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage()=default
const RdsDbInstanceStorageConfiguration & GetConfiguration() const
RdsDbInstanceStorage & WithCostCalculation(CostCalculationT &&value)
RdsDbInstanceStorage & WithConfiguration(ConfigurationT &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstanceStorage & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceCostCalculation & GetCostCalculation() const
Aws::Utils::Json::JsonValue JsonValue