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/s3/S3_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 S3
24{
25namespace Model
26{
28 {
29 public:
30 AWS_S3_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
50 inline const Aws::String& GetRequestId() const{ return m_requestId; }
51 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
52 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
53 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
54 inline CreateBucketResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
55 inline CreateBucketResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
56 inline CreateBucketResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
58 private:
59
60 Aws::String m_location;
61
62 Aws::String m_requestId;
63 };
64
65} // namespace Model
66} // namespace S3
67} // namespace Aws
CreateBucketResult & WithLocation(const char *value)
CreateBucketResult & WithLocation(const Aws::String &value)
CreateBucketResult & WithRequestId(const Aws::String &value)
CreateBucketResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
CreateBucketResult & WithRequestId(Aws::String &&value)
void SetLocation(const Aws::String &value)
AWS_S3_API CreateBucketResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3_API CreateBucketResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetRequestId(Aws::String &&value)
void SetLocation(Aws::String &&value)
void SetRequestId(const Aws::String &value)
CreateBucketResult & WithLocation(Aws::String &&value)
const Aws::String & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument