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>
49 template<
typename LastStartedAtT = Aws::Utils::DateTime>
50 void SetLastStartedAt(LastStartedAtT&& value) { m_lastStartedAtHasBeenSet =
true; m_lastStartedAt = std::forward<LastStartedAtT>(value); }
51 template<
typename LastStartedAtT = Aws::Utils::DateTime>
72 template<
typename ReasonT = Aws::String>
73 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
74 template<
typename ReasonT = Aws::String>
84 template<
typename LastStatusT = Aws::String>
85 void SetLastStatus(LastStatusT&& value) { m_lastStatusHasBeenSet =
true; m_lastStatus = std::forward<LastStatusT>(value); }
86 template<
typename LastStatusT = Aws::String>
92 bool m_lastStartedAtHasBeenSet =
false;
95 bool m_nameHasBeenSet =
false;
98 bool m_reasonHasBeenSet =
false;
101 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