AWS SDK for C++  1.9.104
AWS SDK for C++
CreateTapesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace StorageGateway
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
45  inline const Aws::Vector<Aws::String>& GetTapeARNs() const{ return m_tapeARNs; }
46 
51  inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNs = value; }
52 
57  inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNs = std::move(value); }
58 
63  inline CreateTapesResult& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
64 
69  inline CreateTapesResult& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
70 
75  inline CreateTapesResult& AddTapeARNs(const Aws::String& value) { m_tapeARNs.push_back(value); return *this; }
76 
81  inline CreateTapesResult& AddTapeARNs(Aws::String&& value) { m_tapeARNs.push_back(std::move(value)); return *this; }
82 
87  inline CreateTapesResult& AddTapeARNs(const char* value) { m_tapeARNs.push_back(value); return *this; }
88 
89  private:
90 
91  Aws::Vector<Aws::String> m_tapeARNs;
92  };
93 
94 } // namespace Model
95 } // namespace StorageGateway
96 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::CreateTapesResult::WithTapeARNs
CreateTapesResult & WithTapeARNs(const Aws::Vector< Aws::String > &value)
Definition: CreateTapesResult.h:63
Aws::StorageGateway::Model::CreateTapesResult::AddTapeARNs
CreateTapesResult & AddTapeARNs(const char *value)
Definition: CreateTapesResult.h:87
Aws::StorageGateway::Model::CreateTapesResult::CreateTapesResult
CreateTapesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateTapesResult::SetTapeARNs
void SetTapeARNs(Aws::Vector< Aws::String > &&value)
Definition: CreateTapesResult.h:57
Aws::StorageGateway::Model::CreateTapesResult
Definition: CreateTapesResult.h:34
Aws::StorageGateway::Model::CreateTapesResult::GetTapeARNs
const Aws::Vector< Aws::String > & GetTapeARNs() const
Definition: CreateTapesResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::CreateTapesResult::SetTapeARNs
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
Definition: CreateTapesResult.h:51
Aws::StorageGateway::Model::CreateTapesResult::CreateTapesResult
CreateTapesResult()
Aws::StorageGateway::Model::CreateTapesResult::WithTapeARNs
CreateTapesResult & WithTapeARNs(Aws::Vector< Aws::String > &&value)
Definition: CreateTapesResult.h:69
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
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::CreateTapesResult::AddTapeARNs
CreateTapesResult & AddTapeARNs(const Aws::String &value)
Definition: CreateTapesResult.h:75
Aws::StorageGateway::Model::CreateTapesResult::AddTapeARNs
CreateTapesResult & AddTapeARNs(Aws::String &&value)
Definition: CreateTapesResult.h:81
Aws::StorageGateway::Model::CreateTapesResult::operator=
CreateTapesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)