AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFlowRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace BedrockAgent
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BEDROCKAGENT_API CreateFlowRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateFlow"; }
34
35 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
36
37
39
46 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline CreateFlowRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline CreateFlowRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline CreateFlowRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetCustomerEncryptionKeyArn() const{ return m_customerEncryptionKeyArn; }
61 inline bool CustomerEncryptionKeyArnHasBeenSet() const { return m_customerEncryptionKeyArnHasBeenSet; }
62 inline void SetCustomerEncryptionKeyArn(const Aws::String& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = value; }
63 inline void SetCustomerEncryptionKeyArn(Aws::String&& value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn = std::move(value); }
64 inline void SetCustomerEncryptionKeyArn(const char* value) { m_customerEncryptionKeyArnHasBeenSet = true; m_customerEncryptionKeyArn.assign(value); }
67 inline CreateFlowRequest& WithCustomerEncryptionKeyArn(const char* value) { SetCustomerEncryptionKeyArn(value); return *this;}
69
71
74 inline const FlowDefinition& GetDefinition() const{ return m_definition; }
75 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
76 inline void SetDefinition(const FlowDefinition& value) { m_definitionHasBeenSet = true; m_definition = value; }
77 inline void SetDefinition(FlowDefinition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
78 inline CreateFlowRequest& WithDefinition(const FlowDefinition& value) { SetDefinition(value); return *this;}
79 inline CreateFlowRequest& WithDefinition(FlowDefinition&& value) { SetDefinition(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline CreateFlowRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline CreateFlowRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline CreateFlowRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
104 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
105 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
106 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
107 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
108 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
109 inline CreateFlowRequest& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
110 inline CreateFlowRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
111 inline CreateFlowRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
113
115
118 inline const Aws::String& GetName() const{ return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
121 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
122 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
123 inline CreateFlowRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
124 inline CreateFlowRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
125 inline CreateFlowRequest& WithName(const char* value) { SetName(value); return *this;}
127
129
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
137 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
138 inline CreateFlowRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
139 inline CreateFlowRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
140 inline CreateFlowRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
141 inline CreateFlowRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
142 inline CreateFlowRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
143 inline CreateFlowRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
144 inline CreateFlowRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
145 inline CreateFlowRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
146 inline CreateFlowRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
148 private:
149
150 Aws::String m_clientToken;
151 bool m_clientTokenHasBeenSet = false;
152
153 Aws::String m_customerEncryptionKeyArn;
154 bool m_customerEncryptionKeyArnHasBeenSet = false;
155
156 FlowDefinition m_definition;
157 bool m_definitionHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_executionRoleArn;
163 bool m_executionRoleArnHasBeenSet = false;
164
165 Aws::String m_name;
166 bool m_nameHasBeenSet = false;
167
169 bool m_tagsHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace BedrockAgent
174} // namespace Aws
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFlowRequest & WithDefinition(const FlowDefinition &value)
CreateFlowRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateFlowRequest & WithExecutionRoleArn(const char *value)
void SetDefinition(const FlowDefinition &value)
CreateFlowRequest & WithDefinition(FlowDefinition &&value)
CreateFlowRequest & AddTags(const char *key, const char *value)
CreateFlowRequest & WithCustomerEncryptionKeyArn(Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFlowRequest & WithName(const char *value)
CreateFlowRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFlowRequest & WithClientToken(Aws::String &&value)
CreateFlowRequest & WithExecutionRoleArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
void SetExecutionRoleArn(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
const Aws::String & GetExecutionRoleArn() const
CreateFlowRequest & WithDescription(const char *value)
const FlowDefinition & GetDefinition() const
CreateFlowRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateFlowRequest & WithName(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateFlowRequest & WithExecutionRoleArn(const Aws::String &value)
CreateFlowRequest & WithCustomerEncryptionKeyArn(const char *value)
CreateFlowRequest & WithName(const Aws::String &value)
CreateFlowRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateFlowRequest & AddTags(const char *key, Aws::String &&value)
CreateFlowRequest & WithClientToken(const char *value)
CreateFlowRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetCustomerEncryptionKeyArn() const
CreateFlowRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFlowRequest & WithDescription(const Aws::String &value)
CreateFlowRequest & WithDescription(Aws::String &&value)
CreateFlowRequest & WithClientToken(const Aws::String &value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
CreateFlowRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFlowRequest & WithCustomerEncryptionKeyArn(const Aws::String &value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String