AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Cell.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29class Cell {
30 public:
31 AWS_SECURITYHUB_API Cell() = default;
32 AWS_SECURITYHUB_API Cell(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API Cell& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline long long GetColumn() const { return m_column; }
44 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
45 inline void SetColumn(long long value) {
46 m_columnHasBeenSet = true;
47 m_column = value;
48 }
49 inline Cell& WithColumn(long long value) {
50 SetColumn(value);
51 return *this;
52 }
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) {
62 m_rowHasBeenSet = true;
63 m_row = value;
64 }
65 inline Cell& WithRow(long long value) {
66 SetRow(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetColumnName() const { return m_columnName; }
76 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
77 template <typename ColumnNameT = Aws::String>
78 void SetColumnName(ColumnNameT&& value) {
79 m_columnNameHasBeenSet = true;
80 m_columnName = std::forward<ColumnNameT>(value);
81 }
82 template <typename ColumnNameT = Aws::String>
83 Cell& WithColumnName(ColumnNameT&& value) {
84 SetColumnName(std::forward<ColumnNameT>(value));
85 return *this;
86 }
88
90
95 inline const Aws::String& GetCellReference() const { return m_cellReference; }
96 inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
97 template <typename CellReferenceT = Aws::String>
98 void SetCellReference(CellReferenceT&& value) {
99 m_cellReferenceHasBeenSet = true;
100 m_cellReference = std::forward<CellReferenceT>(value);
101 }
102 template <typename CellReferenceT = Aws::String>
103 Cell& WithCellReference(CellReferenceT&& value) {
104 SetCellReference(std::forward<CellReferenceT>(value));
105 return *this;
106 }
108 private:
109 long long m_column{0};
110
111 long long m_row{0};
112
113 Aws::String m_columnName;
114
115 Aws::String m_cellReference;
116 bool m_columnHasBeenSet = false;
117 bool m_rowHasBeenSet = false;
118 bool m_columnNameHasBeenSet = false;
119 bool m_cellReferenceHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace SecurityHub
124} // namespace Aws
bool RowHasBeenSet() const
Definition Cell.h:60
const Aws::String & GetCellReference() const
Definition Cell.h:95
void SetCellReference(CellReferenceT &&value)
Definition Cell.h:98
Cell & WithCellReference(CellReferenceT &&value)
Definition Cell.h:103
void SetColumn(long long value)
Definition Cell.h:45
long long GetColumn() const
Definition Cell.h:43
void SetRow(long long value)
Definition Cell.h:61
Cell & WithRow(long long value)
Definition Cell.h:65
void SetColumnName(ColumnNameT &&value)
Definition Cell.h:78
Cell & WithColumnName(ColumnNameT &&value)
Definition Cell.h:83
bool ColumnHasBeenSet() const
Definition Cell.h:44
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:96
Cell & WithColumn(long long value)
Definition Cell.h:49
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API Cell()=default
bool ColumnNameHasBeenSet() const
Definition Cell.h:76
const Aws::String & GetColumnName() const
Definition Cell.h:75
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