7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/FastLaunchResourceType.h>
10#include <aws/ec2/model/FastLaunchSnapshotConfigurationResponse.h>
11#include <aws/ec2/model/FastLaunchLaunchTemplateSpecificationResponse.h>
12#include <aws/ec2/model/FastLaunchStateCode.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/ec2/model/ResponseMetadata.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
47 template<
typename ImageIdT = Aws::String>
48 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
49 template<
typename ImageIdT = Aws::String>
70 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
71 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet =
true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
72 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
82 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
83 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
84 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
94 inline void SetMaxParallelLaunches(
int value) { m_maxParallelLaunchesHasBeenSet =
true; m_maxParallelLaunches = value; }
103 template<
typename OwnerIdT = Aws::String>
104 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
105 template<
typename OwnerIdT = Aws::String>
123 template<
typename StateTransitionReasonT = Aws::String>
124 void SetStateTransitionReason(StateTransitionReasonT&& value) { m_stateTransitionReasonHasBeenSet =
true; m_stateTransitionReason = std::forward<StateTransitionReasonT>(value); }
125 template<
typename StateTransitionReasonT = Aws::String>
134 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
135 void SetStateTransitionTime(StateTransitionTimeT&& value) { m_stateTransitionTimeHasBeenSet =
true; m_stateTransitionTime = std::forward<StateTransitionTimeT>(value); }
136 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
143 template<
typename ResponseMetadataT = ResponseMetadata>
144 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
145 template<
typename ResponseMetadataT = ResponseMetadata>
151 bool m_imageIdHasBeenSet =
false;
154 bool m_resourceTypeHasBeenSet =
false;
156 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
157 bool m_snapshotConfigurationHasBeenSet =
false;
159 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
160 bool m_launchTemplateHasBeenSet =
false;
162 int m_maxParallelLaunches{0};
163 bool m_maxParallelLaunchesHasBeenSet =
false;
166 bool m_ownerIdHasBeenSet =
false;
169 bool m_stateHasBeenSet =
false;
172 bool m_stateTransitionReasonHasBeenSet =
false;
175 bool m_stateTransitionTimeHasBeenSet =
false;
177 ResponseMetadata m_responseMetadata;
178 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