7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RollingDeploymentPolicy.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/AlarmDetails.h>
50 template<
typename RollingUpdatePolicyT = RollingDeploymentPolicy>
51 void SetRollingUpdatePolicy(RollingUpdatePolicyT&& value) { m_rollingUpdatePolicyHasBeenSet =
true; m_rollingUpdatePolicy = std::forward<RollingUpdatePolicyT>(value); }
52 template<
typename RollingUpdatePolicyT = RollingDeploymentPolicy>
74 template<
typename AutoRollbackConfigurationT = Aws::Vector<AlarmDetails>>
75 void SetAutoRollbackConfiguration(AutoRollbackConfigurationT&& value) { m_autoRollbackConfigurationHasBeenSet =
true; m_autoRollbackConfiguration = std::forward<AutoRollbackConfigurationT>(value); }
76 template<
typename AutoRollbackConfigurationT = Aws::Vector<AlarmDetails>>
78 template<
typename AutoRollbackConfigurationT = AlarmDetails>
84 bool m_rollingUpdatePolicyHasBeenSet =
false;
86 int m_waitIntervalInSeconds{0};
87 bool m_waitIntervalInSecondsHasBeenSet =
false;
90 bool m_autoRollbackConfigurationHasBeenSet =
false;
DeploymentConfiguration & WithAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
DeploymentConfiguration & AddAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
AWS_SAGEMAKER_API DeploymentConfiguration(Aws::Utils::Json::JsonView jsonValue)
int GetWaitIntervalInSeconds() const
const Aws::Vector< AlarmDetails > & GetAutoRollbackConfiguration() const
bool WaitIntervalInSecondsHasBeenSet() const
bool AutoRollbackConfigurationHasBeenSet() const
const RollingDeploymentPolicy & GetRollingUpdatePolicy() const
AWS_SAGEMAKER_API DeploymentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWaitIntervalInSeconds(int value)
DeploymentConfiguration & WithWaitIntervalInSeconds(int value)
bool RollingUpdatePolicyHasBeenSet() const
void SetRollingUpdatePolicy(RollingUpdatePolicyT &&value)
DeploymentConfiguration & WithRollingUpdatePolicy(RollingUpdatePolicyT &&value)
AWS_SAGEMAKER_API DeploymentConfiguration()=default
void SetAutoRollbackConfiguration(AutoRollbackConfigurationT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue