AWS SDK for C++  1.9.97
AWS SDK for C++
AdvancedSecurityOptionsStatus.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 
46  inline const AdvancedSecurityOptions& GetOptions() const{ return m_options; }
47 
52  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
53 
58  inline void SetOptions(const AdvancedSecurityOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
59 
64  inline void SetOptions(AdvancedSecurityOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
65 
70  inline AdvancedSecurityOptionsStatus& WithOptions(const AdvancedSecurityOptions& value) { SetOptions(value); return *this;}
71 
76  inline AdvancedSecurityOptionsStatus& WithOptions(AdvancedSecurityOptions&& value) { SetOptions(std::move(value)); return *this;}
77 
78 
83  inline const OptionStatus& GetStatus() const{ return m_status; }
84 
89  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 
95  inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 
101  inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
102 
107  inline AdvancedSecurityOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
108 
113  inline AdvancedSecurityOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
114 
115  private:
116 
117  AdvancedSecurityOptions m_options;
118  bool m_optionsHasBeenSet;
119 
120  OptionStatus m_status;
121  bool m_statusHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace ElasticsearchService
126 } // namespace Aws
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: AdvancedSecurityOptionsStatus.h:83
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::WithStatus
AdvancedSecurityOptionsStatus & WithStatus(const OptionStatus &value)
Definition: AdvancedSecurityOptionsStatus.h:107
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::AdvancedSecurityOptionsStatus
AdvancedSecurityOptionsStatus()
Aws::ElasticsearchService::Model::AdvancedSecurityOptions
Definition: AdvancedSecurityOptions.h:34
OptionStatus.h
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: AdvancedSecurityOptionsStatus.h:95
AdvancedSecurityOptions.h
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::WithOptions
AdvancedSecurityOptionsStatus & WithOptions(const AdvancedSecurityOptions &value)
Definition: AdvancedSecurityOptionsStatus.h:70
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus
Definition: AdvancedSecurityOptionsStatus.h:34
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::WithOptions
AdvancedSecurityOptionsStatus & WithOptions(AdvancedSecurityOptions &&value)
Definition: AdvancedSecurityOptionsStatus.h:76
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::SetOptions
void SetOptions(const AdvancedSecurityOptions &value)
Definition: AdvancedSecurityOptionsStatus.h:58
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::SetOptions
void SetOptions(AdvancedSecurityOptions &&value)
Definition: AdvancedSecurityOptionsStatus.h:64
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::WithStatus
AdvancedSecurityOptionsStatus & WithStatus(OptionStatus &&value)
Definition: AdvancedSecurityOptionsStatus.h:113
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: AdvancedSecurityOptionsStatus.h:89
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::GetOptions
const AdvancedSecurityOptions & GetOptions() const
Definition: AdvancedSecurityOptionsStatus.h:46
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::AdvancedSecurityOptionsStatus
AdvancedSecurityOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::operator=
AdvancedSecurityOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: AdvancedSecurityOptionsStatus.h:52
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::AdvancedSecurityOptionsStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: AdvancedSecurityOptionsStatus.h:101