AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Region.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
31 class Region
32 {
33 public:
34 AWS_S3CONTROL_API Region();
35 AWS_S3CONTROL_API Region(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3CONTROL_API Region& 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 Region& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
51 inline Region& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
52 inline Region& WithBucket(const char* value) { SetBucket(value); return *this;}
54
56
60 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
61 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
62 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; }
63 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); }
64 inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); }
65 inline Region& WithBucketAccountId(const Aws::String& value) { SetBucketAccountId(value); return *this;}
66 inline Region& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
67 inline Region& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
69 private:
70
71 Aws::String m_bucket;
72 bool m_bucketHasBeenSet = false;
73
74 Aws::String m_bucketAccountId;
75 bool m_bucketAccountIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace S3Control
80} // namespace Aws
void SetBucketAccountId(const char *value)
Definition Region.h:64
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetBucket(const char *value)
Definition Region.h:49
const Aws::String & GetBucketAccountId() const
Definition Region.h:60
void SetBucketAccountId(Aws::String &&value)
Definition Region.h:63
AWS_S3CONTROL_API Region & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Region & WithBucketAccountId(Aws::String &&value)
Definition Region.h:66
bool BucketHasBeenSet() const
Definition Region.h:46
Region & WithBucket(const char *value)
Definition Region.h:52
void SetBucket(const Aws::String &value)
Definition Region.h:47
AWS_S3CONTROL_API Region()
Region & WithBucketAccountId(const Aws::String &value)
Definition Region.h:65
Region & WithBucket(Aws::String &&value)
Definition Region.h:51
const Aws::String & GetBucket() const
Definition Region.h:45
void SetBucketAccountId(const Aws::String &value)
Definition Region.h:62
AWS_S3CONTROL_API Region(const Aws::Utils::Xml::XmlNode &xmlNode)
Region & WithBucketAccountId(const char *value)
Definition Region.h:67
Region & WithBucket(const Aws::String &value)
Definition Region.h:50
void SetBucket(Aws::String &&value)
Definition Region.h:48
bool BucketAccountIdHasBeenSet() const
Definition Region.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String