AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SoftwareUpdateOptionsStatus.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/OptionStatus.h>
9#include <aws/opensearch/model/SoftwareUpdateOptions.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace OpenSearchService {
21namespace Model {
22
30 public:
31 AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptionsStatus() = default;
32 AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const SoftwareUpdateOptions& GetOptions() const { return m_options; }
41 inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
42 template <typename OptionsT = SoftwareUpdateOptions>
43 void SetOptions(OptionsT&& value) {
44 m_optionsHasBeenSet = true;
45 m_options = std::forward<OptionsT>(value);
46 }
47 template <typename OptionsT = SoftwareUpdateOptions>
49 SetOptions(std::forward<OptionsT>(value));
50 return *this;
51 }
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) {
63 m_statusHasBeenSet = true;
64 m_status = std::forward<StatusT>(value);
65 }
66 template <typename StatusT = OptionStatus>
68 SetStatus(std::forward<StatusT>(value));
69 return *this;
70 }
72 private:
73 SoftwareUpdateOptions m_options;
74
75 OptionStatus m_status;
76 bool m_optionsHasBeenSet = false;
77 bool m_statusHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace OpenSearchService
82} // namespace Aws
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptionsStatus(Aws::Utils::Json::JsonView jsonValue)
SoftwareUpdateOptionsStatus & WithOptions(OptionsT &&value)
SoftwareUpdateOptionsStatus & WithStatus(StatusT &&value)
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptionsStatus()=default
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptionsStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue