AWS SDK for C++

AWS SDK for C++ Version 1.11.610

Loading...
Searching...
No Matches
HumanWorkflowConfig.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Bedrock
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_BEDROCK_API HumanWorkflowConfig() = default;
39 AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
47 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
48 template<typename FlowDefinitionArnT = Aws::String>
49 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
50 template<typename FlowDefinitionArnT = Aws::String>
51 HumanWorkflowConfig& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetInstructions() const { return m_instructions; }
59 inline bool InstructionsHasBeenSet() const { return m_instructionsHasBeenSet; }
60 template<typename InstructionsT = Aws::String>
61 void SetInstructions(InstructionsT&& value) { m_instructionsHasBeenSet = true; m_instructions = std::forward<InstructionsT>(value); }
62 template<typename InstructionsT = Aws::String>
63 HumanWorkflowConfig& WithInstructions(InstructionsT&& value) { SetInstructions(std::forward<InstructionsT>(value)); return *this;}
65 private:
66
67 Aws::String m_flowDefinitionArn;
68 bool m_flowDefinitionArnHasBeenSet = false;
69
70 Aws::String m_instructions;
71 bool m_instructionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Bedrock
76} // namespace Aws
HumanWorkflowConfig & WithInstructions(InstructionsT &&value)
const Aws::String & GetInstructions() const
AWS_BEDROCK_API HumanWorkflowConfig()=default
void SetFlowDefinitionArn(FlowDefinitionArnT &&value)
void SetInstructions(InstructionsT &&value)
AWS_BEDROCK_API HumanWorkflowConfig(Aws::Utils::Json::JsonView jsonValue)
HumanWorkflowConfig & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
AWS_BEDROCK_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCK_API HumanWorkflowConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetFlowDefinitionArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue