AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteTapeArchiveResult.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 
44  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
45 
50  inline void SetTapeARN(const Aws::String& value) { m_tapeARN = value; }
51 
56  inline void SetTapeARN(Aws::String&& value) { m_tapeARN = std::move(value); }
57 
62  inline void SetTapeARN(const char* value) { m_tapeARN.assign(value); }
63 
68  inline DeleteTapeArchiveResult& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
69 
74  inline DeleteTapeArchiveResult& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
75 
80  inline DeleteTapeArchiveResult& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
81 
82  private:
83 
84  Aws::String m_tapeARN;
85  };
86 
87 } // namespace Model
88 } // namespace StorageGateway
89 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DeleteTapeArchiveResult::operator=
DeleteTapeArchiveResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DeleteTapeArchiveResult
Definition: DeleteTapeArchiveResult.h:33
Aws::StorageGateway::Model::DeleteTapeArchiveResult::WithTapeARN
DeleteTapeArchiveResult & WithTapeARN(Aws::String &&value)
Definition: DeleteTapeArchiveResult.h:74
Aws::StorageGateway::Model::DeleteTapeArchiveResult::SetTapeARN
void SetTapeARN(Aws::String &&value)
Definition: DeleteTapeArchiveResult.h:56
AWSString.h
Aws::StorageGateway::Model::DeleteTapeArchiveResult::DeleteTapeArchiveResult
DeleteTapeArchiveResult()
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DeleteTapeArchiveResult::SetTapeARN
void SetTapeARN(const char *value)
Definition: DeleteTapeArchiveResult.h:62
Aws::StorageGateway::Model::DeleteTapeArchiveResult::WithTapeARN
DeleteTapeArchiveResult & WithTapeARN(const char *value)
Definition: DeleteTapeArchiveResult.h:80
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DeleteTapeArchiveResult::SetTapeARN
void SetTapeARN(const Aws::String &value)
Definition: DeleteTapeArchiveResult.h:50
Aws::StorageGateway::Model::DeleteTapeArchiveResult::DeleteTapeArchiveResult
DeleteTapeArchiveResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DeleteTapeArchiveResult::GetTapeARN
const Aws::String & GetTapeARN() const
Definition: DeleteTapeArchiveResult.h:44
Aws::StorageGateway::Model::DeleteTapeArchiveResult::WithTapeARN
DeleteTapeArchiveResult & WithTapeARN(const Aws::String &value)
Definition: DeleteTapeArchiveResult.h:68