AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateBlueprintResult.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/Blueprint.h>
9#include <aws/core/http/HttpResponse.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 BedrockDataAutomation {
24namespace Model {
31 public:
32 AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintResult() = default;
35
37
38 inline const Blueprint& GetBlueprint() const { return m_blueprint; }
39 template <typename BlueprintT = Blueprint>
40 void SetBlueprint(BlueprintT&& value) {
41 m_blueprintHasBeenSet = true;
42 m_blueprint = std::forward<BlueprintT>(value);
43 }
44 template <typename BlueprintT = Blueprint>
46 SetBlueprint(std::forward<BlueprintT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
68 Blueprint m_blueprint;
69
70 Aws::String m_requestId;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_blueprintHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace BedrockDataAutomation
78} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBlueprintResult & WithBlueprint(BlueprintT &&value)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintResult()=default
CreateBlueprintResult & WithRequestId(RequestIdT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue