AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DeleteApplianceRequest.h
1
6#pragma once
7#include <aws/backup-external/BackupExternalRequest.h>
8#include <aws/backup-external/BackupExternal_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace BackupExternal {
18namespace Model {
19
23 public:
24 AWS_BACKUPEXTERNAL_API DeleteApplianceRequest() = 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 "DeleteAppliance"; }
31
32 AWS_BACKUPEXTERNAL_API Aws::String SerializePayload() const override;
33
34 AWS_BACKUPEXTERNAL_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetApplianceArn() const { return m_applianceArn; }
41 inline bool ApplianceArnHasBeenSet() const { return m_applianceArnHasBeenSet; }
42 template <typename ApplianceArnT = Aws::String>
43 void SetApplianceArn(ApplianceArnT&& value) {
44 m_applianceArnHasBeenSet = true;
45 m_applianceArn = std::forward<ApplianceArnT>(value);
46 }
47 template <typename ApplianceArnT = Aws::String>
48 DeleteApplianceRequest& WithApplianceArn(ApplianceArnT&& value) {
49 SetApplianceArn(std::forward<ApplianceArnT>(value));
50 return *this;
51 }
53
55
61 inline bool GetForce() const { return m_force; }
62 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
63 inline void SetForce(bool value) {
64 m_forceHasBeenSet = true;
65 m_force = value;
66 }
67 inline DeleteApplianceRequest& WithForce(bool value) {
68 SetForce(value);
69 return *this;
70 }
72 private:
73 Aws::String m_applianceArn;
74
75 bool m_force{false};
76 bool m_applianceArnHasBeenSet = false;
77 bool m_forceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace BackupExternal
82} // namespace Aws
AWS_BACKUPEXTERNAL_API Aws::String SerializePayload() const override
AWS_BACKUPEXTERNAL_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_BACKUPEXTERNAL_API DeleteApplianceRequest()=default
virtual const char * GetServiceRequestName() const override
DeleteApplianceRequest & WithApplianceArn(ApplianceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String