/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* The ResourceConfig
to update
* KeepAlivePeriodInSeconds
. Other fields in the
* ResourceConfig
cannot be updated.
See Also:
AWS
* API Reference
*/
class ResourceConfigForUpdate
{
public:
AWS_SAGEMAKER_API ResourceConfigForUpdate();
AWS_SAGEMAKER_API ResourceConfigForUpdate(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API ResourceConfigForUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The KeepAlivePeriodInSeconds
value specified in the
* ResourceConfig
to update.
*/
inline int GetKeepAlivePeriodInSeconds() const{ return m_keepAlivePeriodInSeconds; }
/**
* The KeepAlivePeriodInSeconds
value specified in the
* ResourceConfig
to update.
*/
inline bool KeepAlivePeriodInSecondsHasBeenSet() const { return m_keepAlivePeriodInSecondsHasBeenSet; }
/**
* The KeepAlivePeriodInSeconds
value specified in the
* ResourceConfig
to update.
*/
inline void SetKeepAlivePeriodInSeconds(int value) { m_keepAlivePeriodInSecondsHasBeenSet = true; m_keepAlivePeriodInSeconds = value; }
/**
* The KeepAlivePeriodInSeconds
value specified in the
* ResourceConfig
to update.
*/
inline ResourceConfigForUpdate& WithKeepAlivePeriodInSeconds(int value) { SetKeepAlivePeriodInSeconds(value); return *this;}
private:
int m_keepAlivePeriodInSeconds;
bool m_keepAlivePeriodInSecondsHasBeenSet = false;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws