AWS SDK for C++  1.9.21
AWS SDK for C++
InstanceFleetTimeline.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace EMR
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
47  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
48 
52  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
53 
57  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
58 
62  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
63 
67  inline InstanceFleetTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
68 
72  inline InstanceFleetTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
73 
74 
78  inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; }
79 
83  inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
84 
88  inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
89 
93  inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
94 
98  inline InstanceFleetTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;}
99 
103  inline InstanceFleetTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(value)); return *this;}
104 
105 
109  inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
110 
114  inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
115 
119  inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
120 
124  inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
125 
129  inline InstanceFleetTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
130 
134  inline InstanceFleetTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
135 
136  private:
137 
138  Aws::Utils::DateTime m_creationDateTime;
139  bool m_creationDateTimeHasBeenSet;
140 
141  Aws::Utils::DateTime m_readyDateTime;
142  bool m_readyDateTimeHasBeenSet;
143 
144  Aws::Utils::DateTime m_endDateTime;
145  bool m_endDateTimeHasBeenSet;
146  };
147 
148 } // namespace Model
149 } // namespace EMR
150 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::InstanceFleetTimeline::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:62
Aws::EMR::Model::InstanceFleetTimeline::InstanceFleetTimeline
InstanceFleetTimeline()
Aws::EMR::Model::InstanceFleetTimeline::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: InstanceFleetTimeline.h:47
Aws::EMR::Model::InstanceFleetTimeline::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: InstanceFleetTimeline.h:109
EMR_EXPORTS.h
Aws::EMR::Model::InstanceFleetTimeline
Definition: InstanceFleetTimeline.h:36
Aws::EMR::Model::InstanceFleetTimeline::SetReadyDateTime
void SetReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:93
DateTime.h
Aws::EMR::Model::InstanceFleetTimeline::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:119
Aws::EMR::Model::InstanceFleetTimeline::operator=
InstanceFleetTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::InstanceFleetTimeline::WithCreationDateTime
InstanceFleetTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:67
Aws::EMR::Model::InstanceFleetTimeline::WithEndDateTime
InstanceFleetTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:129
Aws::EMR::Model::InstanceFleetTimeline::WithReadyDateTime
InstanceFleetTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:98
Aws::EMR::Model::InstanceFleetTimeline::ReadyDateTimeHasBeenSet
bool ReadyDateTimeHasBeenSet() const
Definition: InstanceFleetTimeline.h:83
Aws::EMR::Model::InstanceFleetTimeline::WithCreationDateTime
InstanceFleetTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:72
Aws::EMR::Model::InstanceFleetTimeline::SetReadyDateTime
void SetReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:88
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::InstanceFleetTimeline::GetReadyDateTime
const Aws::Utils::DateTime & GetReadyDateTime() const
Definition: InstanceFleetTimeline.h:78
Aws::EMR::Model::InstanceFleetTimeline::WithEndDateTime
InstanceFleetTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:134
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::InstanceFleetTimeline::WithReadyDateTime
InstanceFleetTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:103
Aws::EMR::Model::InstanceFleetTimeline::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::InstanceFleetTimeline::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceFleetTimeline.h:57
Aws::EMR::Model::InstanceFleetTimeline::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: InstanceFleetTimeline.h:52
Aws::EMR::Model::InstanceFleetTimeline::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceFleetTimeline.h:124
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::InstanceFleetTimeline::InstanceFleetTimeline
InstanceFleetTimeline(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::InstanceFleetTimeline::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: InstanceFleetTimeline.h:114