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/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/ReplicationTimeStatus.h>
9#include <aws/s3-crt/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 S3Crt
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_S3CRT_API ReplicationTime();
38 AWS_S3CRT_API ReplicationTime(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3CRT_API ReplicationTime& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const ReplicationTimeStatus& GetStatus() const{ return m_status; }
49 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 inline void SetStatus(const ReplicationTimeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
51 inline void SetStatus(ReplicationTimeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
52 inline ReplicationTime& WithStatus(const ReplicationTimeStatus& value) { SetStatus(value); return *this;}
53 inline ReplicationTime& WithStatus(ReplicationTimeStatus&& value) { SetStatus(std::move(value)); return *this;}
55
57
61 inline const ReplicationTimeValue& GetTime() const{ return m_time; }
62 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
63 inline void SetTime(const ReplicationTimeValue& value) { m_timeHasBeenSet = true; m_time = value; }
64 inline void SetTime(ReplicationTimeValue&& value) { m_timeHasBeenSet = true; m_time = std::move(value); }
65 inline ReplicationTime& WithTime(const ReplicationTimeValue& value) { SetTime(value); return *this;}
66 inline ReplicationTime& WithTime(ReplicationTimeValue&& value) { SetTime(std::move(value)); return *this;}
68 private:
69
70 ReplicationTimeStatus m_status;
71 bool m_statusHasBeenSet = false;
72
74 bool m_timeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3Crt
79} // namespace Aws
ReplicationTime & WithStatus(const ReplicationTimeStatus &value)
void SetTime(ReplicationTimeValue &&value)
ReplicationTime & WithTime(ReplicationTimeValue &&value)
void SetTime(const ReplicationTimeValue &value)
AWS_S3CRT_API ReplicationTime & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStatus(ReplicationTimeStatus &&value)
const ReplicationTimeValue & GetTime() const
const ReplicationTimeStatus & GetStatus() const
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ReplicationTime & WithStatus(ReplicationTimeStatus &&value)
void SetStatus(const ReplicationTimeStatus &value)
AWS_S3CRT_API ReplicationTime(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationTime & WithTime(const ReplicationTimeValue &value)