/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of the website authorization provider.See Also:
* AWS
* API Reference
A unique identifier for the authorization provider.
*/ inline const Aws::String& GetAuthorizationProviderId() const{ return m_authorizationProviderId; } /** *A unique identifier for the authorization provider.
*/ inline bool AuthorizationProviderIdHasBeenSet() const { return m_authorizationProviderIdHasBeenSet; } /** *A unique identifier for the authorization provider.
*/ inline void SetAuthorizationProviderId(const Aws::String& value) { m_authorizationProviderIdHasBeenSet = true; m_authorizationProviderId = value; } /** *A unique identifier for the authorization provider.
*/ inline void SetAuthorizationProviderId(Aws::String&& value) { m_authorizationProviderIdHasBeenSet = true; m_authorizationProviderId = std::move(value); } /** *A unique identifier for the authorization provider.
*/ inline void SetAuthorizationProviderId(const char* value) { m_authorizationProviderIdHasBeenSet = true; m_authorizationProviderId.assign(value); } /** *A unique identifier for the authorization provider.
*/ inline WebsiteAuthorizationProviderSummary& WithAuthorizationProviderId(const Aws::String& value) { SetAuthorizationProviderId(value); return *this;} /** *A unique identifier for the authorization provider.
*/ inline WebsiteAuthorizationProviderSummary& WithAuthorizationProviderId(Aws::String&& value) { SetAuthorizationProviderId(std::move(value)); return *this;} /** *A unique identifier for the authorization provider.
*/ inline WebsiteAuthorizationProviderSummary& WithAuthorizationProviderId(const char* value) { SetAuthorizationProviderId(value); return *this;} /** *The authorization provider type.
*/ inline const AuthorizationProviderType& GetAuthorizationProviderType() const{ return m_authorizationProviderType; } /** *The authorization provider type.
*/ inline bool AuthorizationProviderTypeHasBeenSet() const { return m_authorizationProviderTypeHasBeenSet; } /** *The authorization provider type.
*/ inline void SetAuthorizationProviderType(const AuthorizationProviderType& value) { m_authorizationProviderTypeHasBeenSet = true; m_authorizationProviderType = value; } /** *The authorization provider type.
*/ inline void SetAuthorizationProviderType(AuthorizationProviderType&& value) { m_authorizationProviderTypeHasBeenSet = true; m_authorizationProviderType = std::move(value); } /** *The authorization provider type.
*/ inline WebsiteAuthorizationProviderSummary& WithAuthorizationProviderType(const AuthorizationProviderType& value) { SetAuthorizationProviderType(value); return *this;} /** *The authorization provider type.
*/ inline WebsiteAuthorizationProviderSummary& WithAuthorizationProviderType(AuthorizationProviderType&& value) { SetAuthorizationProviderType(std::move(value)); return *this;} /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline WebsiteAuthorizationProviderSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline WebsiteAuthorizationProviderSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The domain name of the authorization provider. This applies only to * SAML-based authorization providers.
*/ inline WebsiteAuthorizationProviderSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The time of creation.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The time of creation.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time of creation.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time of creation.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time of creation.
*/ inline WebsiteAuthorizationProviderSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The time of creation.
*/ inline WebsiteAuthorizationProviderSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} private: Aws::String m_authorizationProviderId; bool m_authorizationProviderIdHasBeenSet = false; AuthorizationProviderType m_authorizationProviderType; bool m_authorizationProviderTypeHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; }; } // namespace Model } // namespace WorkLink } // namespace Aws