AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
RetrieveTapeArchiveResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace StorageGateway {
23namespace Model {
30 public:
31 AWS_STORAGEGATEWAY_API RetrieveTapeArchiveResult() = default;
34
36
39 inline const Aws::String& GetTapeARN() const { return m_tapeARN; }
40 template <typename TapeARNT = Aws::String>
41 void SetTapeARN(TapeARNT&& value) {
42 m_tapeARNHasBeenSet = true;
43 m_tapeARN = std::forward<TapeARNT>(value);
44 }
45 template <typename TapeARNT = Aws::String>
47 SetTapeARN(std::forward<TapeARNT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
67
68 private:
69 Aws::String m_tapeARN;
70
71 Aws::String m_requestId;
72 Aws::Http::HttpResponseCode m_HttpResponseCode;
73 bool m_tapeARNHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace StorageGateway
79} // namespace Aws
RetrieveTapeArchiveResult & WithTapeARN(TapeARNT &&value)
RetrieveTapeArchiveResult & WithRequestId(RequestIdT &&value)
AWS_STORAGEGATEWAY_API RetrieveTapeArchiveResult()=default
AWS_STORAGEGATEWAY_API RetrieveTapeArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API RetrieveTapeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue