AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateBucketResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.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:
33
34
38 inline const Aws::String& GetLocation() const{ return m_location; }
39
43 inline void SetLocation(const Aws::String& value) { m_location = value; }
44
48 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
49
53 inline void SetLocation(const char* value) { m_location.assign(value); }
54
58 inline CreateBucketResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
59
63 inline CreateBucketResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
64
68 inline CreateBucketResult& WithLocation(const char* value) { SetLocation(value); return *this;}
69
70 private:
71
72 Aws::String m_location;
73 };
74
75} // namespace Model
76} // namespace S3
77} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
CreateBucketResult & WithLocation(const char *value)
CreateBucketResult & WithLocation(const 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 SetLocation(Aws::String &&value)
CreateBucketResult & WithLocation(Aws::String &&value)
void SetLocation(const char *value)
const Aws::String & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String