7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationResponse.h>
11#include <aws/ec2/model/FastLaunchResourceType.h>
12#include <aws/ec2/model/FastLaunchSnapshotConfigurationResponse.h>
13#include <aws/ec2/model/FastLaunchStateCode.h>
14#include <aws/ec2/model/ResponseMetadata.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
41 template <
typename ImageIdT = Aws::String>
43 m_imageIdHasBeenSet =
true;
44 m_imageId = std::forward<ImageIdT>(value);
46 template <
typename ImageIdT = Aws::String>
60 m_resourceTypeHasBeenSet =
true;
61 m_resourceType = value;
76 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
78 m_snapshotConfigurationHasBeenSet =
true;
79 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
81 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
94 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
96 m_launchTemplateHasBeenSet =
true;
97 m_launchTemplate = std::forward<LaunchTemplateT>(value);
99 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
113 m_maxParallelLaunchesHasBeenSet =
true;
114 m_maxParallelLaunches = value;
127 template <
typename OwnerIdT = Aws::String>
129 m_ownerIdHasBeenSet =
true;
130 m_ownerId = std::forward<OwnerIdT>(value);
132 template <
typename OwnerIdT = Aws::String>
145 m_stateHasBeenSet =
true;
159 template <
typename StateTransitionReasonT = Aws::String>
161 m_stateTransitionReasonHasBeenSet =
true;
162 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
164 template <
typename StateTransitionReasonT = Aws::String>
176 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
178 m_stateTransitionTimeHasBeenSet =
true;
179 m_stateTransitionTime = std::forward<StateTransitionTimeT>(value);
181 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
191 template <
typename ResponseMetadataT = ResponseMetadata>
193 m_responseMetadataHasBeenSet =
true;
194 m_responseMetadata = std::forward<ResponseMetadataT>(value);
196 template <
typename ResponseMetadataT = ResponseMetadata>
207 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
209 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
211 int m_maxParallelLaunches{0};
221 ResponseMetadata m_responseMetadata;
222 bool m_imageIdHasBeenSet =
false;
223 bool m_resourceTypeHasBeenSet =
false;
224 bool m_snapshotConfigurationHasBeenSet =
false;
225 bool m_launchTemplateHasBeenSet =
false;
226 bool m_maxParallelLaunchesHasBeenSet =
false;
227 bool m_ownerIdHasBeenSet =
false;
228 bool m_stateHasBeenSet =
false;
229 bool m_stateTransitionReasonHasBeenSet =
false;
230 bool m_stateTransitionTimeHasBeenSet =
false;
231 bool m_responseMetadataHasBeenSet =
false;
int GetMaxParallelLaunches() const
void SetResourceType(FastLaunchResourceType value)
const Aws::String & GetOwnerId() const
const FastLaunchSnapshotConfigurationResponse & GetSnapshotConfiguration() const
const Aws::String & GetImageId() const
FastLaunchStateCode GetState() const
const Aws::Utils::DateTime & GetStateTransitionTime() const
void SetState(FastLaunchStateCode value)
void SetOwnerId(OwnerIdT &&value)
EnableFastLaunchResponse & WithOwnerId(OwnerIdT &&value)
void SetStateTransitionReason(StateTransitionReasonT &&value)
void SetSnapshotConfiguration(SnapshotConfigurationT &&value)
EnableFastLaunchResponse & WithResourceType(FastLaunchResourceType value)
void SetMaxParallelLaunches(int value)
EnableFastLaunchResponse & WithMaxParallelLaunches(int value)
EnableFastLaunchResponse & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
AWS_EC2_API EnableFastLaunchResponse()=default
void SetLaunchTemplate(LaunchTemplateT &&value)
EnableFastLaunchResponse & WithResponseMetadata(ResponseMetadataT &&value)
EnableFastLaunchResponse & WithState(FastLaunchStateCode value)
EnableFastLaunchResponse & WithImageId(ImageIdT &&value)
FastLaunchResourceType GetResourceType() const
AWS_EC2_API EnableFastLaunchResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadataT &&value)
EnableFastLaunchResponse & WithStateTransitionReason(StateTransitionReasonT &&value)
EnableFastLaunchResponse & WithStateTransitionTime(StateTransitionTimeT &&value)
const Aws::String & GetStateTransitionReason() const
void SetStateTransitionTime(StateTransitionTimeT &&value)
EnableFastLaunchResponse & WithLaunchTemplate(LaunchTemplateT &&value)
AWS_EC2_API EnableFastLaunchResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetImageId(ImageIdT &&value)
const FastLaunchLaunchTemplateSpecificationResponse & GetLaunchTemplate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument