AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExadataIormConfig.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/odb/model/IormLifecycleState.h>
11#include <aws/odb/model/Objective.h>
12#include <aws/odb/model/DbIormConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace odb
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_ODB_API ExadataIormConfig() = default;
42
43
45
48 inline const Aws::Vector<DbIormConfig>& GetDbPlans() const { return m_dbPlans; }
49 inline bool DbPlansHasBeenSet() const { return m_dbPlansHasBeenSet; }
50 template<typename DbPlansT = Aws::Vector<DbIormConfig>>
51 void SetDbPlans(DbPlansT&& value) { m_dbPlansHasBeenSet = true; m_dbPlans = std::forward<DbPlansT>(value); }
52 template<typename DbPlansT = Aws::Vector<DbIormConfig>>
53 ExadataIormConfig& WithDbPlans(DbPlansT&& value) { SetDbPlans(std::forward<DbPlansT>(value)); return *this;}
54 template<typename DbPlansT = DbIormConfig>
55 ExadataIormConfig& AddDbPlans(DbPlansT&& value) { m_dbPlansHasBeenSet = true; m_dbPlans.emplace_back(std::forward<DbPlansT>(value)); return *this; }
57
59
62 inline const Aws::String& GetLifecycleDetails() const { return m_lifecycleDetails; }
63 inline bool LifecycleDetailsHasBeenSet() const { return m_lifecycleDetailsHasBeenSet; }
64 template<typename LifecycleDetailsT = Aws::String>
65 void SetLifecycleDetails(LifecycleDetailsT&& value) { m_lifecycleDetailsHasBeenSet = true; m_lifecycleDetails = std::forward<LifecycleDetailsT>(value); }
66 template<typename LifecycleDetailsT = Aws::String>
67 ExadataIormConfig& WithLifecycleDetails(LifecycleDetailsT&& value) { SetLifecycleDetails(std::forward<LifecycleDetailsT>(value)); return *this;}
69
71
74 inline IormLifecycleState GetLifecycleState() const { return m_lifecycleState; }
75 inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; }
76 inline void SetLifecycleState(IormLifecycleState value) { m_lifecycleStateHasBeenSet = true; m_lifecycleState = value; }
79
81
84 inline Objective GetObjective() const { return m_objective; }
85 inline bool ObjectiveHasBeenSet() const { return m_objectiveHasBeenSet; }
86 inline void SetObjective(Objective value) { m_objectiveHasBeenSet = true; m_objective = value; }
87 inline ExadataIormConfig& WithObjective(Objective value) { SetObjective(value); return *this;}
89 private:
90
92 bool m_dbPlansHasBeenSet = false;
93
94 Aws::String m_lifecycleDetails;
95 bool m_lifecycleDetailsHasBeenSet = false;
96
98 bool m_lifecycleStateHasBeenSet = false;
99
100 Objective m_objective{Objective::NOT_SET};
101 bool m_objectiveHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace odb
106} // 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