AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
72 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
73 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
74 inline Cell& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
75 inline Cell& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
76 inline Cell& WithColumnName(const char* value) { SetColumnName(value); return *this;}
78
80
85 inline const Aws::String& GetCellReference() const{ return m_cellReference; }
86 inline bool CellReferenceHasBeenSet() const { return m_cellReferenceHasBeenSet; }
87 inline void SetCellReference(const Aws::String& value) { m_cellReferenceHasBeenSet = true; m_cellReference = value; }
88 inline void SetCellReference(Aws::String&& value) { m_cellReferenceHasBeenSet = true; m_cellReference = std::move(value); }
89 inline void SetCellReference(const char* value) { m_cellReferenceHasBeenSet = true; m_cellReference.assign(value); }
90 inline Cell& WithCellReference(const Aws::String& value) { SetCellReference(value); return *this;}
91 inline Cell& WithCellReference(Aws::String&& value) { SetCellReference(std::move(value)); return *this;}
92 inline Cell& WithCellReference(const char* value) { SetCellReference(value); return *this;}
94 private:
95
96 long long m_column;
97 bool m_columnHasBeenSet = false;
98
99 long long m_row;
100 bool m_rowHasBeenSet = false;
101
102 Aws::String m_columnName;
103 bool m_columnNameHasBeenSet = false;
104
105 Aws::String m_cellReference;
106 bool m_cellReferenceHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace SecurityHub
111} // namespace Aws
bool RowHasBeenSet() const
Definition Cell.h:60
Cell & WithColumnName(const Aws::String &value)
Definition Cell.h:74
const Aws::String & GetCellReference() const
Definition Cell.h:85
void SetCellReference(const Aws::String &value)
Definition Cell.h:87
void SetColumnName(const char *value)
Definition Cell.h:73
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
void SetCellReference(const char *value)
Definition Cell.h:89
Cell & WithRow(long long value)
Definition Cell.h:62
Cell & WithColumnName(const char *value)
Definition Cell.h:76
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)
AWS_SECURITYHUB_API Cell()
Cell & WithCellReference(const char *value)
Definition Cell.h:92
bool CellReferenceHasBeenSet() const
Definition Cell.h:86
Cell & WithCellReference(const Aws::String &value)
Definition Cell.h:90
Cell & WithColumn(long long value)
Definition Cell.h:52
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ColumnNameHasBeenSet() const
Definition Cell.h:70
void SetCellReference(Aws::String &&value)
Definition Cell.h:88
const Aws::String & GetColumnName() const
Definition Cell.h:69
Cell & WithCellReference(Aws::String &&value)
Definition Cell.h:91
void SetColumnName(Aws::String &&value)
Definition Cell.h:72
long long GetRow() const
Definition Cell.h:59
Cell & WithColumnName(Aws::String &&value)
Definition Cell.h:75
void SetColumnName(const Aws::String &value)
Definition Cell.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue