AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Include.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 Include
33 {
34 public:
35 AWS_S3CONTROL_API Include();
36 AWS_S3CONTROL_API Include(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API Include& 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 Include& WithBuckets(const Aws::Vector<Aws::String>& value) { SetBuckets(value); return *this;}
51 inline Include& WithBuckets(Aws::Vector<Aws::String>&& value) { SetBuckets(std::move(value)); return *this;}
52 inline Include& AddBuckets(const Aws::String& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
53 inline Include& AddBuckets(Aws::String&& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(std::move(value)); return *this; }
54 inline Include& 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 Include& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
66 inline Include& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
67 inline Include& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
68 inline Include& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
69 inline Include& 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
void SetBuckets(const Aws::Vector< Aws::String > &value)
Definition Include.h:48
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool RegionsHasBeenSet() const
Definition Include.h:62
Include & AddRegions(const char *value)
Definition Include.h:69
Include & WithBuckets(const Aws::Vector< Aws::String > &value)
Definition Include.h:50
Include & WithBuckets(Aws::Vector< Aws::String > &&value)
Definition Include.h:51
const Aws::Vector< Aws::String > & GetRegions() const
Definition Include.h:61
Include & AddRegions(Aws::String &&value)
Definition Include.h:68
AWS_S3CONTROL_API Include(const Aws::Utils::Xml::XmlNode &xmlNode)
Include & AddBuckets(const char *value)
Definition Include.h:54
void SetRegions(Aws::Vector< Aws::String > &&value)
Definition Include.h:64
AWS_S3CONTROL_API Include & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Include & AddBuckets(Aws::String &&value)
Definition Include.h:53
Include & AddBuckets(const Aws::String &value)
Definition Include.h:52
Include & WithRegions(Aws::Vector< Aws::String > &&value)
Definition Include.h:66
Include & AddRegions(const Aws::String &value)
Definition Include.h:67
const Aws::Vector< Aws::String > & GetBuckets() const
Definition Include.h:46
Include & WithRegions(const Aws::Vector< Aws::String > &value)
Definition Include.h:65
AWS_S3CONTROL_API Include()
void SetBuckets(Aws::Vector< Aws::String > &&value)
Definition Include.h:49
bool BucketsHasBeenSet() const
Definition Include.h:47
void SetRegions(const Aws::Vector< Aws::String > &value)
Definition Include.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector