7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appfabric/model/Credential.h>
11#include <aws/appfabric/model/Tenant.h>
12#include <aws/appfabric/model/AuthType.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/appfabric/model/Tag.h>
16#include <aws/core/utils/UUID.h>
48 template<
typename AppBundleIdentifierT = Aws::String>
49 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) { m_appBundleIdentifierHasBeenSet =
true; m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value); }
50 template<
typename AppBundleIdentifierT = Aws::String>
67 template<
typename AppT = Aws::String>
68 void SetApp(AppT&& value) { m_appHasBeenSet =
true; m_app = std::forward<AppT>(value); }
69 template<
typename AppT = Aws::String>
82 template<
typename CredentialT = Credential>
83 void SetCredential(CredentialT&& value) { m_credentialHasBeenSet =
true; m_credential = std::forward<CredentialT>(value); }
84 template<
typename CredentialT = Credential>
95 template<
typename TenantT = Tenant>
96 void SetTenant(TenantT&& value) { m_tenantHasBeenSet =
true; m_tenant = std::forward<TenantT>(value); }
97 template<
typename TenantT = Tenant>
126 template<
typename ClientTokenT = Aws::String>
127 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
128 template<
typename ClientTokenT = Aws::String>
139 template<
typename TagsT = Aws::Vector<Tag>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Vector<Tag>>
143 template<
typename TagsT = Tag>
149 bool m_appBundleIdentifierHasBeenSet =
false;
152 bool m_appHasBeenSet =
false;
155 bool m_credentialHasBeenSet =
false;
158 bool m_tenantHasBeenSet =
false;
161 bool m_authTypeHasBeenSet =
false;
164 bool m_clientTokenHasBeenSet =
true;
167 bool m_tagsHasBeenSet =
false;
CreateAppAuthorizationRequest & WithAuthType(AuthType value)
bool ClientTokenHasBeenSet() const
bool CredentialHasBeenSet() const
CreateAppAuthorizationRequest & WithTenant(TenantT &&value)
void SetCredential(CredentialT &&value)
virtual const char * GetServiceRequestName() const override
CreateAppAuthorizationRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetAppBundleIdentifier() const
const Aws::Vector< Tag > & GetTags() const
CreateAppAuthorizationRequest & WithCredential(CredentialT &&value)
AuthType GetAuthType() const
AWS_APPFABRIC_API CreateAppAuthorizationRequest()=default
void SetApp(AppT &&value)
bool TenantHasBeenSet() const
void SetTenant(TenantT &&value)
bool TagsHasBeenSet() const
const Tenant & GetTenant() const
bool AppHasBeenSet() const
CreateAppAuthorizationRequest & AddTags(TagsT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
bool AppBundleIdentifierHasBeenSet() const
void SetAuthType(AuthType value)
const Aws::String & GetApp() const
CreateAppAuthorizationRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
void SetAppBundleIdentifier(AppBundleIdentifierT &&value)
const Credential & GetCredential() const
void SetTags(TagsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateAppAuthorizationRequest & WithApp(AppT &&value)
CreateAppAuthorizationRequest & WithTags(TagsT &&value)
bool AuthTypeHasBeenSet() const
const Aws::String & GetClientToken() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector