7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/Definition.h>
11#include <aws/m2/model/EngineType.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
18namespace MainframeModernization
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
77 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
103 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
117 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
133 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
160 bool m_clientTokenHasBeenSet =
false;
163 bool m_definitionHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
169 bool m_engineTypeHasBeenSet =
false;
172 bool m_kmsKeyIdHasBeenSet =
false;
175 bool m_nameHasBeenSet =
false;
178 bool m_roleArnHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
void SetDefinition(Definition &&value)
CreateApplicationRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetClientToken(const Aws::String &value)
CreateApplicationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateApplicationRequest & AddTags(const char *key, Aws::String &&value)
CreateApplicationRequest & WithDefinition(const Definition &value)
bool ClientTokenHasBeenSet() const
CreateApplicationRequest & WithKmsKeyId(Aws::String &&value)
CreateApplicationRequest & WithClientToken(Aws::String &&value)
void SetEngineType(EngineType &&value)
bool NameHasBeenSet() const
CreateApplicationRequest & WithRoleArn(const char *value)
const Aws::String & GetName() const
CreateApplicationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateApplicationRequest & AddTags(const char *key, const char *value)
void SetRoleArn(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API CreateApplicationRequest()
virtual const char * GetServiceRequestName() const override
CreateApplicationRequest & WithDescription(const Aws::String &value)
bool RoleArnHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetKmsKeyId(Aws::String &&value)
CreateApplicationRequest & AddTags(Aws::String &&key, const char *value)
bool TagsHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDescription(const char *value)
CreateApplicationRequest & WithName(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
CreateApplicationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateApplicationRequest & WithKmsKeyId(const char *value)
void SetDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApplicationRequest & WithRoleArn(Aws::String &&value)
bool DefinitionHasBeenSet() const
void SetKmsKeyId(const char *value)
CreateApplicationRequest & WithRoleArn(const Aws::String &value)
void SetDefinition(const Definition &value)
void SetDescription(const Aws::String &value)
void SetName(Aws::String &&value)
bool EngineTypeHasBeenSet() const
void SetName(const Aws::String &value)
CreateApplicationRequest & WithName(Aws::String &&value)
void SetEngineType(const EngineType &value)
CreateApplicationRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetRoleArn(const char *value)
void SetClientToken(Aws::String &&value)
CreateApplicationRequest & WithClientToken(const char *value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
void SetName(const char *value)
const Aws::String & GetClientToken() const
void SetClientToken(const char *value)
const EngineType & GetEngineType() const
CreateApplicationRequest & WithClientToken(const Aws::String &value)
CreateApplicationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
const Definition & GetDefinition() const
CreateApplicationRequest & WithName(const char *value)
CreateApplicationRequest & WithDefinition(Definition &&value)
CreateApplicationRequest & WithEngineType(EngineType &&value)
const Aws::String & GetKmsKeyId() const
CreateApplicationRequest & WithDescription(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
CreateApplicationRequest & WithDescription(const char *value)
CreateApplicationRequest & WithEngineType(const EngineType &value)
void SetRoleArn(const Aws::String &value)
CreateApplicationRequest & WithKmsKeyId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
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