AWS SDK for C++  1.9.97
AWS SDK for C++
EBSOptionsStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const EBSOptions& GetOptions() const{ return m_options; }
46 
50  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
51 
55  inline void SetOptions(const EBSOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
56 
60  inline void SetOptions(EBSOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
61 
65  inline EBSOptionsStatus& WithOptions(const EBSOptions& value) { SetOptions(value); return *this;}
66 
70  inline EBSOptionsStatus& WithOptions(EBSOptions&& value) { SetOptions(std::move(value)); return *this;}
71 
72 
77  inline const OptionStatus& GetStatus() const{ return m_status; }
78 
83  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 
89  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 
95  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 
101  inline EBSOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
102 
107  inline EBSOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
108 
109  private:
110 
111  EBSOptions m_options;
112  bool m_optionsHasBeenSet;
113 
114  OptionStatus m_status;
115  bool m_statusHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace ElasticsearchService
120 } // namespace Aws
Aws::ElasticsearchService::Model::EBSOptionsStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: EBSOptionsStatus.h:95
Aws::ElasticsearchService::Model::EBSOptionsStatus::WithStatus
EBSOptionsStatus & WithStatus(const OptionStatus &value)
Definition: EBSOptionsStatus.h:101
Aws::ElasticsearchService::Model::EBSOptionsStatus
Definition: EBSOptionsStatus.h:34
Aws::ElasticsearchService::Model::EBSOptionsStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: EBSOptionsStatus.h:83
Aws::ElasticsearchService::Model::EBSOptionsStatus::GetOptions
const EBSOptions & GetOptions() const
Definition: EBSOptionsStatus.h:45
OptionStatus.h
Aws::ElasticsearchService::Model::EBSOptionsStatus::SetOptions
void SetOptions(const EBSOptions &value)
Definition: EBSOptionsStatus.h:55
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
EBSOptions.h
Aws::ElasticsearchService::Model::EBSOptionsStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::EBSOptionsStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: EBSOptionsStatus.h:77
Aws::ElasticsearchService::Model::EBSOptionsStatus::WithOptions
EBSOptionsStatus & WithOptions(EBSOptions &&value)
Definition: EBSOptionsStatus.h:70
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::EBSOptionsStatus::WithOptions
EBSOptionsStatus & WithOptions(const EBSOptions &value)
Definition: EBSOptionsStatus.h:65
Aws::ElasticsearchService::Model::EBSOptionsStatus::operator=
EBSOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::EBSOptionsStatus::EBSOptionsStatus
EBSOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::EBSOptions
Definition: EBSOptions.h:35
Aws::ElasticsearchService::Model::EBSOptionsStatus::EBSOptionsStatus
EBSOptionsStatus()
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::EBSOptionsStatus::SetOptions
void SetOptions(EBSOptions &&value)
Definition: EBSOptionsStatus.h:60
Aws::ElasticsearchService::Model::EBSOptionsStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: EBSOptionsStatus.h:50
Aws::ElasticsearchService::Model::EBSOptionsStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: EBSOptionsStatus.h:89
Aws::ElasticsearchService::Model::EBSOptionsStatus::WithStatus
EBSOptionsStatus & WithStatus(OptionStatus &&value)
Definition: EBSOptionsStatus.h:107