AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NodeToNodeEncryptionOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
9#include <aws/opensearch/model/OptionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API NodeToNodeEncryptionOptionsStatus() = default;
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const NodeToNodeEncryptionOptions& GetOptions() const { return m_options; }
47 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
48 template<typename OptionsT = NodeToNodeEncryptionOptions>
49 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet = true; m_options = std::forward<OptionsT>(value); }
50 template<typename OptionsT = NodeToNodeEncryptionOptions>
51 NodeToNodeEncryptionOptionsStatus& WithOptions(OptionsT&& value) { SetOptions(std::forward<OptionsT>(value)); return *this;}
53
55
59 inline const OptionStatus& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template<typename StatusT = OptionStatus>
62 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
63 template<typename StatusT = OptionStatus>
64 NodeToNodeEncryptionOptionsStatus& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
66 private:
67
69 bool m_optionsHasBeenSet = false;
70
71 OptionStatus m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace OpenSearchService
77} // namespace Aws
AWS_OPENSEARCHSERVICE_API NodeToNodeEncryptionOptionsStatus()=default
AWS_OPENSEARCHSERVICE_API NodeToNodeEncryptionOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API NodeToNodeEncryptionOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue