AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Cell.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
32 class Cell
33 {
34 public:
35 AWS_MACIE2_API Cell() = default;
36 AWS_MACIE2_API Cell(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MACIE2_API Cell& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetCellReference() const { return m_cellReference; }
48 inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
49 template<typename CellReferenceT = Aws::String>
50 void SetCellReference(CellReferenceT&& value) { m_cellReferenceHasBeenSet = true; m_cellReference = std::forward<CellReferenceT>(value); }
51 template<typename CellReferenceT = Aws::String>
52 Cell& WithCellReference(CellReferenceT&& value) { SetCellReference(std::forward<CellReferenceT>(value)); return *this;}
54
56
62 inline long long GetColumn() const { return m_column; }
63 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
64 inline void SetColumn(long long value) { m_columnHasBeenSet = true; m_column = value; }
65 inline Cell& WithColumn(long long value) { SetColumn(value); return *this;}
67
69
72 inline const Aws::String& GetColumnName() const { return m_columnName; }
73 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
74 template<typename ColumnNameT = Aws::String>
75 void SetColumnName(ColumnNameT&& value) { m_columnNameHasBeenSet = true; m_columnName = std::forward<ColumnNameT>(value); }
76 template<typename ColumnNameT = Aws::String>
77 Cell& WithColumnName(ColumnNameT&& value) { SetColumnName(std::forward<ColumnNameT>(value)); return *this;}
79
81
84 inline long long GetRow() const { return m_row; }
85 inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
86 inline void SetRow(long long value) { m_rowHasBeenSet = true; m_row = value; }
87 inline Cell& WithRow(long long value) { SetRow(value); return *this;}
89 private:
90
91 Aws::String m_cellReference;
92 bool m_cellReferenceHasBeenSet = false;
93
94 long long m_column{0};
95 bool m_columnHasBeenSet = false;
96
97 Aws::String m_columnName;
98 bool m_columnNameHasBeenSet = false;
99
100 long long m_row{0};
101 bool m_rowHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Macie2
106} // namespace Aws
bool ColumnNameHasBeenSet() const
Definition Cell.h:73
void SetColumn(long long value)
Definition Cell.h:64
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API Cell(Aws::Utils::Json::JsonView jsonValue)
long long GetRow() const
Definition Cell.h:84
bool CellReferenceHasBeenSet() const
Definition Cell.h:48
Cell & WithCellReference(CellReferenceT &&value)
Definition Cell.h:52
AWS_MACIE2_API Cell & operator=(Aws::Utils::Json::JsonView jsonValue)
Cell & WithRow(long long value)
Definition Cell.h:87
void SetRow(long long value)
Definition Cell.h:86
Cell & WithColumn(long long value)
Definition Cell.h:65
bool RowHasBeenSet() const
Definition Cell.h:85
Cell & WithColumnName(ColumnNameT &&value)
Definition Cell.h:77
long long GetColumn() const
Definition Cell.h:62
bool ColumnHasBeenSet() const
Definition Cell.h:63
AWS_MACIE2_API Cell()=default
const Aws::String & GetColumnName() const
Definition Cell.h:72
void SetColumnName(ColumnNameT &&value)
Definition Cell.h:75
void SetCellReference(CellReferenceT &&value)
Definition Cell.h:50
const Aws::String & GetCellReference() const
Definition Cell.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue