AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Position.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_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 AccessAnalyzer
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_ACCESSANALYZER_API Position();
33 AWS_ACCESSANALYZER_API Position(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ACCESSANALYZER_API Position& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetLine() const{ return m_line; }
43 inline bool LineHasBeenSet() const { return m_lineHasBeenSet; }
44 inline void SetLine(int value) { m_lineHasBeenSet = true; m_line = value; }
45 inline Position& WithLine(int value) { SetLine(value); return *this;}
47
49
52 inline int GetColumn() const{ return m_column; }
53 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
54 inline void SetColumn(int value) { m_columnHasBeenSet = true; m_column = value; }
55 inline Position& WithColumn(int value) { SetColumn(value); return *this;}
57
59
63 inline int GetOffset() const{ return m_offset; }
64 inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
65 inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
66 inline Position& WithOffset(int value) { SetOffset(value); return *this;}
68 private:
69
70 int m_line;
71 bool m_lineHasBeenSet = false;
72
73 int m_column;
74 bool m_columnHasBeenSet = false;
75
76 int m_offset;
77 bool m_offsetHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AccessAnalyzer
82} // namespace Aws
Position & WithColumn(int value)
Definition Position.h:55
Position & WithLine(int value)
Definition Position.h:45
Position & WithOffset(int value)
Definition Position.h:66
AWS_ACCESSANALYZER_API Position(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Position & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Position()
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue