AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ReplicationTimeValue.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Xml {
12class XmlNode;
13} // namespace Xml
14} // namespace Utils
15namespace S3Crt {
16namespace Model {
17
26 public:
27 AWS_S3CRT_API ReplicationTimeValue() = default;
28 AWS_S3CRT_API ReplicationTimeValue(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
32
34
37 inline int GetMinutes() const { return m_minutes; }
38 inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
39 inline void SetMinutes(int value) {
40 m_minutesHasBeenSet = true;
41 m_minutes = value;
42 }
43 inline ReplicationTimeValue& WithMinutes(int value) {
44 SetMinutes(value);
45 return *this;
46 }
48 private:
49 int m_minutes{0};
50 bool m_minutesHasBeenSet = false;
51};
52
53} // namespace Model
54} // namespace S3Crt
55} // namespace Aws
ReplicationTimeValue & WithMinutes(int value)
AWS_S3CRT_API ReplicationTimeValue(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API ReplicationTimeValue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API ReplicationTimeValue()=default