AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBucketAccelerateConfigurationResult.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/BucketAccelerateStatus.h>
9#include <aws/s3-crt/model/RequestCharged.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace S3Crt
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const BucketAccelerateStatus& GetStatus() const{ return m_status; }
42 inline void SetStatus(const BucketAccelerateStatus& value) { m_status = value; }
43 inline void SetStatus(BucketAccelerateStatus&& value) { m_status = std::move(value); }
45 inline GetBucketAccelerateConfigurationResult& WithStatus(BucketAccelerateStatus&& value) { SetStatus(std::move(value)); return *this;}
47
49
50 inline const RequestCharged& GetRequestCharged() const{ return m_requestCharged; }
51 inline void SetRequestCharged(const RequestCharged& value) { m_requestCharged = value; }
52 inline void SetRequestCharged(RequestCharged&& value) { m_requestCharged = std::move(value); }
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline GetBucketAccelerateConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline GetBucketAccelerateConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
70
71 RequestCharged m_requestCharged;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace S3Crt
78} // namespace Aws
GetBucketAccelerateConfigurationResult & WithRequestId(const Aws::String &value)
AWS_S3CRT_API GetBucketAccelerateConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketAccelerateConfigurationResult & WithStatus(const BucketAccelerateStatus &value)
GetBucketAccelerateConfigurationResult & WithRequestCharged(const RequestCharged &value)
GetBucketAccelerateConfigurationResult & WithRequestId(const char *value)
GetBucketAccelerateConfigurationResult & WithRequestId(Aws::String &&value)
AWS_S3CRT_API GetBucketAccelerateConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetBucketAccelerateConfigurationResult & WithRequestCharged(RequestCharged &&value)
GetBucketAccelerateConfigurationResult & WithStatus(BucketAccelerateStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument