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;
41 template <
typename ImageIdT = Aws::String>
43 m_imageIdHasBeenSet =
true;
44 m_imageId = std::forward<ImageIdT>(value);
46 template <
typename ImageIdT = Aws::String>
61 m_resourceTypeHasBeenSet =
true;
62 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;
160 template <
typename StateTransitionReasonT = Aws::String>
162 m_stateTransitionReasonHasBeenSet =
true;
163 m_stateTransitionReason = std::forward<StateTransitionReasonT>(value);
165 template <
typename StateTransitionReasonT = Aws::String>
178 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
180 m_stateTransitionTimeHasBeenSet =
true;
181 m_stateTransitionTime = std::forward<StateTransitionTimeT>(value);
183 template <
typename StateTransitionTimeT = Aws::Utils::DateTime>
193 template <
typename ResponseMetadataT = ResponseMetadata>
195 m_responseMetadataHasBeenSet =
true;
196 m_responseMetadata = std::forward<ResponseMetadataT>(value);
198 template <
typename ResponseMetadataT = ResponseMetadata>
211 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
213 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
215 int m_maxParallelLaunches{0};
225 ResponseMetadata m_responseMetadata;
227 bool m_imageIdHasBeenSet =
false;
228 bool m_resourceTypeHasBeenSet =
false;
229 bool m_snapshotConfigurationHasBeenSet =
false;
230 bool m_launchTemplateHasBeenSet =
false;
231 bool m_maxParallelLaunchesHasBeenSet =
false;
232 bool m_ownerIdHasBeenSet =
false;
233 bool m_stateHasBeenSet =
false;
234 bool m_stateTransitionReasonHasBeenSet =
false;
235 bool m_stateTransitionTimeHasBeenSet =
false;
236 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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