7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/Oauth2Credential.h>
9#include <aws/appfabric/model/ApiKeyCredential.h>
48 template<
typename Oauth2CredentialT = Oauth2Credential>
49 void SetOauth2Credential(Oauth2CredentialT&& value) { m_oauth2CredentialHasBeenSet =
true; m_oauth2Credential = std::forward<Oauth2CredentialT>(value); }
50 template<
typename Oauth2CredentialT = Oauth2Credential>
60 template<
typename ApiKeyCredentialT = ApiKeyCredential>
61 void SetApiKeyCredential(ApiKeyCredentialT&& value) { m_apiKeyCredentialHasBeenSet =
true; m_apiKeyCredential = std::forward<ApiKeyCredentialT>(value); }
62 template<
typename ApiKeyCredentialT = ApiKeyCredential>
68 bool m_oauth2CredentialHasBeenSet =
false;
71 bool m_apiKeyCredentialHasBeenSet =
false;
const Oauth2Credential & GetOauth2Credential() const
Credential & WithApiKeyCredential(ApiKeyCredentialT &&value)
bool ApiKeyCredentialHasBeenSet() const
const ApiKeyCredential & GetApiKeyCredential() const
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
bool Oauth2CredentialHasBeenSet() const
AWS_APPFABRIC_API Credential()=default
Credential & WithOauth2Credential(Oauth2CredentialT &&value)
AWS_APPFABRIC_API Credential & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiKeyCredential(ApiKeyCredentialT &&value)
void SetOauth2Credential(Oauth2CredentialT &&value)
AWS_APPFABRIC_API Credential(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue