AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ResourceConfigForUpdate.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
27 public:
28 AWS_SAGEMAKER_API ResourceConfigForUpdate() = default;
31 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline int GetKeepAlivePeriodInSeconds() const { return m_keepAlivePeriodInSeconds; }
39 inline bool KeepAlivePeriodInSecondsHasBeenSet() const { return m_keepAlivePeriodInSecondsHasBeenSet; }
40 inline void SetKeepAlivePeriodInSeconds(int value) {
41 m_keepAlivePeriodInSecondsHasBeenSet = true;
42 m_keepAlivePeriodInSeconds = value;
43 }
46 return *this;
47 }
49 private:
50 int m_keepAlivePeriodInSeconds{0};
51 bool m_keepAlivePeriodInSecondsHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace SageMaker
56} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ResourceConfigForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ResourceConfigForUpdate(Aws::Utils::Json::JsonView jsonValue)
ResourceConfigForUpdate & WithKeepAlivePeriodInSeconds(int value)
AWS_SAGEMAKER_API ResourceConfigForUpdate()=default
Aws::Utils::Json::JsonValue JsonValue