AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExistingObjectReplication.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ExistingObjectReplicationStatus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt
21{
22namespace Model
23{
24
36 {
37 public:
41
42 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const ExistingObjectReplicationStatus& GetStatus() const{ return m_status; }
50 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
51 inline void SetStatus(const ExistingObjectReplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
52 inline void SetStatus(ExistingObjectReplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
54 inline ExistingObjectReplication& WithStatus(ExistingObjectReplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
56 private:
57
59 bool m_statusHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace S3Crt
64} // namespace Aws
void SetStatus(const ExistingObjectReplicationStatus &value)
AWS_S3CRT_API ExistingObjectReplication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const ExistingObjectReplicationStatus & GetStatus() const
AWS_S3CRT_API ExistingObjectReplication(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(ExistingObjectReplicationStatus &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ExistingObjectReplication & WithStatus(const ExistingObjectReplicationStatus &value)
ExistingObjectReplication & WithStatus(ExistingObjectReplicationStatus &&value)