AWS SDK for C++  1.9.176
AWS SDK for C++
CreateStorageLocationResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace ElasticBeanstalk
25 {
26 namespace Model
27 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
46 
50  inline void SetS3Bucket(const Aws::String& value) { m_s3Bucket = value; }
51 
55  inline void SetS3Bucket(Aws::String&& value) { m_s3Bucket = std::move(value); }
56 
60  inline void SetS3Bucket(const char* value) { m_s3Bucket.assign(value); }
61 
65  inline CreateStorageLocationResult& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
66 
70  inline CreateStorageLocationResult& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
71 
75  inline CreateStorageLocationResult& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline CreateStorageLocationResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline CreateStorageLocationResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::String m_s3Bucket;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace ElasticBeanstalk
102 } // namespace Aws
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::SetS3Bucket
void SetS3Bucket(const Aws::String &value)
Definition: CreateStorageLocationResult.h:50
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::SetS3Bucket
void SetS3Bucket(Aws::String &&value)
Definition: CreateStorageLocationResult.h:55
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::SetS3Bucket
void SetS3Bucket(const char *value)
Definition: CreateStorageLocationResult.h:60
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::WithS3Bucket
CreateStorageLocationResult & WithS3Bucket(Aws::String &&value)
Definition: CreateStorageLocationResult.h:70
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::WithS3Bucket
CreateStorageLocationResult & WithS3Bucket(const char *value)
Definition: CreateStorageLocationResult.h:75
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::WithResponseMetadata
CreateStorageLocationResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateStorageLocationResult.h:91
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateStorageLocationResult.h:79
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::WithResponseMetadata
CreateStorageLocationResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateStorageLocationResult.h:88
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::CreateStorageLocationResult
CreateStorageLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateStorageLocationResult.h:85
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateStorageLocationResult.h:82
AWSString.h
ResponseMetadata.h
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult
Definition: CreateStorageLocationResult.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::GetS3Bucket
const Aws::String & GetS3Bucket() const
Definition: CreateStorageLocationResult.h:45
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::CreateStorageLocationResult
CreateStorageLocationResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::operator=
CreateStorageLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CreateStorageLocationResult::WithS3Bucket
CreateStorageLocationResult & WithS3Bucket(const Aws::String &value)
Definition: CreateStorageLocationResult.h:65
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27