AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
42
43
45
48 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
49 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
50 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
51 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
53 inline InstanceFleetTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(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 inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
63 inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
65 inline InstanceFleetTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(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 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
75 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
76 inline InstanceFleetTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
77 inline InstanceFleetTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(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 & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
InstanceFleetTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetReadyDateTime(const Aws::Utils::DateTime &value)
void SetReadyDateTime(Aws::Utils::DateTime &&value)
InstanceFleetTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API InstanceFleetTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API InstanceFleetTimeline(Aws::Utils::Json::JsonView jsonValue)
InstanceFleetTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
InstanceFleetTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceFleetTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetReadyDateTime() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetEndDateTime(Aws::Utils::DateTime &&value)
Aws::Utils::Json::JsonValue JsonValue