AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ScheduledUpdateConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/DeploymentConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ScheduledUpdateConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
48 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
49 template<typename ScheduleExpressionT = Aws::String>
50 void SetScheduleExpression(ScheduleExpressionT&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::forward<ScheduleExpressionT>(value); }
51 template<typename ScheduleExpressionT = Aws::String>
52 ScheduledUpdateConfig& WithScheduleExpression(ScheduleExpressionT&& value) { SetScheduleExpression(std::forward<ScheduleExpressionT>(value)); return *this;}
54
56
59 inline const DeploymentConfiguration& GetDeploymentConfig() const { return m_deploymentConfig; }
60 inline bool DeploymentConfigHasBeenSet() const { return m_deploymentConfigHasBeenSet; }
61 template<typename DeploymentConfigT = DeploymentConfiguration>
62 void SetDeploymentConfig(DeploymentConfigT&& value) { m_deploymentConfigHasBeenSet = true; m_deploymentConfig = std::forward<DeploymentConfigT>(value); }
63 template<typename DeploymentConfigT = DeploymentConfiguration>
64 ScheduledUpdateConfig& WithDeploymentConfig(DeploymentConfigT&& value) { SetDeploymentConfig(std::forward<DeploymentConfigT>(value)); return *this;}
66 private:
67
68 Aws::String m_scheduleExpression;
69 bool m_scheduleExpressionHasBeenSet = false;
70
71 DeploymentConfiguration m_deploymentConfig;
72 bool m_deploymentConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ScheduledUpdateConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ScheduledUpdateConfig(Aws::Utils::Json::JsonView jsonValue)
const DeploymentConfiguration & GetDeploymentConfig() const
ScheduledUpdateConfig & WithScheduleExpression(ScheduleExpressionT &&value)
ScheduledUpdateConfig & WithDeploymentConfig(DeploymentConfigT &&value)
AWS_SAGEMAKER_API ScheduledUpdateConfig()=default
void SetScheduleExpression(ScheduleExpressionT &&value)
void SetDeploymentConfig(DeploymentConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue