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

The date and time the identity source was originally created.

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

The date and time the identity source was originally created.

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

The date and time the identity source was originally created.

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

The date and time the identity source was originally created.

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

The date and time the identity source was originally created.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

The unique ID of the new identity source.

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

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

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

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

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

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

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

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

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

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

*/ inline CreateIdentitySourceResult& 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 CreateIdentitySourceResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;} /** *

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

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

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

*/ inline CreateIdentitySourceResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(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 CreateIdentitySourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateIdentitySourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateIdentitySourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_createdDate; Aws::String m_identitySourceId; Aws::Utils::DateTime m_lastUpdatedDate; Aws::String m_policyStoreId; Aws::String m_requestId; }; } // namespace Model } // namespace VerifiedPermissions } // namespace Aws