/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Textract { namespace Model { /** *

Shows the group that a certain key belongs to. This helps differentiate * between names and addresses for different organizations, that can be hard to * determine via JSON response.

See Also:

AWS * API Reference

*/ class ExpenseGroupProperty { public: AWS_TEXTRACT_API ExpenseGroupProperty(); AWS_TEXTRACT_API ExpenseGroupProperty(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API ExpenseGroupProperty& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Informs you on whether the expense group is a name or an address.

*/ inline const Aws::Vector& GetTypes() const{ return m_types; } /** *

Informs you on whether the expense group is a name or an address.

*/ inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; } /** *

Informs you on whether the expense group is a name or an address.

*/ inline void SetTypes(const Aws::Vector& value) { m_typesHasBeenSet = true; m_types = value; } /** *

Informs you on whether the expense group is a name or an address.

*/ inline void SetTypes(Aws::Vector&& value) { m_typesHasBeenSet = true; m_types = std::move(value); } /** *

Informs you on whether the expense group is a name or an address.

*/ inline ExpenseGroupProperty& WithTypes(const Aws::Vector& value) { SetTypes(value); return *this;} /** *

Informs you on whether the expense group is a name or an address.

*/ inline ExpenseGroupProperty& WithTypes(Aws::Vector&& value) { SetTypes(std::move(value)); return *this;} /** *

Informs you on whether the expense group is a name or an address.

*/ inline ExpenseGroupProperty& AddTypes(const Aws::String& value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; } /** *

Informs you on whether the expense group is a name or an address.

*/ inline ExpenseGroupProperty& AddTypes(Aws::String&& value) { m_typesHasBeenSet = true; m_types.push_back(std::move(value)); return *this; } /** *

Informs you on whether the expense group is a name or an address.

*/ inline ExpenseGroupProperty& AddTypes(const char* value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline ExpenseGroupProperty& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline ExpenseGroupProperty& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

Provides a group Id number, which will be the same for each in the group.

*/ inline ExpenseGroupProperty& WithId(const char* value) { SetId(value); return *this;} private: Aws::Vector m_types; bool m_typesHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws