AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = value; }
43 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::move(value); }
44 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn.assign(value); }
47 inline UpdateFlowRequest& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
49
51
55 inline const FlowDefinition& GetDefinition() const{ return m_definition; }
56 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
57 inline void SetDefinition(const FlowDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
58 inline void SetDefinition(FlowDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
59 inline UpdateFlowRequest& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
60 inline UpdateFlowRequest& WithDefinition(FlowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
72 inline UpdateFlowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline UpdateFlowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline UpdateFlowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
85 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
86 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
87 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
88 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
89 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
90 inline UpdateFlowRequest& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
91 inline UpdateFlowRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
92 inline UpdateFlowRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
94
96
99 inline const Aws::String& GetFlowIdentifier() const{ return m_flowIdentifier; }
100 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
101 inline void SetFlowIdentifier(const Aws::String& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = value; }
102 inline void SetFlowIdentifier(Aws::String&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::move(value); }
103 inline void SetFlowIdentifier(const char* value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier.assign(value); }
104 inline UpdateFlowRequest& WithFlowIdentifier(const Aws::String& value) { SetFlowIdentifier(value); return *this;}
105 inline UpdateFlowRequest& WithFlowIdentifier(Aws::String&& value) { SetFlowIdentifier(std::move(value)); return *this;}
106 inline UpdateFlowRequest& WithFlowIdentifier(const char* value) { SetFlowIdentifier(value); return *this;}
108
110
113 inline const Aws::String& GetName() const{ return m_name; }
114 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
115 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
116 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
117 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
118 inline UpdateFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline UpdateFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline UpdateFlowRequest& WithName(const char* value) { SetName(value); return *this;}
122 private:
123
124 Aws::String m_customerEncryptionKeyArn;
125 bool m_customerEncryptionKeyArnHasBeenSet = false;
126
127 FlowDefinition m_definition;
128 bool m_definitionHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_executionRoleArn;
134 bool m_executionRoleArnHasBeenSet = false;
135
136 Aws::String m_flowIdentifier;
137 bool m_flowIdentifierHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace BedrockAgent
145} // namespace Aws
void SetDescription(const Aws::String &value)
UpdateFlowRequest & WithCustomerEncryptionKeyArn(const Aws::String &value)
UpdateFlowRequest & WithFlowIdentifier(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateFlowRequest & WithName(Aws::String &&value)
UpdateFlowRequest & WithName(const Aws::String &value)
UpdateFlowRequest & WithExecutionRoleArn(const char *value)
UpdateFlowRequest & WithDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetExecutionRoleArn(const Aws::String &value)
UpdateFlowRequest & WithDescription(const char *value)
UpdateFlowRequest & WithDefinition(const FlowDefinition &value)
UpdateFlowRequest & WithDescription(Aws::String &&value)
UpdateFlowRequest & WithExecutionRoleArn(const Aws::String &value)
UpdateFlowRequest & WithFlowIdentifier(Aws::String &&value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
const Aws::String & GetExecutionRoleArn() const
UpdateFlowRequest & WithDefinition(FlowDefinition &&value)
void SetDefinition(const FlowDefinition &value)
UpdateFlowRequest & WithCustomerEncryptionKeyArn(const char *value)
const Aws::String & GetCustomerEncryptionKeyArn() const
UpdateFlowRequest & WithName(const char *value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
const FlowDefinition & GetDefinition() const
UpdateFlowRequest & WithExecutionRoleArn(Aws::String &&value)
const Aws::String & GetFlowIdentifier() const
UpdateFlowRequest & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetFlowIdentifier(const Aws::String &value)
UpdateFlowRequest & WithFlowIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String