AWS SDK for C++  1.9.129
AWS SDK for C++
RetrieveTapeArchiveResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
44 
48  inline void SetTapeARN(const Aws::String& value) { m_tapeARN = value; }
49 
53  inline void SetTapeARN(Aws::String&& value) { m_tapeARN = std::move(value); }
54 
58  inline void SetTapeARN(const char* value) { m_tapeARN.assign(value); }
59 
63  inline RetrieveTapeArchiveResult& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
64 
68  inline RetrieveTapeArchiveResult& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
69 
73  inline RetrieveTapeArchiveResult& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
74 
75  private:
76 
77  Aws::String m_tapeARN;
78  };
79 
80 } // namespace Model
81 } // namespace StorageGateway
82 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::SetTapeARN
void SetTapeARN(const Aws::String &value)
Definition: RetrieveTapeArchiveResult.h:48
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::RetrieveTapeArchiveResult
RetrieveTapeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::WithTapeARN
RetrieveTapeArchiveResult & WithTapeARN(const Aws::String &value)
Definition: RetrieveTapeArchiveResult.h:63
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::SetTapeARN
void SetTapeARN(const char *value)
Definition: RetrieveTapeArchiveResult.h:58
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::GetTapeARN
const Aws::String & GetTapeARN() const
Definition: RetrieveTapeArchiveResult.h:43
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::WithTapeARN
RetrieveTapeArchiveResult & WithTapeARN(Aws::String &&value)
Definition: RetrieveTapeArchiveResult.h:68
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::RetrieveTapeArchiveResult
RetrieveTapeArchiveResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::RetrieveTapeArchiveResult
Definition: RetrieveTapeArchiveResult.h:33
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::WithTapeARN
RetrieveTapeArchiveResult & WithTapeARN(const char *value)
Definition: RetrieveTapeArchiveResult.h:73
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::operator=
RetrieveTapeArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::RetrieveTapeArchiveResult::SetTapeARN
void SetTapeARN(Aws::String &&value)
Definition: RetrieveTapeArchiveResult.h:53