AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAutomatedUpdateDate(const Aws::String& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = value; }
50 inline void SetAutomatedUpdateDate(Aws::String&& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = std::move(value); }
51 inline void SetAutomatedUpdateDate(const char* value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate.assign(value); }
56
58
61 inline bool GetCancellable() const{ return m_cancellable; }
62 inline bool CancellableHasBeenSet() const { return m_cancellableHasBeenSet; }
63 inline void SetCancellable(bool value) { m_cancellableHasBeenSet = true; m_cancellable = value; }
66
68
72 inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
73 inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
74 inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
75 inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
76 inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
79 inline AwsElasticsearchDomainServiceSoftwareOptions& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline AwsElasticsearchDomainServiceSoftwareOptions& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const Aws::String& GetNewVersion() const{ return m_newVersion; }
101 inline bool NewVersionHasBeenSet() const { return m_newVersionHasBeenSet; }
102 inline void SetNewVersion(const Aws::String& value) { m_newVersionHasBeenSet = true; m_newVersion = value; }
103 inline void SetNewVersion(Aws::String&& value) { m_newVersionHasBeenSet = true; m_newVersion = std::move(value); }
104 inline void SetNewVersion(const char* value) { m_newVersionHasBeenSet = true; m_newVersion.assign(value); }
107 inline AwsElasticsearchDomainServiceSoftwareOptions& WithNewVersion(const char* value) { SetNewVersion(value); return *this;}
109
111
114 inline bool GetUpdateAvailable() const{ return m_updateAvailable; }
115 inline bool UpdateAvailableHasBeenSet() const { return m_updateAvailableHasBeenSet; }
116 inline void SetUpdateAvailable(bool value) { m_updateAvailableHasBeenSet = true; m_updateAvailable = value; }
119
121
128 inline const Aws::String& GetUpdateStatus() const{ return m_updateStatus; }
129 inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
130 inline void SetUpdateStatus(const Aws::String& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
131 inline void SetUpdateStatus(Aws::String&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
132 inline void SetUpdateStatus(const char* value) { m_updateStatusHasBeenSet = true; m_updateStatus.assign(value); }
135 inline AwsElasticsearchDomainServiceSoftwareOptions& WithUpdateStatus(const char* value) { SetUpdateStatus(value); return *this;}
137 private:
138
139 Aws::String m_automatedUpdateDate;
140 bool m_automatedUpdateDateHasBeenSet = false;
141
142 bool m_cancellable;
143 bool m_cancellableHasBeenSet = false;
144
145 Aws::String m_currentVersion;
146 bool m_currentVersionHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_newVersion;
152 bool m_newVersionHasBeenSet = false;
153
154 bool m_updateAvailable;
155 bool m_updateAvailableHasBeenSet = false;
156
157 Aws::String m_updateStatus;
158 bool m_updateStatusHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace SecurityHub
163} // namespace Aws
AwsElasticsearchDomainServiceSoftwareOptions & WithUpdateStatus(const char *value)
AwsElasticsearchDomainServiceSoftwareOptions & WithNewVersion(const Aws::String &value)
AwsElasticsearchDomainServiceSoftwareOptions & WithAutomatedUpdateDate(const Aws::String &value)
AwsElasticsearchDomainServiceSoftwareOptions & WithUpdateStatus(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticsearchDomainServiceSoftwareOptions & WithCurrentVersion(const char *value)
AwsElasticsearchDomainServiceSoftwareOptions & WithAutomatedUpdateDate(const char *value)
AWS_SECURITYHUB_API AwsElasticsearchDomainServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainServiceSoftwareOptions & WithCurrentVersion(const Aws::String &value)
AwsElasticsearchDomainServiceSoftwareOptions & WithAutomatedUpdateDate(Aws::String &&value)
AwsElasticsearchDomainServiceSoftwareOptions & WithCurrentVersion(Aws::String &&value)
AwsElasticsearchDomainServiceSoftwareOptions & WithDescription(Aws::String &&value)
AWS_SECURITYHUB_API AwsElasticsearchDomainServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticsearchDomainServiceSoftwareOptions & WithDescription(const Aws::String &value)
AwsElasticsearchDomainServiceSoftwareOptions & WithNewVersion(const char *value)
AwsElasticsearchDomainServiceSoftwareOptions & WithDescription(const char *value)
AwsElasticsearchDomainServiceSoftwareOptions & WithUpdateStatus(const Aws::String &value)
AwsElasticsearchDomainServiceSoftwareOptions & WithNewVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue