AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CodeErrorLocation.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace AppSync {
17namespace Model {
18
26 public:
27 AWS_APPSYNC_API CodeErrorLocation() = default;
30 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetLine() const { return m_line; }
37 inline bool LineHasBeenSet() const { return m_lineHasBeenSet; }
38 inline void SetLine(int value) {
39 m_lineHasBeenSet = true;
40 m_line = value;
41 }
42 inline CodeErrorLocation& WithLine(int value) {
43 SetLine(value);
44 return *this;
45 }
47
49
52 inline int GetColumn() const { return m_column; }
53 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
54 inline void SetColumn(int value) {
55 m_columnHasBeenSet = true;
56 m_column = value;
57 }
58 inline CodeErrorLocation& WithColumn(int value) {
59 SetColumn(value);
60 return *this;
61 }
63
65
68 inline int GetSpan() const { return m_span; }
69 inline bool SpanHasBeenSet() const { return m_spanHasBeenSet; }
70 inline void SetSpan(int value) {
71 m_spanHasBeenSet = true;
72 m_span = value;
73 }
74 inline CodeErrorLocation& WithSpan(int value) {
75 SetSpan(value);
76 return *this;
77 }
79 private:
80 int m_line{0};
81
82 int m_column{0};
83
84 int m_span{0};
85 bool m_lineHasBeenSet = false;
86 bool m_columnHasBeenSet = false;
87 bool m_spanHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace AppSync
92} // namespace Aws
CodeErrorLocation & WithSpan(int value)
AWS_APPSYNC_API CodeErrorLocation()=default
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
CodeErrorLocation & WithLine(int value)
CodeErrorLocation & WithColumn(int value)
AWS_APPSYNC_API CodeErrorLocation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API CodeErrorLocation(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue