AWS SDK for C++  1.9.106
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 SecurityHub
22 {
23 namespace Model
24 {
25 
34  {
35  public:
36  Cell();
40 
41 
48  inline long long GetColumn() const{ return m_column; }
49 
56  inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
57 
64  inline void SetColumn(long long value) { m_columnHasBeenSet = true; m_column = value; }
65 
72  inline Cell& WithColumn(long long value) { SetColumn(value); return *this;}
73 
74 
78  inline long long GetRow() const{ return m_row; }
79 
83  inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
84 
88  inline void SetRow(long long value) { m_rowHasBeenSet = true; m_row = value; }
89 
93  inline Cell& WithRow(long long value) { SetRow(value); return *this;}
94 
95 
99  inline const Aws::String& GetColumnName() const{ return m_columnName; }
100 
104  inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
105 
109  inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
110 
114  inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
115 
119  inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
120 
124  inline Cell& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
125 
129  inline Cell& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
130 
134  inline Cell& WithColumnName(const char* value) { SetColumnName(value); return *this;}
135 
136 
142  inline const Aws::String& GetCellReference() const{ return m_cellReference; }
143 
149  inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
150 
156  inline void SetCellReference(const Aws::String& value) { m_cellReferenceHasBeenSet = true; m_cellReference = value; }
157 
163  inline void SetCellReference(Aws::String&& value) { m_cellReferenceHasBeenSet = true; m_cellReference = std::move(value); }
164 
170  inline void SetCellReference(const char* value) { m_cellReferenceHasBeenSet = true; m_cellReference.assign(value); }
171 
177  inline Cell& WithCellReference(const Aws::String& value) { SetCellReference(value); return *this;}
178 
184  inline Cell& WithCellReference(Aws::String&& value) { SetCellReference(std::move(value)); return *this;}
185 
191  inline Cell& WithCellReference(const char* value) { SetCellReference(value); return *this;}
192 
193  private:
194 
195  long long m_column;
196  bool m_columnHasBeenSet;
197 
198  long long m_row;
199  bool m_rowHasBeenSet;
200 
201  Aws::String m_columnName;
202  bool m_columnNameHasBeenSet;
203 
204  Aws::String m_cellReference;
205  bool m_cellReferenceHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace SecurityHub
210 } // namespace Aws
Aws::SecurityHub::Model::Cell::RowHasBeenSet
bool RowHasBeenSet() const
Definition: Cell.h:83
Aws::SecurityHub::Model::Cell::SetColumn
void SetColumn(long long value)
Definition: Cell.h:64
Aws::SecurityHub::Model::Cell::WithColumnName
Cell & WithColumnName(Aws::String &&value)
Definition: Cell.h:129
Aws::SecurityHub::Model::Cell::SetCellReference
void SetCellReference(const char *value)
Definition: Cell.h:170
Aws::SecurityHub::Model::Cell::GetColumnName
const Aws::String & GetColumnName() const
Definition: Cell.h:99
Aws::SecurityHub::Model::Cell::GetRow
long long GetRow() const
Definition: Cell.h:78
Aws::SecurityHub::Model::Cell::Cell
Cell()
Aws::SecurityHub::Model::Cell::Cell
Cell(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Cell::WithCellReference
Cell & WithCellReference(const Aws::String &value)
Definition: Cell.h:177
Aws::SecurityHub::Model::Cell::SetColumnName
void SetColumnName(Aws::String &&value)
Definition: Cell.h:114
Aws::SecurityHub::Model::Cell::WithRow
Cell & WithRow(long long value)
Definition: Cell.h:93
Aws::SecurityHub::Model::Cell::ColumnHasBeenSet
bool ColumnHasBeenSet() const
Definition: Cell.h:56
Aws::SecurityHub::Model::Cell::WithColumnName
Cell & WithColumnName(const char *value)
Definition: Cell.h:134
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::Cell::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::Cell::WithColumnName
Cell & WithColumnName(const Aws::String &value)
Definition: Cell.h:124
Aws::SecurityHub::Model::Cell::operator=
Cell & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::Cell::SetCellReference
void SetCellReference(Aws::String &&value)
Definition: Cell.h:163
Aws::SecurityHub::Model::Cell::WithColumn
Cell & WithColumn(long long value)
Definition: Cell.h:72
Aws::SecurityHub::Model::Cell::WithCellReference
Cell & WithCellReference(const char *value)
Definition: Cell.h:191
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::Cell
Definition: Cell.h:34
Aws::SecurityHub::Model::Cell::CellReferenceHasBeenSet
bool CellReferenceHasBeenSet() const
Definition: Cell.h:149
Aws::SecurityHub::Model::Cell::SetColumnName
void SetColumnName(const char *value)
Definition: Cell.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::Cell::SetRow
void SetRow(long long value)
Definition: Cell.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::Cell::SetCellReference
void SetCellReference(const Aws::String &value)
Definition: Cell.h:156
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::Cell::GetColumn
long long GetColumn() const
Definition: Cell.h:48
Aws::SecurityHub::Model::Cell::WithCellReference
Cell & WithCellReference(Aws::String &&value)
Definition: Cell.h:184
Aws::SecurityHub::Model::Cell::SetColumnName
void SetColumnName(const Aws::String &value)
Definition: Cell.h:109
Aws::SecurityHub::Model::Cell::GetCellReference
const Aws::String & GetCellReference() const
Definition: Cell.h:142
Aws::SecurityHub::Model::Cell::ColumnNameHasBeenSet
bool ColumnNameHasBeenSet() const
Definition: Cell.h:104