AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline MlResourceDefinition& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline MlResourceDefinition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline MlResourceDefinition& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetArn() const{ return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
61 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
63 inline MlResourceDefinition& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 inline MlResourceDefinition& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 inline MlResourceDefinition& WithArn(const char* value) { SetArn(value); return *this;}
67
69
72 inline const Aws::String& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
77 inline MlResourceDefinition& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
78 inline MlResourceDefinition& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
79 inline MlResourceDefinition& WithStatus(const char* value) { SetStatus(value); return *this;}
81
83
86 inline const Aws::String& GetOutputLocation() const{ return m_outputLocation; }
87 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
88 inline void SetOutputLocation(const Aws::String& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; }
89 inline void SetOutputLocation(Aws::String&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); }
90 inline void SetOutputLocation(const char* value) { m_outputLocationHasBeenSet = true; m_outputLocation.assign(value); }
91 inline MlResourceDefinition& WithOutputLocation(const Aws::String& value) { SetOutputLocation(value); return *this;}
92 inline MlResourceDefinition& WithOutputLocation(Aws::String&& value) { SetOutputLocation(std::move(value)); return *this;}
93 inline MlResourceDefinition& WithOutputLocation(const char* value) { SetOutputLocation(value); return *this;}
95
97
100 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
101 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
102 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
103 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
104 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
105 inline MlResourceDefinition& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
106 inline MlResourceDefinition& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
107 inline MlResourceDefinition& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
109
111
114 inline const Aws::String& GetCloudwatchLogUrl() const{ return m_cloudwatchLogUrl; }
115 inline bool CloudwatchLogUrlHasBeenSet() const { return m_cloudwatchLogUrlHasBeenSet; }
116 inline void SetCloudwatchLogUrl(const Aws::String& value) { m_cloudwatchLogUrlHasBeenSet = true; m_cloudwatchLogUrl = value; }
117 inline void SetCloudwatchLogUrl(Aws::String&& value) { m_cloudwatchLogUrlHasBeenSet = true; m_cloudwatchLogUrl = std::move(value); }
118 inline void SetCloudwatchLogUrl(const char* value) { m_cloudwatchLogUrlHasBeenSet = true; m_cloudwatchLogUrl.assign(value); }
119 inline MlResourceDefinition& WithCloudwatchLogUrl(const Aws::String& value) { SetCloudwatchLogUrl(value); return *this;}
120 inline MlResourceDefinition& WithCloudwatchLogUrl(Aws::String&& value) { SetCloudwatchLogUrl(std::move(value)); return *this;}
121 inline MlResourceDefinition& WithCloudwatchLogUrl(const char* value) { SetCloudwatchLogUrl(value); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_status;
132 bool m_statusHasBeenSet = false;
133
134 Aws::String m_outputLocation;
135 bool m_outputLocationHasBeenSet = false;
136
137 Aws::String m_failureReason;
138 bool m_failureReasonHasBeenSet = false;
139
140 Aws::String m_cloudwatchLogUrl;
141 bool m_cloudwatchLogUrlHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace neptunedata
146} // namespace Aws
MlResourceDefinition & WithName(Aws::String &&value)
MlResourceDefinition & WithStatus(const char *value)
MlResourceDefinition & WithOutputLocation(Aws::String &&value)
MlResourceDefinition & WithFailureReason(Aws::String &&value)
MlResourceDefinition & WithArn(const char *value)
AWS_NEPTUNEDATA_API MlResourceDefinition(Aws::Utils::Json::JsonView jsonValue)
MlResourceDefinition & WithStatus(Aws::String &&value)
MlResourceDefinition & WithName(const Aws::String &value)
MlResourceDefinition & WithCloudwatchLogUrl(Aws::String &&value)
MlResourceDefinition & WithCloudwatchLogUrl(const char *value)
AWS_NEPTUNEDATA_API MlResourceDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
MlResourceDefinition & WithArn(const Aws::String &value)
AWS_NEPTUNEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
MlResourceDefinition & WithFailureReason(const Aws::String &value)
MlResourceDefinition & WithOutputLocation(const char *value)
MlResourceDefinition & WithFailureReason(const char *value)
MlResourceDefinition & WithOutputLocation(const Aws::String &value)
MlResourceDefinition & WithName(const char *value)
MlResourceDefinition & WithCloudwatchLogUrl(const Aws::String &value)
MlResourceDefinition & WithStatus(const Aws::String &value)
MlResourceDefinition & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue