AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
CreateBlueprintVersionResult.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 CreateBlueprintVersionResult() = default;
34 AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionResult& operator=(
36
38
39 inline const Blueprint& GetBlueprint() const { return m_blueprint; }
40 template <typename BlueprintT = Blueprint>
41 void SetBlueprint(BlueprintT&& value) {
42 m_blueprintHasBeenSet = true;
43 m_blueprint = std::forward<BlueprintT>(value);
44 }
45 template <typename BlueprintT = Blueprint>
47 SetBlueprint(std::forward<BlueprintT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
67
68 private:
69 Blueprint m_blueprint;
70
71 Aws::String m_requestId;
72 Aws::Http::HttpResponseCode m_HttpResponseCode;
73 bool m_blueprintHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace BedrockDataAutomation
79} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionResult()=default
CreateBlueprintVersionResult & WithRequestId(RequestIdT &&value)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBlueprintVersionResult & WithBlueprint(BlueprintT &&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