AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LineItemFields.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/model/ExpenseField.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Textract
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_TEXTRACT_API LineItemFields();
37 AWS_TEXTRACT_API LineItemFields(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ExpenseField>& GetLineItemExpenseFields() const{ return m_lineItemExpenseFields; }
47 inline bool LineItemExpenseFieldsHasBeenSet() const { return m_lineItemExpenseFieldsHasBeenSet; }
48 inline void SetLineItemExpenseFields(const Aws::Vector<ExpenseField>& value) { m_lineItemExpenseFieldsHasBeenSet = true; m_lineItemExpenseFields = value; }
49 inline void SetLineItemExpenseFields(Aws::Vector<ExpenseField>&& value) { m_lineItemExpenseFieldsHasBeenSet = true; m_lineItemExpenseFields = std::move(value); }
52 inline LineItemFields& AddLineItemExpenseFields(const ExpenseField& value) { m_lineItemExpenseFieldsHasBeenSet = true; m_lineItemExpenseFields.push_back(value); return *this; }
53 inline LineItemFields& AddLineItemExpenseFields(ExpenseField&& value) { m_lineItemExpenseFieldsHasBeenSet = true; m_lineItemExpenseFields.push_back(std::move(value)); return *this; }
55 private:
56
57 Aws::Vector<ExpenseField> m_lineItemExpenseFields;
58 bool m_lineItemExpenseFieldsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Textract
63} // namespace Aws
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API LineItemFields(Aws::Utils::Json::JsonView jsonValue)
void SetLineItemExpenseFields(Aws::Vector< ExpenseField > &&value)
void SetLineItemExpenseFields(const Aws::Vector< ExpenseField > &value)
LineItemFields & WithLineItemExpenseFields(const Aws::Vector< ExpenseField > &value)
const Aws::Vector< ExpenseField > & GetLineItemExpenseFields() const
LineItemFields & AddLineItemExpenseFields(ExpenseField &&value)
AWS_TEXTRACT_API LineItemFields & operator=(Aws::Utils::Json::JsonView jsonValue)
LineItemFields & AddLineItemExpenseFields(const ExpenseField &value)
LineItemFields & WithLineItemExpenseFields(Aws::Vector< ExpenseField > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue