AWS SDK for C++  1.9.97
AWS SDK for C++
NodeToNodeEncryptionOptionsStatus.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 NodeToNodeEncryptionOptions& GetOptions() const{ return m_options; }
47 
52  inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
53 
58  inline void SetOptions(const NodeToNodeEncryptionOptions& value) { m_optionsHasBeenSet = true; m_options = value; }
59 
64  inline void SetOptions(NodeToNodeEncryptionOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
65 
70  inline NodeToNodeEncryptionOptionsStatus& WithOptions(const NodeToNodeEncryptionOptions& value) { SetOptions(value); return *this;}
71 
76  inline NodeToNodeEncryptionOptionsStatus& WithOptions(NodeToNodeEncryptionOptions&& 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 NodeToNodeEncryptionOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
108 
113  inline NodeToNodeEncryptionOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
114 
115  private:
116 
117  NodeToNodeEncryptionOptions 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
NodeToNodeEncryptionOptions.h
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::NodeToNodeEncryptionOptionsStatus
NodeToNodeEncryptionOptionsStatus()
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::SetOptions
void SetOptions(NodeToNodeEncryptionOptions &&value)
Definition: NodeToNodeEncryptionOptionsStatus.h:64
OptionStatus.h
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::WithOptions
NodeToNodeEncryptionOptionsStatus & WithOptions(NodeToNodeEncryptionOptions &&value)
Definition: NodeToNodeEncryptionOptionsStatus.h:76
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::SetStatus
void SetStatus(OptionStatus &&value)
Definition: NodeToNodeEncryptionOptionsStatus.h:101
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::OptionStatus
Definition: OptionStatus.h:33
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::WithStatus
NodeToNodeEncryptionOptionsStatus & WithStatus(OptionStatus &&value)
Definition: NodeToNodeEncryptionOptionsStatus.h:113
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::operator=
NodeToNodeEncryptionOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::GetOptions
const NodeToNodeEncryptionOptions & GetOptions() const
Definition: NodeToNodeEncryptionOptionsStatus.h:46
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: NodeToNodeEncryptionOptionsStatus.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::NodeToNodeEncryptionOptionsStatus
NodeToNodeEncryptionOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus
Definition: NodeToNodeEncryptionOptionsStatus.h:34
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::SetStatus
void SetStatus(const OptionStatus &value)
Definition: NodeToNodeEncryptionOptionsStatus.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::WithOptions
NodeToNodeEncryptionOptionsStatus & WithOptions(const NodeToNodeEncryptionOptions &value)
Definition: NodeToNodeEncryptionOptionsStatus.h:70
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::SetOptions
void SetOptions(const NodeToNodeEncryptionOptions &value)
Definition: NodeToNodeEncryptionOptionsStatus.h:58
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptions
Definition: NodeToNodeEncryptionOptions.h:30
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::WithStatus
NodeToNodeEncryptionOptionsStatus & WithStatus(const OptionStatus &value)
Definition: NodeToNodeEncryptionOptionsStatus.h:107
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::OptionsHasBeenSet
bool OptionsHasBeenSet() const
Definition: NodeToNodeEncryptionOptionsStatus.h:52
Aws::ElasticsearchService::Model::NodeToNodeEncryptionOptionsStatus::GetStatus
const OptionStatus & GetStatus() const
Definition: NodeToNodeEncryptionOptionsStatus.h:83