AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RdsDbInstance.h
1
6#pragma once
7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/model/RdsDbInstanceConfiguration.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 RdsDbInstance();
37 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RdsDbInstanceConfiguration& GetConfiguration() const{ return m_configuration; }
47 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
48 inline void SetConfiguration(const RdsDbInstanceConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
49 inline void SetConfiguration(RdsDbInstanceConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
50 inline RdsDbInstance& WithConfiguration(const RdsDbInstanceConfiguration& value) { SetConfiguration(value); return *this;}
51 inline RdsDbInstance& WithConfiguration(RdsDbInstanceConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
53
55
56 inline const ResourceCostCalculation& GetCostCalculation() const{ return m_costCalculation; }
57 inline bool CostCalculationHasBeenSet() const { return m_costCalculationHasBeenSet; }
58 inline void SetCostCalculation(const ResourceCostCalculation& value) { m_costCalculationHasBeenSet = true; m_costCalculation = value; }
59 inline void SetCostCalculation(ResourceCostCalculation&& value) { m_costCalculationHasBeenSet = true; m_costCalculation = std::move(value); }
60 inline RdsDbInstance& WithCostCalculation(const ResourceCostCalculation& value) { SetCostCalculation(value); return *this;}
61 inline RdsDbInstance& WithCostCalculation(ResourceCostCalculation&& value) { SetCostCalculation(std::move(value)); return *this;}
63 private:
64
65 RdsDbInstanceConfiguration m_configuration;
66 bool m_configurationHasBeenSet = false;
67
68 ResourceCostCalculation m_costCalculation;
69 bool m_costCalculationHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CostOptimizationHub
74} // namespace Aws
RdsDbInstance & WithCostCalculation(const ResourceCostCalculation &value)
RdsDbInstance & WithCostCalculation(ResourceCostCalculation &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTOPTIMIZATIONHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance()
const ResourceCostCalculation & GetCostCalculation() const
void SetCostCalculation(ResourceCostCalculation &&value)
RdsDbInstance & WithConfiguration(RdsDbInstanceConfiguration &&value)
AWS_COSTOPTIMIZATIONHUB_API RdsDbInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
const RdsDbInstanceConfiguration & GetConfiguration() const
RdsDbInstance & WithConfiguration(const RdsDbInstanceConfiguration &value)
void SetConfiguration(const RdsDbInstanceConfiguration &value)
void SetConfiguration(RdsDbInstanceConfiguration &&value)
void SetCostCalculation(const ResourceCostCalculation &value)
Aws::Utils::Json::JsonValue JsonValue