AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
39 inline const Aws::String& GetLocation() const{ return m_location; }
40 inline void SetLocation(const Aws::String& value) { m_location = value; }
41 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
42 inline void SetLocation(const char* value) { m_location.assign(value); }
43 inline CreateBucketResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
44 inline CreateBucketResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
45 inline CreateBucketResult& WithLocation(const char* value) { SetLocation(value); return *this;}
47
49
62 inline const Aws::String& GetBucketArn() const{ return m_bucketArn; }
63 inline void SetBucketArn(const Aws::String& value) { m_bucketArn = value; }
64 inline void SetBucketArn(Aws::String&& value) { m_bucketArn = std::move(value); }
65 inline void SetBucketArn(const char* value) { m_bucketArn.assign(value); }
66 inline CreateBucketResult& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;}
67 inline CreateBucketResult& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;}
68 inline CreateBucketResult& WithBucketArn(const char* value) { SetBucketArn(value); return *this;}
70
72
73 inline const Aws::String& GetRequestId() const{ return m_requestId; }
74 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
75 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
77 inline CreateBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
78 inline CreateBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
79 inline CreateBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
81 private:
82
83 Aws::String m_location;
84
85 Aws::String m_bucketArn;
86
87 Aws::String m_requestId;
88 };
89
90} // namespace Model
91} // namespace S3Control
92} // namespace Aws
void SetRequestId(const Aws::String &value)
CreateBucketResult & WithBucketArn(const char *value)
CreateBucketResult & WithRequestId(const char *value)
CreateBucketResult & WithLocation(Aws::String &&value)
CreateBucketResult & WithLocation(const char *value)
CreateBucketResult & WithBucketArn(const Aws::String &value)
CreateBucketResult & WithRequestId(Aws::String &&value)
CreateBucketResult & WithLocation(const Aws::String &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)
CreateBucketResult & WithBucketArn(Aws::String &&value)
void SetBucketArn(const Aws::String &value)
CreateBucketResult & WithRequestId(const Aws::String &value)
void SetLocation(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument