AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainPackageDetails.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/PackageType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/es/model/DomainPackageStatus.h>
12#include <aws/es/model/ErrorDetails.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ElasticsearchService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails();
40 AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetPackageID() const{ return m_packageID; }
50 inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
51 inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
52 inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
53 inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
54 inline DomainPackageDetails& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
55 inline DomainPackageDetails& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
56 inline DomainPackageDetails& WithPackageID(const char* value) { SetPackageID(value); return *this;}
58
60
63 inline const Aws::String& GetPackageName() const{ return m_packageName; }
64 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
65 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
66 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
67 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
68 inline DomainPackageDetails& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
69 inline DomainPackageDetails& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
70 inline DomainPackageDetails& WithPackageName(const char* value) { SetPackageName(value); return *this;}
72
74
77 inline const PackageType& GetPackageType() const{ return m_packageType; }
78 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
79 inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
80 inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
81 inline DomainPackageDetails& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
82 inline DomainPackageDetails& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
90 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
91 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
92 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
93 inline DomainPackageDetails& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
94 inline DomainPackageDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetDomainName() const{ return m_domainName; }
102 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
103 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
104 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
105 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
106 inline DomainPackageDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
107 inline DomainPackageDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
108 inline DomainPackageDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
110
112
116 inline const DomainPackageStatus& GetDomainPackageStatus() const{ return m_domainPackageStatus; }
117 inline bool DomainPackageStatusHasBeenSet() const { return m_domainPackageStatusHasBeenSet; }
118 inline void SetDomainPackageStatus(const DomainPackageStatus& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = value; }
119 inline void SetDomainPackageStatus(DomainPackageStatus&& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = std::move(value); }
123
125
126 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
127 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
128 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
129 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
130 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
131 inline DomainPackageDetails& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
132 inline DomainPackageDetails& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
133 inline DomainPackageDetails& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
135
137
141 inline const Aws::String& GetReferencePath() const{ return m_referencePath; }
142 inline bool ReferencePathHasBeenSet() const { return m_referencePathHasBeenSet; }
143 inline void SetReferencePath(const Aws::String& value) { m_referencePathHasBeenSet = true; m_referencePath = value; }
144 inline void SetReferencePath(Aws::String&& value) { m_referencePathHasBeenSet = true; m_referencePath = std::move(value); }
145 inline void SetReferencePath(const char* value) { m_referencePathHasBeenSet = true; m_referencePath.assign(value); }
146 inline DomainPackageDetails& WithReferencePath(const Aws::String& value) { SetReferencePath(value); return *this;}
147 inline DomainPackageDetails& WithReferencePath(Aws::String&& value) { SetReferencePath(std::move(value)); return *this;}
148 inline DomainPackageDetails& WithReferencePath(const char* value) { SetReferencePath(value); return *this;}
150
152
156 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
157 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
158 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
159 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
160 inline DomainPackageDetails& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
161 inline DomainPackageDetails& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
163 private:
164
165 Aws::String m_packageID;
166 bool m_packageIDHasBeenSet = false;
167
168 Aws::String m_packageName;
169 bool m_packageNameHasBeenSet = false;
170
171 PackageType m_packageType;
172 bool m_packageTypeHasBeenSet = false;
173
174 Aws::Utils::DateTime m_lastUpdated;
175 bool m_lastUpdatedHasBeenSet = false;
176
177 Aws::String m_domainName;
178 bool m_domainNameHasBeenSet = false;
179
180 DomainPackageStatus m_domainPackageStatus;
181 bool m_domainPackageStatusHasBeenSet = false;
182
183 Aws::String m_packageVersion;
184 bool m_packageVersionHasBeenSet = false;
185
186 Aws::String m_referencePath;
187 bool m_referencePathHasBeenSet = false;
188
189 ErrorDetails m_errorDetails;
190 bool m_errorDetailsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace ElasticsearchService
195} // namespace Aws
DomainPackageDetails & WithPackageVersion(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails()
DomainPackageDetails & WithLastUpdated(Aws::Utils::DateTime &&value)
DomainPackageDetails & WithPackageName(Aws::String &&value)
DomainPackageDetails & WithPackageType(PackageType &&value)
DomainPackageDetails & WithDomainName(const Aws::String &value)
DomainPackageDetails & WithPackageID(const Aws::String &value)
DomainPackageDetails & WithErrorDetails(ErrorDetails &&value)
AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainPackageDetails(Aws::Utils::Json::JsonView jsonValue)
DomainPackageDetails & WithPackageName(const Aws::String &value)
DomainPackageDetails & WithErrorDetails(const ErrorDetails &value)
void SetDomainPackageStatus(const DomainPackageStatus &value)
DomainPackageDetails & WithDomainName(const char *value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
DomainPackageDetails & WithPackageType(const PackageType &value)
DomainPackageDetails & WithLastUpdated(const Aws::Utils::DateTime &value)
DomainPackageDetails & WithPackageID(const char *value)
DomainPackageDetails & WithReferencePath(const Aws::String &value)
DomainPackageDetails & WithDomainPackageStatus(DomainPackageStatus &&value)
DomainPackageDetails & WithPackageID(Aws::String &&value)
DomainPackageDetails & WithPackageVersion(const char *value)
DomainPackageDetails & WithReferencePath(const char *value)
DomainPackageDetails & WithPackageVersion(Aws::String &&value)
DomainPackageDetails & WithDomainName(Aws::String &&value)
DomainPackageDetails & WithDomainPackageStatus(const DomainPackageStatus &value)
DomainPackageDetails & WithReferencePath(Aws::String &&value)
DomainPackageDetails & WithPackageName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue