AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetBucketRequestPaymentResult.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Xml
19{
20 class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace S3
24{
25namespace Model
26{
28 {
29 public:
33
34
38 inline const Payer& GetPayer() const{ return m_payer; }
39
43 inline void SetPayer(const Payer& value) { m_payer = value; }
44
48 inline void SetPayer(Payer&& value) { m_payer = std::move(value); }
49
53 inline GetBucketRequestPaymentResult& WithPayer(const Payer& value) { SetPayer(value); return *this;}
54
58 inline GetBucketRequestPaymentResult& WithPayer(Payer&& value) { SetPayer(std::move(value)); return *this;}
59
60 private:
61
62 Payer m_payer;
63 };
64
65} // namespace Model
66} // namespace S3
67} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
GetBucketRequestPaymentResult & WithPayer(Payer &&value)
GetBucketRequestPaymentResult & WithPayer(const Payer &value)
AWS_S3_API GetBucketRequestPaymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_S3_API GetBucketRequestPaymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)