7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ImportInstanceLaunchSpecification.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/PlatformValues.h>
13#include <aws/ec2/model/DiskImage.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 template<
typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
64 template<
typename DescriptionT = Aws::String>
74 template<
typename LaunchSpecificationT = ImportInstanceLaunchSpecification>
75 void SetLaunchSpecification(LaunchSpecificationT&& value) { m_launchSpecificationHasBeenSet =
true; m_launchSpecification = std::forward<LaunchSpecificationT>(value); }
76 template<
typename LaunchSpecificationT = ImportInstanceLaunchSpecification>
86 template<
typename DiskImagesT = Aws::Vector<DiskImage>>
87 void SetDiskImages(DiskImagesT&& value) { m_diskImagesHasBeenSet =
true; m_diskImages = std::forward<DiskImagesT>(value); }
88 template<
typename DiskImagesT = Aws::Vector<DiskImage>>
90 template<
typename DiskImagesT = DiskImage>
105 bool m_dryRun{
false};
106 bool m_dryRunHasBeenSet =
false;
109 bool m_descriptionHasBeenSet =
false;
111 ImportInstanceLaunchSpecification m_launchSpecification;
112 bool m_launchSpecificationHasBeenSet =
false;
115 bool m_diskImagesHasBeenSet =
false;
118 bool m_platformHasBeenSet =
false;
void SetDryRun(bool value)
AWS_EC2_API ImportInstanceRequest()=default
const Aws::String & GetDescription() const
void SetPlatform(PlatformValues value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ImportInstanceRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
ImportInstanceRequest & WithDiskImages(DiskImagesT &&value)
PlatformValues GetPlatform() const
bool LaunchSpecificationHasBeenSet() const
const Aws::Vector< DiskImage > & GetDiskImages() const
void SetLaunchSpecification(LaunchSpecificationT &&value)
ImportInstanceRequest & WithDescription(DescriptionT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ImportInstanceRequest & WithPlatform(PlatformValues value)
bool DescriptionHasBeenSet() const
const ImportInstanceLaunchSpecification & GetLaunchSpecification() const
void SetDescription(DescriptionT &&value)
void SetDiskImages(DiskImagesT &&value)
bool DiskImagesHasBeenSet() const
bool PlatformHasBeenSet() const
ImportInstanceRequest & AddDiskImages(DiskImagesT &&value)
ImportInstanceRequest & WithLaunchSpecification(LaunchSpecificationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector