AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeErrorLocation.h
1
6#pragma once
7#include <aws/appsync/AppSync_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 AppSync
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_APPSYNC_API CodeErrorLocation();
36 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetLine() const{ return m_line; }
44 inline bool LineHasBeenSet() const { return m_lineHasBeenSet; }
45 inline void SetLine(int value) { m_lineHasBeenSet = true; m_line = value; }
46 inline CodeErrorLocation& WithLine(int value) { SetLine(value); return *this;}
48
50
53 inline int GetColumn() const{ return m_column; }
54 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
55 inline void SetColumn(int value) { m_columnHasBeenSet = true; m_column = value; }
56 inline CodeErrorLocation& WithColumn(int value) { SetColumn(value); return *this;}
58
60
63 inline int GetSpan() const{ return m_span; }
64 inline bool SpanHasBeenSet() const { return m_spanHasBeenSet; }
65 inline void SetSpan(int value) { m_spanHasBeenSet = true; m_span = value; }
66 inline CodeErrorLocation& WithSpan(int value) { SetSpan(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_span;
77 bool m_spanHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppSync
82} // namespace Aws
CodeErrorLocation & WithSpan(int value)
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