AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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
49
54 inline bool GetUseLatestServiceSoftwareForBlueGreen() const { return m_useLatestServiceSoftwareForBlueGreen; }
55 inline bool UseLatestServiceSoftwareForBlueGreenHasBeenSet() const { return m_useLatestServiceSoftwareForBlueGreenHasBeenSet; }
57 m_useLatestServiceSoftwareForBlueGreenHasBeenSet = true;
58 m_useLatestServiceSoftwareForBlueGreen = value;
59 }
62 return *this;
63 }
65 private:
66 bool m_autoSoftwareUpdateEnabled{false};
67
68 bool m_useLatestServiceSoftwareForBlueGreen{false};
69 bool m_autoSoftwareUpdateEnabledHasBeenSet = false;
70 bool m_useLatestServiceSoftwareForBlueGreenHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace OpenSearchService
75} // 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)
SoftwareUpdateOptions & WithUseLatestServiceSoftwareForBlueGreen(bool value)
Aws::Utils::Json::JsonValue JsonValue