AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39
40
42
45 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
46 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
47 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
48 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
50 inline ClusterTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(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 inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
60 inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
61 inline ClusterTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;}
62 inline ClusterTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(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 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
72 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
73 inline ClusterTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
74 inline ClusterTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(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
void SetEndDateTime(Aws::Utils::DateTime &&value)
ClusterTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
void SetReadyDateTime(Aws::Utils::DateTime &&value)
AWS_EMR_API ClusterTimeline(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndDateTime() const
ClusterTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_EMR_API ClusterTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
void SetReadyDateTime(const Aws::Utils::DateTime &value)
ClusterTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
ClusterTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetReadyDateTime() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue