7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/ComprehendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/comprehend/model/Tag.h>
47 inline void SetSourceModelArn(
const char* value) { m_sourceModelArnHasBeenSet =
true; m_sourceModelArn.assign(value); }
62 inline void SetModelName(
const char* value) { m_modelNameHasBeenSet =
true; m_modelName.assign(value); }
79 inline void SetVersionName(
const char* value) { m_versionNameHasBeenSet =
true; m_versionName.assign(value); }
98 inline void SetModelKmsKeyId(
const char* value) { m_modelKmsKeyIdHasBeenSet =
true; m_modelKmsKeyId.assign(value); }
114 inline void SetDataAccessRoleArn(
const char* value) { m_dataAccessRoleArnHasBeenSet =
true; m_dataAccessRoleArn.assign(value); }
139 bool m_sourceModelArnHasBeenSet =
false;
142 bool m_modelNameHasBeenSet =
false;
145 bool m_versionNameHasBeenSet =
false;
148 bool m_modelKmsKeyIdHasBeenSet =
false;
151 bool m_dataAccessRoleArnHasBeenSet =
false;
154 bool m_tagsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
ImportModelRequest & WithModelName(const Aws::String &value)
const Aws::String & GetModelKmsKeyId() const
ImportModelRequest & WithDataAccessRoleArn(Aws::String &&value)
AWS_COMPREHEND_API Aws::String SerializePayload() const override
void SetModelKmsKeyId(const Aws::String &value)
const Aws::String & GetVersionName() const
bool DataAccessRoleArnHasBeenSet() const
void SetModelKmsKeyId(const char *value)
void SetModelKmsKeyId(Aws::String &&value)
ImportModelRequest & WithVersionName(Aws::String &&value)
void SetSourceModelArn(const char *value)
const Aws::String & GetModelName() const
ImportModelRequest & WithSourceModelArn(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
ImportModelRequest & WithVersionName(const Aws::String &value)
void SetModelName(const char *value)
void SetDataAccessRoleArn(const char *value)
void SetVersionName(Aws::String &&value)
ImportModelRequest & WithDataAccessRoleArn(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
ImportModelRequest & AddTags(const Tag &value)
void SetSourceModelArn(const Aws::String &value)
void SetModelName(Aws::String &&value)
ImportModelRequest & WithVersionName(const char *value)
ImportModelRequest & WithSourceModelArn(const char *value)
bool ModelNameHasBeenSet() const
void SetDataAccessRoleArn(Aws::String &&value)
ImportModelRequest & WithSourceModelArn(const Aws::String &value)
bool TagsHasBeenSet() const
void SetSourceModelArn(Aws::String &&value)
ImportModelRequest & AddTags(Tag &&value)
ImportModelRequest & WithDataAccessRoleArn(const char *value)
void SetModelName(const Aws::String &value)
AWS_COMPREHEND_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COMPREHEND_API ImportModelRequest()
bool VersionNameHasBeenSet() const
ImportModelRequest & WithModelName(Aws::String &&value)
ImportModelRequest & WithTags(const Aws::Vector< Tag > &value)
ImportModelRequest & WithModelKmsKeyId(Aws::String &&value)
void SetVersionName(const char *value)
ImportModelRequest & WithModelKmsKeyId(const char *value)
void SetDataAccessRoleArn(const Aws::String &value)
const Aws::String & GetDataAccessRoleArn() const
bool SourceModelArnHasBeenSet() const
bool ModelKmsKeyIdHasBeenSet() const
ImportModelRequest & WithTags(Aws::Vector< Tag > &&value)
ImportModelRequest & WithModelName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetVersionName(const Aws::String &value)
const Aws::String & GetSourceModelArn() const
ImportModelRequest & WithModelKmsKeyId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector