AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceGroupTimeline.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 InstanceGroupTimeline();
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); }
49 inline InstanceGroupTimeline& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetReadyDateTime() const{ return m_readyDateTime; }
57 inline bool ReadyDateTimeHasBeenSet() const { return m_readyDateTimeHasBeenSet; }
58 inline void SetReadyDateTime(const Aws::Utils::DateTime& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = value; }
59 inline void SetReadyDateTime(Aws::Utils::DateTime&& value) { m_readyDateTimeHasBeenSet = true; m_readyDateTime = std::move(value); }
61 inline InstanceGroupTimeline& WithReadyDateTime(Aws::Utils::DateTime&& value) { SetReadyDateTime(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 InstanceGroupTimeline& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
73 inline InstanceGroupTimeline& 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_readyDateTime;
81 bool m_readyDateTimeHasBeenSet = 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 InstanceGroupTimeline & operator=(Aws::Utils::Json::JsonView jsonValue)
InstanceGroupTimeline & WithEndDateTime(const Aws::Utils::DateTime &value)
InstanceGroupTimeline & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetReadyDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetReadyDateTime(const Aws::Utils::DateTime &value)
AWS_EMR_API InstanceGroupTimeline(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
InstanceGroupTimeline & WithReadyDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
InstanceGroupTimeline & WithEndDateTime(Aws::Utils::DateTime &&value)
InstanceGroupTimeline & WithReadyDateTime(const Aws::Utils::DateTime &value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetReadyDateTime() const
void SetEndDateTime(Aws::Utils::DateTime &&value)
InstanceGroupTimeline & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue