/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSOOIDC { namespace Model { class AWS_SSOOIDC_API RegisterClientResult { public: RegisterClientResult(); RegisterClientResult(const Aws::AmazonWebServiceResult& result); RegisterClientResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline void SetClientId(const Aws::String& value) { m_clientId = value; } /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline void SetClientId(Aws::String&& value) { m_clientId = std::move(value); } /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline void SetClientId(const char* value) { m_clientId.assign(value); } /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *

The unique identifier string for each client. This client uses this * identifier to get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientId(const char* value) { SetClientId(value); return *this;} /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline const Aws::String& GetClientSecret() const{ return m_clientSecret; } /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline void SetClientSecret(const Aws::String& value) { m_clientSecret = value; } /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline void SetClientSecret(Aws::String&& value) { m_clientSecret = std::move(value); } /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline void SetClientSecret(const char* value) { m_clientSecret.assign(value); } /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientSecret(const Aws::String& value) { SetClientSecret(value); return *this;} /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientSecret(Aws::String&& value) { SetClientSecret(std::move(value)); return *this;} /** *

A secret string generated for the client. The client will use this string to * get authenticated by the service in subsequent calls.

*/ inline RegisterClientResult& WithClientSecret(const char* value) { SetClientSecret(value); return *this;} /** *

Indicates the time at which the clientId and * clientSecret were issued.

*/ inline long long GetClientIdIssuedAt() const{ return m_clientIdIssuedAt; } /** *

Indicates the time at which the clientId and * clientSecret were issued.

*/ inline void SetClientIdIssuedAt(long long value) { m_clientIdIssuedAt = value; } /** *

Indicates the time at which the clientId and * clientSecret were issued.

*/ inline RegisterClientResult& WithClientIdIssuedAt(long long value) { SetClientIdIssuedAt(value); return *this;} /** *

Indicates the time at which the clientId and * clientSecret will become invalid.

*/ inline long long GetClientSecretExpiresAt() const{ return m_clientSecretExpiresAt; } /** *

Indicates the time at which the clientId and * clientSecret will become invalid.

*/ inline void SetClientSecretExpiresAt(long long value) { m_clientSecretExpiresAt = value; } /** *

Indicates the time at which the clientId and * clientSecret will become invalid.

*/ inline RegisterClientResult& WithClientSecretExpiresAt(long long value) { SetClientSecretExpiresAt(value); return *this;} /** *

The endpoint where the client can request authorization.

*/ inline const Aws::String& GetAuthorizationEndpoint() const{ return m_authorizationEndpoint; } /** *

The endpoint where the client can request authorization.

*/ inline void SetAuthorizationEndpoint(const Aws::String& value) { m_authorizationEndpoint = value; } /** *

The endpoint where the client can request authorization.

*/ inline void SetAuthorizationEndpoint(Aws::String&& value) { m_authorizationEndpoint = std::move(value); } /** *

The endpoint where the client can request authorization.

*/ inline void SetAuthorizationEndpoint(const char* value) { m_authorizationEndpoint.assign(value); } /** *

The endpoint where the client can request authorization.

*/ inline RegisterClientResult& WithAuthorizationEndpoint(const Aws::String& value) { SetAuthorizationEndpoint(value); return *this;} /** *

The endpoint where the client can request authorization.

*/ inline RegisterClientResult& WithAuthorizationEndpoint(Aws::String&& value) { SetAuthorizationEndpoint(std::move(value)); return *this;} /** *

The endpoint where the client can request authorization.

*/ inline RegisterClientResult& WithAuthorizationEndpoint(const char* value) { SetAuthorizationEndpoint(value); return *this;} /** *

The endpoint where the client can get an access token.

*/ inline const Aws::String& GetTokenEndpoint() const{ return m_tokenEndpoint; } /** *

The endpoint where the client can get an access token.

*/ inline void SetTokenEndpoint(const Aws::String& value) { m_tokenEndpoint = value; } /** *

The endpoint where the client can get an access token.

*/ inline void SetTokenEndpoint(Aws::String&& value) { m_tokenEndpoint = std::move(value); } /** *

The endpoint where the client can get an access token.

*/ inline void SetTokenEndpoint(const char* value) { m_tokenEndpoint.assign(value); } /** *

The endpoint where the client can get an access token.

*/ inline RegisterClientResult& WithTokenEndpoint(const Aws::String& value) { SetTokenEndpoint(value); return *this;} /** *

The endpoint where the client can get an access token.

*/ inline RegisterClientResult& WithTokenEndpoint(Aws::String&& value) { SetTokenEndpoint(std::move(value)); return *this;} /** *

The endpoint where the client can get an access token.

*/ inline RegisterClientResult& WithTokenEndpoint(const char* value) { SetTokenEndpoint(value); return *this;} private: Aws::String m_clientId; Aws::String m_clientSecret; long long m_clientIdIssuedAt; long long m_clientSecretExpiresAt; Aws::String m_authorizationEndpoint; Aws::String m_tokenEndpoint; }; } // namespace Model } // namespace SSOOIDC } // namespace Aws