AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
ClusterPatchScheduleDetails.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 ClusterPatchScheduleDetails() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetNextPatchDate() const { return m_nextPatchDate; }
40 inline bool NextPatchDateHasBeenSet() const { return m_nextPatchDateHasBeenSet; }
41 template <typename NextPatchDateT = Aws::Utils::DateTime>
42 void SetNextPatchDate(NextPatchDateT&& value) {
43 m_nextPatchDateHasBeenSet = true;
44 m_nextPatchDate = std::forward<NextPatchDateT>(value);
45 }
46 template <typename NextPatchDateT = Aws::Utils::DateTime>
48 SetNextPatchDate(std::forward<NextPatchDateT>(value));
49 return *this;
50 }
52 private:
53 Aws::Utils::DateTime m_nextPatchDate{};
54 bool m_nextPatchDateHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SageMaker
59} // namespace Aws
AWS_SAGEMAKER_API ClusterPatchScheduleDetails()=default
AWS_SAGEMAKER_API ClusterPatchScheduleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterPatchScheduleDetails & WithNextPatchDate(NextPatchDateT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterPatchScheduleDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue