7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
10#include <aws/imagebuilder/model/LifecycleExecutionResourcesImpactedSummary.h>
11#include <aws/imagebuilder/model/LifecycleExecutionState.h>
22namespace imagebuilder {
44 template <
typename LifecycleExecutionIdT = Aws::String>
46 m_lifecycleExecutionIdHasBeenSet =
true;
47 m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value);
49 template <
typename LifecycleExecutionIdT = Aws::String>
62 template <
typename LifecyclePolicyArnT = Aws::String>
64 m_lifecyclePolicyArnHasBeenSet =
true;
65 m_lifecyclePolicyArn = std::forward<LifecyclePolicyArnT>(value);
67 template <
typename LifecyclePolicyArnT = Aws::String>
81 template <
typename ResourcesImpactedSummaryT = LifecycleExecutionResourcesImpactedSummary>
83 m_resourcesImpactedSummaryHasBeenSet =
true;
84 m_resourcesImpactedSummary = std::forward<ResourcesImpactedSummaryT>(value);
86 template <
typename ResourcesImpactedSummaryT = LifecycleExecutionResourcesImpactedSummary>
100 template <
typename StateT = LifecycleExecutionState>
102 m_stateHasBeenSet =
true;
103 m_state = std::forward<StateT>(value);
105 template <
typename StateT = LifecycleExecutionState>
107 SetState(std::forward<StateT>(value));
118 template <
typename StartTimeT = Aws::Utils::DateTime>
120 m_startTimeHasBeenSet =
true;
121 m_startTime = std::forward<StartTimeT>(value);
123 template <
typename StartTimeT = Aws::Utils::DateTime>
136 template <
typename EndTimeT = Aws::Utils::DateTime>
138 m_endTimeHasBeenSet =
true;
139 m_endTime = std::forward<EndTimeT>(value);
141 template <
typename EndTimeT = Aws::Utils::DateTime>
159 bool m_lifecycleExecutionIdHasBeenSet =
false;
160 bool m_lifecyclePolicyArnHasBeenSet =
false;
161 bool m_resourcesImpactedSummaryHasBeenSet =
false;
162 bool m_stateHasBeenSet =
false;
163 bool m_startTimeHasBeenSet =
false;
164 bool m_endTimeHasBeenSet =
false;
bool LifecyclePolicyArnHasBeenSet() const
LifecycleExecution & WithResourcesImpactedSummary(ResourcesImpactedSummaryT &&value)
void SetEndTime(EndTimeT &&value)
AWS_IMAGEBUILDER_API LifecycleExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLifecyclePolicyArn(LifecyclePolicyArnT &&value)
const Aws::String & GetLifecycleExecutionId() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool LifecycleExecutionIdHasBeenSet() const
AWS_IMAGEBUILDER_API LifecycleExecution(Aws::Utils::Json::JsonView jsonValue)
LifecycleExecution & WithLifecyclePolicyArn(LifecyclePolicyArnT &&value)
bool ResourcesImpactedSummaryHasBeenSet() const
AWS_IMAGEBUILDER_API LifecycleExecution()=default
const Aws::Utils::DateTime & GetEndTime() const
void SetResourcesImpactedSummary(ResourcesImpactedSummaryT &&value)
void SetState(StateT &&value)
LifecycleExecution & WithEndTime(EndTimeT &&value)
const Aws::String & GetLifecyclePolicyArn() const
LifecycleExecution & WithState(StateT &&value)
const Aws::Utils::DateTime & GetStartTime() const
bool EndTimeHasBeenSet() const
const LifecycleExecutionState & GetState() const
LifecycleExecution & WithStartTime(StartTimeT &&value)
bool StateHasBeenSet() const
void SetLifecycleExecutionId(LifecycleExecutionIdT &&value)
const LifecycleExecutionResourcesImpactedSummary & GetResourcesImpactedSummary() const
LifecycleExecution & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
void SetStartTime(StartTimeT &&value)
bool StartTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue