AWS SDK for C++  1.9.104
AWS SDK for C++
InstanceGroupTimeline.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 
32  {
33  public:
38 
39 
43  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
44 
48  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
49 
53  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
54 
58  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
59 
63  inline InstanceGroupTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
64 
68  inline InstanceGroupTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
69 
70 
74  inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; }
75 
79  inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
80 
84  inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
85 
89  inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
90 
94  inline InstanceGroupTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;}
95 
99  inline InstanceGroupTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(value)); return *this;}
100 
101 
105  inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
106 
110  inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
111 
115  inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
116 
120  inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
121 
125  inline InstanceGroupTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
126 
130  inline InstanceGroupTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::Utils::DateTime m_creationDateTime;
135  bool m_creationDateTimeHasBeenSet;
136 
137  Aws::Utils::DateTime m_readyDateTime;
138  bool m_readyDateTimeHasBeenSet;
139 
140  Aws::Utils::DateTime m_endDateTime;
141  bool m_endDateTimeHasBeenSet;
142  };
143 
144 } // namespace Model
145 } // namespace EMR
146 } // namespace Aws
Aws::EMR::Model::InstanceGroupTimeline::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: InstanceGroupTimeline.h:105
Aws::EMR::Model::InstanceGroupTimeline::InstanceGroupTimeline
InstanceGroupTimeline(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::InstanceGroupTimeline::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:58
EMR_EXPORTS.h
Aws::EMR::Model::InstanceGroupTimeline::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:53
DateTime.h
Aws::EMR::Model::InstanceGroupTimeline
Definition: InstanceGroupTimeline.h:32
Aws::EMR::Model::InstanceGroupTimeline::SetReadyDateTime
void SetReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:89
Aws::EMR::Model::InstanceGroupTimeline::WithCreationDateTime
InstanceGroupTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:68
Aws::EMR::Model::InstanceGroupTimeline::InstanceGroupTimeline
InstanceGroupTimeline()
Aws::EMR::Model::InstanceGroupTimeline::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: InstanceGroupTimeline.h:43
Aws::EMR::Model::InstanceGroupTimeline::WithEndDateTime
InstanceGroupTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:130
Aws::EMR::Model::InstanceGroupTimeline::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::InstanceGroupTimeline::operator=
InstanceGroupTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::InstanceGroupTimeline::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: InstanceGroupTimeline.h:110
Aws::EMR::Model::InstanceGroupTimeline::SetReadyDateTime
void SetReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:84
Aws::EMR::Model::InstanceGroupTimeline::WithReadyDateTime
InstanceGroupTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:99
Aws::EMR::Model::InstanceGroupTimeline::WithReadyDateTime
InstanceGroupTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:94
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::InstanceGroupTimeline::ReadyDateTimeHasBeenSet
bool ReadyDateTimeHasBeenSet() const
Definition: InstanceGroupTimeline.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::EMR::Model::InstanceGroupTimeline::WithEndDateTime
InstanceGroupTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:125
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::EMR::Model::InstanceGroupTimeline::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceGroupTimeline.h:120
Aws::EMR::Model::InstanceGroupTimeline::WithCreationDateTime
InstanceGroupTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:63
Aws::EMR::Model::InstanceGroupTimeline::GetReadyDateTime
const Aws::Utils::DateTime & GetReadyDateTime() const
Definition: InstanceGroupTimeline.h:74
Aws::EMR::Model::InstanceGroupTimeline::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceGroupTimeline.h:115
Aws
Definition: AccessManagementClient.h:15
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::InstanceGroupTimeline::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: InstanceGroupTimeline.h:48