AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBucketResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Xml
19{
20 class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace S3Control
24{
25namespace Model
26{
28 {
29 public:
30 AWS_S3CONTROL_API CreateBucketResult() = default;
33
34
36
39 inline const Aws::String& GetLocation() const { return m_location; }
40 template<typename LocationT = Aws::String>
41 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
42 template<typename LocationT = Aws::String>
43 CreateBucketResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
45
47
60 inline const Aws::String& GetBucketArn() const { return m_bucketArn; }
61 template<typename BucketArnT = Aws::String>
62 void SetBucketArn(BucketArnT&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::forward<BucketArnT>(value); }
63 template<typename BucketArnT = Aws::String>
64 CreateBucketResult& WithBucketArn(BucketArnT&& value) { SetBucketArn(std::forward<BucketArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreateBucketResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77
79
82 inline const Aws::String& GetHostId() const { return m_hostId; }
83 template<typename HostIdT = Aws::String>
84 void SetHostId(HostIdT&& value) { m_hostIdHasBeenSet = true; m_hostId = std::forward<HostIdT>(value); }
85 template<typename HostIdT = Aws::String>
86 CreateBucketResult& WithHostId(HostIdT&& value) { SetHostId(std::forward<HostIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_location;
91 bool m_locationHasBeenSet = false;
92
93 Aws::String m_bucketArn;
94 bool m_bucketArnHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98
99 Aws::String m_hostId;
100 bool m_hostIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace S3Control
105} // namespace Aws
CreateBucketResult & WithRequestId(RequestIdT &&value)
CreateBucketResult & WithBucketArn(BucketArnT &&value)
CreateBucketResult & WithLocation(LocationT &&value)
CreateBucketResult & WithHostId(HostIdT &&value)
AWS_S3CONTROL_API CreateBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API CreateBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3CONTROL_API CreateBucketResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument