AWS SDK for C++  1.9.156
AWS SDK for C++
StepTimeline.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 StepTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
64 
68  inline StepTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
69 
70 
74  inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; }
75 
79  inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
80 
84  inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
85 
89  inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
90 
94  inline StepTimeline& WithStartDateTime(const Aws::Utils::DateTime& value) { SetStartDateTime(value); return *this;}
95 
99  inline StepTimeline& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(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 StepTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
126 
130  inline StepTimeline& 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_startDateTime;
138  bool m_startDateTimeHasBeenSet;
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::StepTimeline::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: StepTimeline.h:110
Aws::EMR::Model::StepTimeline::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: StepTimeline.h:43
Aws::EMR::Model::StepTimeline::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:120
EMR_EXPORTS.h
DateTime.h
Aws::EMR::Model::StepTimeline::StartDateTimeHasBeenSet
bool StartDateTimeHasBeenSet() const
Definition: StepTimeline.h:79
Aws::EMR::Model::StepTimeline::SetStartDateTime
void SetStartDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:84
Aws::EMR::Model::StepTimeline::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:58
Aws::EMR::Model::StepTimeline
Definition: StepTimeline.h:32
Aws::EMR::Model::StepTimeline::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::StepTimeline::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:115
Aws::EMR::Model::StepTimeline::WithEndDateTime
StepTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:125
Aws::EMR::Model::StepTimeline::SetStartDateTime
void SetStartDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:89
Aws::EMR::Model::StepTimeline::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: StepTimeline.h:105
Aws::EMR::Model::StepTimeline::operator=
StepTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::StepTimeline::GetStartDateTime
const Aws::Utils::DateTime & GetStartDateTime() const
Definition: StepTimeline.h:74
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::EMR::Model::StepTimeline::WithStartDateTime
StepTimeline & WithStartDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:99
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::EMR::Model::StepTimeline::WithEndDateTime
StepTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:130
Aws::EMR::Model::StepTimeline::WithCreationDateTime
StepTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: StepTimeline.h:68
Aws::EMR::Model::StepTimeline::StepTimeline
StepTimeline()
Aws::EMR::Model::StepTimeline::WithCreationDateTime
StepTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:63
Aws::EMR::Model::StepTimeline::StepTimeline
StepTimeline(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::StepTimeline::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: StepTimeline.h:48
Aws::EMR::Model::StepTimeline::WithStartDateTime
StepTimeline & WithStartDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:94
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::EMR::Model::StepTimeline::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: StepTimeline.h:53