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>
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<
typename ClientTokenT = Aws::String>
60 template<
typename ConfigT = TargetGroupConfig>
61 void SetConfig(ConfigT&& value) { m_configHasBeenSet =
true; m_config = std::forward<ConfigT>(value); }
62 template<
typename ConfigT = TargetGroupConfig>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
88 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
90 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
92 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
108 bool m_clientTokenHasBeenSet =
true;
110 TargetGroupConfig m_config;
111 bool m_configHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
117 bool m_tagsHasBeenSet =
false;
120 bool m_typeHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateTargetGroupRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(ClientTokenT &&value)
bool ClientTokenHasBeenSet() const
void SetType(TargetGroupType value)
bool TagsHasBeenSet() const
bool ConfigHasBeenSet() const
const Aws::String & GetClientToken() const
bool NameHasBeenSet() const
TargetGroupType GetType() const
AWS_VPCLATTICE_API CreateTargetGroupRequest()=default
const Aws::String & GetName() const
CreateTargetGroupRequest & WithClientToken(ClientTokenT &&value)
void SetName(NameT &&value)
CreateTargetGroupRequest & WithName(NameT &&value)
CreateTargetGroupRequest & WithConfig(ConfigT &&value)
CreateTargetGroupRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const TargetGroupConfig & GetConfig() const
void SetConfig(ConfigT &&value)
CreateTargetGroupRequest & WithType(TargetGroupType value)
bool TypeHasBeenSet() const
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