AWS SDK for C++  1.8.126
AWS SDK for C++
ClusterTimeline.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 
33  {
34  public:
39 
40 
44  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
45 
49  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
50 
54  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
55 
59  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
60 
64  inline ClusterTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
65 
69  inline ClusterTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
70 
71 
75  inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; }
76 
80  inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
81 
85  inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
86 
90  inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
91 
95  inline ClusterTimeline& WithReadyDateTime(const Aws::Utils::DateTime& value) { SetReadyDateTime(value); return *this;}
96 
100  inline ClusterTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(std::move(value)); return *this;}
101 
102 
106  inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
107 
111  inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
112 
116  inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
117 
121  inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
122 
126  inline ClusterTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
127 
131  inline ClusterTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::Utils::DateTime m_creationDateTime;
136  bool m_creationDateTimeHasBeenSet;
137 
138  Aws::Utils::DateTime m_readyDateTime;
139  bool m_readyDateTimeHasBeenSet;
140 
141  Aws::Utils::DateTime m_endDateTime;
142  bool m_endDateTimeHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace EMR
147 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EMR::Model::ClusterTimeline::SetEndDateTime
void SetEndDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:121
Aws::EMR::Model::ClusterTimeline::WithCreationDateTime
ClusterTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:64
Aws::EMR::Model::ClusterTimeline::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:59
Aws::EMR::Model::ClusterTimeline::WithReadyDateTime
ClusterTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:100
Aws::EMR::Model::ClusterTimeline::GetReadyDateTime
const Aws::Utils::DateTime & GetReadyDateTime() const
Definition: ClusterTimeline.h:75
EMR_EXPORTS.h
Aws::EMR::Model::ClusterTimeline::GetEndDateTime
const Aws::Utils::DateTime & GetEndDateTime() const
Definition: ClusterTimeline.h:106
DateTime.h
Aws::EMR::Model::ClusterTimeline::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::ClusterTimeline::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:54
Aws::EMR::Model::ClusterTimeline::operator=
ClusterTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ClusterTimeline
Definition: ClusterTimeline.h:33
Aws::EMR::Model::ClusterTimeline::ClusterTimeline
ClusterTimeline(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::ClusterTimeline::WithEndDateTime
ClusterTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:131
Aws::EMR::Model::ClusterTimeline::SetReadyDateTime
void SetReadyDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:85
Aws::EMR::Model::ClusterTimeline::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: ClusterTimeline.h:44
Aws::EMR::Model::ClusterTimeline::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: ClusterTimeline.h:49
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::ClusterTimeline::SetReadyDateTime
void SetReadyDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:90
Aws::EMR::Model::ClusterTimeline::WithEndDateTime
ClusterTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::ClusterTimeline::SetEndDateTime
void SetEndDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:116
Aws::EMR::Model::ClusterTimeline::WithCreationDateTime
ClusterTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: ClusterTimeline.h:69
Aws::EMR::Model::ClusterTimeline::ReadyDateTimeHasBeenSet
bool ReadyDateTimeHasBeenSet() const
Definition: ClusterTimeline.h:80
Aws::EMR::Model::ClusterTimeline::EndDateTimeHasBeenSet
bool EndDateTimeHasBeenSet() const
Definition: ClusterTimeline.h:111
Aws::EMR::Model::ClusterTimeline::ClusterTimeline
ClusterTimeline()
Aws::EMR::Model::ClusterTimeline::WithReadyDateTime
ClusterTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
Definition: ClusterTimeline.h:95
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28