AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
MlResourceDefinition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptunedata/Neptunedata_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace neptunedata {
20namespace Model {
21
28 public:
29 AWS_NEPTUNEDATA_API MlResourceDefinition() = default;
30 AWS_NEPTUNEDATA_API MlResourceDefinition(Aws::Utils::Json::JsonView jsonValue);
32 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetArn() const { return m_arn; }
57 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 template <typename StatusT = Aws::String>
77 void SetStatus(StatusT&& value) {
78 m_statusHasBeenSet = true;
79 m_status = std::forward<StatusT>(value);
80 }
81 template <typename StatusT = Aws::String>
82 MlResourceDefinition& WithStatus(StatusT&& value) {
83 SetStatus(std::forward<StatusT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
93 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
94 template <typename OutputLocationT = Aws::String>
95 void SetOutputLocation(OutputLocationT&& value) {
96 m_outputLocationHasBeenSet = true;
97 m_outputLocation = std::forward<OutputLocationT>(value);
98 }
99 template <typename OutputLocationT = Aws::String>
100 MlResourceDefinition& WithOutputLocation(OutputLocationT&& value) {
101 SetOutputLocation(std::forward<OutputLocationT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
111 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
112 template <typename FailureReasonT = Aws::String>
113 void SetFailureReason(FailureReasonT&& value) {
114 m_failureReasonHasBeenSet = true;
115 m_failureReason = std::forward<FailureReasonT>(value);
116 }
117 template <typename FailureReasonT = Aws::String>
118 MlResourceDefinition& WithFailureReason(FailureReasonT&& value) {
119 SetFailureReason(std::forward<FailureReasonT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetCloudwatchLogUrl() const { return m_cloudwatchLogUrl; }
129 inline bool CloudwatchLogUrlHasBeenSet() const { return m_cloudwatchLogUrlHasBeenSet; }
130 template <typename CloudwatchLogUrlT = Aws::String>
131 void SetCloudwatchLogUrl(CloudwatchLogUrlT&& value) {
132 m_cloudwatchLogUrlHasBeenSet = true;
133 m_cloudwatchLogUrl = std::forward<CloudwatchLogUrlT>(value);
134 }
135 template <typename CloudwatchLogUrlT = Aws::String>
136 MlResourceDefinition& WithCloudwatchLogUrl(CloudwatchLogUrlT&& value) {
137 SetCloudwatchLogUrl(std::forward<CloudwatchLogUrlT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_name;
143
144 Aws::String m_arn;
145
146 Aws::String m_status;
147
148 Aws::String m_outputLocation;
149
150 Aws::String m_failureReason;
151
152 Aws::String m_cloudwatchLogUrl;
153 bool m_nameHasBeenSet = false;
154 bool m_arnHasBeenSet = false;
155 bool m_statusHasBeenSet = false;
156 bool m_outputLocationHasBeenSet = false;
157 bool m_failureReasonHasBeenSet = false;
158 bool m_cloudwatchLogUrlHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace neptunedata
163} // namespace Aws
MlResourceDefinition & WithName(NameT &&value)
MlResourceDefinition & WithOutputLocation(OutputLocationT &&value)
AWS_NEPTUNEDATA_API MlResourceDefinition(Aws::Utils::Json::JsonView jsonValue)
void SetCloudwatchLogUrl(CloudwatchLogUrlT &&value)
AWS_NEPTUNEDATA_API MlResourceDefinition()=default
AWS_NEPTUNEDATA_API MlResourceDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
MlResourceDefinition & WithCloudwatchLogUrl(CloudwatchLogUrlT &&value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
MlResourceDefinition & WithFailureReason(FailureReasonT &&value)
MlResourceDefinition & WithArn(ArnT &&value)
MlResourceDefinition & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue