AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
MatchObjectSize.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
25 public:
26 AWS_S3CONTROL_API MatchObjectSize() = default;
27 AWS_S3CONTROL_API MatchObjectSize(const Aws::Utils::Xml::XmlNode& xmlNode);
28 AWS_S3CONTROL_API MatchObjectSize& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
29
30 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
31
33
37 inline long long GetBytesGreaterThan() const { return m_bytesGreaterThan; }
38 inline bool BytesGreaterThanHasBeenSet() const { return m_bytesGreaterThanHasBeenSet; }
39 inline void SetBytesGreaterThan(long long value) {
40 m_bytesGreaterThanHasBeenSet = true;
41 m_bytesGreaterThan = value;
42 }
43 inline MatchObjectSize& WithBytesGreaterThan(long long value) {
45 return *this;
46 }
48
50
54 inline long long GetBytesLessThan() const { return m_bytesLessThan; }
55 inline bool BytesLessThanHasBeenSet() const { return m_bytesLessThanHasBeenSet; }
56 inline void SetBytesLessThan(long long value) {
57 m_bytesLessThanHasBeenSet = true;
58 m_bytesLessThan = value;
59 }
60 inline MatchObjectSize& WithBytesLessThan(long long value) {
61 SetBytesLessThan(value);
62 return *this;
63 }
65 private:
66 long long m_bytesGreaterThan{0};
67
68 long long m_bytesLessThan{0};
69 bool m_bytesGreaterThanHasBeenSet = false;
70 bool m_bytesLessThanHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace S3Control
75} // namespace Aws
AWS_S3CONTROL_API MatchObjectSize & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MatchObjectSize & WithBytesLessThan(long long value)
AWS_S3CONTROL_API MatchObjectSize(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
MatchObjectSize & WithBytesGreaterThan(long long value)
AWS_S3CONTROL_API MatchObjectSize()=default