AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CreateDataAutomationProjectResult.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/DataAutomationProjectStage.h>
9#include <aws/bedrock-data-automation/model/DataAutomationProjectStatus.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace BedrockDataAutomation {
25namespace Model {
32 public:
33 AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectResult() = default;
35 AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectResult& operator=(
37
39
40 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
41 template <typename ProjectArnT = Aws::String>
42 void SetProjectArn(ProjectArnT&& value) {
43 m_projectArnHasBeenSet = true;
44 m_projectArn = std::forward<ProjectArnT>(value);
45 }
46 template <typename ProjectArnT = Aws::String>
48 SetProjectArn(std::forward<ProjectArnT>(value));
49 return *this;
50 }
52
54
55 inline DataAutomationProjectStage GetProjectStage() const { return m_projectStage; }
57 m_projectStageHasBeenSet = true;
58 m_projectStage = value;
59 }
61 SetProjectStage(value);
62 return *this;
63 }
65
67
68 inline DataAutomationProjectStatus GetStatus() const { return m_status; }
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::String m_projectArn;
97
99
101
102 Aws::String m_requestId;
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_projectArnHasBeenSet = false;
105 bool m_projectStageHasBeenSet = false;
106 bool m_statusHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace BedrockDataAutomation
112} // namespace Aws
CreateDataAutomationProjectResult & WithStatus(DataAutomationProjectStatus value)
AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDataAutomationProjectResult & WithProjectArn(ProjectArnT &&value)
AWS_BEDROCKDATAAUTOMATION_API CreateDataAutomationProjectResult()=default
CreateDataAutomationProjectResult & WithProjectStage(DataAutomationProjectStage 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