7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/vpc-lattice/model/AuthType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/vpc-lattice/model/SharingConfig.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/UUID.h>
61 template<
typename ClientTokenT = Aws::String>
62 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
63 template<
typename ClientTokenT = Aws::String>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
87 template<
typename SharingConfigT = SharingConfig>
88 void SetSharingConfig(SharingConfigT&& value) { m_sharingConfigHasBeenSet =
true; m_sharingConfig = std::forward<SharingConfigT>(value); }
89 template<
typename SharingConfigT = SharingConfig>
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
101 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
105 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
111 bool m_authTypeHasBeenSet =
false;
114 bool m_clientTokenHasBeenSet =
true;
117 bool m_nameHasBeenSet =
false;
119 SharingConfig m_sharingConfig;
120 bool m_sharingConfigHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
CreateServiceNetworkRequest & WithTags(TagsT &&value)
void SetSharingConfig(SharingConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool NameHasBeenSet() const
const Aws::String & GetClientToken() const
const Aws::String & GetName() const
void SetTags(TagsT &&value)
bool AuthTypeHasBeenSet() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
AuthType GetAuthType() const
CreateServiceNetworkRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetClientToken(ClientTokenT &&value)
bool SharingConfigHasBeenSet() const
CreateServiceNetworkRequest & WithClientToken(ClientTokenT &&value)
CreateServiceNetworkRequest & WithName(NameT &&value)
bool TagsHasBeenSet() const
void SetAuthType(AuthType value)
bool ClientTokenHasBeenSet() const
AWS_VPCLATTICE_API CreateServiceNetworkRequest()=default
virtual const char * GetServiceRequestName() const override
void SetName(NameT &&value)
CreateServiceNetworkRequest & WithSharingConfig(SharingConfigT &&value)
CreateServiceNetworkRequest & WithAuthType(AuthType value)
const SharingConfig & GetSharingConfig() 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