7#include <aws/sagemaker-edge/SagemakerEdgeManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-edge/model/ModelState.h>
10#include <aws/sagemaker-edge/model/DeploymentStatus.h>
23namespace SagemakerEdgeManager
50 inline void SetModelHandle(
const char* value) { m_modelHandleHasBeenSet =
true; m_modelHandle.assign(value); }
64 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
78 inline void SetModelVersion(
const char* value) { m_modelVersionHasBeenSet =
true; m_modelVersion.assign(value); }
128 inline void SetStatusReason(
const char* value) { m_statusReasonHasBeenSet =
true; m_statusReason.assign(value); }
142 inline void SetRollbackFailureReason(
const char* value) { m_rollbackFailureReasonHasBeenSet =
true; m_rollbackFailureReason.assign(value); }
150 bool m_modelHandleHasBeenSet =
false;
153 bool m_modelNameHasBeenSet =
false;
156 bool m_modelVersionHasBeenSet =
false;
159 bool m_desiredStateHasBeenSet =
false;
162 bool m_stateHasBeenSet =
false;
165 bool m_statusHasBeenSet =
false;
168 bool m_statusReasonHasBeenSet =
false;
171 bool m_rollbackFailureReasonHasBeenSet =
false;
void SetStatus(DeploymentStatus &&value)
void SetModelName(Aws::String &&value)
void SetModelHandle(const char *value)
DeploymentModel & WithModelHandle(Aws::String &&value)
DeploymentModel & WithState(ModelState &&value)
bool RollbackFailureReasonHasBeenSet() const
void SetStatusReason(const Aws::String &value)
DeploymentModel & WithModelHandle(const Aws::String &value)
DeploymentModel & WithDesiredState(const ModelState &value)
DeploymentModel & WithStatus(DeploymentStatus &&value)
const DeploymentStatus & GetStatus() const
void SetModelHandle(const Aws::String &value)
const ModelState & GetDesiredState() const
DeploymentModel & WithRollbackFailureReason(const Aws::String &value)
const ModelState & GetState() const
DeploymentModel & WithStatusReason(Aws::String &&value)
void SetRollbackFailureReason(const char *value)
DeploymentModel & WithModelName(Aws::String &&value)
DeploymentModel & WithModelName(const Aws::String &value)
void SetRollbackFailureReason(const Aws::String &value)
DeploymentModel & WithStatus(const DeploymentStatus &value)
DeploymentModel & WithRollbackFailureReason(const char *value)
DeploymentModel & WithRollbackFailureReason(Aws::String &&value)
DeploymentModel & WithDesiredState(ModelState &&value)
void SetStatusReason(const char *value)
bool StatusReasonHasBeenSet() const
DeploymentModel & WithModelName(const char *value)
DeploymentModel & WithModelHandle(const char *value)
AWS_SAGEMAKEREDGEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ModelHandleHasBeenSet() const
void SetDesiredState(ModelState &&value)
void SetRollbackFailureReason(Aws::String &&value)
bool StateHasBeenSet() const
const Aws::String & GetModelVersion() const
void SetState(const ModelState &value)
void SetModelHandle(Aws::String &&value)
DeploymentModel & WithStatusReason(const char *value)
DeploymentModel & WithModelVersion(const char *value)
AWS_SAGEMAKEREDGEMANAGER_API DeploymentModel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelName(const Aws::String &value)
DeploymentModel & WithStatusReason(const Aws::String &value)
const Aws::String & GetModelName() const
void SetStatusReason(Aws::String &&value)
bool StatusHasBeenSet() const
void SetModelVersion(const Aws::String &value)
void SetState(ModelState &&value)
bool DesiredStateHasBeenSet() const
DeploymentModel & WithState(const ModelState &value)
const Aws::String & GetRollbackFailureReason() const
void SetModelVersion(const char *value)
void SetDesiredState(const ModelState &value)
DeploymentModel & WithModelVersion(Aws::String &&value)
bool ModelVersionHasBeenSet() const
bool ModelNameHasBeenSet() const
AWS_SAGEMAKEREDGEMANAGER_API DeploymentModel()
void SetStatus(const DeploymentStatus &value)
void SetModelVersion(Aws::String &&value)
void SetModelName(const char *value)
const Aws::String & GetStatusReason() const
DeploymentModel & WithModelVersion(const Aws::String &value)
AWS_SAGEMAKEREDGEMANAGER_API DeploymentModel(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetModelHandle() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue