7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/PlatformValues.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/ImportInstanceVolumeDetailItem.h>
53 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
67 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
101 bool m_descriptionHasBeenSet =
false;
104 bool m_instanceIdHasBeenSet =
false;
107 bool m_platformHasBeenSet =
false;
110 bool m_volumesHasBeenSet =
false;
void SetVolumes(Aws::Vector< ImportInstanceVolumeDetailItem > &&value)
ImportInstanceTaskDetails & WithDescription(const Aws::String &value)
ImportInstanceTaskDetails & WithDescription(const char *value)
AWS_EC2_API ImportInstanceTaskDetails(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ImportInstanceTaskDetails & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPlatform(const PlatformValues &value)
void SetDescription(const Aws::String &value)
const Aws::Vector< ImportInstanceVolumeDetailItem > & GetVolumes() const
AWS_EC2_API ImportInstanceTaskDetails()
ImportInstanceTaskDetails & WithVolumes(Aws::Vector< ImportInstanceVolumeDetailItem > &&value)
void SetDescription(const char *value)
void SetInstanceId(const Aws::String &value)
ImportInstanceTaskDetails & AddVolumes(ImportInstanceVolumeDetailItem &&value)
ImportInstanceTaskDetails & WithPlatform(const PlatformValues &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool InstanceIdHasBeenSet() const
ImportInstanceTaskDetails & WithPlatform(PlatformValues &&value)
void SetInstanceId(Aws::String &&value)
void SetInstanceId(const char *value)
void SetVolumes(const Aws::Vector< ImportInstanceVolumeDetailItem > &value)
bool PlatformHasBeenSet() const
ImportInstanceTaskDetails & WithInstanceId(const char *value)
ImportInstanceTaskDetails & WithVolumes(const Aws::Vector< ImportInstanceVolumeDetailItem > &value)
bool DescriptionHasBeenSet() const
ImportInstanceTaskDetails & WithDescription(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ImportInstanceTaskDetails & WithInstanceId(const Aws::String &value)
bool VolumesHasBeenSet() const
void SetDescription(Aws::String &&value)
const Aws::String & GetDescription() const
const PlatformValues & GetPlatform() const
const Aws::String & GetInstanceId() const
ImportInstanceTaskDetails & AddVolumes(const ImportInstanceVolumeDetailItem &value)
void SetPlatform(PlatformValues &&value)
ImportInstanceTaskDetails & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream