AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegionReport.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Control
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3CONTROL_API RegionReport() = default;
35 AWS_S3CONTROL_API RegionReport(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3CONTROL_API RegionReport& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
45 inline const Aws::String& GetBucket() const { return m_bucket; }
46 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
47 template<typename BucketT = Aws::String>
48 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
49 template<typename BucketT = Aws::String>
50 RegionReport& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
52
54
57 inline const Aws::String& GetRegion() const { return m_region; }
58 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
59 template<typename RegionT = Aws::String>
60 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
61 template<typename RegionT = Aws::String>
62 RegionReport& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
64
66
70 inline const Aws::String& GetBucketAccountId() const { return m_bucketAccountId; }
71 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
72 template<typename BucketAccountIdT = Aws::String>
73 void SetBucketAccountId(BucketAccountIdT&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
74 template<typename BucketAccountIdT = Aws::String>
75 RegionReport& WithBucketAccountId(BucketAccountIdT&& value) { SetBucketAccountId(std::forward<BucketAccountIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_bucket;
80 bool m_bucketHasBeenSet = false;
81
82 Aws::String m_region;
83 bool m_regionHasBeenSet = false;
84
85 Aws::String m_bucketAccountId;
86 bool m_bucketAccountIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace S3Control
91} // namespace Aws
void SetBucket(BucketT &&value)
const Aws::String & GetBucket() const
RegionReport & WithRegion(RegionT &&value)
AWS_S3CONTROL_API RegionReport(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API RegionReport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
RegionReport & WithBucket(BucketT &&value)
AWS_S3CONTROL_API RegionReport()=default
RegionReport & WithBucketAccountId(BucketAccountIdT &&value)
const Aws::String & GetBucketAccountId() const
void SetBucketAccountId(BucketAccountIdT &&value)
void SetRegion(RegionT &&value)
const Aws::String & GetRegion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String