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/ServiceNetworkLogType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
47 template<
typename ClientTokenT = Aws::String>
48 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
49 template<
typename ClientTokenT = Aws::String>
61 template<
typename DestinationArnT = Aws::String>
62 void SetDestinationArn(DestinationArnT&& value) { m_destinationArnHasBeenSet =
true; m_destinationArn = std::forward<DestinationArnT>(value); }
63 template<
typename DestinationArnT = Aws::String>
73 template<
typename ResourceIdentifierT = Aws::String>
74 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet =
true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
75 template<
typename ResourceIdentifierT = Aws::String>
95 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
97 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
101 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
107 bool m_clientTokenHasBeenSet =
true;
110 bool m_destinationArnHasBeenSet =
false;
113 bool m_resourceIdentifierHasBeenSet =
false;
116 bool m_serviceNetworkLogTypeHasBeenSet =
false;
119 bool m_tagsHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetServiceNetworkLogType(ServiceNetworkLogType value)
AWS_VPCLATTICE_API CreateAccessLogSubscriptionRequest()=default
bool DestinationArnHasBeenSet() const
CreateAccessLogSubscriptionRequest & WithDestinationArn(DestinationArnT &&value)
void SetTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
CreateAccessLogSubscriptionRequest & WithServiceNetworkLogType(ServiceNetworkLogType value)
const Aws::String & GetDestinationArn() const
void SetClientToken(ClientTokenT &&value)
void SetDestinationArn(DestinationArnT &&value)
CreateAccessLogSubscriptionRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ServiceNetworkLogTypeHasBeenSet() const
bool TagsHasBeenSet() const
void SetResourceIdentifier(ResourceIdentifierT &&value)
bool ResourceIdentifierHasBeenSet() const
CreateAccessLogSubscriptionRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetResourceIdentifier() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
ServiceNetworkLogType GetServiceNetworkLogType() const
CreateAccessLogSubscriptionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetClientToken() const
CreateAccessLogSubscriptionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
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