AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Range.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
20{
21namespace Model
22{
23
30 class Range
31 {
32 public:
33 AWS_SECURITYHUB_API Range();
34 AWS_SECURITYHUB_API Range(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API Range& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline long long GetStart() const{ return m_start; }
45 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
46 inline void SetStart(long long value) { m_startHasBeenSet = true; m_start = value; }
47 inline Range& WithStart(long long value) { SetStart(value); return *this;}
49
51
55 inline long long GetEnd() const{ return m_end; }
56 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
57 inline void SetEnd(long long value) { m_endHasBeenSet = true; m_end = value; }
58 inline Range& WithEnd(long long value) { SetEnd(value); return *this;}
60
62
66 inline long long GetStartColumn() const{ return m_startColumn; }
67 inline bool StartColumnHasBeenSet() const { return m_startColumnHasBeenSet; }
68 inline void SetStartColumn(long long value) { m_startColumnHasBeenSet = true; m_startColumn = value; }
69 inline Range& WithStartColumn(long long value) { SetStartColumn(value); return *this;}
71 private:
72
73 long long m_start;
74 bool m_startHasBeenSet = false;
75
76 long long m_end;
77 bool m_endHasBeenSet = false;
78
79 long long m_startColumn;
80 bool m_startColumnHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SecurityHub
85} // namespace Aws
Range & WithStart(long long value)
Definition Range.h:47
long long GetStart() const
Definition Range.h:44
AWS_SECURITYHUB_API Range(Aws::Utils::Json::JsonView jsonValue)
Range & WithEnd(long long value)
Definition Range.h:58
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API Range()
void SetStartColumn(long long value)
Definition Range.h:68
long long GetEnd() const
Definition Range.h:55
bool EndHasBeenSet() const
Definition Range.h:56
void SetStart(long long value)
Definition Range.h:46
bool StartHasBeenSet() const
Definition Range.h:45
long long GetStartColumn() const
Definition Range.h:66
Range & WithStartColumn(long long value)
Definition Range.h:69
bool StartColumnHasBeenSet() const
Definition Range.h:67
void SetEnd(long long value)
Definition Range.h:57
AWS_SECURITYHUB_API Range & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue