AWS SDK for C++  1.9.125
AWS SDK for C++
AssignTapePoolResult.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 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
40 
45  inline void SetTapeARN(const Aws::String& value) { m_tapeARN = value; }
46 
51  inline void SetTapeARN(Aws::String&& value) { m_tapeARN = std::move(value); }
52 
57  inline void SetTapeARN(const char* value) { m_tapeARN.assign(value); }
58 
63  inline AssignTapePoolResult& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
64 
69  inline AssignTapePoolResult& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
70 
75  inline AssignTapePoolResult& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
76 
77  private:
78 
79  Aws::String m_tapeARN;
80  };
81 
82 } // namespace Model
83 } // namespace StorageGateway
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::AssignTapePoolResult::SetTapeARN
void SetTapeARN(const char *value)
Definition: AssignTapePoolResult.h:57
Aws::StorageGateway::Model::AssignTapePoolResult::WithTapeARN
AssignTapePoolResult & WithTapeARN(const char *value)
Definition: AssignTapePoolResult.h:75
Aws::StorageGateway::Model::AssignTapePoolResult::SetTapeARN
void SetTapeARN(Aws::String &&value)
Definition: AssignTapePoolResult.h:51
Aws::StorageGateway::Model::AssignTapePoolResult::WithTapeARN
AssignTapePoolResult & WithTapeARN(Aws::String &&value)
Definition: AssignTapePoolResult.h:69
Aws::StorageGateway::Model::AssignTapePoolResult::operator=
AssignTapePoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::AssignTapePoolResult::WithTapeARN
AssignTapePoolResult & WithTapeARN(const Aws::String &value)
Definition: AssignTapePoolResult.h:63
Aws::StorageGateway::Model::AssignTapePoolResult::SetTapeARN
void SetTapeARN(const Aws::String &value)
Definition: AssignTapePoolResult.h:45
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::AssignTapePoolResult::AssignTapePoolResult
AssignTapePoolResult()
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::AssignTapePoolResult::AssignTapePoolResult
AssignTapePoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::AssignTapePoolResult
Definition: AssignTapePoolResult.h:28
Aws::StorageGateway::Model::AssignTapePoolResult::GetTapeARN
const Aws::String & GetTapeARN() const
Definition: AssignTapePoolResult.h:39