AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationTime.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/ReplicationTimeStatus.h>
9#include <aws/s3control/model/ReplicationTimeValue.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
36 {
37 public:
38 AWS_S3CONTROL_API ReplicationTime();
39 AWS_S3CONTROL_API ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_S3CONTROL_API ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const ReplicationTimeStatus& GetStatus() const{ return m_status; }
50 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
51 inline void SetStatus(const ReplicationTimeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
52 inline void SetStatus(ReplicationTimeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
53 inline ReplicationTime& WithStatus(const ReplicationTimeStatus& value) { SetStatus(value); return *this;}
54 inline ReplicationTime& WithStatus(ReplicationTimeStatus&& value) { SetStatus(std::move(value)); return *this;}
56
58
62 inline const ReplicationTimeValue& GetTime() const{ return m_time; }
63 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
64 inline void SetTime(const ReplicationTimeValue& value) { m_timeHasBeenSet = true; m_time = value; }
65 inline void SetTime(ReplicationTimeValue&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
66 inline ReplicationTime& WithTime(const ReplicationTimeValue& value) { SetTime(value); return *this;}
67 inline ReplicationTime& WithTime(ReplicationTimeValue&& value) { SetTime(std::move(value)); return *this;}
69 private:
70
71 ReplicationTimeStatus m_status;
72 bool m_statusHasBeenSet = false;
73
75 bool m_timeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace S3Control
80} // namespace Aws
ReplicationTime & WithStatus(ReplicationTimeStatus &&value)
void SetStatus(ReplicationTimeStatus &&value)
void SetTime(const ReplicationTimeValue &value)
ReplicationTime & WithTime(const ReplicationTimeValue &value)
const ReplicationTimeValue & GetTime() const
AWS_S3CONTROL_API ReplicationTime & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTime(ReplicationTimeValue &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStatus(const ReplicationTimeStatus &value)
AWS_S3CONTROL_API ReplicationTime(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationTime & WithTime(ReplicationTimeValue &&value)
ReplicationTime & WithStatus(const ReplicationTimeStatus &value)
const ReplicationTimeStatus & GetStatus() const