AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompletedMultipartUpload.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/model/CompletedPart.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
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
48 inline const Aws::Vector<CompletedPart>& GetParts() const{ return m_parts; }
49 inline bool PartsHasBeenSet() const { return m_partsHasBeenSet; }
50 inline void SetParts(const Aws::Vector<CompletedPart>& value) { m_partsHasBeenSet = true; m_parts = value; }
51 inline void SetParts(Aws::Vector<CompletedPart>&& value) { m_partsHasBeenSet = true; m_parts = std::move(value); }
52 inline CompletedMultipartUpload& WithParts(const Aws::Vector<CompletedPart>& value) { SetParts(value); return *this;}
53 inline CompletedMultipartUpload& WithParts(Aws::Vector<CompletedPart>&& value) { SetParts(std::move(value)); return *this;}
54 inline CompletedMultipartUpload& AddParts(const CompletedPart& value) { m_partsHasBeenSet = true; m_parts.push_back(value); return *this; }
55 inline CompletedMultipartUpload& AddParts(CompletedPart&& value) { m_partsHasBeenSet = true; m_parts.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_partsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace S3
65} // namespace Aws
const Aws::Vector< CompletedPart > & GetParts() const
CompletedMultipartUpload & AddParts(const CompletedPart &value)
CompletedMultipartUpload & AddParts(CompletedPart &&value)
CompletedMultipartUpload & WithParts(const Aws::Vector< CompletedPart > &value)
void SetParts(Aws::Vector< CompletedPart > &&value)
AWS_S3_API CompletedMultipartUpload & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CompletedMultipartUpload & WithParts(Aws::Vector< CompletedPart > &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetParts(const Aws::Vector< CompletedPart > &value)
AWS_S3_API CompletedMultipartUpload(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector