7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/codedeploy/model/Diagnostics.h>
9#include <aws/codedeploy/model/LifecycleEventStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
45 template <
typename LifecycleEventNameT = Aws::String>
47 m_lifecycleEventNameHasBeenSet =
true;
48 m_lifecycleEventName = std::forward<LifecycleEventNameT>(value);
50 template <
typename LifecycleEventNameT = Aws::String>
63 template <
typename DiagnosticsT = Diagnostics>
65 m_diagnosticsHasBeenSet =
true;
66 m_diagnostics = std::forward<DiagnosticsT>(value);
68 template <
typename DiagnosticsT = Diagnostics>
81 template <
typename StartTimeT = Aws::Utils::DateTime>
83 m_startTimeHasBeenSet =
true;
84 m_startTime = std::forward<StartTimeT>(value);
86 template <
typename StartTimeT = Aws::Utils::DateTime>
99 template <
typename EndTimeT = Aws::Utils::DateTime>
101 m_endTimeHasBeenSet =
true;
102 m_endTime = std::forward<EndTimeT>(value);
104 template <
typename EndTimeT = Aws::Utils::DateTime>
124 m_statusHasBeenSet =
true;
142 bool m_lifecycleEventNameHasBeenSet =
false;
143 bool m_diagnosticsHasBeenSet =
false;
144 bool m_startTimeHasBeenSet =
false;
145 bool m_endTimeHasBeenSet =
false;
146 bool m_statusHasBeenSet =
false;
bool LifecycleEventNameHasBeenSet() const
bool EndTimeHasBeenSet() const
LifecycleEvent & WithDiagnostics(DiagnosticsT &&value)
const Diagnostics & GetDiagnostics() const
void SetLifecycleEventName(LifecycleEventNameT &&value)
void SetStartTime(StartTimeT &&value)
AWS_CODEDEPLOY_API LifecycleEvent(Aws::Utils::Json::JsonView jsonValue)
LifecycleEventStatus GetStatus() const
const Aws::Utils::DateTime & GetEndTime() const
LifecycleEvent & WithStatus(LifecycleEventStatus value)
void SetDiagnostics(DiagnosticsT &&value)
bool DiagnosticsHasBeenSet() const
void SetEndTime(EndTimeT &&value)
AWS_CODEDEPLOY_API LifecycleEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecycleEvent & WithEndTime(EndTimeT &&value)
bool StartTimeHasBeenSet() const
void SetStatus(LifecycleEventStatus value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetLifecycleEventName() const
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
LifecycleEvent & WithStartTime(StartTimeT &&value)
AWS_CODEDEPLOY_API LifecycleEvent()=default
LifecycleEvent & WithLifecycleEventName(LifecycleEventNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue