/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the status of the production variant.See Also:
AWS
* API Reference
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
The endpoint variant status which describes the current deployment stage * status or operational status.
Creating
: Creating
* inference resources for the production variant.
* Deleting
: Terminating inference resources for the production
* variant.
Updating
: Updating capacity for the
* production variant.
ActivatingTraffic
: Turning
* on traffic for the production variant.
Baking
:
* Waiting period to monitor the CloudWatch alarms in the automatic rollback
* configuration.
A message that describes the status of the production variant.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A message that describes the status of the production variant.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A message that describes the status of the production variant.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A message that describes the status of the production variant.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A message that describes the status of the production variant.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A message that describes the status of the production variant.
*/ inline ProductionVariantStatus& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A message that describes the status of the production variant.
*/ inline ProductionVariantStatus& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A message that describes the status of the production variant.
*/ inline ProductionVariantStatus& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The start time of the current status change.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The start time of the current status change.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The start time of the current status change.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The start time of the current status change.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The start time of the current status change.
*/ inline ProductionVariantStatus& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The start time of the current status change.
*/ inline ProductionVariantStatus& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: VariantStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws