AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
RetrieveTapeArchiveRequest.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 RetrieveTapeArchiveRequest() = 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 "RetrieveTapeArchive"; }
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
63 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
64 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
65 template <typename GatewayARNT = Aws::String>
66 void SetGatewayARN(GatewayARNT&& value) {
67 m_gatewayARNHasBeenSet = true;
68 m_gatewayARN = std::forward<GatewayARNT>(value);
69 }
70 template <typename GatewayARNT = Aws::String>
72 SetGatewayARN(std::forward<GatewayARNT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_tapeARN;
78
79 Aws::String m_gatewayARN;
80 bool m_tapeARNHasBeenSet = false;
81 bool m_gatewayARNHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace StorageGateway
86} // namespace Aws
RetrieveTapeArchiveRequest & WithGatewayARN(GatewayARNT &&value)
RetrieveTapeArchiveRequest & WithTapeARN(TapeARNT &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AWS_STORAGEGATEWAY_API RetrieveTapeArchiveRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String