7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 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; }
71 bool m_idHasBeenSet =
false;
74 bool m_portHasBeenSet =
false;
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VPCLATTICE_API Target(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetId() const
AWS_VPCLATTICE_API Target()
AWS_VPCLATTICE_API Target & operator=(Aws::Utils::Json::JsonView jsonValue)
Target & WithId(Aws::String &&value)
Target & WithPort(int value)
Target & WithId(const Aws::String &value)
bool PortHasBeenSet() const
Target & WithId(const char *value)
bool IdHasBeenSet() const
void SetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue