AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeregisterPackageVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/panorama/Panorama_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Panorama {
18namespace Model {
19
23 public:
24 AWS_PANORAMA_API DeregisterPackageVersionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeregisterPackageVersion"; }
31
32 AWS_PANORAMA_API Aws::String SerializePayload() const override;
33
34 AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
41 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
42 template <typename OwnerAccountT = Aws::String>
43 void SetOwnerAccount(OwnerAccountT&& value) {
44 m_ownerAccountHasBeenSet = true;
45 m_ownerAccount = std::forward<OwnerAccountT>(value);
46 }
47 template <typename OwnerAccountT = Aws::String>
49 SetOwnerAccount(std::forward<OwnerAccountT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPackageId() const { return m_packageId; }
59 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
60 template <typename PackageIdT = Aws::String>
61 void SetPackageId(PackageIdT&& value) {
62 m_packageIdHasBeenSet = true;
63 m_packageId = std::forward<PackageIdT>(value);
64 }
65 template <typename PackageIdT = Aws::String>
67 SetPackageId(std::forward<PackageIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetPackageVersion() const { return m_packageVersion; }
77 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
78 template <typename PackageVersionT = Aws::String>
79 void SetPackageVersion(PackageVersionT&& value) {
80 m_packageVersionHasBeenSet = true;
81 m_packageVersion = std::forward<PackageVersionT>(value);
82 }
83 template <typename PackageVersionT = Aws::String>
85 SetPackageVersion(std::forward<PackageVersionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetPatchVersion() const { return m_patchVersion; }
95 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
96 template <typename PatchVersionT = Aws::String>
97 void SetPatchVersion(PatchVersionT&& value) {
98 m_patchVersionHasBeenSet = true;
99 m_patchVersion = std::forward<PatchVersionT>(value);
100 }
101 template <typename PatchVersionT = Aws::String>
103 SetPatchVersion(std::forward<PatchVersionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetUpdatedLatestPatchVersion() const { return m_updatedLatestPatchVersion; }
113 inline bool UpdatedLatestPatchVersionHasBeenSet() const { return m_updatedLatestPatchVersionHasBeenSet; }
114 template <typename UpdatedLatestPatchVersionT = Aws::String>
115 void SetUpdatedLatestPatchVersion(UpdatedLatestPatchVersionT&& value) {
116 m_updatedLatestPatchVersionHasBeenSet = true;
117 m_updatedLatestPatchVersion = std::forward<UpdatedLatestPatchVersionT>(value);
118 }
119 template <typename UpdatedLatestPatchVersionT = Aws::String>
121 SetUpdatedLatestPatchVersion(std::forward<UpdatedLatestPatchVersionT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_ownerAccount;
127
128 Aws::String m_packageId;
129
130 Aws::String m_packageVersion;
131
132 Aws::String m_patchVersion;
133
134 Aws::String m_updatedLatestPatchVersion;
135 bool m_ownerAccountHasBeenSet = false;
136 bool m_packageIdHasBeenSet = false;
137 bool m_packageVersionHasBeenSet = false;
138 bool m_patchVersionHasBeenSet = false;
139 bool m_updatedLatestPatchVersionHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace Panorama
144} // namespace Aws
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeregisterPackageVersionRequest & WithPackageId(PackageIdT &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
AWS_PANORAMA_API DeregisterPackageVersionRequest()=default
DeregisterPackageVersionRequest & WithPackageVersion(PackageVersionT &&value)
void SetUpdatedLatestPatchVersion(UpdatedLatestPatchVersionT &&value)
DeregisterPackageVersionRequest & WithOwnerAccount(OwnerAccountT &&value)
DeregisterPackageVersionRequest & WithPatchVersion(PatchVersionT &&value)
DeregisterPackageVersionRequest & WithUpdatedLatestPatchVersion(UpdatedLatestPatchVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String