AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStorageLocationResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk
25{
26namespace Model
27{
35 {
36 public:
37 AWS_ELASTICBEANSTALK_API CreateStorageLocationResult();
40
41
43
46 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
47 inline void SetS3Bucket(const Aws::String& value) { m_s3Bucket = value; }
48 inline void SetS3Bucket(Aws::String&& value) { m_s3Bucket = std::move(value); }
49 inline void SetS3Bucket(const char* value) { m_s3Bucket.assign(value); }
50 inline CreateStorageLocationResult& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
51 inline CreateStorageLocationResult& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
52 inline CreateStorageLocationResult& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
61 inline CreateStorageLocationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_s3Bucket;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace ElasticBeanstalk
72} // namespace Aws
AWS_ELASTICBEANSTALK_API CreateStorageLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API CreateStorageLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateStorageLocationResult & WithS3Bucket(const Aws::String &value)
CreateStorageLocationResult & WithResponseMetadata(ResponseMetadata &&value)
CreateStorageLocationResult & WithS3Bucket(const char *value)
CreateStorageLocationResult & WithResponseMetadata(const ResponseMetadata &value)
CreateStorageLocationResult & WithS3Bucket(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument