AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaModifications.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/ReplicaModificationsStatus.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
38 {
39 public:
43
44 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
45
46
48
51 inline const ReplicaModificationsStatus& GetStatus() const{ return m_status; }
52 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 inline void SetStatus(const ReplicaModificationsStatus& value) { m_statusHasBeenSet = true; m_status = value; }
54 inline void SetStatus(ReplicaModificationsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
55 inline ReplicaModifications& WithStatus(const ReplicaModificationsStatus& value) { SetStatus(value); return *this;}
56 inline ReplicaModifications& WithStatus(ReplicaModificationsStatus&& value) { SetStatus(std::move(value)); return *this;}
58 private:
59
61 bool m_statusHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace S3
66} // namespace Aws
AWS_S3_API ReplicaModifications(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(ReplicaModificationsStatus &&value)
const ReplicaModificationsStatus & GetStatus() const
ReplicaModifications & WithStatus(const ReplicaModificationsStatus &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ReplicaModifications & WithStatus(ReplicaModificationsStatus &&value)
AWS_S3_API ReplicaModifications & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(const ReplicaModificationsStatus &value)