AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
Cell.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2 {
20namespace Model {
21
28class Cell {
29 public:
30 AWS_MACIE2_API Cell() = default;
31 AWS_MACIE2_API Cell(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MACIE2_API Cell& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetCellReference() const { return m_cellReference; }
42 inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
43 template <typename CellReferenceT = Aws::String>
44 void SetCellReference(CellReferenceT&& value) {
45 m_cellReferenceHasBeenSet = true;
46 m_cellReference = std::forward<CellReferenceT>(value);
47 }
48 template <typename CellReferenceT = Aws::String>
49 Cell& WithCellReference(CellReferenceT&& value) {
50 SetCellReference(std::forward<CellReferenceT>(value));
51 return *this;
52 }
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) {
65 m_columnHasBeenSet = true;
66 m_column = value;
67 }
68 inline Cell& WithColumn(long long value) {
69 SetColumn(value);
70 return *this;
71 }
73
75
78 inline const Aws::String& GetColumnName() const { return m_columnName; }
79 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
80 template <typename ColumnNameT = Aws::String>
81 void SetColumnName(ColumnNameT&& value) {
82 m_columnNameHasBeenSet = true;
83 m_columnName = std::forward<ColumnNameT>(value);
84 }
85 template <typename ColumnNameT = Aws::String>
86 Cell& WithColumnName(ColumnNameT&& value) {
87 SetColumnName(std::forward<ColumnNameT>(value));
88 return *this;
89 }
91
93
96 inline long long GetRow() const { return m_row; }
97 inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
98 inline void SetRow(long long value) {
99 m_rowHasBeenSet = true;
100 m_row = value;
101 }
102 inline Cell& WithRow(long long value) {
103 SetRow(value);
104 return *this;
105 }
107 private:
108 Aws::String m_cellReference;
109
110 long long m_column{0};
111
112 Aws::String m_columnName;
113
114 long long m_row{0};
115 bool m_cellReferenceHasBeenSet = false;
116 bool m_columnHasBeenSet = false;
117 bool m_columnNameHasBeenSet = false;
118 bool m_rowHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Macie2
123} // namespace Aws
bool ColumnNameHasBeenSet() const
Definition Cell.h:79
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:96
bool CellReferenceHasBeenSet() const
Definition Cell.h:42
Cell & WithCellReference(CellReferenceT &&value)
Definition Cell.h:49
AWS_MACIE2_API Cell & operator=(Aws::Utils::Json::JsonView jsonValue)
Cell & WithRow(long long value)
Definition Cell.h:102
void SetRow(long long value)
Definition Cell.h:98
Cell & WithColumn(long long value)
Definition Cell.h:68
bool RowHasBeenSet() const
Definition Cell.h:97
Cell & WithColumnName(ColumnNameT &&value)
Definition Cell.h:86
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:78
void SetColumnName(ColumnNameT &&value)
Definition Cell.h:81
void SetCellReference(CellReferenceT &&value)
Definition Cell.h:44
const Aws::String & GetCellReference() const
Definition Cell.h:41
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue