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/ManagedResourceStatus.h>
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
65 m_statusHasBeenSet =
true;
80 template <
typename StatusReasonT = Aws::String>
82 m_statusReasonHasBeenSet =
true;
83 m_statusReason = std::forward<StatusReasonT>(value);
85 template <
typename StatusReasonT = Aws::String>
98 template <
typename UpdatedAtT = Aws::Utils::DateTime>
100 m_updatedAtHasBeenSet =
true;
101 m_updatedAt = std::forward<UpdatedAtT>(value);
103 template <
typename UpdatedAtT = Aws::Utils::DateTime>
116 template <
typename HealthCheckPathT = Aws::String>
118 m_healthCheckPathHasBeenSet =
true;
119 m_healthCheckPath = std::forward<HealthCheckPathT>(value);
121 template <
typename HealthCheckPathT = Aws::String>
135 m_healthCheckPortHasBeenSet =
true;
136 m_healthCheckPort = value;
151 m_portHasBeenSet =
true;
170 int m_healthCheckPort{0};
173 bool m_arnHasBeenSet =
false;
174 bool m_statusHasBeenSet =
false;
175 bool m_statusReasonHasBeenSet =
false;
176 bool m_updatedAtHasBeenSet =
false;
177 bool m_healthCheckPathHasBeenSet =
false;
178 bool m_healthCheckPortHasBeenSet =
false;
179 bool m_portHasBeenSet =
false;
ManagedTargetGroup & WithPort(int value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool HealthCheckPortHasBeenSet() const
ManagedResourceStatus GetStatus() const
const Aws::String & GetArn() const
bool PortHasBeenSet() const
void SetStatus(ManagedResourceStatus value)
const Aws::String & GetHealthCheckPath() const
bool StatusHasBeenSet() const
bool UpdatedAtHasBeenSet() const
void SetHealthCheckPort(int value)
bool HealthCheckPathHasBeenSet() const
ManagedTargetGroup & WithArn(ArnT &&value)
void SetHealthCheckPath(HealthCheckPathT &&value)
const Aws::String & GetStatusReason() const
void SetStatusReason(StatusReasonT &&value)
bool ArnHasBeenSet() const
AWS_ECS_API ManagedTargetGroup()=default
ManagedTargetGroup & WithStatus(ManagedResourceStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
bool StatusReasonHasBeenSet() const
ManagedTargetGroup & WithHealthCheckPort(int value)
ManagedTargetGroup & WithStatusReason(StatusReasonT &&value)
void SetArn(ArnT &&value)
ManagedTargetGroup & WithUpdatedAt(UpdatedAtT &&value)
ManagedTargetGroup & WithHealthCheckPath(HealthCheckPathT &&value)
AWS_ECS_API ManagedTargetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ManagedTargetGroup(Aws::Utils::Json::JsonView jsonValue)
int GetHealthCheckPort() const
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