AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTapeArchivesResult.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 <aws/storagegateway/model/TapeArchive.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace StorageGateway
26{
27namespace Model
28{
35 {
36 public:
37 AWS_STORAGEGATEWAY_API DescribeTapeArchivesResult();
40
41
43
50 inline const Aws::Vector<TapeArchive>& GetTapeArchives() const{ return m_tapeArchives; }
51 inline void SetTapeArchives(const Aws::Vector<TapeArchive>& value) { m_tapeArchives = value; }
52 inline void SetTapeArchives(Aws::Vector<TapeArchive>&& value) { m_tapeArchives = std::move(value); }
54 inline DescribeTapeArchivesResult& WithTapeArchives(Aws::Vector<TapeArchive>&& value) { SetTapeArchives(std::move(value)); return *this;}
55 inline DescribeTapeArchivesResult& AddTapeArchives(const TapeArchive& value) { m_tapeArchives.push_back(value); return *this; }
56 inline DescribeTapeArchivesResult& AddTapeArchives(TapeArchive&& value) { m_tapeArchives.push_back(std::move(value)); return *this; }
58
60
67 inline const Aws::String& GetMarker() const{ return m_marker; }
68 inline void SetMarker(const Aws::String& value) { m_marker = value; }
69 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
70 inline void SetMarker(const char* value) { m_marker.assign(value); }
71 inline DescribeTapeArchivesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
72 inline DescribeTapeArchivesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
73 inline DescribeTapeArchivesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DescribeTapeArchivesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DescribeTapeArchivesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DescribeTapeArchivesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::Vector<TapeArchive> m_tapeArchives;
89
90 Aws::String m_marker;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace StorageGateway
97} // namespace Aws
DescribeTapeArchivesResult & WithRequestId(const Aws::String &value)
AWS_STORAGEGATEWAY_API DescribeTapeArchivesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTapeArchivesResult & WithMarker(const Aws::String &value)
const Aws::Vector< TapeArchive > & GetTapeArchives() const
DescribeTapeArchivesResult & WithTapeArchives(Aws::Vector< TapeArchive > &&value)
DescribeTapeArchivesResult & WithMarker(const char *value)
DescribeTapeArchivesResult & WithTapeArchives(const Aws::Vector< TapeArchive > &value)
DescribeTapeArchivesResult & AddTapeArchives(const TapeArchive &value)
DescribeTapeArchivesResult & WithRequestId(const char *value)
void SetTapeArchives(const Aws::Vector< TapeArchive > &value)
DescribeTapeArchivesResult & WithMarker(Aws::String &&value)
DescribeTapeArchivesResult & WithRequestId(Aws::String &&value)
AWS_STORAGEGATEWAY_API DescribeTapeArchivesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTapeArchivesResult & AddTapeArchives(TapeArchive &&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