AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RequestPaymentConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/Payer.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_S3_API RequestPaymentConfiguration() = default;
36
37 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38
39
41
44 inline Payer GetPayer() const { return m_payer; }
45 inline bool PayerHasBeenSet() const { return m_payerHasBeenSet; }
46 inline void SetPayer(Payer value) { m_payerHasBeenSet = true; m_payer = value; }
47 inline RequestPaymentConfiguration& WithPayer(Payer value) { SetPayer(value); return *this;}
49 private:
50
51 Payer m_payer{Payer::NOT_SET};
52 bool m_payerHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace S3
57} // namespace Aws
AWS_S3_API RequestPaymentConfiguration()=default
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API RequestPaymentConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RequestPaymentConfiguration & WithPayer(Payer value)
AWS_S3_API RequestPaymentConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)