AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateStorageLocationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk {
24namespace Model {
32 public:
33 AWS_ELASTICBEANSTALK_API CreateStorageLocationResult() = default;
36
38
41 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
42 template <typename S3BucketT = Aws::String>
43 void SetS3Bucket(S3BucketT&& value) {
44 m_s3BucketHasBeenSet = true;
45 m_s3Bucket = std::forward<S3BucketT>(value);
46 }
47 template <typename S3BucketT = Aws::String>
49 SetS3Bucket(std::forward<S3BucketT>(value));
50 return *this;
51 }
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
69
70 private:
71 Aws::String m_s3Bucket;
72
73 ResponseMetadata m_responseMetadata;
74 Aws::Http::HttpResponseCode m_HttpResponseCode;
75 bool m_s3BucketHasBeenSet = false;
76 bool m_responseMetadataHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace ElasticBeanstalk
81} // 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)
AWS_ELASTICBEANSTALK_API CreateStorageLocationResult()=default
CreateStorageLocationResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateStorageLocationResult & WithS3Bucket(S3BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument