AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Segment.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glue
20{
21namespace Model
22{
23
30 class Segment
31 {
32 public:
33 AWS_GLUE_API Segment();
34 AWS_GLUE_API Segment(Aws::Utils::Json::JsonView jsonValue);
37
38
40
44 inline int GetSegmentNumber() const{ return m_segmentNumber; }
45 inline bool SegmentNumberHasBeenSet() const { return m_segmentNumberHasBeenSet; }
46 inline void SetSegmentNumber(int value) { m_segmentNumberHasBeenSet = true; m_segmentNumber = value; }
47 inline Segment& WithSegmentNumber(int value) { SetSegmentNumber(value); return *this;}
49
51
54 inline int GetTotalSegments() const{ return m_totalSegments; }
55 inline bool TotalSegmentsHasBeenSet() const { return m_totalSegmentsHasBeenSet; }
56 inline void SetTotalSegments(int value) { m_totalSegmentsHasBeenSet = true; m_totalSegments = value; }
57 inline Segment& WithTotalSegments(int value) { SetTotalSegments(value); return *this;}
59 private:
60
61 int m_segmentNumber;
62 bool m_segmentNumberHasBeenSet = false;
63
64 int m_totalSegments;
65 bool m_totalSegmentsHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Glue
70} // namespace Aws
bool SegmentNumberHasBeenSet() const
Definition Segment.h:45
int GetSegmentNumber() const
Definition Segment.h:44
int GetTotalSegments() const
Definition Segment.h:54
AWS_GLUE_API Segment(Aws::Utils::Json::JsonView jsonValue)
Segment & WithSegmentNumber(int value)
Definition Segment.h:47
Segment & WithTotalSegments(int value)
Definition Segment.h:57
AWS_GLUE_API Segment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TotalSegmentsHasBeenSet() const
Definition Segment.h:55
void SetTotalSegments(int value)
Definition Segment.h:56
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSegmentNumber(int value)
Definition Segment.h:46
Aws::Utils::Json::JsonValue JsonValue