AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EndpointProperties.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/EndpointStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Comprehend
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_COMPREHEND_API EndpointProperties();
40 AWS_COMPREHEND_API EndpointProperties(Aws::Utils::Json::JsonView jsonValue);
42 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
50 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
51 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
52 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
53 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
54 inline EndpointProperties& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
55 inline EndpointProperties& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
56 inline EndpointProperties& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
58
60
65 inline const EndpointStatus& GetStatus() const{ return m_status; }
66 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
67 inline void SetStatus(const EndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
68 inline void SetStatus(EndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
69 inline EndpointProperties& WithStatus(const EndpointStatus& value) { SetStatus(value); return *this;}
70 inline EndpointProperties& WithStatus(EndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetMessage() const{ return m_message; }
78 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
79 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
80 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
81 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
82 inline EndpointProperties& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
83 inline EndpointProperties& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
84 inline EndpointProperties& WithMessage(const char* value) { SetMessage(value); return *this;}
86
88
92 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
93 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
94 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
95 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
96 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
97 inline EndpointProperties& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
98 inline EndpointProperties& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
99 inline EndpointProperties& WithModelArn(const char* value) { SetModelArn(value); return *this;}
101
103
107 inline const Aws::String& GetDesiredModelArn() const{ return m_desiredModelArn; }
108 inline bool DesiredModelArnHasBeenSet() const { return m_desiredModelArnHasBeenSet; }
109 inline void SetDesiredModelArn(const Aws::String& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = value; }
110 inline void SetDesiredModelArn(Aws::String&& value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn = std::move(value); }
111 inline void SetDesiredModelArn(const char* value) { m_desiredModelArnHasBeenSet = true; m_desiredModelArn.assign(value); }
112 inline EndpointProperties& WithDesiredModelArn(const Aws::String& value) { SetDesiredModelArn(value); return *this;}
113 inline EndpointProperties& WithDesiredModelArn(Aws::String&& value) { SetDesiredModelArn(std::move(value)); return *this;}
114 inline EndpointProperties& WithDesiredModelArn(const char* value) { SetDesiredModelArn(value); return *this;}
116
118
123 inline int GetDesiredInferenceUnits() const{ return m_desiredInferenceUnits; }
124 inline bool DesiredInferenceUnitsHasBeenSet() const { return m_desiredInferenceUnitsHasBeenSet; }
125 inline void SetDesiredInferenceUnits(int value) { m_desiredInferenceUnitsHasBeenSet = true; m_desiredInferenceUnits = value; }
128
130
134 inline int GetCurrentInferenceUnits() const{ return m_currentInferenceUnits; }
135 inline bool CurrentInferenceUnitsHasBeenSet() const { return m_currentInferenceUnitsHasBeenSet; }
136 inline void SetCurrentInferenceUnits(int value) { m_currentInferenceUnitsHasBeenSet = true; m_currentInferenceUnits = value; }
139
141
144 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
145 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
146 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
147 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
148 inline EndpointProperties& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
149 inline EndpointProperties& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
157 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
158 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
159 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
161 inline EndpointProperties& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
163
165
170 inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; }
171 inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; }
172 inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; }
173 inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); }
174 inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); }
175 inline EndpointProperties& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;}
176 inline EndpointProperties& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;}
177 inline EndpointProperties& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;}
179
181
185 inline const Aws::String& GetDesiredDataAccessRoleArn() const{ return m_desiredDataAccessRoleArn; }
186 inline bool DesiredDataAccessRoleArnHasBeenSet() const { return m_desiredDataAccessRoleArnHasBeenSet; }
187 inline void SetDesiredDataAccessRoleArn(const Aws::String& value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn = value; }
188 inline void SetDesiredDataAccessRoleArn(Aws::String&& value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn = std::move(value); }
189 inline void SetDesiredDataAccessRoleArn(const char* value) { m_desiredDataAccessRoleArnHasBeenSet = true; m_desiredDataAccessRoleArn.assign(value); }
192 inline EndpointProperties& WithDesiredDataAccessRoleArn(const char* value) { SetDesiredDataAccessRoleArn(value); return *this;}
194
196
199 inline const Aws::String& GetFlywheelArn() const{ return m_flywheelArn; }
200 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
201 inline void SetFlywheelArn(const Aws::String& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = value; }
202 inline void SetFlywheelArn(Aws::String&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::move(value); }
203 inline void SetFlywheelArn(const char* value) { m_flywheelArnHasBeenSet = true; m_flywheelArn.assign(value); }
204 inline EndpointProperties& WithFlywheelArn(const Aws::String& value) { SetFlywheelArn(value); return *this;}
205 inline EndpointProperties& WithFlywheelArn(Aws::String&& value) { SetFlywheelArn(std::move(value)); return *this;}
206 inline EndpointProperties& WithFlywheelArn(const char* value) { SetFlywheelArn(value); return *this;}
208 private:
209
210 Aws::String m_endpointArn;
211 bool m_endpointArnHasBeenSet = false;
212
213 EndpointStatus m_status;
214 bool m_statusHasBeenSet = false;
215
216 Aws::String m_message;
217 bool m_messageHasBeenSet = false;
218
219 Aws::String m_modelArn;
220 bool m_modelArnHasBeenSet = false;
221
222 Aws::String m_desiredModelArn;
223 bool m_desiredModelArnHasBeenSet = false;
224
225 int m_desiredInferenceUnits;
226 bool m_desiredInferenceUnitsHasBeenSet = false;
227
228 int m_currentInferenceUnits;
229 bool m_currentInferenceUnitsHasBeenSet = false;
230
231 Aws::Utils::DateTime m_creationTime;
232 bool m_creationTimeHasBeenSet = false;
233
234 Aws::Utils::DateTime m_lastModifiedTime;
235 bool m_lastModifiedTimeHasBeenSet = false;
236
237 Aws::String m_dataAccessRoleArn;
238 bool m_dataAccessRoleArnHasBeenSet = false;
239
240 Aws::String m_desiredDataAccessRoleArn;
241 bool m_desiredDataAccessRoleArnHasBeenSet = false;
242
243 Aws::String m_flywheelArn;
244 bool m_flywheelArnHasBeenSet = false;
245 };
246
247} // namespace Model
248} // namespace Comprehend
249} // namespace Aws
void SetModelArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
EndpointProperties & WithModelArn(const char *value)
void SetStatus(const EndpointStatus &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetDesiredDataAccessRoleArn(const Aws::String &value)
EndpointProperties & WithEndpointArn(const char *value)
EndpointProperties & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_COMPREHEND_API EndpointProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDataAccessRoleArn(const Aws::String &value)
AWS_COMPREHEND_API EndpointProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
EndpointProperties & WithCreationTime(Aws::Utils::DateTime &&value)
EndpointProperties & WithDataAccessRoleArn(const char *value)
EndpointProperties & WithFlywheelArn(Aws::String &&value)
EndpointProperties & WithDesiredModelArn(Aws::String &&value)
const EndpointStatus & GetStatus() const
EndpointProperties & WithDataAccessRoleArn(const Aws::String &value)
EndpointProperties & WithModelArn(Aws::String &&value)
EndpointProperties & WithDesiredDataAccessRoleArn(const char *value)
EndpointProperties & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetFlywheelArn(const Aws::String &value)
EndpointProperties & WithStatus(EndpointStatus &&value)
EndpointProperties & WithFlywheelArn(const char *value)
void SetDesiredDataAccessRoleArn(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EndpointProperties & WithCurrentInferenceUnits(int value)
void SetMessage(const Aws::String &value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
EndpointProperties & WithCreationTime(const Aws::Utils::DateTime &value)
EndpointProperties & WithMessage(const Aws::String &value)
EndpointProperties & WithDataAccessRoleArn(Aws::String &&value)
EndpointProperties & WithModelArn(const Aws::String &value)
EndpointProperties & WithEndpointArn(const Aws::String &value)
EndpointProperties & WithMessage(const char *value)
EndpointProperties & WithDesiredModelArn(const Aws::String &value)
const Aws::String & GetDataAccessRoleArn() const
void SetEndpointArn(const Aws::String &value)
EndpointProperties & WithMessage(Aws::String &&value)
EndpointProperties & WithFlywheelArn(const Aws::String &value)
const Aws::String & GetDesiredDataAccessRoleArn() const
EndpointProperties & WithDesiredDataAccessRoleArn(Aws::String &&value)
void SetDesiredModelArn(const Aws::String &value)
EndpointProperties & WithStatus(const EndpointStatus &value)
EndpointProperties & WithDesiredModelArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
EndpointProperties & WithDesiredDataAccessRoleArn(const Aws::String &value)
EndpointProperties & WithEndpointArn(Aws::String &&value)
EndpointProperties & WithDesiredInferenceUnits(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue