7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/InitiatedBy.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/mgn/model/JobStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/mgn/model/JobType.h>
14#include <aws/mgn/model/ParticipatingServer.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetCreationDateTime(
const char* value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime.assign(value); }
82 inline void SetEndDateTime(
const char* value) { m_endDateTimeHasBeenSet =
true; m_endDateTime.assign(value); }
108 inline void SetJobID(
const char* value) { m_jobIDHasBeenSet =
true; m_jobID.assign(value); }
154 inline Job&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
155 inline Job&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
156 inline Job&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
165 inline void SetType(
const JobType& value) { m_typeHasBeenSet =
true; m_type = value; }
166 inline void SetType(
JobType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
173 bool m_arnHasBeenSet =
false;
176 bool m_creationDateTimeHasBeenSet =
false;
179 bool m_endDateTimeHasBeenSet =
false;
182 bool m_initiatedByHasBeenSet =
false;
185 bool m_jobIDHasBeenSet =
false;
188 bool m_participatingServersHasBeenSet =
false;
191 bool m_statusHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
197 bool m_typeHasBeenSet =
false;
void SetParticipatingServers(const Aws::Vector< ParticipatingServer > &value)
Job & WithStatus(const JobStatus &value)
void SetInitiatedBy(InitiatedBy &&value)
void SetInitiatedBy(const InitiatedBy &value)
Job & WithInitiatedBy(InitiatedBy &&value)
Job & AddParticipatingServers(ParticipatingServer &&value)
void SetType(JobType &&value)
void SetArn(Aws::String &&value)
const Aws::String & GetEndDateTime() const
Job & AddTags(const char *key, Aws::String &&value)
Job & AddTags(const Aws::String &key, const Aws::String &value)
bool ParticipatingServersHasBeenSet() const
void SetArn(const char *value)
void SetCreationDateTime(Aws::String &&value)
void SetJobID(const Aws::String &value)
const Aws::String & GetArn() const
const Aws::String & GetJobID() const
bool JobIDHasBeenSet() const
void SetType(const JobType &value)
void SetArn(const Aws::String &value)
const Aws::String & GetCreationDateTime() const
bool InitiatedByHasBeenSet() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const JobStatus &value)
Job & WithJobID(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
Job & WithEndDateTime(const Aws::String &value)
bool EndDateTimeHasBeenSet() const
Job & WithEndDateTime(const char *value)
Job & WithJobID(const Aws::String &value)
Job & WithCreationDateTime(const Aws::String &value)
Job & AddTags(Aws::String &&key, Aws::String &&value)
void SetJobID(Aws::String &&value)
Job & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Job & AddTags(const char *key, const char *value)
Job & AddTags(Aws::String &&key, const char *value)
void SetEndDateTime(const Aws::String &value)
Job & WithType(const JobType &value)
void SetParticipatingServers(Aws::Vector< ParticipatingServer > &&value)
void SetCreationDateTime(const Aws::String &value)
const InitiatedBy & GetInitiatedBy() const
bool CreationDateTimeHasBeenSet() const
void SetJobID(const char *value)
Job & WithCreationDateTime(const char *value)
const JobType & GetType() const
Job & AddTags(const Aws::String &key, Aws::String &&value)
Job & WithArn(Aws::String &&value)
Job & WithType(JobType &&value)
Job & WithParticipatingServers(Aws::Vector< ParticipatingServer > &&value)
const Aws::Vector< ParticipatingServer > & GetParticipatingServers() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Job & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool TypeHasBeenSet() const
Job & WithParticipatingServers(const Aws::Vector< ParticipatingServer > &value)
Job & WithEndDateTime(Aws::String &&value)
bool ArnHasBeenSet() const
void SetEndDateTime(Aws::String &&value)
const JobStatus & GetStatus() const
Job & WithArn(const Aws::String &value)
Job & WithStatus(JobStatus &&value)
Job & AddParticipatingServers(const ParticipatingServer &value)
AWS_MGN_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetEndDateTime(const char *value)
void SetStatus(JobStatus &&value)
Job & WithArn(const char *value)
bool StatusHasBeenSet() const
Job & WithInitiatedBy(const InitiatedBy &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Job & WithCreationDateTime(Aws::String &&value)
Job & WithJobID(Aws::String &&value)
Job & AddTags(Aws::String &&key, const Aws::String &value)
void SetCreationDateTime(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue