AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateFlowRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/FlowDefinition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace BedrockAgent
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BEDROCKAGENT_API UpdateFlowRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlow"; }
32
33 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
41 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
42 template<typename CustomerEncryptionKeyArnT = Aws::String>
43 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value); }
44 template<typename CustomerEncryptionKeyArnT = Aws::String>
45 UpdateFlowRequest& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) { SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value)); return *this;}
47
49
53 inline const FlowDefinition& GetDefinition() const { return m_definition; }
54 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
55 template<typename DefinitionT = FlowDefinition>
56 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
57 template<typename DefinitionT = FlowDefinition>
58 UpdateFlowRequest& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateFlowRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
81 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
82 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
83 template<typename ExecutionRoleArnT = Aws::String>
84 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
85 template<typename ExecutionRoleArnT = Aws::String>
86 UpdateFlowRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
88
90
93 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
94 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
95 template<typename FlowIdentifierT = Aws::String>
96 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
97 template<typename FlowIdentifierT = Aws::String>
98 UpdateFlowRequest& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
100
102
105 inline const Aws::String& GetName() const { return m_name; }
106 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
107 template<typename NameT = Aws::String>
108 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
109 template<typename NameT = Aws::String>
110 UpdateFlowRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
112 private:
113
114 Aws::String m_customerEncryptionKeyArn;
115 bool m_customerEncryptionKeyArnHasBeenSet = false;
116
117 FlowDefinition m_definition;
118 bool m_definitionHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::String m_executionRoleArn;
124 bool m_executionRoleArnHasBeenSet = false;
125
126 Aws::String m_flowIdentifier;
127 bool m_flowIdentifierHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace BedrockAgent
135} // namespace Aws
UpdateFlowRequest & WithDescription(DescriptionT &&value)
void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
UpdateFlowRequest & WithDefinition(DefinitionT &&value)
UpdateFlowRequest & WithName(NameT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateFlowRequest & WithFlowIdentifier(FlowIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetExecutionRoleArn() const
void SetExecutionRoleArn(ExecutionRoleArnT &&value)
UpdateFlowRequest & WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT &&value)
const Aws::String & GetCustomerEncryptionKeyArn() const
AWS_BEDROCKAGENT_API UpdateFlowRequest()=default
const FlowDefinition & GetDefinition() const
const Aws::String & GetFlowIdentifier() const
void SetFlowIdentifier(FlowIdentifierT &&value)
UpdateFlowRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String