AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OutputLocation.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/S3Location.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
28 public:
29 AWS_S3_API OutputLocation() = default;
30 AWS_S3_API OutputLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
40 inline const S3Location& GetS3() const { return m_s3; }
41 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
42 template <typename S3T = S3Location>
43 void SetS3(S3T&& value) {
44 m_s3HasBeenSet = true;
45 m_s3 = std::forward<S3T>(value);
46 }
47 template <typename S3T = S3Location>
48 OutputLocation& WithS3(S3T&& value) {
49 SetS3(std::forward<S3T>(value));
50 return *this;
51 }
53 private:
54 S3Location m_s3;
55 bool m_s3HasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace S3
60} // namespace Aws
OutputLocation & WithS3(S3T &&value)
AWS_S3_API OutputLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const S3Location & GetS3() const
AWS_S3_API OutputLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API OutputLocation()=default