AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ScheduleConfig();
36 AWS_SAGEMAKER_API ScheduleConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
65 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
66 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
67 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
68 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
69 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
70 inline ScheduleConfig& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;}
71 inline ScheduleConfig& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
72 inline ScheduleConfig& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
74
76
88 inline const Aws::String& GetDataAnalysisStartTime() const{ return m_dataAnalysisStartTime; }
89 inline bool DataAnalysisStartTimeHasBeenSet() const { return m_dataAnalysisStartTimeHasBeenSet; }
90 inline void SetDataAnalysisStartTime(const Aws::String& value) { m_dataAnalysisStartTimeHasBeenSet = true; m_dataAnalysisStartTime = value; }
91 inline void SetDataAnalysisStartTime(Aws::String&& value) { m_dataAnalysisStartTimeHasBeenSet = true; m_dataAnalysisStartTime = std::move(value); }
92 inline void SetDataAnalysisStartTime(const char* value) { m_dataAnalysisStartTimeHasBeenSet = true; m_dataAnalysisStartTime.assign(value); }
94 inline ScheduleConfig& WithDataAnalysisStartTime(Aws::String&& value) { SetDataAnalysisStartTime(std::move(value)); return *this;}
95 inline ScheduleConfig& WithDataAnalysisStartTime(const char* value) { SetDataAnalysisStartTime(value); return *this;}
97
99
111 inline const Aws::String& GetDataAnalysisEndTime() const{ return m_dataAnalysisEndTime; }
112 inline bool DataAnalysisEndTimeHasBeenSet() const { return m_dataAnalysisEndTimeHasBeenSet; }
113 inline void SetDataAnalysisEndTime(const Aws::String& value) { m_dataAnalysisEndTimeHasBeenSet = true; m_dataAnalysisEndTime = value; }
114 inline void SetDataAnalysisEndTime(Aws::String&& value) { m_dataAnalysisEndTimeHasBeenSet = true; m_dataAnalysisEndTime = std::move(value); }
115 inline void SetDataAnalysisEndTime(const char* value) { m_dataAnalysisEndTimeHasBeenSet = true; m_dataAnalysisEndTime.assign(value); }
116 inline ScheduleConfig& WithDataAnalysisEndTime(const Aws::String& value) { SetDataAnalysisEndTime(value); return *this;}
117 inline ScheduleConfig& WithDataAnalysisEndTime(Aws::String&& value) { SetDataAnalysisEndTime(std::move(value)); return *this;}
118 inline ScheduleConfig& WithDataAnalysisEndTime(const char* value) { SetDataAnalysisEndTime(value); return *this;}
120 private:
121
122 Aws::String m_scheduleExpression;
123 bool m_scheduleExpressionHasBeenSet = false;
124
125 Aws::String m_dataAnalysisStartTime;
126 bool m_dataAnalysisStartTimeHasBeenSet = false;
127
128 Aws::String m_dataAnalysisEndTime;
129 bool m_dataAnalysisEndTimeHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SageMaker
134} // namespace Aws
ScheduleConfig & WithDataAnalysisEndTime(Aws::String &&value)
const Aws::String & GetDataAnalysisStartTime() const
void SetScheduleExpression(Aws::String &&value)
void SetDataAnalysisStartTime(const Aws::String &value)
ScheduleConfig & WithScheduleExpression(const Aws::String &value)
ScheduleConfig & WithDataAnalysisEndTime(const Aws::String &value)
void SetScheduleExpression(const char *value)
ScheduleConfig & WithScheduleExpression(Aws::String &&value)
void SetDataAnalysisEndTime(const Aws::String &value)
void SetDataAnalysisStartTime(Aws::String &&value)
AWS_SAGEMAKER_API ScheduleConfig(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfig & WithDataAnalysisStartTime(const Aws::String &value)
void SetScheduleExpression(const Aws::String &value)
void SetDataAnalysisEndTime(Aws::String &&value)
const Aws::String & GetDataAnalysisEndTime() const
AWS_SAGEMAKER_API ScheduleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfig & WithScheduleExpression(const char *value)
void SetDataAnalysisEndTime(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDataAnalysisStartTime(const char *value)
ScheduleConfig & WithDataAnalysisStartTime(const char *value)
const Aws::String & GetScheduleExpression() const
ScheduleConfig & WithDataAnalysisEndTime(const char *value)
ScheduleConfig & WithDataAnalysisStartTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue