AWS SDK for C++  1.9.126
AWS SDK for C++
CreateTapePoolResult.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 
40  inline const Aws::String& GetPoolARN() const{ return m_poolARN; }
41 
47  inline void SetPoolARN(const Aws::String& value) { m_poolARN = value; }
48 
54  inline void SetPoolARN(Aws::String&& value) { m_poolARN = std::move(value); }
55 
61  inline void SetPoolARN(const char* value) { m_poolARN.assign(value); }
62 
68  inline CreateTapePoolResult& WithPoolARN(const Aws::String& value) { SetPoolARN(value); return *this;}
69 
75  inline CreateTapePoolResult& WithPoolARN(Aws::String&& value) { SetPoolARN(std::move(value)); return *this;}
76 
82  inline CreateTapePoolResult& WithPoolARN(const char* value) { SetPoolARN(value); return *this;}
83 
84  private:
85 
86  Aws::String m_poolARN;
87  };
88 
89 } // namespace Model
90 } // namespace StorageGateway
91 } // namespace Aws
Aws::StorageGateway::Model::CreateTapePoolResult::CreateTapePoolResult
CreateTapePoolResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::CreateTapePoolResult::SetPoolARN
void SetPoolARN(Aws::String &&value)
Definition: CreateTapePoolResult.h:54
Aws::StorageGateway::Model::CreateTapePoolResult
Definition: CreateTapePoolResult.h:28
Aws::StorageGateway::Model::CreateTapePoolResult::GetPoolARN
const Aws::String & GetPoolARN() const
Definition: CreateTapePoolResult.h:40
Aws::StorageGateway::Model::CreateTapePoolResult::WithPoolARN
CreateTapePoolResult & WithPoolARN(const char *value)
Definition: CreateTapePoolResult.h:82
Aws::StorageGateway::Model::CreateTapePoolResult::CreateTapePoolResult
CreateTapePoolResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::CreateTapePoolResult::operator=
CreateTapePoolResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateTapePoolResult::SetPoolARN
void SetPoolARN(const Aws::String &value)
Definition: CreateTapePoolResult.h:47
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::CreateTapePoolResult::SetPoolARN
void SetPoolARN(const char *value)
Definition: CreateTapePoolResult.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::CreateTapePoolResult::WithPoolARN
CreateTapePoolResult & WithPoolARN(const Aws::String &value)
Definition: CreateTapePoolResult.h:68
Aws::StorageGateway::Model::CreateTapePoolResult::WithPoolARN
CreateTapePoolResult & WithPoolARN(Aws::String &&value)
Definition: CreateTapePoolResult.h:75