7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/ApiKeyCredential.h>
9#include <aws/appfabric/model/Oauth2Credential.h>
42 template <
typename Oauth2CredentialT = Oauth2Credential>
44 m_oauth2CredentialHasBeenSet =
true;
45 m_oauth2Credential = std::forward<Oauth2CredentialT>(value);
47 template <
typename Oauth2CredentialT = Oauth2Credential>
60 template <
typename ApiKeyCredentialT = ApiKeyCredential>
62 m_apiKeyCredentialHasBeenSet =
true;
63 m_apiKeyCredential = std::forward<ApiKeyCredentialT>(value);
65 template <
typename ApiKeyCredentialT = ApiKeyCredential>
75 bool m_oauth2CredentialHasBeenSet =
false;
76 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