AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
CreateRetrievalInstructionVersionResult.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent {
24namespace Model {
26 public:
27 AWS_BEDROCKAGENT_API CreateRetrievalInstructionVersionResult() = default;
31
33
36 inline const Aws::String& GetRetrievalInstructionId() const { return m_retrievalInstructionId; }
37 template <typename RetrievalInstructionIdT = Aws::String>
38 void SetRetrievalInstructionId(RetrievalInstructionIdT&& value) {
39 m_retrievalInstructionIdHasBeenSet = true;
40 m_retrievalInstructionId = std::forward<RetrievalInstructionIdT>(value);
41 }
42 template <typename RetrievalInstructionIdT = Aws::String>
44 SetRetrievalInstructionId(std::forward<RetrievalInstructionIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetRetrievalInstructionArn() const { return m_retrievalInstructionArn; }
54 template <typename RetrievalInstructionArnT = Aws::String>
55 void SetRetrievalInstructionArn(RetrievalInstructionArnT&& value) {
56 m_retrievalInstructionArnHasBeenSet = true;
57 m_retrievalInstructionArn = std::forward<RetrievalInstructionArnT>(value);
58 }
59 template <typename RetrievalInstructionArnT = Aws::String>
61 SetRetrievalInstructionArn(std::forward<RetrievalInstructionArnT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetVersion() const { return m_version; }
72 template <typename VersionT = Aws::String>
73 void SetVersion(VersionT&& value) {
74 m_versionHasBeenSet = true;
75 m_version = std::forward<VersionT>(value);
76 }
77 template <typename VersionT = Aws::String>
79 SetVersion(std::forward<VersionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
89 template <typename CreatedAtT = Aws::Utils::DateTime>
90 void SetCreatedAt(CreatedAtT&& value) {
91 m_createdAtHasBeenSet = true;
92 m_createdAt = std::forward<CreatedAtT>(value);
93 }
94 template <typename CreatedAtT = Aws::Utils::DateTime>
96 SetCreatedAt(std::forward<CreatedAtT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetDescription() const { return m_description; }
106 template <typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) {
108 m_descriptionHasBeenSet = true;
109 m_description = std::forward<DescriptionT>(value);
110 }
111 template <typename DescriptionT = Aws::String>
113 SetDescription(std::forward<DescriptionT>(value));
114 return *this;
115 }
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template <typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) {
123 m_requestIdHasBeenSet = true;
124 m_requestId = std::forward<RequestIdT>(value);
125 }
126 template <typename RequestIdT = Aws::String>
128 SetRequestId(std::forward<RequestIdT>(value));
129 return *this;
130 }
132 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
133
134 private:
135 Aws::String m_retrievalInstructionId;
136
137 Aws::String m_retrievalInstructionArn;
138
139 Aws::String m_version;
140
141 Aws::Utils::DateTime m_createdAt{};
142
143 Aws::String m_description;
144
145 Aws::String m_requestId;
146 Aws::Http::HttpResponseCode m_HttpResponseCode;
147 bool m_retrievalInstructionIdHasBeenSet = false;
148 bool m_retrievalInstructionArnHasBeenSet = false;
149 bool m_versionHasBeenSet = false;
150 bool m_createdAtHasBeenSet = false;
151 bool m_descriptionHasBeenSet = false;
152 bool m_requestIdHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace BedrockAgent
157} // namespace Aws
AWS_BEDROCKAGENT_API CreateRetrievalInstructionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRetrievalInstructionVersionResult & WithRetrievalInstructionId(RetrievalInstructionIdT &&value)
CreateRetrievalInstructionVersionResult & WithCreatedAt(CreatedAtT &&value)
CreateRetrievalInstructionVersionResult & WithRetrievalInstructionArn(RetrievalInstructionArnT &&value)
CreateRetrievalInstructionVersionResult & WithDescription(DescriptionT &&value)
CreateRetrievalInstructionVersionResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKAGENT_API CreateRetrievalInstructionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRetrievalInstructionVersionResult & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue