AWS SDK for C++  1.9.97
AWS SDK for C++
ServiceSoftwareOptions.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ElasticsearchService
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
47 
51  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
52 
56  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
57 
61  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
62 
66  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
67 
71  inline ServiceSoftwareOptions& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
72 
76  inline ServiceSoftwareOptions& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
77 
81  inline ServiceSoftwareOptions& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
82 
83 
87  inline const Aws::String& GetNewVersion() const{ return m_newVersion; }
88 
92  inline bool NewVersionHasBeenSet() const { return m_newVersionHasBeenSet; }
93 
97  inline void SetNewVersion(const Aws::String& value) { m_newVersionHasBeenSet = true; m_newVersion = value; }
98 
102  inline void SetNewVersion(Aws::String&& value) { m_newVersionHasBeenSet = true; m_newVersion = std::move(value); }
103 
107  inline void SetNewVersion(const char* value) { m_newVersionHasBeenSet = true; m_newVersion.assign(value); }
108 
112  inline ServiceSoftwareOptions& WithNewVersion(const Aws::String& value) { SetNewVersion(value); return *this;}
113 
117  inline ServiceSoftwareOptions& WithNewVersion(Aws::String&& value) { SetNewVersion(std::move(value)); return *this;}
118 
122  inline ServiceSoftwareOptions& WithNewVersion(const char* value) { SetNewVersion(value); return *this;}
123 
124 
130  inline bool GetUpdateAvailable() const{ return m_updateAvailable; }
131 
137  inline bool UpdateAvailableHasBeenSet() const { return m_updateAvailableHasBeenSet; }
138 
144  inline void SetUpdateAvailable(bool value) { m_updateAvailableHasBeenSet = true; m_updateAvailable = value; }
145 
151  inline ServiceSoftwareOptions& WithUpdateAvailable(bool value) { SetUpdateAvailable(value); return *this;}
152 
153 
159  inline bool GetCancellable() const{ return m_cancellable; }
160 
166  inline bool CancellableHasBeenSet() const { return m_cancellableHasBeenSet; }
167 
173  inline void SetCancellable(bool value) { m_cancellableHasBeenSet = true; m_cancellable = value; }
174 
180  inline ServiceSoftwareOptions& WithCancellable(bool value) { SetCancellable(value); return *this;}
181 
182 
189  inline const DeploymentStatus& GetUpdateStatus() const{ return m_updateStatus; }
190 
197  inline bool UpdateStatusHasBeenSet() const { return m_updateStatusHasBeenSet; }
198 
205  inline void SetUpdateStatus(const DeploymentStatus& value) { m_updateStatusHasBeenSet = true; m_updateStatus = value; }
206 
213  inline void SetUpdateStatus(DeploymentStatus&& value) { m_updateStatusHasBeenSet = true; m_updateStatus = std::move(value); }
214 
221  inline ServiceSoftwareOptions& WithUpdateStatus(const DeploymentStatus& value) { SetUpdateStatus(value); return *this;}
222 
229  inline ServiceSoftwareOptions& WithUpdateStatus(DeploymentStatus&& value) { SetUpdateStatus(std::move(value)); return *this;}
230 
231 
235  inline const Aws::String& GetDescription() const{ return m_description; }
236 
240  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
241 
245  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
246 
250  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
251 
255  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
256 
260  inline ServiceSoftwareOptions& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
261 
265  inline ServiceSoftwareOptions& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
266 
270  inline ServiceSoftwareOptions& WithDescription(const char* value) { SetDescription(value); return *this;}
271 
272 
278  inline const Aws::Utils::DateTime& GetAutomatedUpdateDate() const{ return m_automatedUpdateDate; }
279 
285  inline bool AutomatedUpdateDateHasBeenSet() const { return m_automatedUpdateDateHasBeenSet; }
286 
292  inline void SetAutomatedUpdateDate(const Aws::Utils::DateTime& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = value; }
293 
299  inline void SetAutomatedUpdateDate(Aws::Utils::DateTime&& value) { m_automatedUpdateDateHasBeenSet = true; m_automatedUpdateDate = std::move(value); }
300 
306  inline ServiceSoftwareOptions& WithAutomatedUpdateDate(const Aws::Utils::DateTime& value) { SetAutomatedUpdateDate(value); return *this;}
307 
313  inline ServiceSoftwareOptions& WithAutomatedUpdateDate(Aws::Utils::DateTime&& value) { SetAutomatedUpdateDate(std::move(value)); return *this;}
314 
315 
321  inline bool GetOptionalDeployment() const{ return m_optionalDeployment; }
322 
328  inline bool OptionalDeploymentHasBeenSet() const { return m_optionalDeploymentHasBeenSet; }
329 
335  inline void SetOptionalDeployment(bool value) { m_optionalDeploymentHasBeenSet = true; m_optionalDeployment = value; }
336 
342  inline ServiceSoftwareOptions& WithOptionalDeployment(bool value) { SetOptionalDeployment(value); return *this;}
343 
344  private:
345 
346  Aws::String m_currentVersion;
347  bool m_currentVersionHasBeenSet;
348 
349  Aws::String m_newVersion;
350  bool m_newVersionHasBeenSet;
351 
352  bool m_updateAvailable;
353  bool m_updateAvailableHasBeenSet;
354 
355  bool m_cancellable;
356  bool m_cancellableHasBeenSet;
357 
358  DeploymentStatus m_updateStatus;
359  bool m_updateStatusHasBeenSet;
360 
361  Aws::String m_description;
362  bool m_descriptionHasBeenSet;
363 
364  Aws::Utils::DateTime m_automatedUpdateDate;
365  bool m_automatedUpdateDateHasBeenSet;
366 
367  bool m_optionalDeployment;
368  bool m_optionalDeploymentHasBeenSet;
369  };
370 
371 } // namespace Model
372 } // namespace ElasticsearchService
373 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetCancellable
void SetCancellable(bool value)
Definition: ServiceSoftwareOptions.h:173
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:56
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: ServiceSoftwareOptions.h:66
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithCurrentVersion
ServiceSoftwareOptions & WithCurrentVersion(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:71
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithDescription
ServiceSoftwareOptions & WithDescription(const char *value)
Definition: ServiceSoftwareOptions.h:270
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetDescription
void SetDescription(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:245
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithNewVersion
ServiceSoftwareOptions & WithNewVersion(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:117
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: ServiceSoftwareOptions.h:46
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetAutomatedUpdateDate
void SetAutomatedUpdateDate(Aws::Utils::DateTime &&value)
Definition: ServiceSoftwareOptions.h:299
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::ServiceSoftwareOptions
ServiceSoftwareOptions()
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::CancellableHasBeenSet
bool CancellableHasBeenSet() const
Definition: ServiceSoftwareOptions.h:166
DateTime.h
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetAutomatedUpdateDate
void SetAutomatedUpdateDate(const Aws::Utils::DateTime &value)
Definition: ServiceSoftwareOptions.h:292
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::ServiceSoftwareOptions
ServiceSoftwareOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetUpdateStatus
void SetUpdateStatus(DeploymentStatus &&value)
Definition: ServiceSoftwareOptions.h:213
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::UpdateAvailableHasBeenSet
bool UpdateAvailableHasBeenSet() const
Definition: ServiceSoftwareOptions.h:137
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:61
DeploymentStatus.h
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetUpdateStatus
const DeploymentStatus & GetUpdateStatus() const
Definition: ServiceSoftwareOptions.h:189
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithDescription
ServiceSoftwareOptions & WithDescription(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:265
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithUpdateAvailable
ServiceSoftwareOptions & WithUpdateAvailable(bool value)
Definition: ServiceSoftwareOptions.h:151
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetUpdateAvailable
bool GetUpdateAvailable() const
Definition: ServiceSoftwareOptions.h:130
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetDescription
const Aws::String & GetDescription() const
Definition: ServiceSoftwareOptions.h:235
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithUpdateStatus
ServiceSoftwareOptions & WithUpdateStatus(const DeploymentStatus &value)
Definition: ServiceSoftwareOptions.h:221
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithOptionalDeployment
ServiceSoftwareOptions & WithOptionalDeployment(bool value)
Definition: ServiceSoftwareOptions.h:342
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithAutomatedUpdateDate
ServiceSoftwareOptions & WithAutomatedUpdateDate(Aws::Utils::DateTime &&value)
Definition: ServiceSoftwareOptions.h:313
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetDescription
void SetDescription(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:250
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetDescription
void SetDescription(const char *value)
Definition: ServiceSoftwareOptions.h:255
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetNewVersion
void SetNewVersion(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:102
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetCancellable
bool GetCancellable() const
Definition: ServiceSoftwareOptions.h:159
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetNewVersion
void SetNewVersion(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:97
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithDescription
ServiceSoftwareOptions & WithDescription(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:260
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithNewVersion
ServiceSoftwareOptions & WithNewVersion(const Aws::String &value)
Definition: ServiceSoftwareOptions.h:112
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::OptionalDeploymentHasBeenSet
bool OptionalDeploymentHasBeenSet() const
Definition: ServiceSoftwareOptions.h:328
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetUpdateAvailable
void SetUpdateAvailable(bool value)
Definition: ServiceSoftwareOptions.h:144
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithCancellable
ServiceSoftwareOptions & WithCancellable(bool value)
Definition: ServiceSoftwareOptions.h:180
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: ServiceSoftwareOptions.h:51
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithCurrentVersion
ServiceSoftwareOptions & WithCurrentVersion(const char *value)
Definition: ServiceSoftwareOptions.h:81
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetUpdateStatus
void SetUpdateStatus(const DeploymentStatus &value)
Definition: ServiceSoftwareOptions.h:205
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DeploymentStatus
DeploymentStatus
Definition: DeploymentStatus.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetNewVersion
const Aws::String & GetNewVersion() const
Definition: ServiceSoftwareOptions.h:87
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::AutomatedUpdateDateHasBeenSet
bool AutomatedUpdateDateHasBeenSet() const
Definition: ServiceSoftwareOptions.h:285
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetOptionalDeployment
bool GetOptionalDeployment() const
Definition: ServiceSoftwareOptions.h:321
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetNewVersion
void SetNewVersion(const char *value)
Definition: ServiceSoftwareOptions.h:107
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::SetOptionalDeployment
void SetOptionalDeployment(bool value)
Definition: ServiceSoftwareOptions.h:335
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::NewVersionHasBeenSet
bool NewVersionHasBeenSet() const
Definition: ServiceSoftwareOptions.h:92
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::operator=
ServiceSoftwareOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithCurrentVersion
ServiceSoftwareOptions & WithCurrentVersion(Aws::String &&value)
Definition: ServiceSoftwareOptions.h:76
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ServiceSoftwareOptions.h:240
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::GetAutomatedUpdateDate
const Aws::Utils::DateTime & GetAutomatedUpdateDate() const
Definition: ServiceSoftwareOptions.h:278
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithAutomatedUpdateDate
ServiceSoftwareOptions & WithAutomatedUpdateDate(const Aws::Utils::DateTime &value)
Definition: ServiceSoftwareOptions.h:306
Aws::ElasticsearchService::Model::ServiceSoftwareOptions
Definition: ServiceSoftwareOptions.h:35
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithNewVersion
ServiceSoftwareOptions & WithNewVersion(const char *value)
Definition: ServiceSoftwareOptions.h:122
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::WithUpdateStatus
ServiceSoftwareOptions & WithUpdateStatus(DeploymentStatus &&value)
Definition: ServiceSoftwareOptions.h:229
Aws::ElasticsearchService::Model::ServiceSoftwareOptions::UpdateStatusHasBeenSet
bool UpdateStatusHasBeenSet() const
Definition: ServiceSoftwareOptions.h:197