AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
HumanLoopConfig.h
1
6#pragma once
7#include <aws/textract/Textract_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/textract/model/HumanLoopDataAttributes.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 HumanLoopConfig() = default;
38 AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
49 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
50 template<typename HumanLoopNameT = Aws::String>
51 void SetHumanLoopName(HumanLoopNameT&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::forward<HumanLoopNameT>(value); }
52 template<typename HumanLoopNameT = Aws::String>
53 HumanLoopConfig& WithHumanLoopName(HumanLoopNameT&& value) { SetHumanLoopName(std::forward<HumanLoopNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
61 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
62 template<typename FlowDefinitionArnT = Aws::String>
63 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
64 template<typename FlowDefinitionArnT = Aws::String>
65 HumanLoopConfig& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
67
69
72 inline const HumanLoopDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
73 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
74 template<typename DataAttributesT = HumanLoopDataAttributes>
75 void SetDataAttributes(DataAttributesT&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::forward<DataAttributesT>(value); }
76 template<typename DataAttributesT = HumanLoopDataAttributes>
77 HumanLoopConfig& WithDataAttributes(DataAttributesT&& value) { SetDataAttributes(std::forward<DataAttributesT>(value)); return *this;}
79 private:
80
81 Aws::String m_humanLoopName;
82 bool m_humanLoopNameHasBeenSet = false;
83
84 Aws::String m_flowDefinitionArn;
85 bool m_flowDefinitionArnHasBeenSet = false;
86
87 HumanLoopDataAttributes m_dataAttributes;
88 bool m_dataAttributesHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Textract
93} // namespace Aws
HumanLoopConfig & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
void SetHumanLoopName(HumanLoopNameT &&value)
void SetFlowDefinitionArn(FlowDefinitionArnT &&value)
void SetDataAttributes(DataAttributesT &&value)
AWS_TEXTRACT_API HumanLoopConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TEXTRACT_API HumanLoopConfig()=default
const Aws::String & GetHumanLoopName() const
AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const
const HumanLoopDataAttributes & GetDataAttributes() const
const Aws::String & GetFlowDefinitionArn() const
AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue)
HumanLoopConfig & WithDataAttributes(DataAttributesT &&value)
HumanLoopConfig & WithHumanLoopName(HumanLoopNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue