AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribePackageVersionRequest.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 "DescribePackageVersion"; }
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 DescribePackageVersionRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
51 inline DescribePackageVersionRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
52 inline DescribePackageVersionRequest& 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 DescribePackageVersionRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
65 inline DescribePackageVersionRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
66 inline DescribePackageVersionRequest& 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 DescribePackageVersionRequest& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
80 inline DescribePackageVersionRequest& 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 DescribePackageVersionRequest& WithPatchVersion(const Aws::String& value) { SetPatchVersion(value); return *this;}
93 inline DescribePackageVersionRequest& WithPatchVersion(Aws::String&& value) { SetPatchVersion(std::move(value)); return *this;}
94 inline DescribePackageVersionRequest& WithPatchVersion(const char* value) { SetPatchVersion(value); return *this;}
96 private:
97
98 Aws::String m_ownerAccount;
99 bool m_ownerAccountHasBeenSet = false;
100
101 Aws::String m_packageId;
102 bool m_packageIdHasBeenSet = false;
103
104 Aws::String m_packageVersion;
105 bool m_packageVersionHasBeenSet = false;
106
107 Aws::String m_patchVersion;
108 bool m_patchVersionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Panorama
113} // namespace Aws
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