AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateFlowRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/FlowDefinition.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace BedrockAgent {
16namespace Model {
17
21 public:
22 AWS_BEDROCKAGENT_API UpdateFlowRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlow"; }
29
30 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetName() const { return m_name; }
37 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
44 UpdateFlowRequest& WithName(NameT&& value) {
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
62 UpdateFlowRequest& WithDescription(DescriptionT&& value) {
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
76 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
77 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
78 template <typename ExecutionRoleArnT = Aws::String>
79 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
80 m_executionRoleArnHasBeenSet = true;
81 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
82 }
83 template <typename ExecutionRoleArnT = Aws::String>
84 UpdateFlowRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) {
85 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetCustomerEncryptionKeyArn() const { return m_customerEncryptionKeyArn; }
95 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
96 template <typename CustomerEncryptionKeyArnT = Aws::String>
97 void SetCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) {
98 m_customerEncryptionKeyArnHasBeenSet = true;
99 m_customerEncryptionKeyArn = std::forward<CustomerEncryptionKeyArnT>(value);
100 }
101 template <typename CustomerEncryptionKeyArnT = Aws::String>
102 UpdateFlowRequest& WithCustomerEncryptionKeyArn(CustomerEncryptionKeyArnT&& value) {
103 SetCustomerEncryptionKeyArn(std::forward<CustomerEncryptionKeyArnT>(value));
104 return *this;
105 }
107
109
113 inline const FlowDefinition& GetDefinition() const { return m_definition; }
114 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
115 template <typename DefinitionT = FlowDefinition>
116 void SetDefinition(DefinitionT&& value) {
117 m_definitionHasBeenSet = true;
118 m_definition = std::forward<DefinitionT>(value);
119 }
120 template <typename DefinitionT = FlowDefinition>
121 UpdateFlowRequest& WithDefinition(DefinitionT&& value) {
122 SetDefinition(std::forward<DefinitionT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
132 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
133 template <typename FlowIdentifierT = Aws::String>
134 void SetFlowIdentifier(FlowIdentifierT&& value) {
135 m_flowIdentifierHasBeenSet = true;
136 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
137 }
138 template <typename FlowIdentifierT = Aws::String>
139 UpdateFlowRequest& WithFlowIdentifier(FlowIdentifierT&& value) {
140 SetFlowIdentifier(std::forward<FlowIdentifierT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_name;
146
147 Aws::String m_description;
148
149 Aws::String m_executionRoleArn;
150
151 Aws::String m_customerEncryptionKeyArn;
152
153 FlowDefinition m_definition;
154
155 Aws::String m_flowIdentifier;
156 bool m_nameHasBeenSet = false;
157 bool m_descriptionHasBeenSet = false;
158 bool m_executionRoleArnHasBeenSet = false;
159 bool m_customerEncryptionKeyArnHasBeenSet = false;
160 bool m_definitionHasBeenSet = false;
161 bool m_flowIdentifierHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace BedrockAgent
166} // 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
void SetFlowIdentifier(FlowIdentifierT &&value)
UpdateFlowRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String