AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePackageVersionResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/panorama/model/PackageVersionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Panorama
26{
27namespace Model
28{
30 {
31 public:
32 AWS_PANORAMA_API DescribePackageVersionResult();
35
36
38
41 inline bool GetIsLatestPatch() const{ return m_isLatestPatch; }
42 inline void SetIsLatestPatch(bool value) { m_isLatestPatch = value; }
43 inline DescribePackageVersionResult& WithIsLatestPatch(bool value) { SetIsLatestPatch(value); return *this;}
45
47
50 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
51 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccount = value; }
52 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccount = std::move(value); }
53 inline void SetOwnerAccount(const char* value) { m_ownerAccount.assign(value); }
54 inline DescribePackageVersionResult& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
55 inline DescribePackageVersionResult& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
56 inline DescribePackageVersionResult& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
58
60
63 inline const Aws::String& GetPackageArn() const{ return m_packageArn; }
64 inline void SetPackageArn(const Aws::String& value) { m_packageArn = value; }
65 inline void SetPackageArn(Aws::String&& value) { m_packageArn = std::move(value); }
66 inline void SetPackageArn(const char* value) { m_packageArn.assign(value); }
67 inline DescribePackageVersionResult& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;}
68 inline DescribePackageVersionResult& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;}
69 inline DescribePackageVersionResult& WithPackageArn(const char* value) { SetPackageArn(value); return *this;}
71
73
76 inline const Aws::String& GetPackageId() const{ return m_packageId; }
77 inline void SetPackageId(const Aws::String& value) { m_packageId = value; }
78 inline void SetPackageId(Aws::String&& value) { m_packageId = std::move(value); }
79 inline void SetPackageId(const char* value) { m_packageId.assign(value); }
80 inline DescribePackageVersionResult& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
81 inline DescribePackageVersionResult& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
82 inline DescribePackageVersionResult& WithPackageId(const char* value) { SetPackageId(value); return *this;}
84
86
89 inline const Aws::String& GetPackageName() const{ return m_packageName; }
90 inline void SetPackageName(const Aws::String& value) { m_packageName = value; }
91 inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); }
92 inline void SetPackageName(const char* value) { m_packageName.assign(value); }
93 inline DescribePackageVersionResult& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
94 inline DescribePackageVersionResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
95 inline DescribePackageVersionResult& WithPackageName(const char* value) { SetPackageName(value); return *this;}
97
99
102 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
103 inline void SetPackageVersion(const Aws::String& value) { m_packageVersion = value; }
104 inline void SetPackageVersion(Aws::String&& value) { m_packageVersion = std::move(value); }
105 inline void SetPackageVersion(const char* value) { m_packageVersion.assign(value); }
107 inline DescribePackageVersionResult& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
108 inline DescribePackageVersionResult& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
110
112
115 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
116 inline void SetPatchVersion(const Aws::String& value) { m_patchVersion = value; }
117 inline void SetPatchVersion(Aws::String&& value) { m_patchVersion = std::move(value); }
118 inline void SetPatchVersion(const char* value) { m_patchVersion.assign(value); }
119 inline DescribePackageVersionResult& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
120 inline DescribePackageVersionResult& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
121 inline DescribePackageVersionResult& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetRegisteredTime() const{ return m_registeredTime; }
129 inline void SetRegisteredTime(const Aws::Utils::DateTime& value) { m_registeredTime = value; }
130 inline void SetRegisteredTime(Aws::Utils::DateTime&& value) { m_registeredTime = std::move(value); }
134
136
139 inline const PackageVersionStatus& GetStatus() const{ return m_status; }
140 inline void SetStatus(const PackageVersionStatus& value) { m_status = value; }
141 inline void SetStatus(PackageVersionStatus&& value) { m_status = std::move(value); }
142 inline DescribePackageVersionResult& WithStatus(const PackageVersionStatus& value) { SetStatus(value); return *this;}
143 inline DescribePackageVersionResult& WithStatus(PackageVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
145
147
150 inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; }
151 inline void SetStatusDescription(const Aws::String& value) { m_statusDescription = value; }
152 inline void SetStatusDescription(Aws::String&& value) { m_statusDescription = std::move(value); }
153 inline void SetStatusDescription(const char* value) { m_statusDescription.assign(value); }
155 inline DescribePackageVersionResult& WithStatusDescription(Aws::String&& value) { SetStatusDescription(std::move(value)); return *this;}
156 inline DescribePackageVersionResult& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline DescribePackageVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline DescribePackageVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline DescribePackageVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 bool m_isLatestPatch;
172
173 Aws::String m_ownerAccount;
174
175 Aws::String m_packageArn;
176
177 Aws::String m_packageId;
178
179 Aws::String m_packageName;
180
181 Aws::String m_packageVersion;
182
183 Aws::String m_patchVersion;
184
185 Aws::Utils::DateTime m_registeredTime;
186
187 PackageVersionStatus m_status;
188
189 Aws::String m_statusDescription;
190
191 Aws::String m_requestId;
192 };
193
194} // namespace Model
195} // namespace Panorama
196} // namespace Aws
DescribePackageVersionResult & WithPackageArn(const Aws::String &value)
DescribePackageVersionResult & WithPackageId(const char *value)
DescribePackageVersionResult & WithStatus(const PackageVersionStatus &value)
AWS_PANORAMA_API DescribePackageVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePackageVersionResult & WithRequestId(const Aws::String &value)
DescribePackageVersionResult & WithPatchVersion(Aws::String &&value)
DescribePackageVersionResult & WithPackageVersion(Aws::String &&value)
DescribePackageVersionResult & WithStatusDescription(const Aws::String &value)
DescribePackageVersionResult & WithPackageName(const char *value)
DescribePackageVersionResult & WithPackageId(Aws::String &&value)
DescribePackageVersionResult & WithPackageVersion(const char *value)
DescribePackageVersionResult & WithStatusDescription(Aws::String &&value)
DescribePackageVersionResult & WithRequestId(const char *value)
DescribePackageVersionResult & WithOwnerAccount(const char *value)
AWS_PANORAMA_API DescribePackageVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePackageVersionResult & WithPatchVersion(const Aws::String &value)
DescribePackageVersionResult & WithPatchVersion(const char *value)
DescribePackageVersionResult & WithPackageId(const Aws::String &value)
DescribePackageVersionResult & WithPackageVersion(const Aws::String &value)
DescribePackageVersionResult & WithPackageName(const Aws::String &value)
DescribePackageVersionResult & WithRegisteredTime(const Aws::Utils::DateTime &value)
DescribePackageVersionResult & WithIsLatestPatch(bool value)
DescribePackageVersionResult & WithPackageArn(Aws::String &&value)
DescribePackageVersionResult & WithStatusDescription(const char *value)
DescribePackageVersionResult & WithRegisteredTime(Aws::Utils::DateTime &&value)
DescribePackageVersionResult & WithPackageArn(const char *value)
DescribePackageVersionResult & WithRequestId(Aws::String &&value)
DescribePackageVersionResult & WithPackageName(Aws::String &&value)
DescribePackageVersionResult & WithOwnerAccount(Aws::String &&value)
DescribePackageVersionResult & WithOwnerAccount(const Aws::String &value)
DescribePackageVersionResult & WithStatus(PackageVersionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue