7#include <aws/appfabric/AppFabricRequest.h>
8#include <aws/appfabric/AppFabric_EXPORTS.h>
9#include <aws/appfabric/model/AuthType.h>
10#include <aws/appfabric/model/Credential.h>
11#include <aws/appfabric/model/Tag.h>
12#include <aws/appfabric/model/Tenant.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename AppBundleIdentifierT = Aws::String>
46 m_appBundleIdentifierHasBeenSet =
true;
47 m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value);
49 template <
typename AppBundleIdentifierT = Aws::String>
69 template <
typename AppT = Aws::String>
71 m_appHasBeenSet =
true;
72 m_app = std::forward<AppT>(value);
74 template <
typename AppT = Aws::String>
76 SetApp(std::forward<AppT>(value));
90 template <
typename CredentialT = Credential>
92 m_credentialHasBeenSet =
true;
93 m_credential = std::forward<CredentialT>(value);
95 template <
typename CredentialT = Credential>
109 template <
typename TenantT = Tenant>
111 m_tenantHasBeenSet =
true;
112 m_tenant = std::forward<TenantT>(value);
114 template <
typename TenantT = Tenant>
128 m_authTypeHasBeenSet =
true;
152 template <
typename ClientTokenT = Aws::String>
154 m_clientTokenHasBeenSet =
true;
155 m_clientToken = std::forward<ClientTokenT>(value);
157 template <
typename ClientTokenT = Aws::String>
171 template <
typename TagsT = Aws::Vector<Tag>>
173 m_tagsHasBeenSet =
true;
174 m_tags = std::forward<TagsT>(value);
176 template <
typename TagsT = Aws::Vector<Tag>>
178 SetTags(std::forward<TagsT>(value));
181 template <
typename TagsT = Tag>
183 m_tagsHasBeenSet =
true;
184 m_tags.emplace_back(std::forward<TagsT>(value));
202 bool m_appBundleIdentifierHasBeenSet =
false;
203 bool m_appHasBeenSet =
false;
204 bool m_credentialHasBeenSet =
false;
205 bool m_tenantHasBeenSet =
false;
206 bool m_authTypeHasBeenSet =
false;
207 bool m_clientTokenHasBeenSet =
true;
208 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