7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/LastKnownCheckStatus.h>
11#include <aws/mgn/model/LastKnownCheckType.h>
45 m_typeHasBeenSet =
true;
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
79 m_statusHasBeenSet =
true;
94 template <
typename ErrorT = Aws::String>
96 m_errorHasBeenSet =
true;
97 m_error = std::forward<ErrorT>(value);
99 template <
typename ErrorT = Aws::String>
101 SetError(std::forward<ErrorT>(value));
112 template <
typename CheckedAtT = Aws::Utils::DateTime>
114 m_checkedAtHasBeenSet =
true;
115 m_checkedAt = std::forward<CheckedAtT>(value);
117 template <
typename CheckedAtT = Aws::Utils::DateTime>
133 bool m_typeHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
136 bool m_errorHasBeenSet =
false;
137 bool m_checkedAtHasBeenSet =
false;
AWS_MGN_API LastKnownCheck()=default
LastKnownCheck & WithCheckedAt(CheckedAtT &&value)
bool NameHasBeenSet() const
LastKnownCheck & WithStatus(LastKnownCheckStatus value)
bool ErrorHasBeenSet() const
bool CheckedAtHasBeenSet() const
void SetError(ErrorT &&value)
void SetCheckedAt(CheckedAtT &&value)
void SetName(NameT &&value)
AWS_MGN_API LastKnownCheck & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
LastKnownCheck & WithName(NameT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
LastKnownCheckStatus GetStatus() const
LastKnownCheckType GetType() const
void SetStatus(LastKnownCheckStatus value)
LastKnownCheck & WithType(LastKnownCheckType value)
bool StatusHasBeenSet() const
LastKnownCheck & WithError(ErrorT &&value)
const Aws::Utils::DateTime & GetCheckedAt() const
void SetType(LastKnownCheckType value)
bool TypeHasBeenSet() const
AWS_MGN_API LastKnownCheck(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetError() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue