/** * 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 UpdatePolicyTemplateResult { public: AWS_VERIFIEDPERMISSIONS_API UpdatePolicyTemplateResult(); AWS_VERIFIEDPERMISSIONS_API UpdatePolicyTemplateResult(const Aws::AmazonWebServiceResult& result); AWS_VERIFIEDPERMISSIONS_API UpdatePolicyTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the policy store that contains the updated policy template.

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

The ID of the updated policy template.

*/ inline const Aws::String& GetPolicyTemplateId() const{ return m_policyTemplateId; } /** *

The ID of the updated policy template.

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

The ID of the updated policy template.

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

The ID of the updated policy template.

*/ inline void SetPolicyTemplateId(const char* value) { m_policyTemplateId.assign(value); } /** *

The ID of the updated policy template.

*/ inline UpdatePolicyTemplateResult& WithPolicyTemplateId(const Aws::String& value) { SetPolicyTemplateId(value); return *this;} /** *

The ID of the updated policy template.

*/ inline UpdatePolicyTemplateResult& WithPolicyTemplateId(Aws::String&& value) { SetPolicyTemplateId(std::move(value)); return *this;} /** *

The ID of the updated policy template.

*/ inline UpdatePolicyTemplateResult& WithPolicyTemplateId(const char* value) { SetPolicyTemplateId(value); return *this;} /** *

The date and time that the policy template was originally created.

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

The date and time that the policy template was originally created.

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

The date and time that the policy template was originally created.

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

The date and time that the policy template was originally created.

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

The date and time that the policy template was originally created.

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

The date and time that the policy template was most recently updated.

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

The date and time that the policy template was most recently updated.

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

The date and time that the policy template was most recently updated.

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

The date and time that the policy template was most recently updated.

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

The date and time that the policy template was most recently updated.

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