7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/TargetStatus.h>
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
63 inline int GetPort()
const{
return m_port; }
65 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
77 inline void SetReasonCode(
const char* value) { m_reasonCodeHasBeenSet =
true; m_reasonCode.assign(value); }
105 bool m_idHasBeenSet =
false;
108 bool m_portHasBeenSet =
false;
111 bool m_reasonCodeHasBeenSet =
false;
114 bool m_statusHasBeenSet =
false;
TargetSummary & WithPort(int value)
AWS_VPCLATTICE_API TargetSummary()
const TargetStatus & GetStatus() const
void SetId(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetReasonCode() const
bool StatusHasBeenSet() const
void SetStatus(const TargetStatus &value)
const Aws::String & GetId() const
AWS_VPCLATTICE_API TargetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool ReasonCodeHasBeenSet() const
AWS_VPCLATTICE_API TargetSummary(Aws::Utils::Json::JsonView jsonValue)
TargetSummary & WithStatus(TargetStatus &&value)
void SetReasonCode(const Aws::String &value)
TargetSummary & WithId(const char *value)
void SetStatus(TargetStatus &&value)
void SetReasonCode(const char *value)
TargetSummary & WithStatus(const TargetStatus &value)
TargetSummary & WithId(const Aws::String &value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReasonCode(Aws::String &&value)
TargetSummary & WithReasonCode(const char *value)
TargetSummary & WithReasonCode(const Aws::String &value)
bool PortHasBeenSet() const
void SetId(const char *value)
TargetSummary & WithId(Aws::String &&value)
TargetSummary & WithReasonCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue