AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LineItemGroup.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/LineItemFields.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 LineItemGroup();
37 AWS_TEXTRACT_API LineItemGroup(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetLineItemGroupIndex() const{ return m_lineItemGroupIndex; }
48 inline bool LineItemGroupIndexHasBeenSet() const { return m_lineItemGroupIndexHasBeenSet; }
49 inline void SetLineItemGroupIndex(int value) { m_lineItemGroupIndexHasBeenSet = true; m_lineItemGroupIndex = value; }
50 inline LineItemGroup& WithLineItemGroupIndex(int value) { SetLineItemGroupIndex(value); return *this;}
52
54
57 inline const Aws::Vector<LineItemFields>& GetLineItems() const{ return m_lineItems; }
58 inline bool LineItemsHasBeenSet() const { return m_lineItemsHasBeenSet; }
59 inline void SetLineItems(const Aws::Vector<LineItemFields>& value) { m_lineItemsHasBeenSet = true; m_lineItems = value; }
60 inline void SetLineItems(Aws::Vector<LineItemFields>&& value) { m_lineItemsHasBeenSet = true; m_lineItems = std::move(value); }
61 inline LineItemGroup& WithLineItems(const Aws::Vector<LineItemFields>& value) { SetLineItems(value); return *this;}
62 inline LineItemGroup& WithLineItems(Aws::Vector<LineItemFields>&& value) { SetLineItems(std::move(value)); return *this;}
63 inline LineItemGroup& AddLineItems(const LineItemFields& value) { m_lineItemsHasBeenSet = true; m_lineItems.push_back(value); return *this; }
64 inline LineItemGroup& AddLineItems(LineItemFields&& value) { m_lineItemsHasBeenSet = true; m_lineItems.push_back(std::move(value)); return *this; }
66 private:
67
68 int m_lineItemGroupIndex;
69 bool m_lineItemGroupIndexHasBeenSet = false;
70
72 bool m_lineItemsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Textract
77} // namespace Aws
void SetLineItems(Aws::Vector< LineItemFields > &&value)
LineItemGroup & AddLineItems(const LineItemFields &value)
AWS_TEXTRACT_API LineItemGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< LineItemFields > & GetLineItems() const
LineItemGroup & AddLineItems(LineItemFields &&value)
LineItemGroup & WithLineItemGroupIndex(int value)
void SetLineItems(const Aws::Vector< LineItemFields > &value)
LineItemGroup & WithLineItems(Aws::Vector< LineItemFields > &&value)
LineItemGroup & WithLineItems(const Aws::Vector< LineItemFields > &value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API LineItemGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue