AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeletePackageRequest.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:
28 AWS_PANORAMA_API DeletePackageRequest();
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 "DeletePackage"; }
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
46 inline bool GetForceDelete() const{ return m_forceDelete; }
47 inline bool ForceDeleteHasBeenSet() const { return m_forceDeleteHasBeenSet; }
48 inline void SetForceDelete(bool value) { m_forceDeleteHasBeenSet = true; m_forceDelete = value; }
49 inline DeletePackageRequest& WithForceDelete(bool value) { SetForceDelete(value); return *this;}
51
53
56 inline const Aws::String& GetPackageId() const{ return m_packageId; }
57 inline bool PackageIdHasBeenSet() const { return m_packageIdHasBeenSet; }
58 inline void SetPackageId(const Aws::String& value) { m_packageIdHasBeenSet = true; m_packageId = value; }
59 inline void SetPackageId(Aws::String&& value) { m_packageIdHasBeenSet = true; m_packageId = std::move(value); }
60 inline void SetPackageId(const char* value) { m_packageIdHasBeenSet = true; m_packageId.assign(value); }
61 inline DeletePackageRequest& WithPackageId(const Aws::String& value) { SetPackageId(value); return *this;}
62 inline DeletePackageRequest& WithPackageId(Aws::String&& value) { SetPackageId(std::move(value)); return *this;}
63 inline DeletePackageRequest& WithPackageId(const char* value) { SetPackageId(value); return *this;}
65 private:
66
67 bool m_forceDelete;
68 bool m_forceDeleteHasBeenSet = false;
69
70 Aws::String m_packageId;
71 bool m_packageIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Panorama
76} // namespace Aws
DeletePackageRequest & WithPackageId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeletePackageRequest & WithPackageId(Aws::String &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
void SetPackageId(const Aws::String &value)
DeletePackageRequest & WithForceDelete(bool value)
DeletePackageRequest & WithPackageId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String