AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceUpdate.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticache/model/ServiceUpdateSeverity.h>
12#include <aws/elasticache/model/ServiceUpdateStatus.h>
13#include <aws/elasticache/model/ServiceUpdateType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ELASTICACHE_API ServiceUpdate();
40 AWS_ELASTICACHE_API ServiceUpdate(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ELASTICACHE_API ServiceUpdate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; }
52 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
53 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
54 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
55 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
56 inline ServiceUpdate& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;}
57 inline ServiceUpdate& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
58 inline ServiceUpdate& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetServiceUpdateReleaseDate() const{ return m_serviceUpdateReleaseDate; }
66 inline bool ServiceUpdateReleaseDateHasBeenSet() const { return m_serviceUpdateReleaseDateHasBeenSet; }
67 inline void SetServiceUpdateReleaseDate(const Aws::Utils::DateTime& value) { m_serviceUpdateReleaseDateHasBeenSet = true; m_serviceUpdateReleaseDate = value; }
68 inline void SetServiceUpdateReleaseDate(Aws::Utils::DateTime&& value) { m_serviceUpdateReleaseDateHasBeenSet = true; m_serviceUpdateReleaseDate = std::move(value); }
72
74
77 inline const Aws::Utils::DateTime& GetServiceUpdateEndDate() const{ return m_serviceUpdateEndDate; }
78 inline bool ServiceUpdateEndDateHasBeenSet() const { return m_serviceUpdateEndDateHasBeenSet; }
79 inline void SetServiceUpdateEndDate(const Aws::Utils::DateTime& value) { m_serviceUpdateEndDateHasBeenSet = true; m_serviceUpdateEndDate = value; }
80 inline void SetServiceUpdateEndDate(Aws::Utils::DateTime&& value) { m_serviceUpdateEndDateHasBeenSet = true; m_serviceUpdateEndDate = std::move(value); }
82 inline ServiceUpdate& WithServiceUpdateEndDate(Aws::Utils::DateTime&& value) { SetServiceUpdateEndDate(std::move(value)); return *this;}
84
86
89 inline const ServiceUpdateSeverity& GetServiceUpdateSeverity() const{ return m_serviceUpdateSeverity; }
90 inline bool ServiceUpdateSeverityHasBeenSet() const { return m_serviceUpdateSeverityHasBeenSet; }
91 inline void SetServiceUpdateSeverity(const ServiceUpdateSeverity& value) { m_serviceUpdateSeverityHasBeenSet = true; m_serviceUpdateSeverity = value; }
92 inline void SetServiceUpdateSeverity(ServiceUpdateSeverity&& value) { m_serviceUpdateSeverityHasBeenSet = true; m_serviceUpdateSeverity = std::move(value); }
96
98
104 inline const Aws::Utils::DateTime& GetServiceUpdateRecommendedApplyByDate() const{ return m_serviceUpdateRecommendedApplyByDate; }
105 inline bool ServiceUpdateRecommendedApplyByDateHasBeenSet() const { return m_serviceUpdateRecommendedApplyByDateHasBeenSet; }
106 inline void SetServiceUpdateRecommendedApplyByDate(const Aws::Utils::DateTime& value) { m_serviceUpdateRecommendedApplyByDateHasBeenSet = true; m_serviceUpdateRecommendedApplyByDate = value; }
107 inline void SetServiceUpdateRecommendedApplyByDate(Aws::Utils::DateTime&& value) { m_serviceUpdateRecommendedApplyByDateHasBeenSet = true; m_serviceUpdateRecommendedApplyByDate = std::move(value); }
111
113
116 inline const ServiceUpdateStatus& GetServiceUpdateStatus() const{ return m_serviceUpdateStatus; }
117 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
118 inline void SetServiceUpdateStatus(const ServiceUpdateStatus& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = value; }
119 inline void SetServiceUpdateStatus(ServiceUpdateStatus&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::move(value); }
121 inline ServiceUpdate& WithServiceUpdateStatus(ServiceUpdateStatus&& value) { SetServiceUpdateStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetServiceUpdateDescription() const{ return m_serviceUpdateDescription; }
129 inline bool ServiceUpdateDescriptionHasBeenSet() const { return m_serviceUpdateDescriptionHasBeenSet; }
130 inline void SetServiceUpdateDescription(const Aws::String& value) { m_serviceUpdateDescriptionHasBeenSet = true; m_serviceUpdateDescription = value; }
131 inline void SetServiceUpdateDescription(Aws::String&& value) { m_serviceUpdateDescriptionHasBeenSet = true; m_serviceUpdateDescription = std::move(value); }
132 inline void SetServiceUpdateDescription(const char* value) { m_serviceUpdateDescriptionHasBeenSet = true; m_serviceUpdateDescription.assign(value); }
134 inline ServiceUpdate& WithServiceUpdateDescription(Aws::String&& value) { SetServiceUpdateDescription(std::move(value)); return *this;}
135 inline ServiceUpdate& WithServiceUpdateDescription(const char* value) { SetServiceUpdateDescription(value); return *this;}
137
139
142 inline const ServiceUpdateType& GetServiceUpdateType() const{ return m_serviceUpdateType; }
143 inline bool ServiceUpdateTypeHasBeenSet() const { return m_serviceUpdateTypeHasBeenSet; }
144 inline void SetServiceUpdateType(const ServiceUpdateType& value) { m_serviceUpdateTypeHasBeenSet = true; m_serviceUpdateType = value; }
145 inline void SetServiceUpdateType(ServiceUpdateType&& value) { m_serviceUpdateTypeHasBeenSet = true; m_serviceUpdateType = std::move(value); }
146 inline ServiceUpdate& WithServiceUpdateType(const ServiceUpdateType& value) { SetServiceUpdateType(value); return *this;}
147 inline ServiceUpdate& WithServiceUpdateType(ServiceUpdateType&& value) { SetServiceUpdateType(std::move(value)); return *this;}
149
151
155 inline const Aws::String& GetEngine() const{ return m_engine; }
156 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
157 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
158 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
159 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
160 inline ServiceUpdate& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
161 inline ServiceUpdate& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
162 inline ServiceUpdate& WithEngine(const char* value) { SetEngine(value); return *this;}
164
166
170 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
171 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
172 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
173 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
174 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
175 inline ServiceUpdate& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
176 inline ServiceUpdate& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
177 inline ServiceUpdate& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
179
181
185 inline bool GetAutoUpdateAfterRecommendedApplyByDate() const{ return m_autoUpdateAfterRecommendedApplyByDate; }
186 inline bool AutoUpdateAfterRecommendedApplyByDateHasBeenSet() const { return m_autoUpdateAfterRecommendedApplyByDateHasBeenSet; }
187 inline void SetAutoUpdateAfterRecommendedApplyByDate(bool value) { m_autoUpdateAfterRecommendedApplyByDateHasBeenSet = true; m_autoUpdateAfterRecommendedApplyByDate = value; }
190
192
195 inline const Aws::String& GetEstimatedUpdateTime() const{ return m_estimatedUpdateTime; }
196 inline bool EstimatedUpdateTimeHasBeenSet() const { return m_estimatedUpdateTimeHasBeenSet; }
197 inline void SetEstimatedUpdateTime(const Aws::String& value) { m_estimatedUpdateTimeHasBeenSet = true; m_estimatedUpdateTime = value; }
198 inline void SetEstimatedUpdateTime(Aws::String&& value) { m_estimatedUpdateTimeHasBeenSet = true; m_estimatedUpdateTime = std::move(value); }
199 inline void SetEstimatedUpdateTime(const char* value) { m_estimatedUpdateTimeHasBeenSet = true; m_estimatedUpdateTime.assign(value); }
200 inline ServiceUpdate& WithEstimatedUpdateTime(const Aws::String& value) { SetEstimatedUpdateTime(value); return *this;}
201 inline ServiceUpdate& WithEstimatedUpdateTime(Aws::String&& value) { SetEstimatedUpdateTime(std::move(value)); return *this;}
202 inline ServiceUpdate& WithEstimatedUpdateTime(const char* value) { SetEstimatedUpdateTime(value); return *this;}
204 private:
205
206 Aws::String m_serviceUpdateName;
207 bool m_serviceUpdateNameHasBeenSet = false;
208
209 Aws::Utils::DateTime m_serviceUpdateReleaseDate;
210 bool m_serviceUpdateReleaseDateHasBeenSet = false;
211
212 Aws::Utils::DateTime m_serviceUpdateEndDate;
213 bool m_serviceUpdateEndDateHasBeenSet = false;
214
215 ServiceUpdateSeverity m_serviceUpdateSeverity;
216 bool m_serviceUpdateSeverityHasBeenSet = false;
217
218 Aws::Utils::DateTime m_serviceUpdateRecommendedApplyByDate;
219 bool m_serviceUpdateRecommendedApplyByDateHasBeenSet = false;
220
221 ServiceUpdateStatus m_serviceUpdateStatus;
222 bool m_serviceUpdateStatusHasBeenSet = false;
223
224 Aws::String m_serviceUpdateDescription;
225 bool m_serviceUpdateDescriptionHasBeenSet = false;
226
227 ServiceUpdateType m_serviceUpdateType;
228 bool m_serviceUpdateTypeHasBeenSet = false;
229
230 Aws::String m_engine;
231 bool m_engineHasBeenSet = false;
232
233 Aws::String m_engineVersion;
234 bool m_engineVersionHasBeenSet = false;
235
236 bool m_autoUpdateAfterRecommendedApplyByDate;
237 bool m_autoUpdateAfterRecommendedApplyByDateHasBeenSet = false;
238
239 Aws::String m_estimatedUpdateTime;
240 bool m_estimatedUpdateTimeHasBeenSet = false;
241 };
242
243} // namespace Model
244} // namespace ElastiCache
245} // namespace Aws
ServiceUpdate & WithServiceUpdateStatus(ServiceUpdateStatus &&value)
void SetServiceUpdateDescription(const Aws::String &value)
void SetServiceUpdateDescription(Aws::String &&value)
void SetAutoUpdateAfterRecommendedApplyByDate(bool value)
const Aws::String & GetEstimatedUpdateTime() const
void SetEstimatedUpdateTime(const Aws::String &value)
void SetEstimatedUpdateTime(const char *value)
ServiceUpdate & WithServiceUpdateReleaseDate(const Aws::Utils::DateTime &value)
void SetServiceUpdateName(const Aws::String &value)
AWS_ELASTICACHE_API ServiceUpdate(const Aws::Utils::Xml::XmlNode &xmlNode)
ServiceUpdate & WithServiceUpdateType(const ServiceUpdateType &value)
ServiceUpdate & WithEngine(Aws::String &&value)
void SetEngine(const Aws::String &value)
ServiceUpdate & WithServiceUpdateSeverity(ServiceUpdateSeverity &&value)
ServiceUpdate & WithServiceUpdateRecommendedApplyByDate(const Aws::Utils::DateTime &value)
void SetEngineVersion(const char *value)
ServiceUpdate & WithEngine(const Aws::String &value)
void SetServiceUpdateStatus(const ServiceUpdateStatus &value)
void SetServiceUpdateName(const char *value)
void SetServiceUpdateReleaseDate(Aws::Utils::DateTime &&value)
void SetServiceUpdateType(ServiceUpdateType &&value)
void SetServiceUpdateName(Aws::String &&value)
void SetServiceUpdateType(const ServiceUpdateType &value)
void SetServiceUpdateEndDate(const Aws::Utils::DateTime &value)
void SetServiceUpdateDescription(const char *value)
const ServiceUpdateSeverity & GetServiceUpdateSeverity() const
const Aws::Utils::DateTime & GetServiceUpdateRecommendedApplyByDate() const
ServiceUpdate & WithServiceUpdateSeverity(const ServiceUpdateSeverity &value)
ServiceUpdate & WithServiceUpdateReleaseDate(Aws::Utils::DateTime &&value)
void SetServiceUpdateSeverity(const ServiceUpdateSeverity &value)
const Aws::String & GetEngineVersion() const
bool AutoUpdateAfterRecommendedApplyByDateHasBeenSet() const
const ServiceUpdateStatus & GetServiceUpdateStatus() const
ServiceUpdate & WithServiceUpdateEndDate(const Aws::Utils::DateTime &value)
ServiceUpdate & WithServiceUpdateName(const char *value)
ServiceUpdate & WithServiceUpdateDescription(Aws::String &&value)
void SetServiceUpdateReleaseDate(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Utils::DateTime & GetServiceUpdateReleaseDate() const
void SetServiceUpdateRecommendedApplyByDate(Aws::Utils::DateTime &&value)
const ServiceUpdateType & GetServiceUpdateType() const
ServiceUpdate & WithServiceUpdateRecommendedApplyByDate(Aws::Utils::DateTime &&value)
ServiceUpdate & WithEngineVersion(const Aws::String &value)
void SetServiceUpdateEndDate(Aws::Utils::DateTime &&value)
const Aws::String & GetEngine() const
ServiceUpdate & WithEngine(const char *value)
ServiceUpdate & WithServiceUpdateName(Aws::String &&value)
ServiceUpdate & WithServiceUpdateEndDate(Aws::Utils::DateTime &&value)
ServiceUpdate & WithEstimatedUpdateTime(const char *value)
void SetEngine(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetServiceUpdateStatus(ServiceUpdateStatus &&value)
ServiceUpdate & WithServiceUpdateStatus(const ServiceUpdateStatus &value)
void SetEngineVersion(const Aws::String &value)
AWS_ELASTICACHE_API ServiceUpdate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetServiceUpdateDescription() const
ServiceUpdate & WithServiceUpdateType(ServiceUpdateType &&value)
ServiceUpdate & WithEngineVersion(const char *value)
ServiceUpdate & WithServiceUpdateDescription(const Aws::String &value)
ServiceUpdate & WithEstimatedUpdateTime(Aws::String &&value)
const Aws::Utils::DateTime & GetServiceUpdateEndDate() const
ServiceUpdate & WithEngineVersion(Aws::String &&value)
void SetServiceUpdateRecommendedApplyByDate(const Aws::Utils::DateTime &value)
void SetServiceUpdateSeverity(ServiceUpdateSeverity &&value)
ServiceUpdate & WithEstimatedUpdateTime(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
ServiceUpdate & WithServiceUpdateDescription(const char *value)
ServiceUpdate & WithServiceUpdateName(const Aws::String &value)
const Aws::String & GetServiceUpdateName() const
void SetEstimatedUpdateTime(Aws::String &&value)
ServiceUpdate & WithAutoUpdateAfterRecommendedApplyByDate(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream