7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/license-manager-user-subscriptions/model/IdentityProvider.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16namespace LicenseManagerUserSubscriptions
44 template<
typename DomainT = Aws::String>
45 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
46 template<
typename DomainT = Aws::String>
56 template<
typename IdentityProv
iderT = IdentityProv
ider>
57 void SetIdentityProvider(IdentityProviderT&& value) { m_identityProviderHasBeenSet =
true; m_identityProvider = std::forward<IdentityProviderT>(value); }
58 template<
typename IdentityProv
iderT = IdentityProv
ider>
71 template<
typename ProductT = Aws::String>
72 void SetProduct(ProductT&& value) { m_productHasBeenSet =
true; m_product = std::forward<ProductT>(value); }
73 template<
typename ProductT = Aws::String>
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
99 template<
typename UsernameT = Aws::String>
100 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
101 template<
typename UsernameT = Aws::String>
107 bool m_domainHasBeenSet =
false;
110 bool m_identityProviderHasBeenSet =
false;
113 bool m_productHasBeenSet =
false;
116 bool m_tagsHasBeenSet =
false;
119 bool m_usernameHasBeenSet =
false;
void SetTags(TagsT &&value)
StartProductSubscriptionRequest & WithUsername(UsernameT &&value)
StartProductSubscriptionRequest & WithDomain(DomainT &&value)
StartProductSubscriptionRequest & WithProduct(ProductT &&value)
const IdentityProvider & GetIdentityProvider() const
StartProductSubscriptionRequest & WithIdentityProvider(IdentityProviderT &&value)
void SetIdentityProvider(IdentityProviderT &&value)
const Aws::String & GetUsername() const
bool ProductHasBeenSet() const
StartProductSubscriptionRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
bool IdentityProviderHasBeenSet() const
StartProductSubscriptionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API StartProductSubscriptionRequest()=default
const Aws::String & GetProduct() const
bool DomainHasBeenSet() const
void SetUsername(UsernameT &&value)
bool UsernameHasBeenSet() const
const Aws::String & GetDomain() const
void SetDomain(DomainT &&value)
void SetProduct(ProductT &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::String SerializePayload() 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