AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTypes(const Aws::Vector<Aws::String>& value) { m_typesHasBeenSet = true; m_types = value; }
50 inline void SetTypes(Aws::Vector<Aws::String>&& value) { m_typesHasBeenSet = true; m_types = std::move(value); }
51 inline ExpenseGroupProperty& WithTypes(const Aws::Vector<Aws::String>& value) { SetTypes(value); return *this;}
52 inline ExpenseGroupProperty& WithTypes(Aws::Vector<Aws::String>&& value) { SetTypes(std::move(value)); return *this;}
53 inline ExpenseGroupProperty& AddTypes(const Aws::String& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
54 inline ExpenseGroupProperty& AddTypes(Aws::String&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; }
55 inline ExpenseGroupProperty& AddTypes(const char* value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline ExpenseGroupProperty& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline ExpenseGroupProperty& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline ExpenseGroupProperty& WithId(const char* value) { SetId(value); return *this;}
71 private:
72
74 bool m_typesHasBeenSet = false;
75
76 Aws::String m_id;
77 bool m_idHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace Textract
82} // namespace Aws
ExpenseGroupProperty & WithId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetTypes() const
ExpenseGroupProperty & WithId(Aws::String &&value)
AWS_TEXTRACT_API ExpenseGroupProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
ExpenseGroupProperty & AddTypes(const Aws::String &value)
ExpenseGroupProperty & AddTypes(Aws::String &&value)
void SetTypes(const Aws::Vector< Aws::String > &value)
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TEXTRACT_API ExpenseGroupProperty(Aws::Utils::Json::JsonView jsonValue)
ExpenseGroupProperty & AddTypes(const char *value)
ExpenseGroupProperty & WithTypes(const Aws::Vector< Aws::String > &value)
ExpenseGroupProperty & WithId(const char *value)
void SetTypes(Aws::Vector< Aws::String > &&value)
ExpenseGroupProperty & WithTypes(Aws::Vector< Aws::String > &&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