7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/DiskImage.h>
12#include <aws/ec2/model/ImportInstanceLaunchSpecification.h>
13#include <aws/ec2/model/PlatformValues.h>
49 m_dryRunHasBeenSet =
true;
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename LaunchSpecificationT = ImportInstanceLaunchSpecification>
84 m_launchSpecificationHasBeenSet =
true;
85 m_launchSpecification = std::forward<LaunchSpecificationT>(value);
87 template <
typename LaunchSpecificationT = ImportInstanceLaunchSpecification>
100 template <
typename DiskImagesT = Aws::Vector<DiskImage>>
102 m_diskImagesHasBeenSet =
true;
103 m_diskImages = std::forward<DiskImagesT>(value);
105 template <
typename DiskImagesT = Aws::Vector<DiskImage>>
110 template <
typename DiskImagesT = DiskImage>
112 m_diskImagesHasBeenSet =
true;
113 m_diskImages.emplace_back(std::forward<DiskImagesT>(value));
125 m_platformHasBeenSet =
true;
134 bool m_dryRun{
false};
138 ImportInstanceLaunchSpecification m_launchSpecification;
143 bool m_dryRunHasBeenSet =
false;
144 bool m_descriptionHasBeenSet =
false;
145 bool m_launchSpecificationHasBeenSet =
false;
146 bool m_diskImagesHasBeenSet =
false;
147 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