AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelArchivalResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace StorageGateway
24{
25namespace Model
26{
33 {
34 public:
35 AWS_STORAGEGATEWAY_API CancelArchivalResult();
38
39
41
45 inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
46 inline void SetTapeARN(const Aws::String& value) { m_tapeARN = value; }
47 inline void SetTapeARN(Aws::String&& value) { m_tapeARN = std::move(value); }
48 inline void SetTapeARN(const char* value) { m_tapeARN.assign(value); }
49 inline CancelArchivalResult& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
50 inline CancelArchivalResult& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
51 inline CancelArchivalResult& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline CancelArchivalResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline CancelArchivalResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline CancelArchivalResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
66 Aws::String m_tapeARN;
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace StorageGateway
73} // namespace Aws
CancelArchivalResult & WithTapeARN(const char *value)
CancelArchivalResult & WithTapeARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API CancelArchivalResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelArchivalResult & WithRequestId(const char *value)
CancelArchivalResult & WithRequestId(Aws::String &&value)
CancelArchivalResult & WithTapeARN(const Aws::String &value)
CancelArchivalResult & WithRequestId(const Aws::String &value)
AWS_STORAGEGATEWAY_API CancelArchivalResult(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