AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Exclude.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
32 class Exclude
33 {
34 public:
35 AWS_S3CONTROL_API Exclude();
36 AWS_S3CONTROL_API Exclude(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API Exclude& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetBuckets() const{ return m_buckets; }
47 inline bool BucketsHasBeenSet() const { return m_bucketsHasBeenSet; }
48 inline void SetBuckets(const Aws::Vector<Aws::String>& value) { m_bucketsHasBeenSet = true; m_buckets = value; }
49 inline void SetBuckets(Aws::Vector<Aws::String>&& value) { m_bucketsHasBeenSet = true; m_buckets = std::move(value); }
50 inline Exclude& WithBuckets(const Aws::Vector<Aws::String>& value) { SetBuckets(value); return *this;}
51 inline Exclude& WithBuckets(Aws::Vector<Aws::String>&& value) { SetBuckets(std::move(value)); return *this;}
52 inline Exclude& AddBuckets(const Aws::String& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
53 inline Exclude& AddBuckets(Aws::String&& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(std::move(value)); return *this; }
54 inline Exclude& AddBuckets(const char* value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
62 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
63 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
64 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
65 inline Exclude& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
66 inline Exclude& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
67 inline Exclude& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
68 inline Exclude& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
69 inline Exclude& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
71 private:
72
74 bool m_bucketsHasBeenSet = false;
75
77 bool m_regionsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace S3Control
82} // namespace Aws
Exclude & AddRegions(Aws::String &&value)
Definition Exclude.h:68
AWS_S3CONTROL_API Exclude & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Exclude & AddRegions(const Aws::String &value)
Definition Exclude.h:67
Exclude & AddRegions(const char *value)
Definition Exclude.h:69
void SetRegions(Aws::Vector< Aws::String > &&value)
Definition Exclude.h:64
AWS_S3CONTROL_API Exclude()
void SetRegions(const Aws::Vector< Aws::String > &value)
Definition Exclude.h:63
Exclude & WithRegions(const Aws::Vector< Aws::String > &value)
Definition Exclude.h:65
Exclude & WithBuckets(const Aws::Vector< Aws::String > &value)
Definition Exclude.h:50
AWS_S3CONTROL_API Exclude(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBuckets(const Aws::Vector< Aws::String > &value)
Definition Exclude.h:48
Exclude & WithBuckets(Aws::Vector< Aws::String > &&value)
Definition Exclude.h:51
void SetBuckets(Aws::Vector< Aws::String > &&value)
Definition Exclude.h:49
const Aws::Vector< Aws::String > & GetRegions() const
Definition Exclude.h:61
Exclude & AddBuckets(const Aws::String &value)
Definition Exclude.h:52
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Exclude & WithRegions(Aws::Vector< Aws::String > &&value)
Definition Exclude.h:66
const Aws::Vector< Aws::String > & GetBuckets() const
Definition Exclude.h:46
bool RegionsHasBeenSet() const
Definition Exclude.h:62
bool BucketsHasBeenSet() const
Definition Exclude.h:47
Exclude & AddBuckets(Aws::String &&value)
Definition Exclude.h:53
Exclude & AddBuckets(const char *value)
Definition Exclude.h:54
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector