AWS SDK for C++

AWS SDK for C++ Version 1.11.847

Loading...
Searching...
No Matches
GetPromptRequest.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/IncludedData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace BedrockAgent {
19namespace Model {
20
24 public:
25 AWS_BEDROCKAGENT_API GetPromptRequest() = 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 "GetPrompt"; }
32
33 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
34
35 AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetPromptIdentifier() const { return m_promptIdentifier; }
42 inline bool PromptIdentifierHasBeenSet() const { return m_promptIdentifierHasBeenSet; }
43 template <typename PromptIdentifierT = Aws::String>
45 m_promptIdentifierHasBeenSet = true;
46 m_promptIdentifier = std::forward<PromptIdentifierT>(value);
47 }
48 template <typename PromptIdentifierT = Aws::String>
50 SetPromptIdentifier(std::forward<PromptIdentifierT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetPromptVersion() const { return m_promptVersion; }
61 inline bool PromptVersionHasBeenSet() const { return m_promptVersionHasBeenSet; }
62 template <typename PromptVersionT = Aws::String>
64 m_promptVersionHasBeenSet = true;
65 m_promptVersion = std::forward<PromptVersionT>(value);
66 }
67 template <typename PromptVersionT = Aws::String>
69 SetPromptVersion(std::forward<PromptVersionT>(value));
70 return *this;
71 }
73
75
80 inline IncludedData GetIncludedData() const { return m_includedData; }
81 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
82 inline void SetIncludedData(IncludedData value) {
83 m_includedDataHasBeenSet = true;
84 m_includedData = value;
85 }
87 SetIncludedData(value);
88 return *this;
89 }
91 private:
92 Aws::String m_promptIdentifier;
93
94 Aws::String m_promptVersion;
95
96 IncludedData m_includedData{IncludedData::NOT_SET};
97 bool m_promptIdentifierHasBeenSet = false;
98 bool m_promptVersionHasBeenSet = false;
99 bool m_includedDataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace BedrockAgent
104} // namespace Aws
const Aws::String & GetPromptVersion() const
virtual const char * GetServiceRequestName() const override
void SetPromptVersion(PromptVersionT &&value)
GetPromptRequest & WithPromptVersion(PromptVersionT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
const Aws::String & GetPromptIdentifier() const
AWS_BEDROCKAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetPromptRequest & WithPromptIdentifier(PromptIdentifierT &&value)
void SetPromptIdentifier(PromptIdentifierT &&value)
GetPromptRequest & WithIncludedData(IncludedData value)
AWS_BEDROCKAGENT_API GetPromptRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String