AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceDetails.h
1
6#pragma once
7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/model/EC2InstanceDetails.h>
9#include <aws/ce/model/RDSInstanceDetails.h>
10#include <aws/ce/model/RedshiftInstanceDetails.h>
11#include <aws/ce/model/ElastiCacheInstanceDetails.h>
12#include <aws/ce/model/ESInstanceDetails.h>
13#include <aws/ce/model/MemoryDBInstanceDetails.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CostExplorer
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_COSTEXPLORER_API InstanceDetails();
41 AWS_COSTEXPLORER_API InstanceDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_COSTEXPLORER_API InstanceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const EC2InstanceDetails& GetEC2InstanceDetails() const{ return m_eC2InstanceDetails; }
52 inline bool EC2InstanceDetailsHasBeenSet() const { return m_eC2InstanceDetailsHasBeenSet; }
53 inline void SetEC2InstanceDetails(const EC2InstanceDetails& value) { m_eC2InstanceDetailsHasBeenSet = true; m_eC2InstanceDetails = value; }
54 inline void SetEC2InstanceDetails(EC2InstanceDetails&& value) { m_eC2InstanceDetailsHasBeenSet = true; m_eC2InstanceDetails = std::move(value); }
56 inline InstanceDetails& WithEC2InstanceDetails(EC2InstanceDetails&& value) { SetEC2InstanceDetails(std::move(value)); return *this;}
58
60
64 inline const RDSInstanceDetails& GetRDSInstanceDetails() const{ return m_rDSInstanceDetails; }
65 inline bool RDSInstanceDetailsHasBeenSet() const { return m_rDSInstanceDetailsHasBeenSet; }
66 inline void SetRDSInstanceDetails(const RDSInstanceDetails& value) { m_rDSInstanceDetailsHasBeenSet = true; m_rDSInstanceDetails = value; }
67 inline void SetRDSInstanceDetails(RDSInstanceDetails&& value) { m_rDSInstanceDetailsHasBeenSet = true; m_rDSInstanceDetails = std::move(value); }
69 inline InstanceDetails& WithRDSInstanceDetails(RDSInstanceDetails&& value) { SetRDSInstanceDetails(std::move(value)); return *this;}
71
73
77 inline const RedshiftInstanceDetails& GetRedshiftInstanceDetails() const{ return m_redshiftInstanceDetails; }
78 inline bool RedshiftInstanceDetailsHasBeenSet() const { return m_redshiftInstanceDetailsHasBeenSet; }
79 inline void SetRedshiftInstanceDetails(const RedshiftInstanceDetails& value) { m_redshiftInstanceDetailsHasBeenSet = true; m_redshiftInstanceDetails = value; }
80 inline void SetRedshiftInstanceDetails(RedshiftInstanceDetails&& value) { m_redshiftInstanceDetailsHasBeenSet = true; m_redshiftInstanceDetails = std::move(value); }
84
86
90 inline const ElastiCacheInstanceDetails& GetElastiCacheInstanceDetails() const{ return m_elastiCacheInstanceDetails; }
91 inline bool ElastiCacheInstanceDetailsHasBeenSet() const { return m_elastiCacheInstanceDetailsHasBeenSet; }
92 inline void SetElastiCacheInstanceDetails(const ElastiCacheInstanceDetails& value) { m_elastiCacheInstanceDetailsHasBeenSet = true; m_elastiCacheInstanceDetails = value; }
93 inline void SetElastiCacheInstanceDetails(ElastiCacheInstanceDetails&& value) { m_elastiCacheInstanceDetailsHasBeenSet = true; m_elastiCacheInstanceDetails = std::move(value); }
97
99
103 inline const ESInstanceDetails& GetESInstanceDetails() const{ return m_eSInstanceDetails; }
104 inline bool ESInstanceDetailsHasBeenSet() const { return m_eSInstanceDetailsHasBeenSet; }
105 inline void SetESInstanceDetails(const ESInstanceDetails& value) { m_eSInstanceDetailsHasBeenSet = true; m_eSInstanceDetails = value; }
106 inline void SetESInstanceDetails(ESInstanceDetails&& value) { m_eSInstanceDetailsHasBeenSet = true; m_eSInstanceDetails = std::move(value); }
108 inline InstanceDetails& WithESInstanceDetails(ESInstanceDetails&& value) { SetESInstanceDetails(std::move(value)); return *this;}
110
112
116 inline const MemoryDBInstanceDetails& GetMemoryDBInstanceDetails() const{ return m_memoryDBInstanceDetails; }
117 inline bool MemoryDBInstanceDetailsHasBeenSet() const { return m_memoryDBInstanceDetailsHasBeenSet; }
118 inline void SetMemoryDBInstanceDetails(const MemoryDBInstanceDetails& value) { m_memoryDBInstanceDetailsHasBeenSet = true; m_memoryDBInstanceDetails = value; }
119 inline void SetMemoryDBInstanceDetails(MemoryDBInstanceDetails&& value) { m_memoryDBInstanceDetailsHasBeenSet = true; m_memoryDBInstanceDetails = std::move(value); }
123 private:
124
125 EC2InstanceDetails m_eC2InstanceDetails;
126 bool m_eC2InstanceDetailsHasBeenSet = false;
127
128 RDSInstanceDetails m_rDSInstanceDetails;
129 bool m_rDSInstanceDetailsHasBeenSet = false;
130
131 RedshiftInstanceDetails m_redshiftInstanceDetails;
132 bool m_redshiftInstanceDetailsHasBeenSet = false;
133
134 ElastiCacheInstanceDetails m_elastiCacheInstanceDetails;
135 bool m_elastiCacheInstanceDetailsHasBeenSet = false;
136
137 ESInstanceDetails m_eSInstanceDetails;
138 bool m_eSInstanceDetailsHasBeenSet = false;
139
140 MemoryDBInstanceDetails m_memoryDBInstanceDetails;
141 bool m_memoryDBInstanceDetailsHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace CostExplorer
146} // namespace Aws
InstanceDetails & WithRDSInstanceDetails(RDSInstanceDetails &&value)
void SetEC2InstanceDetails(const EC2InstanceDetails &value)
InstanceDetails & WithRedshiftInstanceDetails(RedshiftInstanceDetails &&value)
const MemoryDBInstanceDetails & GetMemoryDBInstanceDetails() const
InstanceDetails & WithElastiCacheInstanceDetails(ElastiCacheInstanceDetails &&value)
InstanceDetails & WithElastiCacheInstanceDetails(const ElastiCacheInstanceDetails &value)
const RDSInstanceDetails & GetRDSInstanceDetails() const
InstanceDetails & WithEC2InstanceDetails(EC2InstanceDetails &&value)
InstanceDetails & WithESInstanceDetails(const ESInstanceDetails &value)
void SetESInstanceDetails(ESInstanceDetails &&value)
void SetRDSInstanceDetails(const RDSInstanceDetails &value)
const ElastiCacheInstanceDetails & GetElastiCacheInstanceDetails() const
void SetMemoryDBInstanceDetails(const MemoryDBInstanceDetails &value)
AWS_COSTEXPLORER_API InstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceDetails & WithEC2InstanceDetails(const EC2InstanceDetails &value)
const EC2InstanceDetails & GetEC2InstanceDetails() const
const RedshiftInstanceDetails & GetRedshiftInstanceDetails() const
InstanceDetails & WithESInstanceDetails(ESInstanceDetails &&value)
void SetMemoryDBInstanceDetails(MemoryDBInstanceDetails &&value)
InstanceDetails & WithMemoryDBInstanceDetails(MemoryDBInstanceDetails &&value)
AWS_COSTEXPLORER_API InstanceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceDetails & WithMemoryDBInstanceDetails(const MemoryDBInstanceDetails &value)
void SetESInstanceDetails(const ESInstanceDetails &value)
void SetRedshiftInstanceDetails(RedshiftInstanceDetails &&value)
void SetRDSInstanceDetails(RDSInstanceDetails &&value)
void SetElastiCacheInstanceDetails(ElastiCacheInstanceDetails &&value)
void SetRedshiftInstanceDetails(const RedshiftInstanceDetails &value)
const ESInstanceDetails & GetESInstanceDetails() const
InstanceDetails & WithRDSInstanceDetails(const RDSInstanceDetails &value)
InstanceDetails & WithRedshiftInstanceDetails(const RedshiftInstanceDetails &value)
void SetEC2InstanceDetails(EC2InstanceDetails &&value)
void SetElastiCacheInstanceDetails(const ElastiCacheInstanceDetails &value)
Aws::Utils::Json::JsonValue JsonValue