AWS SDK for C++

AWS SDK for C++ Version 1.11.875

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
39 public:
40 AWS_TEXTRACT_API HumanLoopConfig() = default;
41 AWS_TEXTRACT_API HumanLoopConfig(Aws::Utils::Json::JsonView jsonValue);
43 AWS_TEXTRACT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
50 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
51 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
52 template <typename HumanLoopNameT = Aws::String>
53 void SetHumanLoopName(HumanLoopNameT&& value) {
54 m_humanLoopNameHasBeenSet = true;
55 m_humanLoopName = std::forward<HumanLoopNameT>(value);
56 }
57 template <typename HumanLoopNameT = Aws::String>
58 HumanLoopConfig& WithHumanLoopName(HumanLoopNameT&& value) {
59 SetHumanLoopName(std::forward<HumanLoopNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
69 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
70 template <typename FlowDefinitionArnT = Aws::String>
71 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) {
72 m_flowDefinitionArnHasBeenSet = true;
73 m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value);
74 }
75 template <typename FlowDefinitionArnT = Aws::String>
76 HumanLoopConfig& WithFlowDefinitionArn(FlowDefinitionArnT&& value) {
77 SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value));
78 return *this;
79 }
81
83
86 inline const HumanLoopDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
87 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
88 template <typename DataAttributesT = HumanLoopDataAttributes>
89 void SetDataAttributes(DataAttributesT&& value) {
90 m_dataAttributesHasBeenSet = true;
91 m_dataAttributes = std::forward<DataAttributesT>(value);
92 }
93 template <typename DataAttributesT = HumanLoopDataAttributes>
94 HumanLoopConfig& WithDataAttributes(DataAttributesT&& value) {
95 SetDataAttributes(std::forward<DataAttributesT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_humanLoopName;
101
102 Aws::String m_flowDefinitionArn;
103
104 HumanLoopDataAttributes m_dataAttributes;
105 bool m_humanLoopNameHasBeenSet = false;
106 bool m_flowDefinitionArnHasBeenSet = false;
107 bool m_dataAttributesHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace Textract
112} // 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