AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
CreateRetrievalInstructionVersionRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/core/utils/UUID.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 CreateRetrievalInstructionVersionRequest() = 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 "CreateRetrievalInstructionVersion"; }
29
30 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
37 inline bool RetrievalInstructionIdHasBeenSet() const { return m_retrievalInstructionIdHasBeenSet; }
38 template <typename RetrievalInstructionIdT = Aws::String>
39 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
40 m_retrievalInstructionIdHasBeenSet = true;
41 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
42 }
43 template <typename RetrievalInstructionIdT = Aws::String>
45 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetClientToken() const { return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 template <typename ClientTokenT = Aws::String>
77 void SetClientToken(ClientTokenT&& value) {
78 m_clientTokenHasBeenSet = true;
79 m_clientToken = std::forward<ClientTokenT>(value);
80 }
81 template <typename ClientTokenT = Aws::String>
83 SetClientToken(std::forward<ClientTokenT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_retrievalInstructionId;
89
90 Aws::String m_description;
91
93 bool m_retrievalInstructionIdHasBeenSet = false;
94 bool m_descriptionHasBeenSet = false;
95 bool m_clientTokenHasBeenSet = true;
96};
97
98} // namespace Model
99} // namespace BedrockAgent
100} // namespace Aws
CreateRetrievalInstructionVersionRequest & WithDescription(DescriptionT &&value)
CreateRetrievalInstructionVersionRequest & WithClientToken(ClientTokenT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
CreateRetrievalInstructionVersionRequest & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String