AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
46 inline const Aws::Vector<Aws::String>& GetTapeARNs() const { return m_tapeARNs; }
47 template<typename TapeARNsT = Aws::Vector<Aws::String>>
48 void SetTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::forward<TapeARNsT>(value); }
49 template<typename TapeARNsT = Aws::Vector<Aws::String>>
50 CreateTapesResult& WithTapeARNs(TapeARNsT&& value) { SetTapeARNs(std::forward<TapeARNsT>(value)); return *this;}
51 template<typename TapeARNsT = Aws::String>
52 CreateTapesResult& AddTapeARNs(TapeARNsT&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.emplace_back(std::forward<TapeARNsT>(value)); return *this; }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 CreateTapesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
65 Aws::Vector<Aws::String> m_tapeARNs;
66 bool m_tapeARNsHasBeenSet = false;
67
68 Aws::String m_requestId;
69 bool m_requestIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace StorageGateway
74} // namespace Aws
AWS_STORAGEGATEWAY_API CreateTapesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTapesResult & WithTapeARNs(TapeARNsT &&value)
const Aws::Vector< Aws::String > & GetTapeARNs() const
AWS_STORAGEGATEWAY_API CreateTapesResult()=default
AWS_STORAGEGATEWAY_API CreateTapesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTapesResult & WithRequestId(RequestIdT &&value)
CreateTapesResult & AddTapeARNs(TapeARNsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue