AWS SDK for C++  1.9.21
AWS SDK for C++
InstanceTimeline.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 InstanceTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
64 
68  inline InstanceTimeline& 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 InstanceTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;}
95 
99  inline InstanceTimeline& 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 InstanceTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
126 
130  inline InstanceTimeline& 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::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::InstanceTimeline::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: InstanceTimeline.h:105
Aws::EMR::Model::InstanceTimeline
Definition: InstanceTimeline.h:32
EMR_EXPORTS.h
Aws::EMR::Model::InstanceTimeline::GetReadyDateTime
const Aws::Utils::DateTime & GetReadyDateTime() const
Definition: InstanceTimeline.h:74
DateTime.h
Aws::EMR::Model::InstanceTimeline::ReadyDateTimeHasBeenSet
bool ReadyDateTimeHasBeenSet() const
Definition: InstanceTimeline.h:79
Aws::EMR::Model::InstanceTimeline::WithReadyDateTime
InstanceTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:99
Aws::EMR::Model::InstanceTimeline::WithCreationDateTime
InstanceTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:68
Aws::EMR::Model::InstanceTimeline::SetReadyDateTime
void SetReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:84
Aws::EMR::Model::InstanceTimeline::WithEndDateTime
InstanceTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:125
Aws::EMR::Model::InstanceTimeline::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:58
Aws::EMR::Model::InstanceTimeline::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: InstanceTimeline.h:110
Aws::EMR::Model::InstanceTimeline::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: InstanceTimeline.h:43
Aws::EMR::Model::InstanceTimeline::WithReadyDateTime
InstanceTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:94
Aws::EMR::Model::InstanceTimeline::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:120
Aws::EMR::Model::InstanceTimeline::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::EMR::Model::InstanceTimeline::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::InstanceTimeline::WithCreationDateTime
InstanceTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:63
Aws::EMR::Model::InstanceTimeline::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: InstanceTimeline.h:48
Aws::EMR::Model::InstanceTimeline::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: InstanceTimeline.h:53
Aws::EMR::Model::InstanceTimeline::SetReadyDateTime
void SetReadyDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::InstanceTimeline::operator=
InstanceTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::InstanceTimeline::InstanceTimeline
InstanceTimeline()
Aws::EMR::Model::InstanceTimeline::WithEndDateTime
InstanceTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: InstanceTimeline.h:130
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::InstanceTimeline::InstanceTimeline
InstanceTimeline(Aws::Utils::Json::JsonView jsonValue)