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; }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
110 bool m_dryRunHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_launchSpecificationHasBeenSet =
false;
119 bool m_diskImagesHasBeenSet =
false;
122 bool m_platformHasBeenSet =
false;
void SetDryRun(bool value)
const Aws::String & GetDescription() const
ImportInstanceRequest & WithPlatform(const PlatformValues &value)
ImportInstanceRequest & AddDiskImages(DiskImage &&value)
void SetDescription(Aws::String &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API ImportInstanceRequest()
ImportInstanceRequest & WithDiskImages(const Aws::Vector< DiskImage > &value)
ImportInstanceRequest & WithDryRun(bool value)
ImportInstanceRequest & WithDiskImages(Aws::Vector< DiskImage > &&value)
bool DryRunHasBeenSet() const
const PlatformValues & GetPlatform() const
void SetDiskImages(Aws::Vector< DiskImage > &&value)
bool LaunchSpecificationHasBeenSet() const
ImportInstanceRequest & WithLaunchSpecification(ImportInstanceLaunchSpecification &&value)
const Aws::Vector< DiskImage > & GetDiskImages() const
void SetLaunchSpecification(ImportInstanceLaunchSpecification &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetDescription(const char *value)
ImportInstanceRequest & AddDiskImages(const DiskImage &value)
virtual const char * GetServiceRequestName() const override
void SetPlatform(PlatformValues &&value)
bool DescriptionHasBeenSet() const
const ImportInstanceLaunchSpecification & GetLaunchSpecification() const
void SetPlatform(const PlatformValues &value)
bool DiskImagesHasBeenSet() const
void SetDiskImages(const Aws::Vector< DiskImage > &value)
bool PlatformHasBeenSet() const
void SetLaunchSpecification(const ImportInstanceLaunchSpecification &value)
ImportInstanceRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
ImportInstanceRequest & WithDescription(Aws::String &&value)
ImportInstanceRequest & WithLaunchSpecification(const ImportInstanceLaunchSpecification &value)
ImportInstanceRequest & WithDescription(const Aws::String &value)
ImportInstanceRequest & WithPlatform(PlatformValues &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector