AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetObjectAttributesParts.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
33 {
34 public:
38
40
41
45 inline int GetTotalPartsCount() const{ return m_totalPartsCount; }
46
50 inline bool TotalPartsCountHasBeenSet() const { return m_totalPartsCountHasBeenSet; }
51
55 inline void SetTotalPartsCount(int value) { m_totalPartsCountHasBeenSet = true; m_totalPartsCount = value; }
56
60 inline GetObjectAttributesParts& WithTotalPartsCount(int value) { SetTotalPartsCount(value); return *this;}
61
62
66 inline int GetPartNumberMarker() const{ return m_partNumberMarker; }
67
71 inline bool PartNumberMarkerHasBeenSet() const { return m_partNumberMarkerHasBeenSet; }
72
76 inline void SetPartNumberMarker(int value) { m_partNumberMarkerHasBeenSet = true; m_partNumberMarker = value; }
77
81 inline GetObjectAttributesParts& WithPartNumberMarker(int value) { SetPartNumberMarker(value); return *this;}
82
83
89 inline int GetNextPartNumberMarker() const{ return m_nextPartNumberMarker; }
90
96 inline bool NextPartNumberMarkerHasBeenSet() const { return m_nextPartNumberMarkerHasBeenSet; }
97
103 inline void SetNextPartNumberMarker(int value) { m_nextPartNumberMarkerHasBeenSet = true; m_nextPartNumberMarker = value; }
104
111
112
116 inline int GetMaxParts() const{ return m_maxParts; }
117
121 inline bool MaxPartsHasBeenSet() const { return m_maxPartsHasBeenSet; }
122
126 inline void SetMaxParts(int value) { m_maxPartsHasBeenSet = true; m_maxParts = value; }
127
131 inline GetObjectAttributesParts& WithMaxParts(int value) { SetMaxParts(value); return *this;}
132
133
140 inline bool GetIsTruncated() const{ return m_isTruncated; }
141
148 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
149
156 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
157
164 inline GetObjectAttributesParts& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
165
166
171 inline const Aws::Vector<ObjectPart>& GetParts() const{ return m_parts; }
172
177 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
178
183 inline void SetParts(const Aws::Vector<ObjectPart>& value) { m_partsHasBeenSet = true; m_parts = value; }
184
189 inline void SetParts(Aws::Vector<ObjectPart>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); }
190
195 inline GetObjectAttributesParts& WithParts(const Aws::Vector<ObjectPart>& value) { SetParts(value); return *this;}
196
201 inline GetObjectAttributesParts& WithParts(Aws::Vector<ObjectPart>&& value) { SetParts(std::move(value)); return *this;}
202
207 inline GetObjectAttributesParts& AddParts(const ObjectPart& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; }
208
213 inline GetObjectAttributesParts& AddParts(ObjectPart&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; }
214
215 private:
216
217 int m_totalPartsCount;
218 bool m_totalPartsCountHasBeenSet = false;
219
220 int m_partNumberMarker;
221 bool m_partNumberMarkerHasBeenSet = false;
222
223 int m_nextPartNumberMarker;
224 bool m_nextPartNumberMarkerHasBeenSet = false;
225
226 int m_maxParts;
227 bool m_maxPartsHasBeenSet = false;
228
229 bool m_isTruncated;
230 bool m_isTruncatedHasBeenSet = false;
231
233 bool m_partsHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace S3
238} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
GetObjectAttributesParts & WithNextPartNumberMarker(int value)
GetObjectAttributesParts & WithParts(const Aws::Vector< ObjectPart > &value)
GetObjectAttributesParts & WithParts(Aws::Vector< ObjectPart > &&value)
GetObjectAttributesParts & WithTotalPartsCount(int value)
GetObjectAttributesParts & WithPartNumberMarker(int value)
GetObjectAttributesParts & WithIsTruncated(bool value)
GetObjectAttributesParts & AddParts(const ObjectPart &value)
const Aws::Vector< ObjectPart > & GetParts() const
void SetParts(const Aws::Vector< ObjectPart > &value)
AWS_S3_API GetObjectAttributesParts(const Aws::Utils::Xml::XmlNode &xmlNode)
GetObjectAttributesParts & AddParts(ObjectPart &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GetObjectAttributesParts & WithMaxParts(int value)
AWS_S3_API GetObjectAttributesParts & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetParts(Aws::Vector< ObjectPart > &&value)
std::vector< T, Aws::Allocator< T > > Vector