AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Cell.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_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 SecurityHub
22{
23namespace Model
24{
25
33 class Cell
34 {
35 public:
36 AWS_SECURITYHUB_API Cell() = default;
37 AWS_SECURITYHUB_API Cell(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API Cell& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline long long GetColumn() const { return m_column; }
50 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
51 inline void SetColumn(long long value) { m_columnHasBeenSet = true; m_column = value; }
52 inline Cell& WithColumn(long long value) { SetColumn(value); return *this;}
54
56
59 inline long long GetRow() const { return m_row; }
60 inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
61 inline void SetRow(long long value) { m_rowHasBeenSet = true; m_row = value; }
62 inline Cell& WithRow(long long value) { SetRow(value); return *this;}
64
66
69 inline const Aws::String& GetColumnName() const { return m_columnName; }
70 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
71 template<typename ColumnNameT = Aws::String>
72 void SetColumnName(ColumnNameT&& value) { m_columnNameHasBeenSet = true; m_columnName = std::forward<ColumnNameT>(value); }
73 template<typename ColumnNameT = Aws::String>
74 Cell& WithColumnName(ColumnNameT&& value) { SetColumnName(std::forward<ColumnNameT>(value)); return *this;}
76
78
83 inline const Aws::String& GetCellReference() const { return m_cellReference; }
84 inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
85 template<typename CellReferenceT = Aws::String>
86 void SetCellReference(CellReferenceT&& value) { m_cellReferenceHasBeenSet = true; m_cellReference = std::forward<CellReferenceT>(value); }
87 template<typename CellReferenceT = Aws::String>
88 Cell& WithCellReference(CellReferenceT&& value) { SetCellReference(std::forward<CellReferenceT>(value)); return *this;}
90 private:
91
92 long long m_column{0};
93 bool m_columnHasBeenSet = false;
94
95 long long m_row{0};
96 bool m_rowHasBeenSet = false;
97
98 Aws::String m_columnName;
99 bool m_columnNameHasBeenSet = false;
100
101 Aws::String m_cellReference;
102 bool m_cellReferenceHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SecurityHub
107} // namespace Aws
bool RowHasBeenSet() const
Definition Cell.h:60
const Aws::String & GetCellReference() const
Definition Cell.h:83
void SetCellReference(CellReferenceT &&value)
Definition Cell.h:86
Cell & WithCellReference(CellReferenceT &&value)
Definition Cell.h:88
void SetColumn(long long value)
Definition Cell.h:51
long long GetColumn() const
Definition Cell.h:49
void SetRow(long long value)
Definition Cell.h:61
Cell & WithRow(long long value)
Definition Cell.h:62
void SetColumnName(ColumnNameT &&value)
Definition Cell.h:72
Cell & WithColumnName(ColumnNameT &&value)
Definition Cell.h:74
bool ColumnHasBeenSet() const
Definition Cell.h:50
AWS_SECURITYHUB_API Cell(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Cell & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CellReferenceHasBeenSet() const
Definition Cell.h:84
Cell & WithColumn(long long value)
Definition Cell.h:52
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API Cell()=default
bool ColumnNameHasBeenSet() const
Definition Cell.h:70
const Aws::String & GetColumnName() const
Definition Cell.h:69
long long GetRow() const
Definition Cell.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue