7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/FastLaunchResourceType.h>
11#include <aws/ec2/model/FastLaunchSnapshotConfigurationResponse.h>
12#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationResponse.h>
13#include <aws/ec2/model/FastLaunchStateCode.h>
14#include <aws/core/utils/DateTime.h>
56 template<
typename ImageIdT = Aws::String>
57 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
58 template<
typename ImageIdT = Aws::String>
80 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
81 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet =
true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
82 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
93 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
94 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
95 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
116 template<
typename OwnerIdT = Aws::String>
117 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
118 template<
typename OwnerIdT = Aws::String>
139 template<
typename StateTransitionReasonT = Aws::String>
140 void SetStateTransitionReason(StateTransitionReasonT&& value) { m_stateTransitionReasonHasBeenSet =
true; m_stateTransitionReason = std::forward<StateTransitionReasonT>(value); }
141 template<
typename StateTransitionReasonT = Aws::String>
152 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
153 void SetStateTransitionTime(StateTransitionTimeT&& value) { m_stateTransitionTimeHasBeenSet =
true; m_stateTransitionTime = std::forward<StateTransitionTimeT>(value); }
154 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
160 bool m_imageIdHasBeenSet =
false;
163 bool m_resourceTypeHasBeenSet =
false;
165 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
166 bool m_snapshotConfigurationHasBeenSet =
false;
168 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
169 bool m_launchTemplateHasBeenSet =
false;
171 int m_maxParallelLaunches{0};
172 bool m_maxParallelLaunchesHasBeenSet =
false;
175 bool m_ownerIdHasBeenSet =
false;
178 bool m_stateHasBeenSet =
false;
181 bool m_stateTransitionReasonHasBeenSet =
false;
184 bool m_stateTransitionTimeHasBeenSet =
false;
const FastLaunchSnapshotConfigurationResponse & GetSnapshotConfiguration() const
void SetState(FastLaunchStateCode value)
DescribeFastLaunchImagesSuccessItem & WithOwnerId(OwnerIdT &&value)
FastLaunchResourceType GetResourceType() const
bool MaxParallelLaunchesHasBeenSet() const
DescribeFastLaunchImagesSuccessItem & WithStateTransitionTime(StateTransitionTimeT &&value)
void SetStateTransitionReason(StateTransitionReasonT &&value)
bool ImageIdHasBeenSet() const
void SetSnapshotConfiguration(SnapshotConfigurationT &&value)
const Aws::String & GetOwnerId() const
DescribeFastLaunchImagesSuccessItem & WithState(FastLaunchStateCode value)
bool ResourceTypeHasBeenSet() const
const Aws::Utils::DateTime & GetStateTransitionTime() const
const Aws::String & GetStateTransitionReason() const
DescribeFastLaunchImagesSuccessItem & WithStateTransitionReason(StateTransitionReasonT &&value)
const Aws::String & GetImageId() const
void SetStateTransitionTime(StateTransitionTimeT &&value)
void SetResourceType(FastLaunchResourceType value)
DescribeFastLaunchImagesSuccessItem & WithResourceType(FastLaunchResourceType value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DescribeFastLaunchImagesSuccessItem & WithImageId(ImageIdT &&value)
void SetMaxParallelLaunches(int value)
void SetOwnerId(OwnerIdT &&value)
bool LaunchTemplateHasBeenSet() const
bool StateTransitionTimeHasBeenSet() const
bool StateHasBeenSet() const
void SetLaunchTemplate(LaunchTemplateT &&value)
AWS_EC2_API DescribeFastLaunchImagesSuccessItem(const Aws::Utils::Xml::XmlNode &xmlNode)
FastLaunchStateCode GetState() const
bool SnapshotConfigurationHasBeenSet() const
void SetImageId(ImageIdT &&value)
DescribeFastLaunchImagesSuccessItem & WithLaunchTemplate(LaunchTemplateT &&value)
int GetMaxParallelLaunches() const
const FastLaunchLaunchTemplateSpecificationResponse & GetLaunchTemplate() const
AWS_EC2_API DescribeFastLaunchImagesSuccessItem()=default
AWS_EC2_API DescribeFastLaunchImagesSuccessItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StateTransitionReasonHasBeenSet() const
bool OwnerIdHasBeenSet() const
DescribeFastLaunchImagesSuccessItem & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DescribeFastLaunchImagesSuccessItem & WithMaxParallelLaunches(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream