AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsElasticsearchDomainServiceSoftwareOptions.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsElasticsearchDomainServiceSoftwareOptions() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetAutomatedUpdateDate() const { return m_automatedUpdateDate; }
48 inline bool AutomatedUpdateDateHasBeenSet() const { return m_automatedUpdateDateHasBeenSet; }
49 template<typename AutomatedUpdateDateT = Aws::String>
50 void SetAutomatedUpdateDate(AutomatedUpdateDateT&& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = std::forward<AutomatedUpdateDateT>(value); }
51 template<typename AutomatedUpdateDateT = Aws::String>
52 AwsElasticsearchDomainServiceSoftwareOptions& WithAutomatedUpdateDate(AutomatedUpdateDateT&& value) { SetAutomatedUpdateDate(std::forward<AutomatedUpdateDateT>(value)); return *this;}
54
56
59 inline bool GetCancellable() const { return m_cancellable; }
60 inline bool CancellableHasBeenSet() const { return m_cancellableHasBeenSet; }
61 inline void SetCancellable(bool value) { m_cancellableHasBeenSet = true; m_cancellable = value; }
64
66
70 inline const Aws::String& GetCurrentVersion() const { return m_currentVersion; }
71 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
72 template<typename CurrentVersionT = Aws::String>
73 void SetCurrentVersion(CurrentVersionT&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::forward<CurrentVersionT>(value); }
74 template<typename CurrentVersionT = Aws::String>
75 AwsElasticsearchDomainServiceSoftwareOptions& WithCurrentVersion(CurrentVersionT&& value) { SetCurrentVersion(std::forward<CurrentVersionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 AwsElasticsearchDomainServiceSoftwareOptions& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89
91
94 inline const Aws::String& GetNewVersion() const { return m_newVersion; }
95 inline bool NewVersionHasBeenSet() const { return m_newVersionHasBeenSet; }
96 template<typename NewVersionT = Aws::String>
97 void SetNewVersion(NewVersionT&& value) { m_newVersionHasBeenSet = true; m_newVersion = std::forward<NewVersionT>(value); }
98 template<typename NewVersionT = Aws::String>
99 AwsElasticsearchDomainServiceSoftwareOptions& WithNewVersion(NewVersionT&& value) { SetNewVersion(std::forward<NewVersionT>(value)); return *this;}
101
103
106 inline bool GetUpdateAvailable() const { return m_updateAvailable; }
107 inline bool UpdateAvailableHasBeenSet() const { return m_updateAvailableHasBeenSet; }
108 inline void SetUpdateAvailable(bool value) { m_updateAvailableHasBeenSet = true; m_updateAvailable = value; }
111
113
120 inline const Aws::String& GetUpdateStatus() const { return m_updateStatus; }
121 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
122 template<typename UpdateStatusT = Aws::String>
123 void SetUpdateStatus(UpdateStatusT&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::forward<UpdateStatusT>(value); }
124 template<typename UpdateStatusT = Aws::String>
125 AwsElasticsearchDomainServiceSoftwareOptions& WithUpdateStatus(UpdateStatusT&& value) { SetUpdateStatus(std::forward<UpdateStatusT>(value)); return *this;}
127 private:
128
129 Aws::String m_automatedUpdateDate;
130 bool m_automatedUpdateDateHasBeenSet = false;
131
132 bool m_cancellable{false};
133 bool m_cancellableHasBeenSet = false;
134
135 Aws::String m_currentVersion;
136 bool m_currentVersionHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_newVersion;
142 bool m_newVersionHasBeenSet = false;
143
144 bool m_updateAvailable{false};
145 bool m_updateAvailableHasBeenSet = false;
146
147 Aws::String m_updateStatus;
148 bool m_updateStatusHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SecurityHub
153} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticsearchDomainServiceSoftwareOptions & WithUpdateStatus(UpdateStatusT &&value)
AwsElasticsearchDomainServiceSoftwareOptions & WithCurrentVersion(CurrentVersionT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainServiceSoftwareOptions & WithAutomatedUpdateDate(AutomatedUpdateDateT &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainServiceSoftwareOptions & WithNewVersion(NewVersionT &&value)
AwsElasticsearchDomainServiceSoftwareOptions & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue