AWS SDK for C++  1.9.97
AWS SDK for C++
VPCDerivedInfoStatus.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 VPCDerivedInfo& GetOptions() const{ return m_options; }
46 
50  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
51 
55  inline void SetOptions(const VPCDerivedInfo& value) { m_optionsHasBeenSet = true; m_options = value; }
56 
60  inline void SetOptions(VPCDerivedInfo&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
61 
65  inline VPCDerivedInfoStatus& WithOptions(const VPCDerivedInfo& value) { SetOptions(value); return *this;}
66 
70  inline VPCDerivedInfoStatus& WithOptions(VPCDerivedInfo&& 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 VPCDerivedInfoStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
102 
107  inline VPCDerivedInfoStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
108 
109  private:
110 
111  VPCDerivedInfo 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::VPCDerivedInfoStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: VPCDerivedInfoStatus.h:83
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: VPCDerivedInfoStatus.h:77
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus
Definition: VPCDerivedInfoStatus.h:34
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::SetOptions
void SetOptions(const VPCDerivedInfo &value)
Definition: VPCDerivedInfoStatus.h:55
OptionStatus.h
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::operator=
VPCDerivedInfoStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
VPCDerivedInfo.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::GetOptions
const VPCDerivedInfo & GetOptions() const
Definition: VPCDerivedInfoStatus.h:45
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::VPCDerivedInfoStatus
VPCDerivedInfoStatus()
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::WithStatus
VPCDerivedInfoStatus & WithStatus(OptionStatus &&value)
Definition: VPCDerivedInfoStatus.h:107
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: VPCDerivedInfoStatus.h:50
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: VPCDerivedInfoStatus.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::VPCDerivedInfoStatus
VPCDerivedInfoStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::WithStatus
VPCDerivedInfoStatus & WithStatus(const OptionStatus &value)
Definition: VPCDerivedInfoStatus.h:101
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::VPCDerivedInfo
Definition: VPCDerivedInfo.h:37
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::WithOptions
VPCDerivedInfoStatus & WithOptions(const VPCDerivedInfo &value)
Definition: VPCDerivedInfoStatus.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::SetOptions
void SetOptions(VPCDerivedInfo &&value)
Definition: VPCDerivedInfoStatus.h:60
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::WithOptions
VPCDerivedInfoStatus & WithOptions(VPCDerivedInfo &&value)
Definition: VPCDerivedInfoStatus.h:70
Aws::ElasticsearchService::Model::VPCDerivedInfoStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: VPCDerivedInfoStatus.h:89