AWS SDK for C++  1.9.73
AWS SDK for C++
ScanRange.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Xml
14 {
15  class XmlNode;
16 } // namespace Xml
17 } // namespace Utils
18 namespace S3Crt
19 {
20 namespace Model
21 {
22 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
49  inline long long GetStart() const{ return m_start; }
50 
58  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
59 
67  inline void SetStart(long long value) { m_startHasBeenSet = true; m_start = value; }
68 
76  inline ScanRange& WithStart(long long value) { SetStart(value); return *this;}
77 
78 
87  inline long long GetEnd() const{ return m_end; }
88 
97  inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
98 
107  inline void SetEnd(long long value) { m_endHasBeenSet = true; m_end = value; }
108 
117  inline ScanRange& WithEnd(long long value) { SetEnd(value); return *this;}
118 
119  private:
120 
121  long long m_start;
122  bool m_startHasBeenSet;
123 
124  long long m_end;
125  bool m_endHasBeenSet;
126  };
127 
128 } // namespace Model
129 } // namespace S3Crt
130 } // namespace Aws
Aws::S3Crt::Model::ScanRange::ScanRange
ScanRange(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Crt::Model::ScanRange::WithEnd
ScanRange & WithEnd(long long value)
Definition: ScanRange.h:117
Aws::S3Crt::Model::ScanRange::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Crt::Model::ScanRange::StartHasBeenSet
bool StartHasBeenSet() const
Definition: ScanRange.h:58
Aws::S3Crt::Model::ScanRange::SetStart
void SetStart(long long value)
Definition: ScanRange.h:67
Aws::S3Crt::Model::ScanRange::WithStart
ScanRange & WithStart(long long value)
Definition: ScanRange.h:76
Aws::S3Crt::Model::ScanRange::EndHasBeenSet
bool EndHasBeenSet() const
Definition: ScanRange.h:97
Aws::S3Crt::Model::ScanRange
Definition: ScanRange.h:33
Aws::S3Crt::Model::ScanRange::GetEnd
long long GetEnd() const
Definition: ScanRange.h:87
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CRT_API
#define AWS_S3CRT_API
Definition: S3Crt_EXPORTS.h:28
Aws::S3Crt::Model::ScanRange::operator=
ScanRange & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Crt::Model::ScanRange::GetStart
long long GetStart() const
Definition: ScanRange.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::S3Crt::Model::ScanRange::ScanRange
ScanRange()
Aws::S3Crt::Model::ScanRange::SetEnd
void SetEnd(long long value)
Definition: ScanRange.h:107
S3Crt_EXPORTS.h