AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClusterTimeline.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_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 EMR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMR_API ClusterTimeline() = default;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
46 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
47 template<typename CreationDateTimeT = Aws::Utils::DateTime>
48 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
49 template<typename CreationDateTimeT = Aws::Utils::DateTime>
50 ClusterTimeline& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetReadyDateTime() const { return m_readyDateTime; }
58 inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
59 template<typename ReadyDateTimeT = Aws::Utils::DateTime>
60 void SetReadyDateTime(ReadyDateTimeT&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::forward<ReadyDateTimeT>(value); }
61 template<typename ReadyDateTimeT = Aws::Utils::DateTime>
62 ClusterTimeline& WithReadyDateTime(ReadyDateTimeT&& value) { SetReadyDateTime(std::forward<ReadyDateTimeT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
70 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
71 template<typename EndDateTimeT = Aws::Utils::DateTime>
72 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::forward<EndDateTimeT>(value); }
73 template<typename EndDateTimeT = Aws::Utils::DateTime>
74 ClusterTimeline& WithEndDateTime(EndDateTimeT&& value) { SetEndDateTime(std::forward<EndDateTimeT>(value)); return *this;}
76 private:
77
78 Aws::Utils::DateTime m_creationDateTime{};
79 bool m_creationDateTimeHasBeenSet = false;
80
81 Aws::Utils::DateTime m_readyDateTime{};
82 bool m_readyDateTimeHasBeenSet = false;
83
84 Aws::Utils::DateTime m_endDateTime{};
85 bool m_endDateTimeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace EMR
90} // namespace Aws
ClusterTimeline & WithReadyDateTime(ReadyDateTimeT &&value)
AWS_EMR_API ClusterTimeline(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndDateTime() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_EMR_API ClusterTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API ClusterTimeline()=default
ClusterTimeline & WithCreationDateTime(CreationDateTimeT &&value)
ClusterTimeline & WithEndDateTime(EndDateTimeT &&value)
const Aws::Utils::DateTime & GetReadyDateTime() const
void SetReadyDateTime(ReadyDateTimeT &&value)
void SetEndDateTime(EndDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue