AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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
32 {
33 public:
34 AWS_S3_API OutputLocation() = default;
35 AWS_S3_API OutputLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const S3Location& GetS3() const { return m_s3; }
47 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
48 template<typename S3T = S3Location>
49 void SetS3(S3T&& value) { m_s3HasBeenSet = true; m_s3 = std::forward<S3T>(value); }
50 template<typename S3T = S3Location>
51 OutputLocation& WithS3(S3T&& value) { SetS3(std::forward<S3T>(value)); return *this;}
53 private:
54
55 S3Location m_s3;
56 bool m_s3HasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace S3
61} // 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