7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/ManagedAgentName.h>
43 template <
typename LastStartedAtT = Aws::Utils::DateTime>
45 m_lastStartedAtHasBeenSet =
true;
46 m_lastStartedAt = std::forward<LastStartedAtT>(value);
48 template <
typename LastStartedAtT = Aws::Utils::DateTime>
63 m_nameHasBeenSet =
true;
78 template <
typename ReasonT = Aws::String>
80 m_reasonHasBeenSet =
true;
81 m_reason = std::forward<ReasonT>(value);
83 template <
typename ReasonT = Aws::String>
96 template <
typename LastStatusT = Aws::String>
98 m_lastStatusHasBeenSet =
true;
99 m_lastStatus = std::forward<LastStatusT>(value);
101 template <
typename LastStatusT = Aws::String>
115 bool m_lastStartedAtHasBeenSet =
false;
116 bool m_nameHasBeenSet =
false;
117 bool m_reasonHasBeenSet =
false;
118 bool m_lastStatusHasBeenSet =
false;
bool LastStartedAtHasBeenSet() const
void SetName(ManagedAgentName value)
AWS_ECS_API ManagedAgent & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastStartedAt() const
bool ReasonHasBeenSet() const
const Aws::String & GetReason() const
ManagedAgentName GetName() const
bool LastStatusHasBeenSet() const
AWS_ECS_API ManagedAgent(Aws::Utils::Json::JsonView jsonValue)
void SetLastStartedAt(LastStartedAtT &&value)
void SetReason(ReasonT &&value)
ManagedAgent & WithReason(ReasonT &&value)
void SetLastStatus(LastStatusT &&value)
bool NameHasBeenSet() const
ManagedAgent & WithLastStatus(LastStatusT &&value)
const Aws::String & GetLastStatus() const
ManagedAgent & WithName(ManagedAgentName value)
AWS_ECS_API ManagedAgent()=default
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedAgent & WithLastStartedAt(LastStartedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue