7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/emr-containers/model/JobTemplateData.h>
24namespace EMRContainers
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
68 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
69 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
82 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
83 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
109 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
131 inline JobTemplate&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
154 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
168 inline void SetDecryptionError(
const char* value) { m_decryptionErrorHasBeenSet =
true; m_decryptionError.assign(value); }
176 bool m_nameHasBeenSet =
false;
179 bool m_idHasBeenSet =
false;
182 bool m_arnHasBeenSet =
false;
185 bool m_createdAtHasBeenSet =
false;
188 bool m_createdByHasBeenSet =
false;
191 bool m_tagsHasBeenSet =
false;
194 bool m_jobTemplateDataHasBeenSet =
false;
197 bool m_kmsKeyArnHasBeenSet =
false;
200 bool m_decryptionErrorHasBeenSet =
false;
void SetDecryptionError(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_EMRCONTAINERS_API JobTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedByHasBeenSet() const
JobTemplate & WithId(const char *value)
JobTemplate & WithJobTemplateData(JobTemplateData &&value)
JobTemplate & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetKmsKeyArn(const Aws::String &value)
bool IdHasBeenSet() const
void SetArn(const Aws::String &value)
JobTemplate & AddTags(Aws::String &&key, const Aws::String &value)
JobTemplate & AddTags(Aws::String &&key, Aws::String &&value)
JobTemplate & WithArn(Aws::String &&value)
bool CreatedAtHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
JobTemplate & WithName(Aws::String &&value)
void SetDecryptionError(const char *value)
void SetCreatedBy(Aws::String &&value)
AWS_EMRCONTAINERS_API JobTemplate(Aws::Utils::Json::JsonView jsonValue)
JobTemplate & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const Aws::String &value)
JobTemplate & WithJobTemplateData(const JobTemplateData &value)
void SetCreatedBy(const Aws::String &value)
void SetName(Aws::String &&value)
JobTemplate & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetName() const
bool JobTemplateDataHasBeenSet() const
const JobTemplateData & GetJobTemplateData() const
void SetDecryptionError(const Aws::String &value)
JobTemplate & AddTags(const char *key, const char *value)
JobTemplate & WithDecryptionError(Aws::String &&value)
bool TagsHasBeenSet() const
void SetJobTemplateData(const JobTemplateData &value)
JobTemplate & AddTags(const Aws::String &key, const Aws::String &value)
bool DecryptionErrorHasBeenSet() const
JobTemplate & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetCreatedBy() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDecryptionError() const
void SetCreatedBy(const char *value)
void SetName(const char *value)
JobTemplate & WithName(const char *value)
void SetKmsKeyArn(const char *value)
AWS_EMRCONTAINERS_API JobTemplate()
JobTemplate & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(Aws::String &&value)
bool NameHasBeenSet() const
const Aws::String & GetId() const
JobTemplate & WithDecryptionError(const Aws::String &value)
void SetArn(Aws::String &&value)
JobTemplate & WithCreatedBy(Aws::String &&value)
JobTemplate & WithId(const Aws::String &value)
bool KmsKeyArnHasBeenSet() const
void SetKmsKeyArn(Aws::String &&value)
JobTemplate & WithKmsKeyArn(const Aws::String &value)
JobTemplate & WithArn(const char *value)
const Aws::String & GetKmsKeyArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
JobTemplate & WithDecryptionError(const char *value)
JobTemplate & WithKmsKeyArn(Aws::String &&value)
JobTemplate & WithKmsKeyArn(const char *value)
JobTemplate & WithArn(const Aws::String &value)
JobTemplate & WithCreatedBy(const char *value)
JobTemplate & AddTags(const Aws::String &key, Aws::String &&value)
AWS_EMRCONTAINERS_API Aws::Utils::Json::JsonValue Jsonize() const
JobTemplate & WithCreatedAt(const Aws::Utils::DateTime &value)
JobTemplate & WithId(Aws::String &&value)
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
JobTemplate & WithCreatedBy(const Aws::String &value)
JobTemplate & WithName(const Aws::String &value)
void SetId(const char *value)
void SetJobTemplateData(JobTemplateData &&value)
void SetArn(const char *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
Aws::Utils::Json::JsonValue JsonValue