AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiRegionAccessPointRoute.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
39 {
40 public:
41 AWS_S3CONTROL_API MultiRegionAccessPointRoute();
42 AWS_S3CONTROL_API MultiRegionAccessPointRoute(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
46
47
49
55 inline const Aws::String& GetBucket() const{ return m_bucket; }
56 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
57 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
58 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
59 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
60 inline MultiRegionAccessPointRoute& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
61 inline MultiRegionAccessPointRoute& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
62 inline MultiRegionAccessPointRoute& WithBucket(const char* value) { SetBucket(value); return *this;}
64
66
72 inline const Aws::String& GetRegion() const{ return m_region; }
73 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
74 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
75 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
76 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
77 inline MultiRegionAccessPointRoute& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
78 inline MultiRegionAccessPointRoute& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
79 inline MultiRegionAccessPointRoute& WithRegion(const char* value) { SetRegion(value); return *this;}
81
83
95 inline int GetTrafficDialPercentage() const{ return m_trafficDialPercentage; }
96 inline bool TrafficDialPercentageHasBeenSet() const { return m_trafficDialPercentageHasBeenSet; }
97 inline void SetTrafficDialPercentage(int value) { m_trafficDialPercentageHasBeenSet = true; m_trafficDialPercentage = value; }
100 private:
101
102 Aws::String m_bucket;
103 bool m_bucketHasBeenSet = false;
104
105 Aws::String m_region;
106 bool m_regionHasBeenSet = false;
107
108 int m_trafficDialPercentage;
109 bool m_trafficDialPercentageHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace S3Control
114} // namespace Aws
MultiRegionAccessPointRoute & WithRegion(const Aws::String &value)
MultiRegionAccessPointRoute & WithRegion(const char *value)
AWS_S3CONTROL_API MultiRegionAccessPointRoute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MultiRegionAccessPointRoute & WithTrafficDialPercentage(int value)
MultiRegionAccessPointRoute & WithRegion(Aws::String &&value)
MultiRegionAccessPointRoute & WithBucket(const char *value)
MultiRegionAccessPointRoute & WithBucket(Aws::String &&value)
MultiRegionAccessPointRoute & WithBucket(const Aws::String &value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API MultiRegionAccessPointRoute(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String