7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/model/LifecycleExecutionResourceState.h>
10#include <aws/imagebuilder/model/LifecycleExecutionResourceAction.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/imagebuilder/model/LifecycleExecutionSnapshotResource.h>
52 template<
typename AccountIdT = Aws::String>
53 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
54 template<
typename AccountIdT = Aws::String>
68 template<
typename ResourceIdT = Aws::String>
69 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
70 template<
typename ResourceIdT = Aws::String>
80 template<
typename StateT = LifecycleExecutionResourceState>
81 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
82 template<
typename StateT = LifecycleExecutionResourceState>
92 template<
typename ActionT = LifecycleExecutionResourceAction>
93 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
94 template<
typename ActionT = LifecycleExecutionResourceAction>
105 template<
typename RegionT = Aws::String>
106 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
107 template<
typename RegionT = Aws::String>
118 template<
typename SnapshotsT = Aws::Vector<LifecycleExecutionSnapshotResource>>
119 void SetSnapshots(SnapshotsT&& value) { m_snapshotsHasBeenSet =
true; m_snapshots = std::forward<SnapshotsT>(value); }
120 template<
typename SnapshotsT = Aws::Vector<LifecycleExecutionSnapshotResource>>
122 template<
typename SnapshotsT = LifecycleExecutionSnapshotResource>
133 template<
typename ImageUrisT = Aws::Vector<Aws::String>>
134 void SetImageUris(ImageUrisT&& value) { m_imageUrisHasBeenSet =
true; m_imageUris = std::forward<ImageUrisT>(value); }
135 template<
typename ImageUrisT = Aws::Vector<Aws::String>>
137 template<
typename ImageUrisT = Aws::String>
148 template<
typename StartTimeT = Aws::Utils::DateTime>
149 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
150 template<
typename StartTimeT = Aws::Utils::DateTime>
161 template<
typename EndTimeT = Aws::Utils::DateTime>
162 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
163 template<
typename EndTimeT = Aws::Utils::DateTime>
169 bool m_accountIdHasBeenSet =
false;
172 bool m_resourceIdHasBeenSet =
false;
175 bool m_stateHasBeenSet =
false;
178 bool m_actionHasBeenSet =
false;
181 bool m_regionHasBeenSet =
false;
184 bool m_snapshotsHasBeenSet =
false;
187 bool m_imageUrisHasBeenSet =
false;
190 bool m_startTimeHasBeenSet =
false;
193 bool m_endTimeHasBeenSet =
false;
const Aws::String & GetResourceId() const
const Aws::Vector< Aws::String > & GetImageUris() const
const LifecycleExecutionResourceState & GetState() const
void SetResourceId(ResourceIdT &&value)
bool AccountIdHasBeenSet() const
bool StateHasBeenSet() const
LifecycleExecutionResource & WithState(StateT &&value)
void SetAction(ActionT &&value)
bool ResourceIdHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ActionHasBeenSet() const
bool EndTimeHasBeenSet() const
AWS_IMAGEBUILDER_API LifecycleExecutionResource()=default
LifecycleExecutionResource & WithEndTime(EndTimeT &&value)
bool SnapshotsHasBeenSet() const
AWS_IMAGEBUILDER_API LifecycleExecutionResource(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(AccountIdT &&value)
const Aws::Utils::DateTime & GetEndTime() const
const LifecycleExecutionResourceAction & GetAction() const
bool RegionHasBeenSet() const
void SetEndTime(EndTimeT &&value)
LifecycleExecutionResource & WithStartTime(StartTimeT &&value)
void SetImageUris(ImageUrisT &&value)
LifecycleExecutionResource & AddImageUris(ImageUrisT &&value)
LifecycleExecutionResource & WithAccountId(AccountIdT &&value)
AWS_IMAGEBUILDER_API LifecycleExecutionResource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
LifecycleExecutionResource & WithAction(ActionT &&value)
void SetState(StateT &&value)
LifecycleExecutionResource & WithImageUris(ImageUrisT &&value)
LifecycleExecutionResource & AddSnapshots(SnapshotsT &&value)
const Aws::String & GetRegion() const
void SetSnapshots(SnapshotsT &&value)
const Aws::Vector< LifecycleExecutionSnapshotResource > & GetSnapshots() const
const Aws::String & GetAccountId() const
void SetRegion(RegionT &&value)
LifecycleExecutionResource & WithResourceId(ResourceIdT &&value)
bool StartTimeHasBeenSet() const
LifecycleExecutionResource & WithSnapshots(SnapshotsT &&value)
bool ImageUrisHasBeenSet() const
LifecycleExecutionResource & WithRegion(RegionT &&value)
void SetStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue