AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterPackageVersionRequest.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 Panorama
15{
16namespace Model
17{
18
22 {
23 public:
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 "RegisterPackageVersion"; }
31
32 AWS_PANORAMA_API Aws::String SerializePayload() const override;
33
34
36
39 inline bool GetMarkLatest() const{ return m_markLatest; }
40 inline bool MarkLatestHasBeenSet() const { return m_markLatestHasBeenSet; }
41 inline void SetMarkLatest(bool value) { m_markLatestHasBeenSet = true; m_markLatest = value; }
42 inline RegisterPackageVersionRequest& WithMarkLatest(bool value) { SetMarkLatest(value); return *this;}
44
46
49 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
50 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
51 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
52 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
53 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
54 inline RegisterPackageVersionRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
55 inline RegisterPackageVersionRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
56 inline RegisterPackageVersionRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
58
60
63 inline const Aws::String& GetPackageId() const{ return m_packageId; }
64 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
65 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
66 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
67 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
68 inline RegisterPackageVersionRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
69 inline RegisterPackageVersionRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
70 inline RegisterPackageVersionRequest& WithPackageId(const char* value) { SetPackageId(value); return *this;}
72
74
77 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
78 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
79 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
80 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
81 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
83 inline RegisterPackageVersionRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
84 inline RegisterPackageVersionRequest& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
86
88
91 inline const Aws::String& GetPatchVersion() const{ return m_patchVersion; }
92 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
93 inline void SetPatchVersion(const Aws::String& value) { m_patchVersionHasBeenSet = true; m_patchVersion = value; }
94 inline void SetPatchVersion(Aws::String&& value) { m_patchVersionHasBeenSet = true; m_patchVersion = std::move(value); }
95 inline void SetPatchVersion(const char* value) { m_patchVersionHasBeenSet = true; m_patchVersion.assign(value); }
96 inline RegisterPackageVersionRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
97 inline RegisterPackageVersionRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
98 inline RegisterPackageVersionRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
100 private:
101
102 bool m_markLatest;
103 bool m_markLatestHasBeenSet = false;
104
105 Aws::String m_ownerAccount;
106 bool m_ownerAccountHasBeenSet = false;
107
108 Aws::String m_packageId;
109 bool m_packageIdHasBeenSet = false;
110
111 Aws::String m_packageVersion;
112 bool m_packageVersionHasBeenSet = false;
113
114 Aws::String m_patchVersion;
115 bool m_patchVersionHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Panorama
120} // namespace Aws
RegisterPackageVersionRequest & WithPatchVersion(Aws::String &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
RegisterPackageVersionRequest & WithPackageId(const char *value)
RegisterPackageVersionRequest & WithPackageId(const Aws::String &value)
RegisterPackageVersionRequest & WithPackageVersion(const char *value)
RegisterPackageVersionRequest & WithPackageVersion(Aws::String &&value)
RegisterPackageVersionRequest & WithOwnerAccount(const Aws::String &value)
RegisterPackageVersionRequest & WithPatchVersion(const char *value)
RegisterPackageVersionRequest & WithPackageVersion(const Aws::String &value)
RegisterPackageVersionRequest & WithPackageId(Aws::String &&value)
RegisterPackageVersionRequest & WithOwnerAccount(const char *value)
RegisterPackageVersionRequest & WithOwnerAccount(Aws::String &&value)
RegisterPackageVersionRequest & WithPatchVersion(const Aws::String &value)
RegisterPackageVersionRequest & WithMarkLatest(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String