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;
40 template <
typename ImageIdT = Aws::String>
42 m_imageIdHasBeenSet =
true;
43 m_imageId = std::forward<ImageIdT>(value);
45 template <
typename ImageIdT = Aws::String>
60 m_resourceTypeHasBeenSet =
true;
61 m_resourceType = value;
75 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
77 m_snapshotConfigurationHasBeenSet =
true;
78 m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value);
80 template <
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
93 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
95 m_launchTemplateHasBeenSet =
true;
96 m_launchTemplate = std::forward<LaunchTemplateT>(value);
98 template <
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
112 m_maxParallelLaunchesHasBeenSet =
true;
113 m_maxParallelLaunches = value;
126 template <
typename OwnerIdT = Aws::String>
128 m_ownerIdHasBeenSet =
true;
129 m_ownerId = std::forward<OwnerIdT>(value);
131 template <
typename OwnerIdT = Aws::String>
144 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>
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>
208 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
210 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
212 int m_maxParallelLaunches{0};
222 ResponseMetadata m_responseMetadata;
223 bool m_imageIdHasBeenSet =
false;
224 bool m_resourceTypeHasBeenSet =
false;
225 bool m_snapshotConfigurationHasBeenSet =
false;
226 bool m_launchTemplateHasBeenSet =
false;
227 bool m_maxParallelLaunchesHasBeenSet =
false;
228 bool m_ownerIdHasBeenSet =
false;
229 bool m_stateHasBeenSet =
false;
230 bool m_stateTransitionReasonHasBeenSet =
false;
231 bool m_stateTransitionTimeHasBeenSet =
false;
232 bool m_responseMetadataHasBeenSet =
false;
DisableFastLaunchResponse & WithOwnerId(OwnerIdT &&value)
DisableFastLaunchResponse & WithLaunchTemplate(LaunchTemplateT &&value)
DisableFastLaunchResponse & WithResourceType(FastLaunchResourceType value)
void SetStateTransitionReason(StateTransitionReasonT &&value)
int GetMaxParallelLaunches() const
DisableFastLaunchResponse & WithStateTransitionTime(StateTransitionTimeT &&value)
DisableFastLaunchResponse & WithMaxParallelLaunches(int value)
void SetState(FastLaunchStateCode value)
const Aws::String & GetOwnerId() const
void SetLaunchTemplate(LaunchTemplateT &&value)
const FastLaunchSnapshotConfigurationResponse & GetSnapshotConfiguration() const
AWS_EC2_API DisableFastLaunchResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
AWS_EC2_API DisableFastLaunchResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetStateTransitionReason() const
void SetSnapshotConfiguration(SnapshotConfigurationT &&value)
void SetOwnerId(OwnerIdT &&value)
FastLaunchResourceType GetResourceType() const
void SetResourceType(FastLaunchResourceType value)
void SetStateTransitionTime(StateTransitionTimeT &&value)
AWS_EC2_API DisableFastLaunchResponse()=default
const Aws::Utils::DateTime & GetStateTransitionTime() const
FastLaunchStateCode GetState() const
const FastLaunchLaunchTemplateSpecificationResponse & GetLaunchTemplate() const
const Aws::String & GetImageId() const
DisableFastLaunchResponse & WithResponseMetadata(ResponseMetadataT &&value)
DisableFastLaunchResponse & WithImageId(ImageIdT &&value)
DisableFastLaunchResponse & WithState(FastLaunchStateCode value)
void SetImageId(ImageIdT &&value)
void SetMaxParallelLaunches(int value)
void SetResponseMetadata(ResponseMetadataT &&value)
DisableFastLaunchResponse & WithStateTransitionReason(StateTransitionReasonT &&value)
DisableFastLaunchResponse & WithSnapshotConfiguration(SnapshotConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument