7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mgn/Mgn_EXPORTS.h>
11#include <aws/mgn/model/InitiatedBy.h>
12#include <aws/mgn/model/JobStatus.h>
13#include <aws/mgn/model/JobType.h>
14#include <aws/mgn/model/ParticipatingServer.h>
35 AWS_MGN_API
Job() =
default;
46 template <
typename JobIDT = Aws::String>
48 m_jobIDHasBeenSet =
true;
49 m_jobID = std::forward<JobIDT>(value);
51 template <
typename JobIDT = Aws::String>
53 SetJobID(std::forward<JobIDT>(value));
64 template <
typename ArnT = Aws::String>
66 m_arnHasBeenSet =
true;
67 m_arn = std::forward<ArnT>(value);
69 template <
typename ArnT = Aws::String>
71 SetArn(std::forward<ArnT>(value));
83 m_typeHasBeenSet =
true;
99 m_initiatedByHasBeenSet =
true;
100 m_initiatedBy = value;
114 template <
typename CreationDateTimeT = Aws::String>
116 m_creationDateTimeHasBeenSet =
true;
117 m_creationDateTime = std::forward<CreationDateTimeT>(value);
119 template <
typename CreationDateTimeT = Aws::String>
132 template <
typename EndDateTimeT = Aws::String>
134 m_endDateTimeHasBeenSet =
true;
135 m_endDateTime = std::forward<EndDateTimeT>(value);
137 template <
typename EndDateTimeT = Aws::String>
151 m_statusHasBeenSet =
true;
166 template <
typename ParticipatingServersT = Aws::Vector<ParticipatingServer>>
168 m_participatingServersHasBeenSet =
true;
169 m_participatingServers = std::forward<ParticipatingServersT>(value);
171 template <
typename ParticipatingServersT = Aws::Vector<ParticipatingServer>>
176 template <
typename ParticipatingServersT = ParticipatingServer>
178 m_participatingServersHasBeenSet =
true;
179 m_participatingServers.emplace_back(std::forward<ParticipatingServersT>(value));
190 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 m_tagsHasBeenSet =
true;
193 m_tags = std::forward<TagsT>(value);
195 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 SetTags(std::forward<TagsT>(value));
200 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
202 m_tagsHasBeenSet =
true;
203 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
225 bool m_jobIDHasBeenSet =
false;
226 bool m_arnHasBeenSet =
false;
227 bool m_typeHasBeenSet =
false;
228 bool m_initiatedByHasBeenSet =
false;
229 bool m_creationDateTimeHasBeenSet =
false;
230 bool m_endDateTimeHasBeenSet =
false;
231 bool m_statusHasBeenSet =
false;
232 bool m_participatingServersHasBeenSet =
false;
233 bool m_tagsHasBeenSet =
false;
JobStatus GetStatus() const
void SetCreationDateTime(CreationDateTimeT &&value)
void SetEndDateTime(EndDateTimeT &&value)
InitiatedBy GetInitiatedBy() const
void SetJobID(JobIDT &&value)
const Aws::String & GetEndDateTime() const
bool ParticipatingServersHasBeenSet() const
void SetType(JobType value)
const Aws::String & GetArn() const
const Aws::String & GetJobID() const
Job & WithEndDateTime(EndDateTimeT &&value)
bool JobIDHasBeenSet() const
Job & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
Job & WithInitiatedBy(InitiatedBy value)
const Aws::String & GetCreationDateTime() const
void SetParticipatingServers(ParticipatingServersT &&value)
bool InitiatedByHasBeenSet() const
void SetArn(ArnT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
bool EndDateTimeHasBeenSet() const
void SetInitiatedBy(InitiatedBy value)
Job & WithType(JobType value)
Job & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool CreationDateTimeHasBeenSet() const
Job & WithArn(ArnT &&value)
Job & WithStatus(JobStatus value)
const Aws::Vector< ParticipatingServer > & GetParticipatingServers() const
bool TypeHasBeenSet() const
void SetStatus(JobStatus value)
bool ArnHasBeenSet() const
AWS_MGN_API Job()=default
AWS_MGN_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithCreationDateTime(CreationDateTimeT &&value)
AWS_MGN_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithJobID(JobIDT &&value)
Job & WithParticipatingServers(ParticipatingServersT &&value)
bool StatusHasBeenSet() const
Job & AddParticipatingServers(ParticipatingServersT &&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