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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/model/PackageType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/opensearch/model/DomainPackageStatus.h>
12#include <aws/opensearch/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 OpenSearchService
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_OPENSEARCHSERVICE_API DomainPackageDetails();
42 AWS_OPENSEARCHSERVICE_API DomainPackageDetails(Aws::Utils::Json::JsonView jsonValue);
43 AWS_OPENSEARCHSERVICE_API DomainPackageDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetPackageID() const{ return m_packageID; }
52 inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
53 inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
54 inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
55 inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
56 inline DomainPackageDetails& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
57 inline DomainPackageDetails& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
58 inline DomainPackageDetails& WithPackageID(const char* value) { SetPackageID(value); return *this;}
60
62
65 inline const Aws::String& GetPackageName() const{ return m_packageName; }
66 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
67 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
68 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
69 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
70 inline DomainPackageDetails& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
71 inline DomainPackageDetails& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
72 inline DomainPackageDetails& WithPackageName(const char* value) { SetPackageName(value); return *this;}
74
76
79 inline const PackageType& GetPackageType() const{ return m_packageType; }
80 inline bool PackageTypeHasBeenSet() const { return m_packageTypeHasBeenSet; }
81 inline void SetPackageType(const PackageType& value) { m_packageTypeHasBeenSet = true; m_packageType = value; }
82 inline void SetPackageType(PackageType&& value) { m_packageTypeHasBeenSet = true; m_packageType = std::move(value); }
83 inline DomainPackageDetails& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
84 inline DomainPackageDetails& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
92 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
93 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
94 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
95 inline DomainPackageDetails& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
96 inline DomainPackageDetails& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetDomainName() const{ return m_domainName; }
104 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
105 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
106 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
107 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
108 inline DomainPackageDetails& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
109 inline DomainPackageDetails& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
110 inline DomainPackageDetails& WithDomainName(const char* value) { SetDomainName(value); return *this;}
112
114
117 inline const DomainPackageStatus& GetDomainPackageStatus() const{ return m_domainPackageStatus; }
118 inline bool DomainPackageStatusHasBeenSet() const { return m_domainPackageStatusHasBeenSet; }
119 inline void SetDomainPackageStatus(const DomainPackageStatus& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = value; }
120 inline void SetDomainPackageStatus(DomainPackageStatus&& value) { m_domainPackageStatusHasBeenSet = true; m_domainPackageStatus = std::move(value); }
124
126
129 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
130 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
131 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
132 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
133 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
134 inline DomainPackageDetails& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
135 inline DomainPackageDetails& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
136 inline DomainPackageDetails& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
138
140
144 inline const Aws::String& GetReferencePath() const{ return m_referencePath; }
145 inline bool ReferencePathHasBeenSet() const { return m_referencePathHasBeenSet; }
146 inline void SetReferencePath(const Aws::String& value) { m_referencePathHasBeenSet = true; m_referencePath = value; }
147 inline void SetReferencePath(Aws::String&& value) { m_referencePathHasBeenSet = true; m_referencePath = std::move(value); }
148 inline void SetReferencePath(const char* value) { m_referencePathHasBeenSet = true; m_referencePath.assign(value); }
149 inline DomainPackageDetails& WithReferencePath(const Aws::String& value) { SetReferencePath(value); return *this;}
150 inline DomainPackageDetails& WithReferencePath(Aws::String&& value) { SetReferencePath(std::move(value)); return *this;}
151 inline DomainPackageDetails& WithReferencePath(const char* value) { SetReferencePath(value); return *this;}
153
155
159 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
160 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
161 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
162 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
163 inline DomainPackageDetails& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
164 inline DomainPackageDetails& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_packageID;
169 bool m_packageIDHasBeenSet = false;
170
171 Aws::String m_packageName;
172 bool m_packageNameHasBeenSet = false;
173
174 PackageType m_packageType;
175 bool m_packageTypeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdated;
178 bool m_lastUpdatedHasBeenSet = false;
179
180 Aws::String m_domainName;
181 bool m_domainNameHasBeenSet = false;
182
183 DomainPackageStatus m_domainPackageStatus;
184 bool m_domainPackageStatusHasBeenSet = false;
185
186 Aws::String m_packageVersion;
187 bool m_packageVersionHasBeenSet = false;
188
189 Aws::String m_referencePath;
190 bool m_referencePathHasBeenSet = false;
191
192 ErrorDetails m_errorDetails;
193 bool m_errorDetailsHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace OpenSearchService
198} // namespace Aws
DomainPackageDetails & WithPackageName(const Aws::String &value)
DomainPackageDetails & WithReferencePath(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API DomainPackageDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API DomainPackageDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainPackageDetails & WithPackageVersion(const Aws::String &value)
DomainPackageDetails & WithPackageType(PackageType &&value)
DomainPackageDetails & WithPackageVersion(const char *value)
const Aws::Utils::DateTime & GetLastUpdated() const
DomainPackageDetails & WithDomainName(const char *value)
DomainPackageDetails & WithReferencePath(const char *value)
DomainPackageDetails & WithLastUpdated(Aws::Utils::DateTime &&value)
DomainPackageDetails & WithErrorDetails(ErrorDetails &&value)
DomainPackageDetails & WithPackageID(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DomainPackageDetails & WithPackageID(Aws::String &&value)
DomainPackageDetails & WithLastUpdated(const Aws::Utils::DateTime &value)
DomainPackageDetails & WithErrorDetails(const ErrorDetails &value)
DomainPackageDetails & WithDomainPackageStatus(DomainPackageStatus &&value)
DomainPackageDetails & WithDomainName(const Aws::String &value)
DomainPackageDetails & WithReferencePath(const Aws::String &value)
DomainPackageDetails & WithPackageName(const char *value)
const DomainPackageStatus & GetDomainPackageStatus() const
DomainPackageDetails & WithPackageVersion(Aws::String &&value)
DomainPackageDetails & WithPackageID(const Aws::String &value)
DomainPackageDetails & WithDomainName(Aws::String &&value)
DomainPackageDetails & WithPackageType(const PackageType &value)
DomainPackageDetails & WithDomainPackageStatus(const DomainPackageStatus &value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
void SetDomainPackageStatus(const DomainPackageStatus &value)
DomainPackageDetails & WithPackageName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue