AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTapesResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace StorageGateway
25{
26namespace Model
27{
34 {
35 public:
36 AWS_STORAGEGATEWAY_API CreateTapesResult();
39
40
42
46 inline const Aws::Vector<Aws::String>& GetTapeARNs() const{ return m_tapeARNs; }
47 inline void SetTapeARNs(const Aws::Vector<Aws::String>& value) { m_tapeARNs = value; }
48 inline void SetTapeARNs(Aws::Vector<Aws::String>&& value) { m_tapeARNs = std::move(value); }
49 inline CreateTapesResult& WithTapeARNs(const Aws::Vector<Aws::String>& value) { SetTapeARNs(value); return *this;}
50 inline CreateTapesResult& WithTapeARNs(Aws::Vector<Aws::String>&& value) { SetTapeARNs(std::move(value)); return *this;}
51 inline CreateTapesResult& AddTapeARNs(const Aws::String& value) { m_tapeARNs.push_back(value); return *this; }
52 inline CreateTapesResult& AddTapeARNs(Aws::String&& value) { m_tapeARNs.push_back(std::move(value)); return *this; }
53 inline CreateTapesResult& AddTapeARNs(const char* value) { m_tapeARNs.push_back(value); return *this; }
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline CreateTapesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline CreateTapesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline CreateTapesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 Aws::Vector<Aws::String> m_tapeARNs;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace StorageGateway
75} // namespace Aws
CreateTapesResult & WithTapeARNs(const Aws::Vector< Aws::String > &value)
AWS_STORAGEGATEWAY_API CreateTapesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTapeARNs(Aws::Vector< Aws::String > &&value)
CreateTapesResult & AddTapeARNs(const char *value)
void SetRequestId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTapeARNs() const
CreateTapesResult & WithRequestId(const Aws::String &value)
CreateTapesResult & WithRequestId(Aws::String &&value)
void SetTapeARNs(const Aws::Vector< Aws::String > &value)
CreateTapesResult & WithTapeARNs(Aws::Vector< Aws::String > &&value)
CreateTapesResult & AddTapeARNs(const Aws::String &value)
CreateTapesResult & AddTapeARNs(Aws::String &&value)
CreateTapesResult & WithRequestId(const char *value)
AWS_STORAGEGATEWAY_API CreateTapesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue