AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeregisterPackageVersionRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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 "DeregisterPackageVersion"; }
35
36 AWS_PANORAMA_API Aws::String SerializePayload() const override;
37
38 AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
46 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
47 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
48 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
49 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
50 inline DeregisterPackageVersionRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
51 inline DeregisterPackageVersionRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
52 inline DeregisterPackageVersionRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
54
56
59 inline const Aws::String& GetPackageId() const{ return m_packageId; }
60 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
61 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
62 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
63 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
64 inline DeregisterPackageVersionRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
65 inline DeregisterPackageVersionRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
66 inline DeregisterPackageVersionRequest& WithPackageId(const char* value) { SetPackageId(value); return *this;}
68
70
73 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
74 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
75 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
76 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
77 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
79 inline DeregisterPackageVersionRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
80 inline DeregisterPackageVersionRequest& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
82
84
87 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
88 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
89 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
90 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
91 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
92 inline DeregisterPackageVersionRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
93 inline DeregisterPackageVersionRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
94 inline DeregisterPackageVersionRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
96
98
101 inline const Aws::String& GetUpdatedLatestPatchVersion() const{ return m_updatedLatestPatchVersion; }
102 inline bool UpdatedLatestPatchVersionHasBeenSet() const { return m_updatedLatestPatchVersionHasBeenSet; }
103 inline void SetUpdatedLatestPatchVersion(const Aws::String& value) { m_updatedLatestPatchVersionHasBeenSet = true; m_updatedLatestPatchVersion = value; }
104 inline void SetUpdatedLatestPatchVersion(Aws::String&& value) { m_updatedLatestPatchVersionHasBeenSet = true; m_updatedLatestPatchVersion = std::move(value); }
105 inline void SetUpdatedLatestPatchVersion(const char* value) { m_updatedLatestPatchVersionHasBeenSet = true; m_updatedLatestPatchVersion.assign(value); }
110 private:
111
112 Aws::String m_ownerAccount;
113 bool m_ownerAccountHasBeenSet = false;
114
115 Aws::String m_packageId;
116 bool m_packageIdHasBeenSet = false;
117
118 Aws::String m_packageVersion;
119 bool m_packageVersionHasBeenSet = false;
120
121 Aws::String m_patchVersion;
122 bool m_patchVersionHasBeenSet = false;
123
124 Aws::String m_updatedLatestPatchVersion;
125 bool m_updatedLatestPatchVersionHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Panorama
130} // namespace Aws
DeregisterPackageVersionRequest & WithPackageId(const char *value)
DeregisterPackageVersionRequest & WithPackageId(Aws::String &&value)
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeregisterPackageVersionRequest & WithUpdatedLatestPatchVersion(const Aws::String &value)
DeregisterPackageVersionRequest & WithPatchVersion(const Aws::String &value)
DeregisterPackageVersionRequest & WithOwnerAccount(Aws::String &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
DeregisterPackageVersionRequest & WithOwnerAccount(const char *value)
DeregisterPackageVersionRequest & WithOwnerAccount(const Aws::String &value)
DeregisterPackageVersionRequest & WithPackageVersion(const Aws::String &value)
DeregisterPackageVersionRequest & WithPatchVersion(Aws::String &&value)
DeregisterPackageVersionRequest & WithUpdatedLatestPatchVersion(const char *value)
DeregisterPackageVersionRequest & WithPackageVersion(Aws::String &&value)
DeregisterPackageVersionRequest & WithUpdatedLatestPatchVersion(Aws::String &&value)
DeregisterPackageVersionRequest & WithPatchVersion(const char *value)
DeregisterPackageVersionRequest & WithPackageVersion(const char *value)
DeregisterPackageVersionRequest & WithPackageId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String