AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DeleteTapeArchiveRequest.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 DeleteTapeArchiveRequest() = 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 "DeleteTapeArchive"; }
31
32 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
33
34 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
41 inline const Aws::String& GetTapeARN() const { return m_tapeARN; }
42 inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
43 template <typename TapeARNT = Aws::String>
44 void SetTapeARN(TapeARNT&& value) {
45 m_tapeARNHasBeenSet = true;
46 m_tapeARN = std::forward<TapeARNT>(value);
47 }
48 template <typename TapeARNT = Aws::String>
50 SetTapeARN(std::forward<TapeARNT>(value));
51 return *this;
52 }
54
56
62 inline bool GetBypassGovernanceRetention() const { return m_bypassGovernanceRetention; }
63 inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; }
64 inline void SetBypassGovernanceRetention(bool value) {
65 m_bypassGovernanceRetentionHasBeenSet = true;
66 m_bypassGovernanceRetention = value;
67 }
70 return *this;
71 }
73 private:
74 Aws::String m_tapeARN;
75
76 bool m_bypassGovernanceRetention{false};
77 bool m_tapeARNHasBeenSet = false;
78 bool m_bypassGovernanceRetentionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace StorageGateway
83} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteTapeArchiveRequest & WithTapeARN(TapeARNT &&value)
DeleteTapeArchiveRequest & WithBypassGovernanceRetention(bool value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API DeleteTapeArchiveRequest()=default
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String