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;
46 template<
typename ImageIdT = Aws::String>
47 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
48 template<
typename ImageIdT = Aws::String>
69 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
70 void SetSnapshotConfiguration(SnapshotConfigurationT&& value) { m_snapshotConfigurationHasBeenSet =
true; m_snapshotConfiguration = std::forward<SnapshotConfigurationT>(value); }
71 template<
typename SnapshotConfigurationT = FastLaunchSnapshotConfigurationResponse>
81 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
82 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
83 template<
typename LaunchTemplateT = FastLaunchLaunchTemplateSpecificationResponse>
93 inline void SetMaxParallelLaunches(
int value) { m_maxParallelLaunchesHasBeenSet =
true; m_maxParallelLaunches = value; }
102 template<
typename OwnerIdT = Aws::String>
103 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
104 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>
135 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
136 void SetStateTransitionTime(StateTransitionTimeT&& value) { m_stateTransitionTimeHasBeenSet =
true; m_stateTransitionTime = std::forward<StateTransitionTimeT>(value); }
137 template<
typename StateTransitionTimeT = Aws::Utils::DateTime>
144 template<
typename ResponseMetadataT = ResponseMetadata>
145 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
146 template<
typename ResponseMetadataT = ResponseMetadata>
152 bool m_imageIdHasBeenSet =
false;
155 bool m_resourceTypeHasBeenSet =
false;
157 FastLaunchSnapshotConfigurationResponse m_snapshotConfiguration;
158 bool m_snapshotConfigurationHasBeenSet =
false;
160 FastLaunchLaunchTemplateSpecificationResponse m_launchTemplate;
161 bool m_launchTemplateHasBeenSet =
false;
163 int m_maxParallelLaunches{0};
164 bool m_maxParallelLaunchesHasBeenSet =
false;
167 bool m_ownerIdHasBeenSet =
false;
170 bool m_stateHasBeenSet =
false;
173 bool m_stateTransitionReasonHasBeenSet =
false;
176 bool m_stateTransitionTimeHasBeenSet =
false;
178 ResponseMetadata m_responseMetadata;
179 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