AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExpenseGroupProperty.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
35 {
36 public:
37 AWS_TEXTRACT_API ExpenseGroupProperty() = default;
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetTypes() const { return m_types; }
48 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
49 template<typename TypesT = Aws::Vector<Aws::String>>
50 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
51 template<typename TypesT = Aws::Vector<Aws::String>>
52 ExpenseGroupProperty& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
53 template<typename TypesT = Aws::String>
54 ExpenseGroupProperty& AddTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types.emplace_back(std::forward<TypesT>(value)); return *this; }
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template<typename IdT = Aws::String>
64 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
65 template<typename IdT = Aws::String>
66 ExpenseGroupProperty& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
68 private:
69
71 bool m_typesHasBeenSet = false;
72
73 Aws::String m_id;
74 bool m_idHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Textract
79} // namespace Aws
const Aws::Vector< Aws::String > & GetTypes() const
AWS_TEXTRACT_API ExpenseGroupProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API ExpenseGroupProperty()=default
ExpenseGroupProperty & AddTypes(TypesT &&value)
ExpenseGroupProperty & WithTypes(TypesT &&value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API ExpenseGroupProperty(Aws::Utils::Json::JsonView jsonValue)
ExpenseGroupProperty & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue