7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/InitiatedBy.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/drs/model/JobStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/drs/model/JobType.h>
14#include <aws/drs/model/ParticipatingResource.h>
15#include <aws/drs/model/ParticipatingServer.h>
54 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
55 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
69 inline void SetCreationDateTime(
const char* value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime.assign(value); }
83 inline void SetEndDateTime(
const char* value) { m_endDateTimeHasBeenSet =
true; m_endDateTime.assign(value); }
109 inline void SetJobID(
const char* value) { m_jobIDHasBeenSet =
true; m_jobID.assign(value); }
169 inline Job&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
170 inline Job&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
171 inline Job&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
180 inline void SetType(
const JobType& value) { m_typeHasBeenSet =
true; m_type = value; }
181 inline void SetType(
JobType&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
188 bool m_arnHasBeenSet =
false;
191 bool m_creationDateTimeHasBeenSet =
false;
194 bool m_endDateTimeHasBeenSet =
false;
197 bool m_initiatedByHasBeenSet =
false;
200 bool m_jobIDHasBeenSet =
false;
203 bool m_participatingResourcesHasBeenSet =
false;
206 bool m_participatingServersHasBeenSet =
false;
209 bool m_statusHasBeenSet =
false;
212 bool m_tagsHasBeenSet =
false;
215 bool m_typeHasBeenSet =
false;
void SetCreationDateTime(Aws::String &&value)
void SetParticipatingServers(const Aws::Vector< ParticipatingServer > &value)
Job & WithInitiatedBy(const InitiatedBy &value)
Job & AddTags(const char *key, const char *value)
Job & AddTags(Aws::String &&key, Aws::String &&value)
void SetEndDateTime(Aws::String &&value)
Job & WithInitiatedBy(InitiatedBy &&value)
bool TagsHasBeenSet() const
Job & AddTags(Aws::String &&key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_DRS_API Job(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const JobStatus &value)
void SetType(const JobType &value)
Job & WithJobID(Aws::String &&value)
Job & AddParticipatingServers(ParticipatingServer &&value)
const Aws::String & GetArn() const
const InitiatedBy & GetInitiatedBy() const
void SetParticipatingResources(Aws::Vector< ParticipatingResource > &&value)
const JobType & GetType() const
void SetCreationDateTime(const char *value)
Job & WithType(JobType &&value)
Job & WithEndDateTime(Aws::String &&value)
void SetParticipatingServers(Aws::Vector< ParticipatingServer > &&value)
Job & AddParticipatingResources(const ParticipatingResource &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetArn(const Aws::String &value)
Job & AddParticipatingServers(const ParticipatingServer &value)
bool CreationDateTimeHasBeenSet() const
Job & WithParticipatingResources(Aws::Vector< ParticipatingResource > &&value)
Job & WithType(const JobType &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< ParticipatingServer > & GetParticipatingServers() const
Job & WithEndDateTime(const char *value)
void SetJobID(const char *value)
const Aws::Vector< ParticipatingResource > & GetParticipatingResources() const
Job & WithParticipatingResources(const Aws::Vector< ParticipatingResource > &value)
void SetJobID(Aws::String &&value)
Job & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const JobStatus & GetStatus() const
Job & WithStatus(JobStatus &&value)
Job & WithCreationDateTime(Aws::String &&value)
bool EndDateTimeHasBeenSet() const
const Aws::String & GetEndDateTime() const
void SetJobID(const Aws::String &value)
bool StatusHasBeenSet() const
Job & WithEndDateTime(const Aws::String &value)
bool InitiatedByHasBeenSet() const
void SetInitiatedBy(const InitiatedBy &value)
Job & AddTags(const Aws::String &key, Aws::String &&value)
void SetParticipatingResources(const Aws::Vector< ParticipatingResource > &value)
void SetStatus(JobStatus &&value)
Job & WithArn(const Aws::String &value)
bool TypeHasBeenSet() const
void SetEndDateTime(const Aws::String &value)
Job & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetJobID() const
Job & AddTags(const Aws::String &key, const Aws::String &value)
Job & WithParticipatingServers(const Aws::Vector< ParticipatingServer > &value)
bool JobIDHasBeenSet() const
AWS_DRS_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithParticipatingServers(Aws::Vector< ParticipatingServer > &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(JobType &&value)
Job & AddTags(Aws::String &&key, const Aws::String &value)
Job & AddTags(const char *key, Aws::String &&value)
void SetInitiatedBy(InitiatedBy &&value)
Job & WithArn(const char *value)
void SetEndDateTime(const char *value)
void SetArn(const char *value)
Job & WithCreationDateTime(const Aws::String &value)
bool ArnHasBeenSet() const
Job & WithArn(Aws::String &&value)
void SetCreationDateTime(const Aws::String &value)
Job & WithCreationDateTime(const char *value)
Job & WithJobID(const char *value)
Job & WithStatus(const JobStatus &value)
Job & AddParticipatingResources(ParticipatingResource &&value)
bool ParticipatingServersHasBeenSet() const
void SetArn(Aws::String &&value)
const Aws::String & GetCreationDateTime() const
Job & WithJobID(const Aws::String &value)
bool ParticipatingResourcesHasBeenSet() 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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue