AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ImageExtractionCategory.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/State.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/bedrock-data-automation/model/ImageExtractionCategoryType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockDataAutomation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory() = default;
37 AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline State GetState() const { return m_state; }
45 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
46 inline void SetState(State value) { m_stateHasBeenSet = true; m_state = value; }
47 inline ImageExtractionCategory& WithState(State value) { SetState(value); return *this;}
49
51
52 inline const Aws::Vector<ImageExtractionCategoryType>& GetTypes() const { return m_types; }
53 inline bool TypesHasBeenSet() const { return m_typesHasBeenSet; }
54 template<typename TypesT = Aws::Vector<ImageExtractionCategoryType>>
55 void SetTypes(TypesT&& value) { m_typesHasBeenSet = true; m_types = std::forward<TypesT>(value); }
56 template<typename TypesT = Aws::Vector<ImageExtractionCategoryType>>
57 ImageExtractionCategory& WithTypes(TypesT&& value) { SetTypes(std::forward<TypesT>(value)); return *this;}
58 inline ImageExtractionCategory& AddTypes(ImageExtractionCategoryType value) { m_typesHasBeenSet = true; m_types.push_back(value); return *this; }
60 private:
61
62 State m_state{State::NOT_SET};
63 bool m_stateHasBeenSet = false;
64
66 bool m_typesHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace BedrockDataAutomation
71} // namespace Aws
const Aws::Vector< ImageExtractionCategoryType > & GetTypes() const
AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory(Aws::Utils::Json::JsonView jsonValue)
ImageExtractionCategory & AddTypes(ImageExtractionCategoryType value)
AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKDATAAUTOMATION_API ImageExtractionCategory()=default
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue