7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationResponse.h>
12#include <aws/ec2/model/FastLaunchResourceType.h>
13#include <aws/ec2/model/FastLaunchSnapshotConfigurationResponse.h>
14#include <aws/ec2/model/FastLaunchStateCode.h>
15#include <aws/ec2/model/ResponseMetadata.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
42 template <
typename ImageIdT = Aws::String>
44 m_imageIdHasBeenSet =
true;
45 m_imageId = std::forward<ImageIdT>(value);
47 template <
typename ImageIdT = Aws::String>
61 m_resourceTypeHasBeenSet =
true;
62 m_resourceType = value;
77 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
79 m_snapshotConfigurationHasBeenSet =
true;
80 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
82 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
95 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
97 m_launchTemplateHasBeenSet =
true;
98 m_launchTemplate = std::forward<LaunchTemplateT>(value);
100 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
114 m_maxParallelLaunchesHasBeenSet =
true;
115 m_maxParallelLaunches = value;
128 template <
typename OwnerIdT = Aws::String>
130 m_ownerIdHasBeenSet =
true;
131 m_ownerId = std::forward<OwnerIdT>(value);
133 template <
typename OwnerIdT = Aws::String>
146 m_stateHasBeenSet =
true;
160 template <
typename StateTransitionReasonT = Aws::String>
162 m_stateTransitionReasonHasBeenSet =
true;
163 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
165 template <
typename StateTransitionReasonT = Aws::String>
177 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
179 m_stateTransitionTimeHasBeenSet =
true;
180 m_stateTransitionTime = std::forward<StateTransitionTimeT>(value);
182 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
192 template <
typename ResponseMetadataT = ResponseMetadata>
194 m_responseMetadataHasBeenSet =
true;
195 m_responseMetadata = std::forward<ResponseMetadataT>(value);
197 template <
typename ResponseMetadataT = ResponseMetadata>
210 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
212 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
214 int m_maxParallelLaunches{0};
224 ResponseMetadata m_responseMetadata;
226 bool m_imageIdHasBeenSet =
false;
227 bool m_resourceTypeHasBeenSet =
false;
228 bool m_snapshotConfigurationHasBeenSet =
false;
229 bool m_launchTemplateHasBeenSet =
false;
230 bool m_maxParallelLaunchesHasBeenSet =
false;
231 bool m_ownerIdHasBeenSet =
false;
232 bool m_stateHasBeenSet =
false;
233 bool m_stateTransitionReasonHasBeenSet =
false;
234 bool m_stateTransitionTimeHasBeenSet =
false;
235 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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