AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetBucketLocationResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/BucketLocationConstraint.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace S3Crt {
23namespace Model {
25 public:
26 AWS_S3CRT_API GetBucketLocationResult() = default;
29
31
39 inline BucketLocationConstraint GetLocationConstraint() const { return m_locationConstraint; }
41 m_locationConstraintHasBeenSet = true;
42 m_locationConstraint = value;
43 }
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 private:
66
67 Aws::String m_requestId;
68 bool m_locationConstraintHasBeenSet = false;
69 bool m_requestIdHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace S3Crt
74} // namespace Aws
GetBucketLocationResult & WithRequestId(RequestIdT &&value)
AWS_S3CRT_API GetBucketLocationResult()=default
void SetLocationConstraint(BucketLocationConstraint value)
BucketLocationConstraint GetLocationConstraint() const
AWS_S3CRT_API GetBucketLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketLocationResult & WithLocationConstraint(BucketLocationConstraint value)
AWS_S3CRT_API GetBucketLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument