AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3 {
19namespace Model {
20
27 public:
28 AWS_S3_API RequestPaymentConfiguration() = default;
31
32 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
33
35
38 inline Payer GetPayer() const { return m_payer; }
39 inline bool PayerHasBeenSet() const { return m_payerHasBeenSet; }
40 inline void SetPayer(Payer value) {
41 m_payerHasBeenSet = true;
42 m_payer = value;
43 }
45 SetPayer(value);
46 return *this;
47 }
49 private:
50 Payer m_payer{Payer::NOT_SET};
51 bool m_payerHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace S3
56} // 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)