AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InferenceExperimentSchedule.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.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
34 {
35 public:
36 AWS_SAGEMAKER_API InferenceExperimentSchedule() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
47 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
48 template<typename StartTimeT = Aws::Utils::DateTime>
49 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
50 template<typename StartTimeT = Aws::Utils::DateTime>
51 InferenceExperimentSchedule& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
53
55
58 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
59 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
60 template<typename EndTimeT = Aws::Utils::DateTime>
61 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
62 template<typename EndTimeT = Aws::Utils::DateTime>
63 InferenceExperimentSchedule& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
65 private:
66
67 Aws::Utils::DateTime m_startTime{};
68 bool m_startTimeHasBeenSet = false;
69
70 Aws::Utils::DateTime m_endTime{};
71 bool m_endTimeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
InferenceExperimentSchedule & WithEndTime(EndTimeT &&value)
AWS_SAGEMAKER_API InferenceExperimentSchedule()=default
AWS_SAGEMAKER_API InferenceExperimentSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
InferenceExperimentSchedule & WithStartTime(StartTimeT &&value)
AWS_SAGEMAKER_API InferenceExperimentSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue