7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/TargetGroupConfig.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/vpc-lattice/model/TargetGroupType.h>
14#include <aws/core/utils/UUID.h>
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
78 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
117 bool m_clientTokenHasBeenSet =
false;
120 bool m_configHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
126 bool m_tagsHasBeenSet =
false;
129 bool m_typeHasBeenSet =
false;
CreateTargetGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateTargetGroupRequest & AddTags(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetConfig(const TargetGroupConfig &value)
void SetName(Aws::String &&value)
CreateTargetGroupRequest & AddTags(Aws::String &&key, const char *value)
void SetType(TargetGroupType &&value)
bool ClientTokenHasBeenSet() const
CreateTargetGroupRequest & WithClientToken(Aws::String &&value)
bool TagsHasBeenSet() const
void SetClientToken(Aws::String &&value)
bool ConfigHasBeenSet() const
const Aws::String & GetClientToken() const
bool NameHasBeenSet() const
CreateTargetGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetName(const char *value)
const Aws::String & GetName() const
CreateTargetGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateTargetGroupRequest & WithType(const TargetGroupType &value)
CreateTargetGroupRequest & WithClientToken(const Aws::String &value)
CreateTargetGroupRequest & WithName(const char *value)
void SetClientToken(const Aws::String &value)
CreateTargetGroupRequest & WithName(Aws::String &&value)
const TargetGroupType & GetType() const
CreateTargetGroupRequest & AddTags(const char *key, const char *value)
CreateTargetGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateTargetGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const TargetGroupConfig & GetConfig() const
CreateTargetGroupRequest & WithType(TargetGroupType &&value)
CreateTargetGroupRequest & WithClientToken(const char *value)
void SetConfig(TargetGroupConfig &&value)
void SetName(const Aws::String &value)
CreateTargetGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateTargetGroupRequest & WithConfig(TargetGroupConfig &&value)
void SetClientToken(const char *value)
AWS_VPCLATTICE_API CreateTargetGroupRequest()
void SetType(const TargetGroupType &value)
bool TypeHasBeenSet() const
CreateTargetGroupRequest & WithConfig(const TargetGroupConfig &value)
CreateTargetGroupRequest & WithName(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String