AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; }
44 inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); }
45 inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); }
46 inline StartHumanLoopRequest& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;}
47 inline StartHumanLoopRequest& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;}
48 inline StartHumanLoopRequest& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;}
50
52
56 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
57 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
58 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
59 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
60 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
61 inline StartHumanLoopRequest& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
62 inline StartHumanLoopRequest& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
63 inline StartHumanLoopRequest& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
65
67
70 inline const HumanLoopInput& GetHumanLoopInput() const{ return m_humanLoopInput; }
71 inline bool HumanLoopInputHasBeenSet() const { return m_humanLoopInputHasBeenSet; }
72 inline void SetHumanLoopInput(const HumanLoopInput& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = value; }
73 inline void SetHumanLoopInput(HumanLoopInput&& value) { m_humanLoopInputHasBeenSet = true; m_humanLoopInput = std::move(value); }
74 inline StartHumanLoopRequest& WithHumanLoopInput(const HumanLoopInput& value) { SetHumanLoopInput(value); return *this;}
75 inline StartHumanLoopRequest& WithHumanLoopInput(HumanLoopInput&& value) { SetHumanLoopInput(std::move(value)); return *this;}
77
79
84 inline const HumanLoopDataAttributes& GetDataAttributes() const{ return m_dataAttributes; }
85 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
86 inline void SetDataAttributes(const HumanLoopDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; }
87 inline void SetDataAttributes(HumanLoopDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); }
89 inline StartHumanLoopRequest& WithDataAttributes(HumanLoopDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;}
91 private:
92
93 Aws::String m_humanLoopName;
94 bool m_humanLoopNameHasBeenSet = false;
95
96 Aws::String m_flowDefinitionArn;
97 bool m_flowDefinitionArnHasBeenSet = false;
98
99 HumanLoopInput m_humanLoopInput;
100 bool m_humanLoopInputHasBeenSet = false;
101
102 HumanLoopDataAttributes m_dataAttributes;
103 bool m_dataAttributesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace AugmentedAIRuntime
108} // namespace Aws
void SetDataAttributes(const HumanLoopDataAttributes &value)
StartHumanLoopRequest & WithHumanLoopName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
StartHumanLoopRequest & WithDataAttributes(const HumanLoopDataAttributes &value)
StartHumanLoopRequest & WithHumanLoopInput(HumanLoopInput &&value)
AWS_AUGMENTEDAIRUNTIME_API Aws::String SerializePayload() const override
StartHumanLoopRequest & WithFlowDefinitionArn(Aws::String &&value)
StartHumanLoopRequest & WithHumanLoopName(const Aws::String &value)
StartHumanLoopRequest & WithDataAttributes(HumanLoopDataAttributes &&value)
StartHumanLoopRequest & WithFlowDefinitionArn(const char *value)
void SetDataAttributes(HumanLoopDataAttributes &&value)
const HumanLoopDataAttributes & GetDataAttributes() const
StartHumanLoopRequest & WithHumanLoopName(const char *value)
StartHumanLoopRequest & WithFlowDefinitionArn(const Aws::String &value)
StartHumanLoopRequest & WithHumanLoopInput(const HumanLoopInput &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String