AWS SDK for C++  1.9.157
AWS SDK for C++
Position.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace AccessAnalyzer
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline int GetColumn() const{ return m_column; }
42 
46  inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
47 
51  inline void SetColumn(int value) { m_columnHasBeenSet = true; m_column = value; }
52 
56  inline Position& WithColumn(int value) { SetColumn(value); return *this;}
57 
58 
62  inline int GetLine() const{ return m_line; }
63 
67  inline bool LineHasBeenSet() const { return m_lineHasBeenSet; }
68 
72  inline void SetLine(int value) { m_lineHasBeenSet = true; m_line = value; }
73 
77  inline Position& WithLine(int value) { SetLine(value); return *this;}
78 
79 
84  inline int GetOffset() const{ return m_offset; }
85 
90  inline bool OffsetHasBeenSet() const { return m_offsetHasBeenSet; }
91 
96  inline void SetOffset(int value) { m_offsetHasBeenSet = true; m_offset = value; }
97 
102  inline Position& WithOffset(int value) { SetOffset(value); return *this;}
103 
104  private:
105 
106  int m_column;
107  bool m_columnHasBeenSet;
108 
109  int m_line;
110  bool m_lineHasBeenSet;
111 
112  int m_offset;
113  bool m_offsetHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace AccessAnalyzer
118 } // namespace Aws
Aws::AccessAnalyzer::Model::Position::OffsetHasBeenSet
bool OffsetHasBeenSet() const
Definition: Position.h:90
Aws::AccessAnalyzer::Model::Position::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::Position::GetColumn
int GetColumn() const
Definition: Position.h:41
Aws::AccessAnalyzer::Model::Position::WithLine
Position & WithLine(int value)
Definition: Position.h:77
Aws::AccessAnalyzer::Model::Position::LineHasBeenSet
bool LineHasBeenSet() const
Definition: Position.h:67
Aws::AccessAnalyzer::Model::Position::WithOffset
Position & WithOffset(int value)
Definition: Position.h:102
Aws::AccessAnalyzer::Model::Position::ColumnHasBeenSet
bool ColumnHasBeenSet() const
Definition: Position.h:46
Aws::AccessAnalyzer::Model::Position::SetOffset
void SetOffset(int value)
Definition: Position.h:96
Aws::AccessAnalyzer::Model::Position::WithColumn
Position & WithColumn(int value)
Definition: Position.h:56
Aws::AccessAnalyzer::Model::Position::SetColumn
void SetColumn(int value)
Definition: Position.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::Position::GetLine
int GetLine() const
Definition: Position.h:62
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::Position::Position
Position()
Aws::AccessAnalyzer::Model::Position
Definition: Position.h:30
Aws::AccessAnalyzer::Model::Position::operator=
Position & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Position::SetLine
void SetLine(int value)
Definition: Position.h:72
Aws::AccessAnalyzer::Model::Position::Position
Position(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Position::GetOffset
int GetOffset() const
Definition: Position.h:84