7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/ecs/model/ManagedAgentName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
76 inline void SetReason(
const char* value) { m_reasonHasBeenSet =
true; m_reason.assign(value); }
90 inline void SetLastStatus(
const char* value) { m_lastStatusHasBeenSet =
true; m_lastStatus.assign(value); }
98 bool m_lastStartedAtHasBeenSet =
false;
101 bool m_nameHasBeenSet =
false;
104 bool m_reasonHasBeenSet =
false;
107 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
Aws::Utils::Json::JsonValue JsonValue