AWS SDK for C++  1.9.104
AWS SDK for C++
ListMultipartUploadsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Glacier
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<UploadListElement>& GetUploadsList() const{ return m_uploadsList; }
47 
51  inline void SetUploadsList(const Aws::Vector<UploadListElement>& value) { m_uploadsList = value; }
52 
56  inline void SetUploadsList(Aws::Vector<UploadListElement>&& value) { m_uploadsList = std::move(value); }
57 
61  inline ListMultipartUploadsResult& WithUploadsList(const Aws::Vector<UploadListElement>& value) { SetUploadsList(value); return *this;}
62 
66  inline ListMultipartUploadsResult& WithUploadsList(Aws::Vector<UploadListElement>&& value) { SetUploadsList(std::move(value)); return *this;}
67 
71  inline ListMultipartUploadsResult& AddUploadsList(const UploadListElement& value) { m_uploadsList.push_back(value); return *this; }
72 
76  inline ListMultipartUploadsResult& AddUploadsList(UploadListElement&& value) { m_uploadsList.push_back(std::move(value)); return *this; }
77 
78 
85  inline const Aws::String& GetMarker() const{ return m_marker; }
86 
93  inline void SetMarker(const Aws::String& value) { m_marker = value; }
94 
101  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
102 
109  inline void SetMarker(const char* value) { m_marker.assign(value); }
110 
117  inline ListMultipartUploadsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
118 
125  inline ListMultipartUploadsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
126 
133  inline ListMultipartUploadsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
134 
135  private:
136 
137  Aws::Vector<UploadListElement> m_uploadsList;
138 
139  Aws::String m_marker;
140  };
141 
142 } // namespace Model
143 } // namespace Glacier
144 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListMultipartUploadsResult::ListMultipartUploadsResult
ListMultipartUploadsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::UploadListElement
Definition: UploadListElement.h:33
Aws::Glacier::Model::ListMultipartUploadsResult::AddUploadsList
ListMultipartUploadsResult & AddUploadsList(const UploadListElement &value)
Definition: ListMultipartUploadsResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glacier::Model::ListMultipartUploadsResult::WithMarker
ListMultipartUploadsResult & WithMarker(const Aws::String &value)
Definition: ListMultipartUploadsResult.h:117
AWSVector.h
Aws::Glacier::Model::ListMultipartUploadsResult
Definition: ListMultipartUploadsResult.h:36
Aws::Glacier::Model::ListMultipartUploadsResult::SetUploadsList
void SetUploadsList(const Aws::Vector< UploadListElement > &value)
Definition: ListMultipartUploadsResult.h:51
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::ListMultipartUploadsResult::WithUploadsList
ListMultipartUploadsResult & WithUploadsList(Aws::Vector< UploadListElement > &&value)
Definition: ListMultipartUploadsResult.h:66
Aws::Glacier::Model::ListMultipartUploadsResult::WithUploadsList
ListMultipartUploadsResult & WithUploadsList(const Aws::Vector< UploadListElement > &value)
Definition: ListMultipartUploadsResult.h:61
Aws::Glacier::Model::ListMultipartUploadsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListMultipartUploadsResult.h:85
Aws::Glacier::Model::ListMultipartUploadsResult::WithMarker
ListMultipartUploadsResult & WithMarker(const char *value)
Definition: ListMultipartUploadsResult.h:133
AWSString.h
Aws::Glacier::Model::ListMultipartUploadsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListMultipartUploadsResult.h:93
UploadListElement.h
Aws::Glacier::Model::ListMultipartUploadsResult::SetMarker
void SetMarker(const char *value)
Definition: ListMultipartUploadsResult.h:109
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListMultipartUploadsResult::SetUploadsList
void SetUploadsList(Aws::Vector< UploadListElement > &&value)
Definition: ListMultipartUploadsResult.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListMultipartUploadsResult::ListMultipartUploadsResult
ListMultipartUploadsResult()
Aws::Glacier::Model::ListMultipartUploadsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListMultipartUploadsResult.h:101
Aws::Glacier::Model::ListMultipartUploadsResult::AddUploadsList
ListMultipartUploadsResult & AddUploadsList(UploadListElement &&value)
Definition: ListMultipartUploadsResult.h:76
Aws::Glacier::Model::ListMultipartUploadsResult::operator=
ListMultipartUploadsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListMultipartUploadsResult::WithMarker
ListMultipartUploadsResult & WithMarker(Aws::String &&value)
Definition: ListMultipartUploadsResult.h:125
Aws::Glacier::Model::ListMultipartUploadsResult::GetUploadsList
const Aws::Vector< UploadListElement > & GetUploadsList() const
Definition: ListMultipartUploadsResult.h:46
Glacier_EXPORTS.h