7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetFailureCode(
const char* value) { m_failureCodeHasBeenSet =
true; m_failureCode.assign(value); }
62 inline void SetFailureMessage(
const char* value) { m_failureMessageHasBeenSet =
true; m_failureMessage.assign(value); }
79 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
80 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
91 inline int GetPort()
const{
return m_port; }
93 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
99 bool m_failureCodeHasBeenSet =
false;
102 bool m_failureMessageHasBeenSet =
false;
105 bool m_idHasBeenSet =
false;
108 bool m_portHasBeenSet =
false;
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VPCLATTICE_API TargetFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFailureCode(const Aws::String &value)
AWS_VPCLATTICE_API TargetFailure(Aws::Utils::Json::JsonView jsonValue)
TargetFailure & WithFailureCode(const Aws::String &value)
bool IdHasBeenSet() const
TargetFailure & WithFailureMessage(const char *value)
TargetFailure & WithId(const char *value)
void SetId(const char *value)
TargetFailure & WithFailureCode(Aws::String &&value)
const Aws::String & GetFailureMessage() const
const Aws::String & GetId() const
void SetId(Aws::String &&value)
TargetFailure & WithId(Aws::String &&value)
bool PortHasBeenSet() const
TargetFailure & WithFailureCode(const char *value)
bool FailureCodeHasBeenSet() const
void SetFailureMessage(const char *value)
TargetFailure & WithId(const Aws::String &value)
TargetFailure & WithFailureMessage(Aws::String &&value)
void SetFailureMessage(Aws::String &&value)
const Aws::String & GetFailureCode() const
void SetFailureCode(const char *value)
bool FailureMessageHasBeenSet() const
TargetFailure & WithFailureMessage(const Aws::String &value)
void SetFailureMessage(const Aws::String &value)
void SetId(const Aws::String &value)
TargetFailure & WithPort(int value)
void SetFailureCode(Aws::String &&value)
AWS_VPCLATTICE_API TargetFailure()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue