AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribePackageVersionRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Panorama
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribePackageVersion"; }
35
37
39
40
44 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
45
49 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
50
54 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
55
59 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
60
64 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
65
69 inline DescribePackageVersionRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
70
74 inline DescribePackageVersionRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
75
79 inline DescribePackageVersionRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
80
81
85 inline const Aws::String& GetPackageId() const{ return m_packageId; }
86
90 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
91
95 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
96
100 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
101
105 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
106
110 inline DescribePackageVersionRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
111
115 inline DescribePackageVersionRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
116
120 inline DescribePackageVersionRequest& WithPackageId(const char* value) { SetPackageId(value); return *this;}
121
122
126 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
127
131 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
132
136 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
137
141 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
142
146 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
147
152
156 inline DescribePackageVersionRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
157
161 inline DescribePackageVersionRequest& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
162
163
167 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
168
172 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
173
177 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
178
182 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
183
187 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
188
192 inline DescribePackageVersionRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
193
197 inline DescribePackageVersionRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
198
202 inline DescribePackageVersionRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
203
204 private:
205
206 Aws::String m_ownerAccount;
207 bool m_ownerAccountHasBeenSet = false;
208
209 Aws::String m_packageId;
210 bool m_packageIdHasBeenSet = false;
211
212 Aws::String m_packageVersion;
213 bool m_packageVersionHasBeenSet = false;
214
215 Aws::String m_patchVersion;
216 bool m_patchVersionHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace Panorama
221} // namespace Aws
#define AWS_PANORAMA_API
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribePackageVersionRequest & WithPackageVersion(const char *value)
DescribePackageVersionRequest & WithPackageVersion(const Aws::String &value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
DescribePackageVersionRequest & WithPackageId(const char *value)
DescribePackageVersionRequest & WithPackageVersion(Aws::String &&value)
DescribePackageVersionRequest & WithPatchVersion(const Aws::String &value)
DescribePackageVersionRequest & WithOwnerAccount(const Aws::String &value)
DescribePackageVersionRequest & WithPackageId(const Aws::String &value)
DescribePackageVersionRequest & WithPatchVersion(Aws::String &&value)
DescribePackageVersionRequest & WithPackageId(Aws::String &&value)
DescribePackageVersionRequest & WithOwnerAccount(const char *value)
DescribePackageVersionRequest & WithOwnerAccount(Aws::String &&value)
DescribePackageVersionRequest & WithPatchVersion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String