AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MlResourceDefinition.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace neptunedata
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_NEPTUNEDATA_API MlResourceDefinition() = default;
35 AWS_NEPTUNEDATA_API MlResourceDefinition(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 MlResourceDefinition& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 MlResourceDefinition& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetStatus() const { return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 template<typename StatusT = Aws::String>
71 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
72 template<typename StatusT = Aws::String>
73 MlResourceDefinition& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
75
77
80 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
81 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
82 template<typename OutputLocationT = Aws::String>
83 void SetOutputLocation(OutputLocationT&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::forward<OutputLocationT>(value); }
84 template<typename OutputLocationT = Aws::String>
85 MlResourceDefinition& WithOutputLocation(OutputLocationT&& value) { SetOutputLocation(std::forward<OutputLocationT>(value)); return *this;}
87
89
92 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
93 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
94 template<typename FailureReasonT = Aws::String>
95 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
96 template<typename FailureReasonT = Aws::String>
97 MlResourceDefinition& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
99
101
104 inline const Aws::String& GetCloudwatchLogUrl() const { return m_cloudwatchLogUrl; }
105 inline bool CloudwatchLogUrlHasBeenSet() const { return m_cloudwatchLogUrlHasBeenSet; }
106 template<typename CloudwatchLogUrlT = Aws::String>
107 void SetCloudwatchLogUrl(CloudwatchLogUrlT&& value) { m_cloudwatchLogUrlHasBeenSet = true; m_cloudwatchLogUrl = std::forward<CloudwatchLogUrlT>(value); }
108 template<typename CloudwatchLogUrlT = Aws::String>
109 MlResourceDefinition& WithCloudwatchLogUrl(CloudwatchLogUrlT&& value) { SetCloudwatchLogUrl(std::forward<CloudwatchLogUrlT>(value)); return *this;}
111 private:
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_status;
120 bool m_statusHasBeenSet = false;
121
122 Aws::String m_outputLocation;
123 bool m_outputLocationHasBeenSet = false;
124
125 Aws::String m_failureReason;
126 bool m_failureReasonHasBeenSet = false;
127
128 Aws::String m_cloudwatchLogUrl;
129 bool m_cloudwatchLogUrlHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace neptunedata
134} // 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