AWS SDK for C++  1.9.97
AWS SDK for C++
DomainPackageDetails.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetPackageID() const{ return m_packageID; }
49 
53  inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
54 
58  inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
59 
63  inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
64 
68  inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
69 
73  inline DomainPackageDetails& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
74 
78  inline DomainPackageDetails& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
79 
83  inline DomainPackageDetails& WithPackageID(const char* value) { SetPackageID(value); return *this;}
84 
85 
89  inline const Aws::String& GetPackageName() const{ return m_packageName; }
90 
94  inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
95 
99  inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
100 
104  inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
105 
109  inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
110 
114  inline DomainPackageDetails& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
115 
119  inline DomainPackageDetails& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
120 
124  inline DomainPackageDetails& WithPackageName(const char* value) { SetPackageName(value); return *this;}
125 
126 
130  inline const PackageType& GetPackageType() const{ return m_packageType; }
131 
135  inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
136 
140  inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
141 
145  inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
146 
150  inline DomainPackageDetails& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
151 
155  inline DomainPackageDetails& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
156 
157 
161  inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
162 
166  inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
167 
171  inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
172 
176  inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
177 
181  inline DomainPackageDetails& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
182 
186  inline DomainPackageDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
187 
188 
192  inline const Aws::String& GetDomainName() const{ return m_domainName; }
193 
197  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
198 
202  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
203 
207  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
208 
212  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
213 
217  inline DomainPackageDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
218 
222  inline DomainPackageDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
223 
227  inline DomainPackageDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
228 
229 
234  inline const DomainPackageStatus& GetDomainPackageStatus() const{ return m_domainPackageStatus; }
235 
240  inline bool DomainPackageStatusHasBeenSet() const { return m_domainPackageStatusHasBeenSet; }
241 
246  inline void SetDomainPackageStatus(const DomainPackageStatus& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = value; }
247 
252  inline void SetDomainPackageStatus(DomainPackageStatus&& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = std::move(value); }
253 
258  inline DomainPackageDetails& WithDomainPackageStatus(const DomainPackageStatus& value) { SetDomainPackageStatus(value); return *this;}
259 
264  inline DomainPackageDetails& WithDomainPackageStatus(DomainPackageStatus&& value) { SetDomainPackageStatus(std::move(value)); return *this;}
265 
266 
267 
268  inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
269 
270 
271  inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
272 
273 
274  inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
275 
276 
277  inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
278 
279 
280  inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
281 
282 
283  inline DomainPackageDetails& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
284 
285 
286  inline DomainPackageDetails& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
287 
288 
289  inline DomainPackageDetails& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
290 
291 
296  inline const Aws::String& GetReferencePath() const{ return m_referencePath; }
297 
302  inline bool ReferencePathHasBeenSet() const { return m_referencePathHasBeenSet; }
303 
308  inline void SetReferencePath(const Aws::String& value) { m_referencePathHasBeenSet = true; m_referencePath = value; }
309 
314  inline void SetReferencePath(Aws::String&& value) { m_referencePathHasBeenSet = true; m_referencePath = std::move(value); }
315 
320  inline void SetReferencePath(const char* value) { m_referencePathHasBeenSet = true; m_referencePath.assign(value); }
321 
326  inline DomainPackageDetails& WithReferencePath(const Aws::String& value) { SetReferencePath(value); return *this;}
327 
332  inline DomainPackageDetails& WithReferencePath(Aws::String&& value) { SetReferencePath(std::move(value)); return *this;}
333 
338  inline DomainPackageDetails& WithReferencePath(const char* value) { SetReferencePath(value); return *this;}
339 
340 
345  inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
346 
351  inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
352 
357  inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
358 
363  inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
364 
369  inline DomainPackageDetails& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
370 
375  inline DomainPackageDetails& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
376 
377  private:
378 
379  Aws::String m_packageID;
380  bool m_packageIDHasBeenSet;
381 
382  Aws::String m_packageName;
383  bool m_packageNameHasBeenSet;
384 
385  PackageType m_packageType;
386  bool m_packageTypeHasBeenSet;
387 
388  Aws::Utils::DateTime m_lastUpdated;
389  bool m_lastUpdatedHasBeenSet;
390 
391  Aws::String m_domainName;
392  bool m_domainNameHasBeenSet;
393 
394  DomainPackageStatus m_domainPackageStatus;
395  bool m_domainPackageStatusHasBeenSet;
396 
397  Aws::String m_packageVersion;
398  bool m_packageVersionHasBeenSet;
399 
400  Aws::String m_referencePath;
401  bool m_referencePathHasBeenSet;
402 
403  ErrorDetails m_errorDetails;
404  bool m_errorDetailsHasBeenSet;
405  };
406 
407 } // namespace Model
408 } // namespace ElasticsearchService
409 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticsearchService::Model::DomainPackageDetails::GetPackageVersion
const Aws::String & GetPackageVersion() const
Definition: DomainPackageDetails.h:268
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageVersion
DomainPackageDetails & WithPackageVersion(Aws::String &&value)
Definition: DomainPackageDetails.h:286
Aws::ElasticsearchService::Model::DomainPackageDetails::ErrorDetailsHasBeenSet
bool ErrorDetailsHasBeenSet() const
Definition: DomainPackageDetails.h:351
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageID
DomainPackageDetails & WithPackageID(Aws::String &&value)
Definition: DomainPackageDetails.h:78
Aws::ElasticsearchService::Model::DomainPackageDetails::SetDomainPackageStatus
void SetDomainPackageStatus(const DomainPackageStatus &value)
Definition: DomainPackageDetails.h:246
Aws::ElasticsearchService::Model::DomainPackageDetails::WithReferencePath
DomainPackageDetails & WithReferencePath(Aws::String &&value)
Definition: DomainPackageDetails.h:332
Aws::ElasticsearchService::Model::DomainPackageDetails::SetLastUpdated
void SetLastUpdated(Aws::Utils::DateTime &&value)
Definition: DomainPackageDetails.h:176
Aws::ElasticsearchService::Model::DomainPackageDetails::SetErrorDetails
void SetErrorDetails(const ErrorDetails &value)
Definition: DomainPackageDetails.h:357
Aws::ElasticsearchService::Model::DomainPackageDetails::WithErrorDetails
DomainPackageDetails & WithErrorDetails(ErrorDetails &&value)
Definition: DomainPackageDetails.h:375
Aws::ElasticsearchService::Model::DomainPackageDetails::SetDomainName
void SetDomainName(const char *value)
Definition: DomainPackageDetails.h:212
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageName
DomainPackageDetails & WithPackageName(const char *value)
Definition: DomainPackageDetails.h:124
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageVersion
DomainPackageDetails & WithPackageVersion(const char *value)
Definition: DomainPackageDetails.h:289
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageName
void SetPackageName(const char *value)
Definition: DomainPackageDetails.h:109
Aws::ElasticsearchService::Model::DomainPackageDetails::WithErrorDetails
DomainPackageDetails & WithErrorDetails(const ErrorDetails &value)
Definition: DomainPackageDetails.h:369
Aws::ElasticsearchService::Model::DomainPackageDetails::SetLastUpdated
void SetLastUpdated(const Aws::Utils::DateTime &value)
Definition: DomainPackageDetails.h:171
Aws::ElasticsearchService::Model::PackageType
PackageType
Definition: PackageType.h:17
DateTime.h
Aws::ElasticsearchService::Model::DomainPackageDetails::PackageIDHasBeenSet
bool PackageIDHasBeenSet() const
Definition: DomainPackageDetails.h:53
Aws::ElasticsearchService::Model::DomainPackageDetails::GetLastUpdated
const Aws::Utils::DateTime & GetLastUpdated() const
Definition: DomainPackageDetails.h:161
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageVersion
void SetPackageVersion(Aws::String &&value)
Definition: DomainPackageDetails.h:277
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageName
void SetPackageName(const Aws::String &value)
Definition: DomainPackageDetails.h:99
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageType
void SetPackageType(PackageType &&value)
Definition: DomainPackageDetails.h:145
Aws::ElasticsearchService::Model::DomainPackageDetails::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: DomainPackageDetails.h:207
Aws::ElasticsearchService::Model::DomainPackageDetails::PackageTypeHasBeenSet
bool PackageTypeHasBeenSet() const
Definition: DomainPackageDetails.h:135
DomainPackageStatus.h
Aws::ElasticsearchService::Model::DomainPackageStatus
DomainPackageStatus
Definition: DomainPackageStatus.h:17
Aws::ElasticsearchService::Model::DomainPackageDetails::WithReferencePath
DomainPackageDetails & WithReferencePath(const Aws::String &value)
Definition: DomainPackageDetails.h:326
Aws::ElasticsearchService::Model::DomainPackageDetails::WithDomainName
DomainPackageDetails & WithDomainName(const char *value)
Definition: DomainPackageDetails.h:227
Aws::ElasticsearchService::Model::DomainPackageDetails::operator=
DomainPackageDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DomainPackageDetails::SetReferencePath
void SetReferencePath(const char *value)
Definition: DomainPackageDetails.h:320
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageType
DomainPackageDetails & WithPackageType(PackageType &&value)
Definition: DomainPackageDetails.h:155
Aws::ElasticsearchService::Model::DomainPackageDetails::WithDomainName
DomainPackageDetails & WithDomainName(const Aws::String &value)
Definition: DomainPackageDetails.h:217
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageName
DomainPackageDetails & WithPackageName(Aws::String &&value)
Definition: DomainPackageDetails.h:119
Aws::ElasticsearchService::Model::DomainPackageDetails::WithReferencePath
DomainPackageDetails & WithReferencePath(const char *value)
Definition: DomainPackageDetails.h:338
Aws::ElasticsearchService::Model::DomainPackageDetails::GetPackageID
const Aws::String & GetPackageID() const
Definition: DomainPackageDetails.h:48
Aws::ElasticsearchService::Model::DomainPackageDetails::GetDomainPackageStatus
const DomainPackageStatus & GetDomainPackageStatus() const
Definition: DomainPackageDetails.h:234
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageType
void SetPackageType(const PackageType &value)
Definition: DomainPackageDetails.h:140
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageName
void SetPackageName(Aws::String &&value)
Definition: DomainPackageDetails.h:104
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DomainPackageDetails::DomainPackageDetails
DomainPackageDetails()
Aws::ElasticsearchService::Model::DomainPackageDetails::WithDomainName
DomainPackageDetails & WithDomainName(Aws::String &&value)
Definition: DomainPackageDetails.h:222
Aws::ElasticsearchService::Model::DomainPackageDetails::PackageNameHasBeenSet
bool PackageNameHasBeenSet() const
Definition: DomainPackageDetails.h:94
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainPackageDetails::GetDomainName
const Aws::String & GetDomainName() const
Definition: DomainPackageDetails.h:192
Aws::ElasticsearchService::Model::DomainPackageDetails
Definition: DomainPackageDetails.h:37
Aws::ElasticsearchService::Model::DomainPackageDetails::SetReferencePath
void SetReferencePath(Aws::String &&value)
Definition: DomainPackageDetails.h:314
Aws::ElasticsearchService::Model::DomainPackageDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DomainPackageDetails::ReferencePathHasBeenSet
bool ReferencePathHasBeenSet() const
Definition: DomainPackageDetails.h:302
Aws::ElasticsearchService::Model::DomainPackageDetails::DomainPackageDetails
DomainPackageDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageVersion
void SetPackageVersion(const char *value)
Definition: DomainPackageDetails.h:280
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageID
DomainPackageDetails & WithPackageID(const char *value)
Definition: DomainPackageDetails.h:83
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageVersion
void SetPackageVersion(const Aws::String &value)
Definition: DomainPackageDetails.h:274
Aws::ElasticsearchService::Model::DomainPackageDetails::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: DomainPackageDetails.h:202
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageID
DomainPackageDetails & WithPackageID(const Aws::String &value)
Definition: DomainPackageDetails.h:73
Aws::ElasticsearchService::Model::DomainPackageDetails::PackageVersionHasBeenSet
bool PackageVersionHasBeenSet() const
Definition: DomainPackageDetails.h:271
AWSString.h
Aws::ElasticsearchService::Model::DomainPackageDetails::LastUpdatedHasBeenSet
bool LastUpdatedHasBeenSet() const
Definition: DomainPackageDetails.h:166
Aws::ElasticsearchService::Model::DomainPackageDetails::GetPackageName
const Aws::String & GetPackageName() const
Definition: DomainPackageDetails.h:89
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::DomainPackageDetails::WithLastUpdated
DomainPackageDetails & WithLastUpdated(const Aws::Utils::DateTime &value)
Definition: DomainPackageDetails.h:181
Aws::ElasticsearchService::Model::DomainPackageDetails::DomainPackageStatusHasBeenSet
bool DomainPackageStatusHasBeenSet() const
Definition: DomainPackageDetails.h:240
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageID
void SetPackageID(const char *value)
Definition: DomainPackageDetails.h:68
Aws::ElasticsearchService::Model::DomainPackageDetails::WithDomainPackageStatus
DomainPackageDetails & WithDomainPackageStatus(const DomainPackageStatus &value)
Definition: DomainPackageDetails.h:258
Aws::ElasticsearchService::Model::DomainPackageDetails::SetErrorDetails
void SetErrorDetails(ErrorDetails &&value)
Definition: DomainPackageDetails.h:363
Aws::ElasticsearchService::Model::ErrorDetails
Definition: ErrorDetails.h:27
Aws::ElasticsearchService::Model::DomainPackageDetails::GetReferencePath
const Aws::String & GetReferencePath() const
Definition: DomainPackageDetails.h:296
Aws::ElasticsearchService::Model::DomainPackageDetails::GetErrorDetails
const ErrorDetails & GetErrorDetails() const
Definition: DomainPackageDetails.h:345
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageID
void SetPackageID(const Aws::String &value)
Definition: DomainPackageDetails.h:58
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageName
DomainPackageDetails & WithPackageName(const Aws::String &value)
Definition: DomainPackageDetails.h:114
PackageType.h
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DomainPackageDetails::SetPackageID
void SetPackageID(Aws::String &&value)
Definition: DomainPackageDetails.h:63
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageVersion
DomainPackageDetails & WithPackageVersion(const Aws::String &value)
Definition: DomainPackageDetails.h:283
Aws::ElasticsearchService::Model::DomainPackageDetails::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: DomainPackageDetails.h:197
Aws::ElasticsearchService::Model::DomainPackageDetails::WithLastUpdated
DomainPackageDetails & WithLastUpdated(Aws::Utils::DateTime &&value)
Definition: DomainPackageDetails.h:186
Aws::ElasticsearchService::Model::DomainPackageDetails::GetPackageType
const PackageType & GetPackageType() const
Definition: DomainPackageDetails.h:130
Aws::ElasticsearchService::Model::DomainPackageDetails::WithDomainPackageStatus
DomainPackageDetails & WithDomainPackageStatus(DomainPackageStatus &&value)
Definition: DomainPackageDetails.h:264
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DomainPackageDetails::WithPackageType
DomainPackageDetails & WithPackageType(const PackageType &value)
Definition: DomainPackageDetails.h:150
ErrorDetails.h
Aws::ElasticsearchService::Model::DomainPackageDetails::SetReferencePath
void SetReferencePath(const Aws::String &value)
Definition: DomainPackageDetails.h:308
Aws::ElasticsearchService::Model::DomainPackageDetails::SetDomainPackageStatus
void SetDomainPackageStatus(DomainPackageStatus &&value)
Definition: DomainPackageDetails.h:252