134 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
175 inline void SetLastStatus(
const char* value) { m_lastStatusHasBeenSet =
true; m_lastStatus.assign(value); }
195 bool m_lastStartedAtHasBeenSet =
false;
198 bool m_nameHasBeenSet =
false;
201 bool m_reasonHasBeenSet =
false;
204 bool m_lastStatusHasBeenSet =
false;
bool LastStartedAtHasBeenSet() const
AWS_ECS_API ManagedAgent & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedAgent & WithName(ManagedAgentName &&value)
ManagedAgent & WithName(const ManagedAgentName &value)
void SetLastStartedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastStartedAt() const
void SetLastStatus(const char *value)
bool ReasonHasBeenSet() const
const Aws::String & GetReason() const
bool LastStatusHasBeenSet() const
void SetLastStatus(Aws::String &&value)
ManagedAgent & WithLastStatus(const Aws::String &value)
AWS_ECS_API ManagedAgent(Aws::Utils::Json::JsonView jsonValue)
ManagedAgent & WithLastStartedAt(const Aws::Utils::DateTime &value)
ManagedAgent & WithReason(const char *value)
ManagedAgent & WithLastStartedAt(Aws::Utils::DateTime &&value)
void SetLastStartedAt(Aws::Utils::DateTime &&value)
AWS_ECS_API ManagedAgent()
ManagedAgent & WithReason(const Aws::String &value)
bool NameHasBeenSet() const
void SetReason(const Aws::String &value)
ManagedAgent & WithLastStatus(Aws::String &&value)
const ManagedAgentName & GetName() const
void SetLastStatus(const Aws::String &value)
void SetName(ManagedAgentName &&value)
const Aws::String & GetLastStatus() const
ManagedAgent & WithLastStatus(const char *value)
void SetName(const ManagedAgentName &value)
void SetReason(const char *value)
ManagedAgent & WithReason(Aws::String &&value)
void SetReason(Aws::String &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String