7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/evs/EVS_EXPORTS.h>
10#include <aws/evs/model/EntitlementStatus.h>
11#include <aws/evs/model/EntitlementType.h>
12#include <aws/evs/model/ErrorDetail.h>
45 template <
typename VmIdT = Aws::String>
47 m_vmIdHasBeenSet =
true;
48 m_vmId = std::forward<VmIdT>(value);
50 template <
typename VmIdT = Aws::String>
52 SetVmId(std::forward<VmIdT>(value));
63 template <
typename EnvironmentIdT = Aws::String>
65 m_environmentIdHasBeenSet =
true;
66 m_environmentId = std::forward<EnvironmentIdT>(value);
68 template <
typename EnvironmentIdT = Aws::String>
81 template <
typename ConnectorIdT = Aws::String>
83 m_connectorIdHasBeenSet =
true;
84 m_connectorId = std::forward<ConnectorIdT>(value);
86 template <
typename ConnectorIdT = Aws::String>
99 template <
typename VmNameT = Aws::String>
101 m_vmNameHasBeenSet =
true;
102 m_vmName = std::forward<VmNameT>(value);
104 template <
typename VmNameT = Aws::String>
118 m_typeHasBeenSet =
true;
134 m_statusHasBeenSet =
true;
149 template <
typename LastSyncedAtT = Aws::Utils::DateTime>
151 m_lastSyncedAtHasBeenSet =
true;
152 m_lastSyncedAt = std::forward<LastSyncedAtT>(value);
154 template <
typename LastSyncedAtT = Aws::Utils::DateTime>
167 template <
typename StartedAtT = Aws::Utils::DateTime>
169 m_startedAtHasBeenSet =
true;
170 m_startedAt = std::forward<StartedAtT>(value);
172 template <
typename StartedAtT = Aws::Utils::DateTime>
185 template <
typename StoppedAtT = Aws::Utils::DateTime>
187 m_stoppedAtHasBeenSet =
true;
188 m_stoppedAt = std::forward<StoppedAtT>(value);
190 template <
typename StoppedAtT = Aws::Utils::DateTime>
203 template <
typename ErrorDetailT = ErrorDetail>
205 m_errorDetailHasBeenSet =
true;
206 m_errorDetail = std::forward<ErrorDetailT>(value);
208 template <
typename ErrorDetailT = ErrorDetail>
233 ErrorDetail m_errorDetail;
234 bool m_vmIdHasBeenSet =
false;
235 bool m_environmentIdHasBeenSet =
false;
236 bool m_connectorIdHasBeenSet =
false;
237 bool m_vmNameHasBeenSet =
false;
238 bool m_typeHasBeenSet =
false;
239 bool m_statusHasBeenSet =
false;
240 bool m_lastSyncedAtHasBeenSet =
false;
241 bool m_startedAtHasBeenSet =
false;
242 bool m_stoppedAtHasBeenSet =
false;
243 bool m_errorDetailHasBeenSet =
false;
VmEntitlement & WithStoppedAt(StoppedAtT &&value)
bool StatusHasBeenSet() const
void SetStartedAt(StartedAtT &&value)
const ErrorDetail & GetErrorDetail() const
bool ConnectorIdHasBeenSet() const
AWS_EVS_API VmEntitlement(Aws::Utils::Json::JsonView jsonValue)
VmEntitlement & WithEnvironmentId(EnvironmentIdT &&value)
bool LastSyncedAtHasBeenSet() const
VmEntitlement & WithVmName(VmNameT &&value)
void SetVmName(VmNameT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetErrorDetail(ErrorDetailT &&value)
bool VmIdHasBeenSet() const
void SetType(EntitlementType value)
VmEntitlement & WithVmId(VmIdT &&value)
bool StoppedAtHasBeenSet() const
bool ErrorDetailHasBeenSet() const
VmEntitlement & WithStartedAt(StartedAtT &&value)
VmEntitlement & WithStatus(EntitlementStatus value)
const Aws::String & GetConnectorId() const
bool TypeHasBeenSet() const
VmEntitlement & WithConnectorId(ConnectorIdT &&value)
EntitlementStatus GetStatus() const
void SetVmId(VmIdT &&value)
const Aws::String & GetVmId() const
const Aws::String & GetVmName() const
const Aws::Utils::DateTime & GetLastSyncedAt() const
const Aws::String & GetEnvironmentId() const
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStoppedAt(StoppedAtT &&value)
void SetConnectorId(ConnectorIdT &&value)
AWS_EVS_API VmEntitlement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVS_API VmEntitlement()=default
bool VmNameHasBeenSet() const
VmEntitlement & WithType(EntitlementType value)
void SetStatus(EntitlementStatus value)
EntitlementType GetType() const
VmEntitlement & WithLastSyncedAt(LastSyncedAtT &&value)
const Aws::Utils::DateTime & GetStoppedAt() const
void SetLastSyncedAt(LastSyncedAtT &&value)
bool StartedAtHasBeenSet() const
void SetEnvironmentId(EnvironmentIdT &&value)
bool EnvironmentIdHasBeenSet() const
VmEntitlement & WithErrorDetail(ErrorDetailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue