AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ScheduledUpdateConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/DeploymentConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API ScheduledUpdateConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetScheduleExpression() const { return m_scheduleExpression; }
42 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
43 template <typename ScheduleExpressionT = Aws::String>
44 void SetScheduleExpression(ScheduleExpressionT&& value) {
45 m_scheduleExpressionHasBeenSet = true;
46 m_scheduleExpression = std::forward<ScheduleExpressionT>(value);
47 }
48 template <typename ScheduleExpressionT = Aws::String>
49 ScheduledUpdateConfig& WithScheduleExpression(ScheduleExpressionT&& value) {
50 SetScheduleExpression(std::forward<ScheduleExpressionT>(value));
51 return *this;
52 }
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) {
63 m_deploymentConfigHasBeenSet = true;
64 m_deploymentConfig = std::forward<DeploymentConfigT>(value);
65 }
66 template <typename DeploymentConfigT = DeploymentConfiguration>
67 ScheduledUpdateConfig& WithDeploymentConfig(DeploymentConfigT&& value) {
68 SetDeploymentConfig(std::forward<DeploymentConfigT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_scheduleExpression;
74
75 DeploymentConfiguration m_deploymentConfig;
76 bool m_scheduleExpressionHasBeenSet = false;
77 bool m_deploymentConfigHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // 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