AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InstanceFleetTimeline.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/elasticmapreduce/EMR_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMR {
20namespace Model {
21
32 public:
33 AWS_EMR_API InstanceFleetTimeline() = default;
37
39
42 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
43 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
44 template <typename CreationDateTimeT = Aws::Utils::DateTime>
45 void SetCreationDateTime(CreationDateTimeT&& value) {
46 m_creationDateTimeHasBeenSet = true;
47 m_creationDateTime = std::forward<CreationDateTimeT>(value);
48 }
49 template <typename CreationDateTimeT = Aws::Utils::DateTime>
50 InstanceFleetTimeline& WithCreationDateTime(CreationDateTimeT&& value) {
51 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Utils::DateTime& GetReadyDateTime() const { return m_readyDateTime; }
61 inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
62 template <typename ReadyDateTimeT = Aws::Utils::DateTime>
63 void SetReadyDateTime(ReadyDateTimeT&& value) {
64 m_readyDateTimeHasBeenSet = true;
65 m_readyDateTime = std::forward<ReadyDateTimeT>(value);
66 }
67 template <typename ReadyDateTimeT = Aws::Utils::DateTime>
68 InstanceFleetTimeline& WithReadyDateTime(ReadyDateTimeT&& value) {
69 SetReadyDateTime(std::forward<ReadyDateTimeT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
79 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
80 template <typename EndDateTimeT = Aws::Utils::DateTime>
81 void SetEndDateTime(EndDateTimeT&& value) {
82 m_endDateTimeHasBeenSet = true;
83 m_endDateTime = std::forward<EndDateTimeT>(value);
84 }
85 template <typename EndDateTimeT = Aws::Utils::DateTime>
86 InstanceFleetTimeline& WithEndDateTime(EndDateTimeT&& value) {
87 SetEndDateTime(std::forward<EndDateTimeT>(value));
88 return *this;
89 }
91 private:
92 Aws::Utils::DateTime m_creationDateTime{};
93
94 Aws::Utils::DateTime m_readyDateTime{};
95
96 Aws::Utils::DateTime m_endDateTime{};
97 bool m_creationDateTimeHasBeenSet = false;
98 bool m_readyDateTimeHasBeenSet = false;
99 bool m_endDateTimeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace EMR
104} // namespace Aws
const Aws::Utils::DateTime & GetEndDateTime() const
InstanceFleetTimeline & WithReadyDateTime(ReadyDateTimeT &&value)
AWS_EMR_API InstanceFleetTimeline()=default
AWS_EMR_API InstanceFleetTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReadyDateTime(ReadyDateTimeT &&value)
AWS_EMR_API InstanceFleetTimeline(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetReadyDateTime() const
InstanceFleetTimeline & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
InstanceFleetTimeline & WithEndDateTime(EndDateTimeT &&value)
Aws::Utils::Json::JsonValue JsonValue