AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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