AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Delete.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3-crt/model/ObjectIdentifier.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt
22{
23namespace Model
24{
25
31 class Delete
32 {
33 public:
34 AWS_S3CRT_API Delete();
35 AWS_S3CRT_API Delete(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3CRT_API Delete& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
49 inline const Aws::Vector<ObjectIdentifier>& GetObjects() const{ return m_objects; }
50 inline bool ObjectsHasBeenSet() const { return m_objectsHasBeenSet; }
51 inline void SetObjects(const Aws::Vector<ObjectIdentifier>& value) { m_objectsHasBeenSet = true; m_objects = value; }
52 inline void SetObjects(Aws::Vector<ObjectIdentifier>&& value) { m_objectsHasBeenSet = true; m_objects = std::move(value); }
53 inline Delete& WithObjects(const Aws::Vector<ObjectIdentifier>& value) { SetObjects(value); return *this;}
54 inline Delete& WithObjects(Aws::Vector<ObjectIdentifier>&& value) { SetObjects(std::move(value)); return *this;}
55 inline Delete& AddObjects(const ObjectIdentifier& value) { m_objectsHasBeenSet = true; m_objects.push_back(value); return *this; }
56 inline Delete& AddObjects(ObjectIdentifier&& value) { m_objectsHasBeenSet = true; m_objects.push_back(std::move(value)); return *this; }
58
60
64 inline bool GetQuiet() const{ return m_quiet; }
65 inline bool QuietHasBeenSet() const { return m_quietHasBeenSet; }
66 inline void SetQuiet(bool value) { m_quietHasBeenSet = true; m_quiet = value; }
67 inline Delete& WithQuiet(bool value) { SetQuiet(value); return *this;}
69 private:
70
72 bool m_objectsHasBeenSet = false;
73
74 bool m_quiet;
75 bool m_quietHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace S3Crt
80} // namespace Aws
AWS_S3CRT_API Delete & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool QuietHasBeenSet() const
Definition Delete.h:65
void SetObjects(const Aws::Vector< ObjectIdentifier > &value)
Definition Delete.h:51
AWS_S3CRT_API Delete(const Aws::Utils::Xml::XmlNode &xmlNode)
Delete & WithObjects(Aws::Vector< ObjectIdentifier > &&value)
Definition Delete.h:54
bool ObjectsHasBeenSet() const
Definition Delete.h:50
Delete & WithQuiet(bool value)
Definition Delete.h:67
bool GetQuiet() const
Definition Delete.h:64
const Aws::Vector< ObjectIdentifier > & GetObjects() const
Definition Delete.h:49
Delete & AddObjects(ObjectIdentifier &&value)
Definition Delete.h:56
void SetQuiet(bool value)
Definition Delete.h:66
Delete & AddObjects(const ObjectIdentifier &value)
Definition Delete.h:55
void SetObjects(Aws::Vector< ObjectIdentifier > &&value)
Definition Delete.h:52
AWS_S3CRT_API Delete()
Delete & WithObjects(const Aws::Vector< ObjectIdentifier > &value)
Definition Delete.h:53
std::vector< T, Aws::Allocator< T > > Vector