AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExadataIormConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/odb/Odb_EXPORTS.h>
10#include <aws/odb/model/DbIormConfig.h>
11#include <aws/odb/model/IormLifecycleState.h>
12#include <aws/odb/model/Objective.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace odb {
24namespace Model {
25
32 public:
33 AWS_ODB_API ExadataIormConfig() = default;
37
39
42 inline const Aws::Vector<DbIormConfig>& GetDbPlans() const { return m_dbPlans; }
43 inline bool DbPlansHasBeenSet() const { return m_dbPlansHasBeenSet; }
44 template <typename DbPlansT = Aws::Vector<DbIormConfig>>
45 void SetDbPlans(DbPlansT&& value) {
46 m_dbPlansHasBeenSet = true;
47 m_dbPlans = std::forward<DbPlansT>(value);
48 }
49 template <typename DbPlansT = Aws::Vector<DbIormConfig>>
50 ExadataIormConfig& WithDbPlans(DbPlansT&& value) {
51 SetDbPlans(std::forward<DbPlansT>(value));
52 return *this;
53 }
54 template <typename DbPlansT = DbIormConfig>
55 ExadataIormConfig& AddDbPlans(DbPlansT&& value) {
56 m_dbPlansHasBeenSet = true;
57 m_dbPlans.emplace_back(std::forward<DbPlansT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetLifecycleDetails() const { return m_lifecycleDetails; }
67 inline bool LifecycleDetailsHasBeenSet() const { return m_lifecycleDetailsHasBeenSet; }
68 template <typename LifecycleDetailsT = Aws::String>
69 void SetLifecycleDetails(LifecycleDetailsT&& value) {
70 m_lifecycleDetailsHasBeenSet = true;
71 m_lifecycleDetails = std::forward<LifecycleDetailsT>(value);
72 }
73 template <typename LifecycleDetailsT = Aws::String>
74 ExadataIormConfig& WithLifecycleDetails(LifecycleDetailsT&& value) {
75 SetLifecycleDetails(std::forward<LifecycleDetailsT>(value));
76 return *this;
77 }
79
81
84 inline IormLifecycleState GetLifecycleState() const { return m_lifecycleState; }
85 inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; }
87 m_lifecycleStateHasBeenSet = true;
88 m_lifecycleState = value;
89 }
91 SetLifecycleState(value);
92 return *this;
93 }
95
97
100 inline Objective GetObjective() const { return m_objective; }
101 inline bool ObjectiveHasBeenSet() const { return m_objectiveHasBeenSet; }
102 inline void SetObjective(Objective value) {
103 m_objectiveHasBeenSet = true;
104 m_objective = value;
105 }
107 SetObjective(value);
108 return *this;
109 }
111 private:
113
114 Aws::String m_lifecycleDetails;
115
117
118 Objective m_objective{Objective::NOT_SET};
119 bool m_dbPlansHasBeenSet = false;
120 bool m_lifecycleDetailsHasBeenSet = false;
121 bool m_lifecycleStateHasBeenSet = false;
122 bool m_objectiveHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace odb
127} // namespace Aws
void SetLifecycleState(IormLifecycleState value)
IormLifecycleState GetLifecycleState() const
ExadataIormConfig & WithObjective(Objective value)
AWS_ODB_API ExadataIormConfig()=default
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
ExadataIormConfig & AddDbPlans(DbPlansT &&value)
const Aws::Vector< DbIormConfig > & GetDbPlans() const
ExadataIormConfig & WithLifecycleDetails(LifecycleDetailsT &&value)
ExadataIormConfig & WithDbPlans(DbPlansT &&value)
const Aws::String & GetLifecycleDetails() const
void SetLifecycleDetails(LifecycleDetailsT &&value)
AWS_ODB_API ExadataIormConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API ExadataIormConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ExadataIormConfig & WithLifecycleState(IormLifecycleState 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