AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
HumanLoopConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/textract/Textract_EXPORTS.h>
9#include <aws/textract/model/HumanLoopDataAttributes.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 HumanLoopConfig() = default;
33 AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
43 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
44 template <typename HumanLoopNameT = Aws::String>
45 void SetHumanLoopName(HumanLoopNameT&& value) {
46 m_humanLoopNameHasBeenSet = true;
47 m_humanLoopName = std::forward<HumanLoopNameT>(value);
48 }
49 template <typename HumanLoopNameT = Aws::String>
50 HumanLoopConfig& WithHumanLoopName(HumanLoopNameT&& value) {
51 SetHumanLoopName(std::forward<HumanLoopNameT>(value));
52 return *this;
53 }
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) {
64 m_flowDefinitionArnHasBeenSet = true;
65 m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value);
66 }
67 template <typename FlowDefinitionArnT = Aws::String>
68 HumanLoopConfig& WithFlowDefinitionArn(FlowDefinitionArnT&& value) {
69 SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value));
70 return *this;
71 }
73
75
78 inline const HumanLoopDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
79 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
80 template <typename DataAttributesT = HumanLoopDataAttributes>
81 void SetDataAttributes(DataAttributesT&& value) {
82 m_dataAttributesHasBeenSet = true;
83 m_dataAttributes = std::forward<DataAttributesT>(value);
84 }
85 template <typename DataAttributesT = HumanLoopDataAttributes>
86 HumanLoopConfig& WithDataAttributes(DataAttributesT&& value) {
87 SetDataAttributes(std::forward<DataAttributesT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_humanLoopName;
93
94 Aws::String m_flowDefinitionArn;
95
96 HumanLoopDataAttributes m_dataAttributes;
97 bool m_humanLoopNameHasBeenSet = false;
98 bool m_flowDefinitionArnHasBeenSet = false;
99 bool m_dataAttributesHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Textract
104} // 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