AWS SDK for C++  1.9.154
AWS SDK for C++
BatchGetRecordError.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMakerFeatureStoreRuntime
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetFeatureGroupName() const{ return m_featureGroupName; }
45 
49  inline bool FeatureGroupNameHasBeenSet() const { return m_featureGroupNameHasBeenSet; }
50 
54  inline void SetFeatureGroupName(const Aws::String& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = value; }
55 
59  inline void SetFeatureGroupName(Aws::String&& value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName = std::move(value); }
60 
64  inline void SetFeatureGroupName(const char* value) { m_featureGroupNameHasBeenSet = true; m_featureGroupName.assign(value); }
65 
69  inline BatchGetRecordError& WithFeatureGroupName(const Aws::String& value) { SetFeatureGroupName(value); return *this;}
70 
74  inline BatchGetRecordError& WithFeatureGroupName(Aws::String&& value) { SetFeatureGroupName(std::move(value)); return *this;}
75 
79  inline BatchGetRecordError& WithFeatureGroupName(const char* value) { SetFeatureGroupName(value); return *this;}
80 
81 
87  inline const Aws::String& GetRecordIdentifierValueAsString() const{ return m_recordIdentifierValueAsString; }
88 
94  inline bool RecordIdentifierValueAsStringHasBeenSet() const { return m_recordIdentifierValueAsStringHasBeenSet; }
95 
101  inline void SetRecordIdentifierValueAsString(const Aws::String& value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString = value; }
102 
108  inline void SetRecordIdentifierValueAsString(Aws::String&& value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString = std::move(value); }
109 
115  inline void SetRecordIdentifierValueAsString(const char* value) { m_recordIdentifierValueAsStringHasBeenSet = true; m_recordIdentifierValueAsString.assign(value); }
116 
122  inline BatchGetRecordError& WithRecordIdentifierValueAsString(const Aws::String& value) { SetRecordIdentifierValueAsString(value); return *this;}
123 
129  inline BatchGetRecordError& WithRecordIdentifierValueAsString(Aws::String&& value) { SetRecordIdentifierValueAsString(std::move(value)); return *this;}
130 
136  inline BatchGetRecordError& WithRecordIdentifierValueAsString(const char* value) { SetRecordIdentifierValueAsString(value); return *this;}
137 
138 
145  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
146 
153  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
154 
161  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
162 
169  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
170 
177  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
178 
185  inline BatchGetRecordError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
186 
193  inline BatchGetRecordError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
194 
201  inline BatchGetRecordError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
202 
203 
208  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
209 
214  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
215 
220  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
221 
226  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
227 
232  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
233 
238  inline BatchGetRecordError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
239 
244  inline BatchGetRecordError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
245 
250  inline BatchGetRecordError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
251 
252  private:
253 
254  Aws::String m_featureGroupName;
255  bool m_featureGroupNameHasBeenSet;
256 
257  Aws::String m_recordIdentifierValueAsString;
258  bool m_recordIdentifierValueAsStringHasBeenSet;
259 
260  Aws::String m_errorCode;
261  bool m_errorCodeHasBeenSet;
262 
263  Aws::String m_errorMessage;
264  bool m_errorMessageHasBeenSet;
265  };
266 
267 } // namespace Model
268 } // namespace SageMakerFeatureStoreRuntime
269 } // namespace Aws
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetFeatureGroupName
void SetFeatureGroupName(const Aws::String &value)
Definition: BatchGetRecordError.h:54
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorCode
void SetErrorCode(const char *value)
Definition: BatchGetRecordError.h:177
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(Aws::String &&value)
Definition: BatchGetRecordError.h:108
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorCode
BatchGetRecordError & WithErrorCode(const char *value)
Definition: BatchGetRecordError.h:201
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorMessage
BatchGetRecordError & WithErrorMessage(const char *value)
Definition: BatchGetRecordError.h:250
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorCode
BatchGetRecordError & WithErrorCode(Aws::String &&value)
Definition: BatchGetRecordError.h:193
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: BatchGetRecordError.h:145
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorCode
BatchGetRecordError & WithErrorCode(const Aws::String &value)
Definition: BatchGetRecordError.h:185
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: BatchGetRecordError.h:226
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetFeatureGroupName
void SetFeatureGroupName(const char *value)
Definition: BatchGetRecordError.h:64
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::GetRecordIdentifierValueAsString
const Aws::String & GetRecordIdentifierValueAsString() const
Definition: BatchGetRecordError.h:87
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorMessage
BatchGetRecordError & WithErrorMessage(const Aws::String &value)
Definition: BatchGetRecordError.h:238
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: BatchGetRecordError.h:208
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(const char *value)
Definition: BatchGetRecordError.h:115
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: BatchGetRecordError.h:232
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithErrorMessage
BatchGetRecordError & WithErrorMessage(Aws::String &&value)
Definition: BatchGetRecordError.h:244
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: BatchGetRecordError.h:214
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithFeatureGroupName
BatchGetRecordError & WithFeatureGroupName(Aws::String &&value)
Definition: BatchGetRecordError.h:74
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError
Definition: BatchGetRecordError.h:33
SageMakerFeatureStoreRuntime_EXPORTS.h
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: BatchGetRecordError.h:153
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithFeatureGroupName
BatchGetRecordError & WithFeatureGroupName(const Aws::String &value)
Definition: BatchGetRecordError.h:69
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetRecordIdentifierValueAsString
void SetRecordIdentifierValueAsString(const Aws::String &value)
Definition: BatchGetRecordError.h:101
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: BatchGetRecordError.h:169
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::GetFeatureGroupName
const Aws::String & GetFeatureGroupName() const
Definition: BatchGetRecordError.h:44
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::FeatureGroupNameHasBeenSet
bool FeatureGroupNameHasBeenSet() const
Definition: BatchGetRecordError.h:49
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetFeatureGroupName
void SetFeatureGroupName(Aws::String &&value)
Definition: BatchGetRecordError.h:59
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithRecordIdentifierValueAsString
BatchGetRecordError & WithRecordIdentifierValueAsString(const Aws::String &value)
Definition: BatchGetRecordError.h:122
AWS_SAGEMAKERFEATURESTORERUNTIME_API
#define AWS_SAGEMAKERFEATURESTORERUNTIME_API
Definition: SageMakerFeatureStoreRuntime_EXPORTS.h:28
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithRecordIdentifierValueAsString
BatchGetRecordError & WithRecordIdentifierValueAsString(const char *value)
Definition: BatchGetRecordError.h:136
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::BatchGetRecordError
BatchGetRecordError(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::operator=
BatchGetRecordError & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::BatchGetRecordError
BatchGetRecordError()
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: BatchGetRecordError.h:220
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithFeatureGroupName
BatchGetRecordError & WithFeatureGroupName(const char *value)
Definition: BatchGetRecordError.h:79
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::RecordIdentifierValueAsStringHasBeenSet
bool RecordIdentifierValueAsStringHasBeenSet() const
Definition: BatchGetRecordError.h:94
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: BatchGetRecordError.h:161
Aws::SageMakerFeatureStoreRuntime::Model::BatchGetRecordError::WithRecordIdentifierValueAsString
BatchGetRecordError & WithRecordIdentifierValueAsString(Aws::String &&value)
Definition: BatchGetRecordError.h:129