AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageDetails.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/opensearch/model/PackageStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/opensearch/model/ErrorDetails.h>
13#include <aws/opensearch/model/PluginProperties.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace OpenSearchService
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API PackageDetails();
40 AWS_OPENSEARCHSERVICE_API PackageDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVICE_API PackageDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVICE_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 PackageDetails& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
55 inline PackageDetails& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
56 inline PackageDetails& 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 PackageDetails& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
69 inline PackageDetails& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
70 inline PackageDetails& 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 PackageDetails& WithPackageType(const PackageType& value) { SetPackageType(value); return *this;}
82 inline PackageDetails& WithPackageType(PackageType&& value) { SetPackageType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetPackageDescription() const{ return m_packageDescription; }
90 inline bool PackageDescriptionHasBeenSet() const { return m_packageDescriptionHasBeenSet; }
91 inline void SetPackageDescription(const Aws::String& value) { m_packageDescriptionHasBeenSet = true; m_packageDescription = value; }
92 inline void SetPackageDescription(Aws::String&& value) { m_packageDescriptionHasBeenSet = true; m_packageDescription = std::move(value); }
93 inline void SetPackageDescription(const char* value) { m_packageDescriptionHasBeenSet = true; m_packageDescription.assign(value); }
94 inline PackageDetails& WithPackageDescription(const Aws::String& value) { SetPackageDescription(value); return *this;}
95 inline PackageDetails& WithPackageDescription(Aws::String&& value) { SetPackageDescription(std::move(value)); return *this;}
96 inline PackageDetails& WithPackageDescription(const char* value) { SetPackageDescription(value); return *this;}
98
100
106 inline const PackageStatus& GetPackageStatus() const{ return m_packageStatus; }
107 inline bool PackageStatusHasBeenSet() const { return m_packageStatusHasBeenSet; }
108 inline void SetPackageStatus(const PackageStatus& value) { m_packageStatusHasBeenSet = true; m_packageStatus = value; }
109 inline void SetPackageStatus(PackageStatus&& value) { m_packageStatusHasBeenSet = true; m_packageStatus = std::move(value); }
110 inline PackageDetails& WithPackageStatus(const PackageStatus& value) { SetPackageStatus(value); return *this;}
111 inline PackageDetails& WithPackageStatus(PackageStatus&& value) { SetPackageStatus(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
119 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
120 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
121 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
122 inline PackageDetails& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
123 inline PackageDetails& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
131 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
132 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
133 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
134 inline PackageDetails& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
135 inline PackageDetails& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
137
139
142 inline const Aws::String& GetAvailablePackageVersion() const{ return m_availablePackageVersion; }
143 inline bool AvailablePackageVersionHasBeenSet() const { return m_availablePackageVersionHasBeenSet; }
144 inline void SetAvailablePackageVersion(const Aws::String& value) { m_availablePackageVersionHasBeenSet = true; m_availablePackageVersion = value; }
145 inline void SetAvailablePackageVersion(Aws::String&& value) { m_availablePackageVersionHasBeenSet = true; m_availablePackageVersion = std::move(value); }
146 inline void SetAvailablePackageVersion(const char* value) { m_availablePackageVersionHasBeenSet = true; m_availablePackageVersion.assign(value); }
148 inline PackageDetails& WithAvailablePackageVersion(Aws::String&& value) { SetAvailablePackageVersion(std::move(value)); return *this;}
149 inline PackageDetails& WithAvailablePackageVersion(const char* value) { SetAvailablePackageVersion(value); return *this;}
151
153
157 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
158 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
159 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
160 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
161 inline PackageDetails& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
162 inline PackageDetails& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(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 PackageDetails& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
176 inline PackageDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
177 inline PackageDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
179
181
185 inline const PluginProperties& GetAvailablePluginProperties() const{ return m_availablePluginProperties; }
186 inline bool AvailablePluginPropertiesHasBeenSet() const { return m_availablePluginPropertiesHasBeenSet; }
187 inline void SetAvailablePluginProperties(const PluginProperties& value) { m_availablePluginPropertiesHasBeenSet = true; m_availablePluginProperties = value; }
188 inline void SetAvailablePluginProperties(PluginProperties&& value) { m_availablePluginPropertiesHasBeenSet = true; m_availablePluginProperties = std::move(value); }
192 private:
193
194 Aws::String m_packageID;
195 bool m_packageIDHasBeenSet = false;
196
197 Aws::String m_packageName;
198 bool m_packageNameHasBeenSet = false;
199
200 PackageType m_packageType;
201 bool m_packageTypeHasBeenSet = false;
202
203 Aws::String m_packageDescription;
204 bool m_packageDescriptionHasBeenSet = false;
205
206 PackageStatus m_packageStatus;
207 bool m_packageStatusHasBeenSet = false;
208
209 Aws::Utils::DateTime m_createdAt;
210 bool m_createdAtHasBeenSet = false;
211
212 Aws::Utils::DateTime m_lastUpdatedAt;
213 bool m_lastUpdatedAtHasBeenSet = false;
214
215 Aws::String m_availablePackageVersion;
216 bool m_availablePackageVersionHasBeenSet = false;
217
218 ErrorDetails m_errorDetails;
219 bool m_errorDetailsHasBeenSet = false;
220
221 Aws::String m_engineVersion;
222 bool m_engineVersionHasBeenSet = false;
223
224 PluginProperties m_availablePluginProperties;
225 bool m_availablePluginPropertiesHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace OpenSearchService
230} // namespace Aws
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PackageDetails & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_OPENSEARCHSERVICE_API PackageDetails()
void SetAvailablePackageVersion(const Aws::String &value)
PackageDetails & WithAvailablePackageVersion(const char *value)
AWS_OPENSEARCHSERVICE_API PackageDetails(Aws::Utils::Json::JsonView jsonValue)
void SetPackageID(const Aws::String &value)
void SetPackageDescription(Aws::String &&value)
PackageDetails & WithPackageStatus(const PackageStatus &value)
PackageDetails & WithPackageStatus(PackageStatus &&value)
PackageDetails & WithPackageName(const char *value)
PackageDetails & WithAvailablePluginProperties(PluginProperties &&value)
void SetErrorDetails(const ErrorDetails &value)
void SetAvailablePluginProperties(PluginProperties &&value)
void SetAvailablePluginProperties(const PluginProperties &value)
void SetPackageName(const Aws::String &value)
PackageDetails & WithPackageID(Aws::String &&value)
PackageDetails & WithEngineVersion(Aws::String &&value)
PackageDetails & WithAvailablePackageVersion(Aws::String &&value)
const PackageStatus & GetPackageStatus() const
PackageDetails & WithErrorDetails(ErrorDetails &&value)
PackageDetails & WithEngineVersion(const Aws::String &value)
PackageDetails & WithPackageType(PackageType &&value)
void SetPackageDescription(const Aws::String &value)
PackageDetails & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
PackageDetails & WithPackageName(const Aws::String &value)
PackageDetails & WithPackageName(Aws::String &&value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
PackageDetails & WithEngineVersion(const char *value)
PackageDetails & WithPackageDescription(Aws::String &&value)
void SetPackageType(const PackageType &value)
PackageDetails & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetEngineVersion(const Aws::String &value)
PackageDetails & WithPackageID(const Aws::String &value)
PackageDetails & WithErrorDetails(const ErrorDetails &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const ErrorDetails & GetErrorDetails() const
void SetAvailablePackageVersion(Aws::String &&value)
PackageDetails & WithPackageDescription(const char *value)
PackageDetails & WithPackageDescription(const Aws::String &value)
const Aws::String & GetPackageDescription() const
const Aws::String & GetAvailablePackageVersion() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
PackageDetails & WithAvailablePackageVersion(const Aws::String &value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
PackageDetails & WithPackageID(const char *value)
PackageDetails & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetPackageStatus(const PackageStatus &value)
PackageDetails & WithPackageType(const PackageType &value)
PackageDetails & WithAvailablePluginProperties(const PluginProperties &value)
AWS_OPENSEARCHSERVICE_API PackageDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const PluginProperties & GetAvailablePluginProperties() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue