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>
54 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
72 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
111 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
176 bool m_accountIdHasBeenSet =
false;
179 bool m_resourceIdHasBeenSet =
false;
182 bool m_stateHasBeenSet =
false;
185 bool m_actionHasBeenSet =
false;
188 bool m_regionHasBeenSet =
false;
191 bool m_snapshotsHasBeenSet =
false;
194 bool m_imageUrisHasBeenSet =
false;
197 bool m_startTimeHasBeenSet =
false;
200 bool m_endTimeHasBeenSet =
false;
const Aws::String & GetResourceId() const
const Aws::Vector< Aws::String > & GetImageUris() const
LifecycleExecutionResource & WithRegion(const char *value)
const LifecycleExecutionResourceState & GetState() const
LifecycleExecutionResource & WithAction(const LifecycleExecutionResourceAction &value)
LifecycleExecutionResource & WithAccountId(Aws::String &&value)
void SetAction(LifecycleExecutionResourceAction &&value)
LifecycleExecutionResource & WithImageUris(Aws::Vector< Aws::String > &&value)
LifecycleExecutionResource & WithAccountId(const Aws::String &value)
LifecycleExecutionResource & WithEndTime(Aws::Utils::DateTime &&value)
LifecycleExecutionResource & WithRegion(Aws::String &&value)
void SetAccountId(const Aws::String &value)
LifecycleExecutionResource & WithImageUris(const Aws::Vector< Aws::String > &value)
bool AccountIdHasBeenSet() const
bool StateHasBeenSet() const
LifecycleExecutionResource & WithRegion(const Aws::String &value)
bool ResourceIdHasBeenSet() const
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(const LifecycleExecutionResourceState &value)
LifecycleExecutionResource & AddImageUris(const Aws::String &value)
bool ActionHasBeenSet() const
bool EndTimeHasBeenSet() const
void SetState(LifecycleExecutionResourceState &&value)
void SetRegion(Aws::String &&value)
bool SnapshotsHasBeenSet() const
AWS_IMAGEBUILDER_API LifecycleExecutionResource(Aws::Utils::Json::JsonView jsonValue)
void SetRegion(const char *value)
AWS_IMAGEBUILDER_API LifecycleExecutionResource()
void SetSnapshots(const Aws::Vector< LifecycleExecutionSnapshotResource > &value)
LifecycleExecutionResource & WithResourceId(Aws::String &&value)
LifecycleExecutionResource & WithAction(LifecycleExecutionResourceAction &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
void SetAccountId(const char *value)
const LifecycleExecutionResourceAction & GetAction() const
bool RegionHasBeenSet() const
LifecycleExecutionResource & WithState(const LifecycleExecutionResourceState &value)
LifecycleExecutionResource & AddImageUris(const char *value)
void SetSnapshots(Aws::Vector< LifecycleExecutionSnapshotResource > &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetImageUris(const Aws::Vector< Aws::String > &value)
void SetRegion(const Aws::String &value)
AWS_IMAGEBUILDER_API LifecycleExecutionResource & operator=(Aws::Utils::Json::JsonView jsonValue)
LifecycleExecutionResource & WithStartTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartTime() const
LifecycleExecutionResource & WithSnapshots(const Aws::Vector< LifecycleExecutionSnapshotResource > &value)
LifecycleExecutionResource & AddSnapshots(LifecycleExecutionSnapshotResource &&value)
void SetResourceId(const char *value)
void SetResourceId(const Aws::String &value)
LifecycleExecutionResource & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetRegion() const
void SetAccountId(Aws::String &&value)
const Aws::Vector< LifecycleExecutionSnapshotResource > & GetSnapshots() const
LifecycleExecutionResource & WithResourceId(const Aws::String &value)
const Aws::String & GetAccountId() const
LifecycleExecutionResource & WithState(LifecycleExecutionResourceState &&value)
LifecycleExecutionResource & WithEndTime(const Aws::Utils::DateTime &value)
LifecycleExecutionResource & WithSnapshots(Aws::Vector< LifecycleExecutionSnapshotResource > &&value)
bool StartTimeHasBeenSet() const
void SetImageUris(Aws::Vector< Aws::String > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
LifecycleExecutionResource & AddSnapshots(const LifecycleExecutionSnapshotResource &value)
bool ImageUrisHasBeenSet() const
LifecycleExecutionResource & AddImageUris(Aws::String &&value)
LifecycleExecutionResource & WithResourceId(const char *value)
LifecycleExecutionResource & WithAccountId(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetResourceId(Aws::String &&value)
void SetAction(const LifecycleExecutionResourceAction &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