7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/ImagebuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/imagebuilder/model/Platform.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
46 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetSemanticVersion(
const char* value) { m_semanticVersionHasBeenSet =
true; m_semanticVersion.assign(value); }
85 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
98 inline void SetPlatform(
Platform&& value) { m_platformHasBeenSet =
true; m_platform = std::move(value); }
111 inline void SetOsVersion(
const char* value) { m_osVersionHasBeenSet =
true; m_osVersion.assign(value); }
128 inline void SetVmImportTaskId(
const char* value) { m_vmImportTaskIdHasBeenSet =
true; m_vmImportTaskId.assign(value); }
164 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
172 bool m_nameHasBeenSet =
false;
175 bool m_semanticVersionHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_platformHasBeenSet =
false;
184 bool m_osVersionHasBeenSet =
false;
187 bool m_vmImportTaskIdHasBeenSet =
false;
190 bool m_tagsHasBeenSet =
false;
193 bool m_clientTokenHasBeenSet =
false;
ImportVmImageRequest & AddTags(const char *key, Aws::String &&value)
void SetVmImportTaskId(Aws::String &&value)
ImportVmImageRequest & WithName(const char *value)
bool VmImportTaskIdHasBeenSet() const
bool PlatformHasBeenSet() const
void SetPlatform(Platform &&value)
ImportVmImageRequest & WithVmImportTaskId(const Aws::String &value)
ImportVmImageRequest & WithClientToken(const char *value)
void SetDescription(const Aws::String &value)
void SetClientToken(Aws::String &&value)
ImportVmImageRequest & AddTags(Aws::String &&key, const Aws::String &value)
ImportVmImageRequest & WithVmImportTaskId(const char *value)
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool OsVersionHasBeenSet() const
ImportVmImageRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetSemanticVersion() const
ImportVmImageRequest & WithPlatform(const Platform &value)
ImportVmImageRequest & WithSemanticVersion(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetClientToken(const char *value)
bool TagsHasBeenSet() const
ImportVmImageRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const char *value)
void SetSemanticVersion(const Aws::String &value)
ImportVmImageRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool DescriptionHasBeenSet() const
void SetOsVersion(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_IMAGEBUILDER_API ImportVmImageRequest()
ImportVmImageRequest & WithName(Aws::String &&value)
void SetSemanticVersion(Aws::String &&value)
ImportVmImageRequest & AddTags(Aws::String &&key, Aws::String &&value)
ImportVmImageRequest & WithSemanticVersion(const char *value)
ImportVmImageRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportVmImageRequest & WithClientToken(const Aws::String &value)
const Aws::String & GetClientToken() const
void SetClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ImportVmImageRequest & WithName(const Aws::String &value)
ImportVmImageRequest & WithDescription(const char *value)
const Aws::String & GetVmImportTaskId() const
void SetOsVersion(Aws::String &&value)
bool ClientTokenHasBeenSet() const
const Platform & GetPlatform() const
ImportVmImageRequest & WithDescription(Aws::String &&value)
ImportVmImageRequest & WithVmImportTaskId(Aws::String &&value)
ImportVmImageRequest & WithOsVersion(Aws::String &&value)
ImportVmImageRequest & WithSemanticVersion(const Aws::String &value)
ImportVmImageRequest & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetDescription() const
ImportVmImageRequest & WithPlatform(Platform &&value)
void SetDescription(const char *value)
void SetPlatform(const Platform &value)
void SetVmImportTaskId(const char *value)
void SetName(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSemanticVersion(const char *value)
void SetVmImportTaskId(const Aws::String &value)
void SetOsVersion(const Aws::String &value)
ImportVmImageRequest & WithOsVersion(const char *value)
const Aws::String & GetOsVersion() const
ImportVmImageRequest & WithDescription(const Aws::String &value)
void SetName(Aws::String &&value)
bool NameHasBeenSet() const
ImportVmImageRequest & WithOsVersion(const Aws::String &value)
ImportVmImageRequest & AddTags(const char *key, const char *value)
const Aws::String & GetName() const
ImportVmImageRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool SemanticVersionHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String