AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteTapeRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace StorageGateway
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_STORAGEGATEWAY_API DeleteTapeRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DeleteTape"; }
34
35 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
36
37 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
47 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
48 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
49 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
50 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
51 inline DeleteTapeRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
52 inline DeleteTapeRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
53 inline DeleteTapeRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
55
57
60 inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
61 inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
62 inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
63 inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); }
64 inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); }
65 inline DeleteTapeRequest& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
66 inline DeleteTapeRequest& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
67 inline DeleteTapeRequest& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
69
71
77 inline bool GetBypassGovernanceRetention() const{ return m_bypassGovernanceRetention; }
78 inline bool BypassGovernanceRetentionHasBeenSet() const { return m_bypassGovernanceRetentionHasBeenSet; }
79 inline void SetBypassGovernanceRetention(bool value) { m_bypassGovernanceRetentionHasBeenSet = true; m_bypassGovernanceRetention = value; }
82 private:
83
84 Aws::String m_gatewayARN;
85 bool m_gatewayARNHasBeenSet = false;
86
87 Aws::String m_tapeARN;
88 bool m_tapeARNHasBeenSet = false;
89
90 bool m_bypassGovernanceRetention;
91 bool m_bypassGovernanceRetentionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace StorageGateway
96} // namespace Aws
virtual const char * GetServiceRequestName() const override
DeleteTapeRequest & WithGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteTapeRequest & WithTapeARN(const Aws::String &value)
DeleteTapeRequest & WithGatewayARN(const char *value)
DeleteTapeRequest & WithTapeARN(Aws::String &&value)
DeleteTapeRequest & WithGatewayARN(Aws::String &&value)
DeleteTapeRequest & WithTapeARN(const char *value)
void SetGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
DeleteTapeRequest & WithBypassGovernanceRetention(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String