AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
StepTimeline.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EMR
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_EMR_API StepTimeline() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
45 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
46 template<typename CreationDateTimeT = Aws::Utils::DateTime>
47 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
48 template<typename CreationDateTimeT = Aws::Utils::DateTime>
49 StepTimeline& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetStartDateTime() const { return m_startDateTime; }
57 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
58 template<typename StartDateTimeT = Aws::Utils::DateTime>
59 void SetStartDateTime(StartDateTimeT&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::forward<StartDateTimeT>(value); }
60 template<typename StartDateTimeT = Aws::Utils::DateTime>
61 StepTimeline& WithStartDateTime(StartDateTimeT&& value) { SetStartDateTime(std::forward<StartDateTimeT>(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
69 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
70 template<typename EndDateTimeT = Aws::Utils::DateTime>
71 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::forward<EndDateTimeT>(value); }
72 template<typename EndDateTimeT = Aws::Utils::DateTime>
73 StepTimeline& WithEndDateTime(EndDateTimeT&& value) { SetEndDateTime(std::forward<EndDateTimeT>(value)); return *this;}
75 private:
76
77 Aws::Utils::DateTime m_creationDateTime{};
78 bool m_creationDateTimeHasBeenSet = false;
79
80 Aws::Utils::DateTime m_startDateTime{};
81 bool m_startDateTimeHasBeenSet = false;
82
83 Aws::Utils::DateTime m_endDateTime{};
84 bool m_endDateTimeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace EMR
89} // namespace Aws
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API StepTimeline()=default
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_EMR_API StepTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
StepTimeline & WithEndDateTime(EndDateTimeT &&value)
StepTimeline & WithStartDateTime(StartDateTimeT &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
void SetStartDateTime(StartDateTimeT &&value)
const Aws::Utils::DateTime & GetStartDateTime() const
AWS_EMR_API StepTimeline(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateTimeHasBeenSet() const
StepTimeline & WithCreationDateTime(CreationDateTimeT &&value)
void SetEndDateTime(EndDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
Aws::Utils::Json::JsonValue JsonValue