AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFlowVersionRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace BedrockAgent
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_BEDROCKAGENT_API CreateFlowVersionRequest();
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 "CreateFlowVersion"; }
32
33 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline CreateFlowVersionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateFlowVersionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateFlowVersionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline CreateFlowVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateFlowVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateFlowVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetFlowIdentifier() const{ return m_flowIdentifier; }
73 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
74 inline void SetFlowIdentifier(const Aws::String& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = value; }
75 inline void SetFlowIdentifier(Aws::String&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::move(value); }
76 inline void SetFlowIdentifier(const char* value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier.assign(value); }
77 inline CreateFlowVersionRequest& WithFlowIdentifier(const Aws::String& value) { SetFlowIdentifier(value); return *this;}
78 inline CreateFlowVersionRequest& WithFlowIdentifier(Aws::String&& value) { SetFlowIdentifier(std::move(value)); return *this;}
79 inline CreateFlowVersionRequest& WithFlowIdentifier(const char* value) { SetFlowIdentifier(value); return *this;}
81 private:
82
83 Aws::String m_clientToken;
84 bool m_clientTokenHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::String m_flowIdentifier;
90 bool m_flowIdentifierHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace BedrockAgent
95} // namespace Aws
CreateFlowVersionRequest & WithDescription(Aws::String &&value)
CreateFlowVersionRequest & WithDescription(const Aws::String &value)
CreateFlowVersionRequest & WithClientToken(Aws::String &&value)
CreateFlowVersionRequest & WithFlowIdentifier(Aws::String &&value)
CreateFlowVersionRequest & WithClientToken(const char *value)
CreateFlowVersionRequest & WithClientToken(const Aws::String &value)
CreateFlowVersionRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateFlowVersionRequest & WithFlowIdentifier(const char *value)
CreateFlowVersionRequest & WithFlowIdentifier(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String