AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListMultipartUploadsResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glacier/model/UploadListElement.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 Glacier
26{
27namespace Model
28{
36 {
37 public:
38 AWS_GLACIER_API ListMultipartUploadsResult();
41
42
44
47 inline const Aws::Vector<UploadListElement>& GetUploadsList() const{ return m_uploadsList; }
48 inline void SetUploadsList(const Aws::Vector<UploadListElement>& value) { m_uploadsList = value; }
49 inline void SetUploadsList(Aws::Vector<UploadListElement>&& value) { m_uploadsList = std::move(value); }
52 inline ListMultipartUploadsResult& AddUploadsList(const UploadListElement& value) { m_uploadsList.push_back(value); return *this; }
53 inline ListMultipartUploadsResult& AddUploadsList(UploadListElement&& value) { m_uploadsList.push_back(std::move(value)); return *this; }
55
57
63 inline const Aws::String& GetMarker() const{ return m_marker; }
64 inline void SetMarker(const Aws::String& value) { m_marker = value; }
65 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
66 inline void SetMarker(const char* value) { m_marker.assign(value); }
67 inline ListMultipartUploadsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
68 inline ListMultipartUploadsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
69 inline ListMultipartUploadsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline ListMultipartUploadsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline ListMultipartUploadsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline ListMultipartUploadsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
85
86 Aws::String m_marker;
87
88 Aws::String m_requestId;
89 };
90
91} // namespace Model
92} // namespace Glacier
93} // namespace Aws
ListMultipartUploadsResult & WithUploadsList(const Aws::Vector< UploadListElement > &value)
void SetUploadsList(Aws::Vector< UploadListElement > &&value)
AWS_GLACIER_API ListMultipartUploadsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< UploadListElement > & GetUploadsList() const
ListMultipartUploadsResult & WithRequestId(Aws::String &&value)
ListMultipartUploadsResult & WithRequestId(const char *value)
ListMultipartUploadsResult & AddUploadsList(const UploadListElement &value)
ListMultipartUploadsResult & AddUploadsList(UploadListElement &&value)
ListMultipartUploadsResult & WithMarker(const Aws::String &value)
ListMultipartUploadsResult & WithRequestId(const Aws::String &value)
ListMultipartUploadsResult & WithMarker(Aws::String &&value)
ListMultipartUploadsResult & WithMarker(const char *value)
void SetUploadsList(const Aws::Vector< UploadListElement > &value)
AWS_GLACIER_API ListMultipartUploadsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListMultipartUploadsResult & WithUploadsList(Aws::Vector< UploadListElement > &&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