AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InstanceTimeline.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
32 {
33 public:
34 AWS_EMR_API InstanceTimeline() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
45 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
46 template<typename CreationDateTimeT = Aws::Utils::DateTime>
47 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
48 template<typename CreationDateTimeT = Aws::Utils::DateTime>
49 InstanceTimeline& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetReadyDateTime() const { return m_readyDateTime; }
57 inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
58 template<typename ReadyDateTimeT = Aws::Utils::DateTime>
59 void SetReadyDateTime(ReadyDateTimeT&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::forward<ReadyDateTimeT>(value); }
60 template<typename ReadyDateTimeT = Aws::Utils::DateTime>
61 InstanceTimeline& WithReadyDateTime(ReadyDateTimeT&& value) { SetReadyDateTime(std::forward<ReadyDateTimeT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
69 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
70 template<typename EndDateTimeT = Aws::Utils::DateTime>
71 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::forward<EndDateTimeT>(value); }
72 template<typename EndDateTimeT = Aws::Utils::DateTime>
73 InstanceTimeline& WithEndDateTime(EndDateTimeT&& value) { SetEndDateTime(std::forward<EndDateTimeT>(value)); return *this;}
75 private:
76
77 Aws::Utils::DateTime m_creationDateTime{};
78 bool m_creationDateTimeHasBeenSet = false;
79
80 Aws::Utils::DateTime m_readyDateTime{};
81 bool m_readyDateTimeHasBeenSet = false;
82
83 Aws::Utils::DateTime m_endDateTime{};
84 bool m_endDateTimeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace EMR
89} // namespace Aws
const Aws::Utils::DateTime & GetEndDateTime() const
AWS_EMR_API InstanceTimeline()=default
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceTimeline & WithCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API InstanceTimeline(Aws::Utils::Json::JsonView jsonValue)
void SetReadyDateTime(ReadyDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
InstanceTimeline & WithReadyDateTime(ReadyDateTimeT &&value)
InstanceTimeline & WithEndDateTime(EndDateTimeT &&value)
const Aws::Utils::DateTime & GetReadyDateTime() const
void SetEndDateTime(EndDateTimeT &&value)
AWS_EMR_API InstanceTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue