AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExpenseGroupProperty.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/textract/Textract_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Textract {
21namespace Model {
22
31 public:
32 AWS_TEXTRACT_API ExpenseGroupProperty() = default;
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetTypes() const { return m_types; }
42 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
43 template <typename TypesT = Aws::Vector<Aws::String>>
44 void SetTypes(TypesT&& value) {
45 m_typesHasBeenSet = true;
46 m_types = std::forward<TypesT>(value);
47 }
48 template <typename TypesT = Aws::Vector<Aws::String>>
50 SetTypes(std::forward<TypesT>(value));
51 return *this;
52 }
53 template <typename TypesT = Aws::String>
54 ExpenseGroupProperty& AddTypes(TypesT&& value) {
55 m_typesHasBeenSet = true;
56 m_types.emplace_back(std::forward<TypesT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetId() const { return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 template <typename IdT = Aws::String>
68 void SetId(IdT&& value) {
69 m_idHasBeenSet = true;
70 m_id = std::forward<IdT>(value);
71 }
72 template <typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
75 return *this;
76 }
78 private:
80
81 Aws::String m_id;
82 bool m_typesHasBeenSet = false;
83 bool m_idHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Textract
88} // 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