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/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/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 S3Control
21{
22namespace Model
23{
24
41 {
42 public:
43 AWS_S3CONTROL_API ReplicaModifications();
44 AWS_S3CONTROL_API ReplicaModifications(const Aws::Utils::Xml::XmlNode& xmlNode);
45 AWS_S3CONTROL_API ReplicaModifications& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
48
49
51
55 inline const ReplicaModificationsStatus& GetStatus() const{ return m_status; }
56 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
57 inline void SetStatus(const ReplicaModificationsStatus& value) { m_statusHasBeenSet = true; m_status = value; }
58 inline void SetStatus(ReplicaModificationsStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
59 inline ReplicaModifications& WithStatus(const ReplicaModificationsStatus& value) { SetStatus(value); return *this;}
60 inline ReplicaModifications& WithStatus(ReplicaModificationsStatus&& value) { SetStatus(std::move(value)); return *this;}
62 private:
63
65 bool m_statusHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace S3Control
70} // namespace Aws
ReplicaModifications & WithStatus(ReplicaModificationsStatus &&value)
AWS_S3CONTROL_API ReplicaModifications(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStatus(const ReplicaModificationsStatus &value)
void SetStatus(ReplicaModificationsStatus &&value)
AWS_S3CONTROL_API ReplicaModifications & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicaModifications & WithStatus(const ReplicaModificationsStatus &value)
const ReplicaModificationsStatus & GetStatus() const