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/S3_EXPORTS.h>
8#include <aws/s3/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 S3
21{
22namespace Model
23{
24
36 {
37 public:
41
42 AWS_S3_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 S3
64} // namespace Aws
void SetStatus(const ExistingObjectReplicationStatus &value)
AWS_S3_API ExistingObjectReplication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API ExistingObjectReplication(const Aws::Utils::Xml::XmlNode &xmlNode)
ExistingObjectReplication & WithStatus(ExistingObjectReplicationStatus &&value)
void SetStatus(ExistingObjectReplicationStatus &&value)
const ExistingObjectReplicationStatus & GetStatus() const
ExistingObjectReplication & WithStatus(const ExistingObjectReplicationStatus &value)