AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InstanceFleetTimeline.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
36 {
37 public:
38 AWS_EMR_API InstanceFleetTimeline() = default;
42
43
45
48 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
49 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
50 template<typename CreationDateTimeT = Aws::Utils::DateTime>
51 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
52 template<typename CreationDateTimeT = Aws::Utils::DateTime>
53 InstanceFleetTimeline& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
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) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::forward<ReadyDateTimeT>(value); }
64 template<typename ReadyDateTimeT = Aws::Utils::DateTime>
65 InstanceFleetTimeline& WithReadyDateTime(ReadyDateTimeT&& value) { SetReadyDateTime(std::forward<ReadyDateTimeT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
73 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
74 template<typename EndDateTimeT = Aws::Utils::DateTime>
75 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::forward<EndDateTimeT>(value); }
76 template<typename EndDateTimeT = Aws::Utils::DateTime>
77 InstanceFleetTimeline& WithEndDateTime(EndDateTimeT&& value) { SetEndDateTime(std::forward<EndDateTimeT>(value)); return *this;}
79 private:
80
81 Aws::Utils::DateTime m_creationDateTime{};
82 bool m_creationDateTimeHasBeenSet = false;
83
84 Aws::Utils::DateTime m_readyDateTime{};
85 bool m_readyDateTimeHasBeenSet = false;
86
87 Aws::Utils::DateTime m_endDateTime{};
88 bool m_endDateTimeHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace EMR
93} // 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