AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteTapeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace StorageGateway {
15namespace Model {
16
23 public:
24 AWS_STORAGEGATEWAY_API DeleteTapeRequest() = 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 "DeleteTape"; }
31
32 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
33
34 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
42 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
43 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
44 template <typename GatewayARNT = Aws::String>
45 void SetGatewayARN(GatewayARNT&& value) {
46 m_gatewayARNHasBeenSet = true;
47 m_gatewayARN = std::forward<GatewayARNT>(value);
48 }
49 template <typename GatewayARNT = Aws::String>
50 DeleteTapeRequest& WithGatewayARN(GatewayARNT&& value) {
51 SetGatewayARN(std::forward<GatewayARNT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTapeARN() const { return m_tapeARN; }
61 inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
62 template <typename TapeARNT = Aws::String>
63 void SetTapeARN(TapeARNT&& value) {
64 m_tapeARNHasBeenSet = true;
65 m_tapeARN = std::forward<TapeARNT>(value);
66 }
67 template <typename TapeARNT = Aws::String>
68 DeleteTapeRequest& WithTapeARN(TapeARNT&& value) {
69 SetTapeARN(std::forward<TapeARNT>(value));
70 return *this;
71 }
73
75
81 inline bool GetBypassGovernanceRetention() const { return m_bypassGovernanceRetention; }
82 inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; }
83 inline void SetBypassGovernanceRetention(bool value) {
84 m_bypassGovernanceRetentionHasBeenSet = true;
85 m_bypassGovernanceRetention = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_gatewayARN;
94
95 Aws::String m_tapeARN;
96
97 bool m_bypassGovernanceRetention{false};
98 bool m_gatewayARNHasBeenSet = false;
99 bool m_tapeARNHasBeenSet = false;
100 bool m_bypassGovernanceRetentionHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace StorageGateway
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteTapeRequest & WithGatewayARN(GatewayARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API DeleteTapeRequest()=default
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DeleteTapeRequest & WithTapeARN(TapeARNT &&value)
DeleteTapeRequest & WithBypassGovernanceRetention(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String