AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SoftwareUpdateOptions.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchService {
17namespace Model {
18
26 public:
27 AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions() = default;
28 AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions(Aws::Utils::Json::JsonView jsonValue);
29 AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetAutoSoftwareUpdateEnabled() const { return m_autoSoftwareUpdateEnabled; }
37 inline bool AutoSoftwareUpdateEnabledHasBeenSet() const { return m_autoSoftwareUpdateEnabledHasBeenSet; }
38 inline void SetAutoSoftwareUpdateEnabled(bool value) {
39 m_autoSoftwareUpdateEnabledHasBeenSet = true;
40 m_autoSoftwareUpdateEnabled = value;
41 }
44 return *this;
45 }
47 private:
48 bool m_autoSoftwareUpdateEnabled{false};
49 bool m_autoSoftwareUpdateEnabledHasBeenSet = false;
50};
51
52} // namespace Model
53} // namespace OpenSearchService
54} // namespace Aws
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions()=default
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API SoftwareUpdateOptions(Aws::Utils::Json::JsonView jsonValue)
SoftwareUpdateOptions & WithAutoSoftwareUpdateEnabled(bool value)
Aws::Utils::Json::JsonValue JsonValue