AWS SDK for C++  1.9.132
AWS SDK for C++
Cell.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Macie2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
35  Cell();
39 
40 
46  inline const Aws::String& GetCellReference() const{ return m_cellReference; }
47 
53  inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
54 
60  inline void SetCellReference(const Aws::String& value) { m_cellReferenceHasBeenSet = true; m_cellReference = value; }
61 
67  inline void SetCellReference(Aws::String&& value) { m_cellReferenceHasBeenSet = true; m_cellReference = std::move(value); }
68 
74  inline void SetCellReference(const char* value) { m_cellReferenceHasBeenSet = true; m_cellReference.assign(value); }
75 
81  inline Cell& WithCellReference(const Aws::String& value) { SetCellReference(value); return *this;}
82 
88  inline Cell& WithCellReference(Aws::String&& value) { SetCellReference(std::move(value)); return *this;}
89 
95  inline Cell& WithCellReference(const char* value) { SetCellReference(value); return *this;}
96 
97 
104  inline long long GetColumn() const{ return m_column; }
105 
112  inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
113 
120  inline void SetColumn(long long value) { m_columnHasBeenSet = true; m_column = value; }
121 
128  inline Cell& WithColumn(long long value) { SetColumn(value); return *this;}
129 
130 
134  inline const Aws::String& GetColumnName() const{ return m_columnName; }
135 
139  inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
140 
144  inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
145 
149  inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
150 
154  inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
155 
159  inline Cell& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
160 
164  inline Cell& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
165 
169  inline Cell& WithColumnName(const char* value) { SetColumnName(value); return *this;}
170 
171 
175  inline long long GetRow() const{ return m_row; }
176 
180  inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
181 
185  inline void SetRow(long long value) { m_rowHasBeenSet = true; m_row = value; }
186 
190  inline Cell& WithRow(long long value) { SetRow(value); return *this;}
191 
192  private:
193 
194  Aws::String m_cellReference;
195  bool m_cellReferenceHasBeenSet;
196 
197  long long m_column;
198  bool m_columnHasBeenSet;
199 
200  Aws::String m_columnName;
201  bool m_columnNameHasBeenSet;
202 
203  long long m_row;
204  bool m_rowHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace Macie2
209 } // namespace Aws
Aws::Macie2::Model::Cell::GetColumnName
const Aws::String & GetColumnName() const
Definition: Cell.h:134
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::Cell::SetRow
void SetRow(long long value)
Definition: Cell.h:185
Aws::Macie2::Model::Cell::SetCellReference
void SetCellReference(const char *value)
Definition: Cell.h:74
Aws::Macie2::Model::Cell::WithCellReference
Cell & WithCellReference(Aws::String &&value)
Definition: Cell.h:88
Aws::Macie2::Model::Cell::ColumnNameHasBeenSet
bool ColumnNameHasBeenSet() const
Definition: Cell.h:139
Aws::Macie2::Model::Cell::WithColumnName
Cell & WithColumnName(const char *value)
Definition: Cell.h:169
Macie2_EXPORTS.h
Aws::Macie2::Model::Cell::Cell
Cell()
Aws::Macie2::Model::Cell::SetCellReference
void SetCellReference(const Aws::String &value)
Definition: Cell.h:60
Aws::Macie2::Model::Cell::SetCellReference
void SetCellReference(Aws::String &&value)
Definition: Cell.h:67
Aws::Macie2::Model::Cell::CellReferenceHasBeenSet
bool CellReferenceHasBeenSet() const
Definition: Cell.h:53
Aws::Macie2::Model::Cell::GetCellReference
const Aws::String & GetCellReference() const
Definition: Cell.h:46
Aws::Macie2::Model::Cell::operator=
Cell & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Cell::GetRow
long long GetRow() const
Definition: Cell.h:175
Aws::Macie2::Model::Cell::SetColumnName
void SetColumnName(const char *value)
Definition: Cell.h:154
Aws::Macie2::Model::Cell::RowHasBeenSet
bool RowHasBeenSet() const
Definition: Cell.h:180
Aws::Macie2::Model::Cell::SetColumn
void SetColumn(long long value)
Definition: Cell.h:120
Aws::Macie2::Model::Cell::SetColumnName
void SetColumnName(Aws::String &&value)
Definition: Cell.h:149
Aws::Macie2::Model::Cell::WithRow
Cell & WithRow(long long value)
Definition: Cell.h:190
Aws::Macie2::Model::Cell::WithCellReference
Cell & WithCellReference(const char *value)
Definition: Cell.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Macie2::Model::Cell::WithColumnName
Cell & WithColumnName(Aws::String &&value)
Definition: Cell.h:164
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::Cell::GetColumn
long long GetColumn() const
Definition: Cell.h:104
Aws::Macie2::Model::Cell::WithColumn
Cell & WithColumn(long long value)
Definition: Cell.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::Cell::WithCellReference
Cell & WithCellReference(const Aws::String &value)
Definition: Cell.h:81
Aws::Macie2::Model::Cell::SetColumnName
void SetColumnName(const Aws::String &value)
Definition: Cell.h:144
Aws::Macie2::Model::Cell::Cell
Cell(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Cell::WithColumnName
Cell & WithColumnName(const Aws::String &value)
Definition: Cell.h:159
Aws::Macie2::Model::Cell::ColumnHasBeenSet
bool ColumnHasBeenSet() const
Definition: Cell.h:112
Aws::Macie2::Model::Cell::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::Cell
Definition: Cell.h:33