AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
48 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
49 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
50 inline RegionReport& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
51 inline RegionReport& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
52 inline RegionReport& WithBucket(const char* value) { SetBucket(value); return *this;}
54
56
59 inline const Aws::String& GetRegion() const{ return m_region; }
60 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
61 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
62 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
63 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
64 inline RegionReport& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
65 inline RegionReport& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
66 inline RegionReport& WithRegion(const char* value) { SetRegion(value); return *this;}
68
70
74 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
75 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
76 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; }
77 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); }
78 inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); }
79 inline RegionReport& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;}
80 inline RegionReport& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
81 inline RegionReport& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
83 private:
84
85 Aws::String m_bucket;
86 bool m_bucketHasBeenSet = false;
87
88 Aws::String m_region;
89 bool m_regionHasBeenSet = false;
90
91 Aws::String m_bucketAccountId;
92 bool m_bucketAccountIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3Control
97} // namespace Aws
RegionReport & WithRegion(const Aws::String &value)
const Aws::String & GetBucket() const
void SetBucket(Aws::String &&value)
RegionReport & WithBucketAccountId(Aws::String &&value)
void SetBucketAccountId(const Aws::String &value)
AWS_S3CONTROL_API RegionReport(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBucket(const char *value)
AWS_S3CONTROL_API RegionReport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
RegionReport & WithBucket(const char *value)
void SetRegion(const char *value)
void SetRegion(Aws::String &&value)
RegionReport & WithBucketAccountId(const Aws::String &value)
const Aws::String & GetBucketAccountId() const
void SetBucketAccountId(Aws::String &&value)
void SetBucket(const Aws::String &value)
RegionReport & WithBucketAccountId(const char *value)
RegionReport & WithBucket(Aws::String &&value)
void SetRegion(const Aws::String &value)
RegionReport & WithRegion(const char *value)
RegionReport & WithBucket(const Aws::String &value)
void SetBucketAccountId(const char *value)
const Aws::String & GetRegion() const
RegionReport & WithRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String