AWS SDK for C++

AWS SDK for C++ Version 1.11.836

Loading...
Searching...
No Matches
ClusterPatchSchedule.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API ClusterPatchSchedule() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::Utils::DateTime& GetNextPatchDate() const { return m_nextPatchDate; }
42 inline bool NextPatchDateHasBeenSet() const { return m_nextPatchDateHasBeenSet; }
43 template <typename NextPatchDateT = Aws::Utils::DateTime>
44 void SetNextPatchDate(NextPatchDateT&& value) {
45 m_nextPatchDateHasBeenSet = true;
46 m_nextPatchDate = std::forward<NextPatchDateT>(value);
47 }
48 template <typename NextPatchDateT = Aws::Utils::DateTime>
49 ClusterPatchSchedule& WithNextPatchDate(NextPatchDateT&& value) {
50 SetNextPatchDate(std::forward<NextPatchDateT>(value));
51 return *this;
52 }
54 private:
55 Aws::Utils::DateTime m_nextPatchDate{};
56 bool m_nextPatchDateHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace SageMaker
61} // namespace Aws
ClusterPatchSchedule & WithNextPatchDate(NextPatchDateT &&value)
AWS_SAGEMAKER_API ClusterPatchSchedule()=default
AWS_SAGEMAKER_API ClusterPatchSchedule(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetNextPatchDate() const
AWS_SAGEMAKER_API ClusterPatchSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue