AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartHumanLoopRequest.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h>
8#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-a2i-runtime/model/HumanLoopInput.h>
11#include <aws/sagemaker-a2i-runtime/model/HumanLoopDataAttributes.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AugmentedAIRuntime
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_AUGMENTEDAIRUNTIME_API StartHumanLoopRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartHumanLoop"; }
33
34 AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
42 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
43 template<typename HumanLoopNameT = Aws::String>
44 void SetHumanLoopName(HumanLoopNameT&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::forward<HumanLoopNameT>(value); }
45 template<typename HumanLoopNameT = Aws::String>
46 StartHumanLoopRequest& WithHumanLoopName(HumanLoopNameT&& value) { SetHumanLoopName(std::forward<HumanLoopNameT>(value)); return *this;}
48
50
54 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
55 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
56 template<typename FlowDefinitionArnT = Aws::String>
57 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
58 template<typename FlowDefinitionArnT = Aws::String>
59 StartHumanLoopRequest& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
61
63
66 inline const HumanLoopInput& GetHumanLoopInput() const { return m_humanLoopInput; }
67 inline bool HumanLoopInputHasBeenSet() const { return m_humanLoopInputHasBeenSet; }
68 template<typename HumanLoopInputT = HumanLoopInput>
69 void SetHumanLoopInput(HumanLoopInputT&& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = std::forward<HumanLoopInputT>(value); }
70 template<typename HumanLoopInputT = HumanLoopInput>
71 StartHumanLoopRequest& WithHumanLoopInput(HumanLoopInputT&& value) { SetHumanLoopInput(std::forward<HumanLoopInputT>(value)); return *this;}
73
75
80 inline const HumanLoopDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
81 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
82 template<typename DataAttributesT = HumanLoopDataAttributes>
83 void SetDataAttributes(DataAttributesT&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::forward<DataAttributesT>(value); }
84 template<typename DataAttributesT = HumanLoopDataAttributes>
85 StartHumanLoopRequest& WithDataAttributes(DataAttributesT&& value) { SetDataAttributes(std::forward<DataAttributesT>(value)); return *this;}
87 private:
88
89 Aws::String m_humanLoopName;
90 bool m_humanLoopNameHasBeenSet = false;
91
92 Aws::String m_flowDefinitionArn;
93 bool m_flowDefinitionArnHasBeenSet = false;
94
95 HumanLoopInput m_humanLoopInput;
96 bool m_humanLoopInputHasBeenSet = false;
97
98 HumanLoopDataAttributes m_dataAttributes;
99 bool m_dataAttributesHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace AugmentedAIRuntime
104} // namespace Aws
StartHumanLoopRequest & WithHumanLoopInput(HumanLoopInputT &&value)
StartHumanLoopRequest & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override
StartHumanLoopRequest & WithDataAttributes(DataAttributesT &&value)
const HumanLoopDataAttributes & GetDataAttributes() const
StartHumanLoopRequest & WithHumanLoopName(HumanLoopNameT &&value)
AWS_AUGMENTEDAIRUNTIME_API StartHumanLoopRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String