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

The date and time that the identity source was originally created.

*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } /** *

The date and time that the identity source was originally created.

*/ inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; } /** *

The date and time that the identity source was originally created.

*/ inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); } /** *

The date and time that the identity source was originally created.

*/ inline GetIdentitySourceResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} /** *

The date and time that the identity source was originally created.

*/ inline GetIdentitySourceResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

A structure that describes the configuration of the identity source.

*/ inline const IdentitySourceDetails& GetDetails() const{ return m_details; } /** *

A structure that describes the configuration of the identity source.

*/ inline void SetDetails(const IdentitySourceDetails& value) { m_details = value; } /** *

A structure that describes the configuration of the identity source.

*/ inline void SetDetails(IdentitySourceDetails&& value) { m_details = std::move(value); } /** *

A structure that describes the configuration of the identity source.

*/ inline GetIdentitySourceResult& WithDetails(const IdentitySourceDetails& value) { SetDetails(value); return *this;} /** *

A structure that describes the configuration of the identity source.

*/ inline GetIdentitySourceResult& WithDetails(IdentitySourceDetails&& value) { SetDetails(std::move(value)); return *this;} /** *

The ID of the identity source.

*/ inline const Aws::String& GetIdentitySourceId() const{ return m_identitySourceId; } /** *

The ID of the identity source.

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

The ID of the identity source.

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

The ID of the identity source.

*/ inline void SetIdentitySourceId(const char* value) { m_identitySourceId.assign(value); } /** *

The ID of the identity source.

*/ inline GetIdentitySourceResult& WithIdentitySourceId(const Aws::String& value) { SetIdentitySourceId(value); return *this;} /** *

The ID of the identity source.

*/ inline GetIdentitySourceResult& WithIdentitySourceId(Aws::String&& value) { SetIdentitySourceId(std::move(value)); return *this;} /** *

The ID of the identity source.

*/ inline GetIdentitySourceResult& WithIdentitySourceId(const char* value) { SetIdentitySourceId(value); return *this;} /** *

The date and time that the identity source was most recently updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; } /** *

The date and time that the identity source was most recently updated.

*/ inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; } /** *

The date and time that the identity source was most recently updated.

*/ inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); } /** *

The date and time that the identity source was most recently updated.

*/ inline GetIdentitySourceResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;} /** *

The date and time that the identity source was most recently updated.

*/ inline GetIdentitySourceResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;} /** *

The ID of the policy store that contains the identity source.

*/ inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; } /** *

The ID of the policy store that contains the identity source.

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

The ID of the policy store that contains the identity source.

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

The ID of the policy store that contains the identity source.

*/ inline void SetPolicyStoreId(const char* value) { m_policyStoreId.assign(value); } /** *

The ID of the policy store that contains the identity source.

*/ inline GetIdentitySourceResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;} /** *

The ID of the policy store that contains the identity source.

*/ inline GetIdentitySourceResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;} /** *

The ID of the policy store that contains the identity source.

*/ inline GetIdentitySourceResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;} /** *

The data type of principals generated for identities authenticated by this * identity source.

*/ inline const Aws::String& GetPrincipalEntityType() const{ return m_principalEntityType; } /** *

The data type of principals generated for identities authenticated by this * identity source.

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

The data type of principals generated for identities authenticated by this * identity source.

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

The data type of principals generated for identities authenticated by this * identity source.

*/ inline void SetPrincipalEntityType(const char* value) { m_principalEntityType.assign(value); } /** *

The data type of principals generated for identities authenticated by this * identity source.

*/ inline GetIdentitySourceResult& WithPrincipalEntityType(const Aws::String& value) { SetPrincipalEntityType(value); return *this;} /** *

The data type of principals generated for identities authenticated by this * identity source.

*/ inline GetIdentitySourceResult& WithPrincipalEntityType(Aws::String&& value) { SetPrincipalEntityType(std::move(value)); return *this;} /** *

The data type of principals generated for identities authenticated by this * identity source.

*/ inline GetIdentitySourceResult& WithPrincipalEntityType(const char* value) { SetPrincipalEntityType(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetIdentitySourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetIdentitySourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetIdentitySourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createdDate; IdentitySourceDetails m_details; Aws::String m_identitySourceId; Aws::Utils::DateTime m_lastUpdatedDate; Aws::String m_policyStoreId; Aws::String m_principalEntityType; Aws::String m_requestId; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws