AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
45 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
46 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
47 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
48 inline StepTimeline& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
49 inline StepTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(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 inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
59 inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
60 inline StepTimeline& WithStartDateTime(const Aws::Utils::DateTime& value) { SetStartDateTime(value); return *this;}
61 inline StepTimeline& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(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 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
71 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
72 inline StepTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
73 inline StepTimeline& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(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
void SetEndDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API StepTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartDateTime(const Aws::Utils::DateTime &value)
StepTimeline & WithStartDateTime(const Aws::Utils::DateTime &value)
StepTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetEndDateTime(Aws::Utils::DateTime &&value)
StepTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
StepTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
const Aws::Utils::DateTime & GetStartDateTime() const
StepTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API StepTimeline(Aws::Utils::Json::JsonView jsonValue)
StepTimeline & WithStartDateTime(Aws::Utils::DateTime &&value)
bool CreationDateTimeHasBeenSet() const
void SetStartDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
Aws::Utils::Json::JsonValue JsonValue