AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AsyncResponseDetails.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/MultiRegionAccessPointsAsyncResponse.h>
9#include <aws/s3control/model/AsyncErrorDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API AsyncResponseDetails();
36 AWS_S3CONTROL_API AsyncResponseDetails(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API AsyncResponseDetails& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const MultiRegionAccessPointsAsyncResponse& GetMultiRegionAccessPointDetails() const{ return m_multiRegionAccessPointDetails; }
47 inline bool MultiRegionAccessPointDetailsHasBeenSet() const { return m_multiRegionAccessPointDetailsHasBeenSet; }
48 inline void SetMultiRegionAccessPointDetails(const MultiRegionAccessPointsAsyncResponse& value) { m_multiRegionAccessPointDetailsHasBeenSet = true; m_multiRegionAccessPointDetails = value; }
49 inline void SetMultiRegionAccessPointDetails(MultiRegionAccessPointsAsyncResponse&& value) { m_multiRegionAccessPointDetailsHasBeenSet = true; m_multiRegionAccessPointDetails = std::move(value); }
53
55
58 inline const AsyncErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
59 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
60 inline void SetErrorDetails(const AsyncErrorDetails& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
61 inline void SetErrorDetails(AsyncErrorDetails&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
62 inline AsyncResponseDetails& WithErrorDetails(const AsyncErrorDetails& value) { SetErrorDetails(value); return *this;}
63 inline AsyncResponseDetails& WithErrorDetails(AsyncErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
65 private:
66
67 MultiRegionAccessPointsAsyncResponse m_multiRegionAccessPointDetails;
68 bool m_multiRegionAccessPointDetailsHasBeenSet = false;
69
70 AsyncErrorDetails m_errorDetails;
71 bool m_errorDetailsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace S3Control
76} // namespace Aws
void SetErrorDetails(AsyncErrorDetails &&value)
AsyncResponseDetails & WithMultiRegionAccessPointDetails(MultiRegionAccessPointsAsyncResponse &&value)
AWS_S3CONTROL_API AsyncResponseDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const AsyncErrorDetails & GetErrorDetails() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AsyncResponseDetails & WithErrorDetails(const AsyncErrorDetails &value)
AsyncResponseDetails & WithMultiRegionAccessPointDetails(const MultiRegionAccessPointsAsyncResponse &value)
void SetErrorDetails(const AsyncErrorDetails &value)
const MultiRegionAccessPointsAsyncResponse & GetMultiRegionAccessPointDetails() const
void SetMultiRegionAccessPointDetails(MultiRegionAccessPointsAsyncResponse &&value)
AsyncResponseDetails & WithErrorDetails(AsyncErrorDetails &&value)
AWS_S3CONTROL_API AsyncResponseDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMultiRegionAccessPointDetails(const MultiRegionAccessPointsAsyncResponse &value)