/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace IAM { namespace Model { class DeleteServiceLinkedRoleResult { public: AWS_IAM_API DeleteServiceLinkedRoleResult(); AWS_IAM_API DeleteServiceLinkedRoleResult(const Aws::AmazonWebServiceResult& result); AWS_IAM_API DeleteServiceLinkedRoleResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

*/ inline const Aws::String& GetDeletionTaskId() const{ return m_deletionTaskId; } /** *

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

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

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

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

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

*/ inline void SetDeletionTaskId(const char* value) { m_deletionTaskId.assign(value); } /** *

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

*/ inline DeleteServiceLinkedRoleResult& WithDeletionTaskId(const Aws::String& value) { SetDeletionTaskId(value); return *this;} /** *

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

*/ inline DeleteServiceLinkedRoleResult& WithDeletionTaskId(Aws::String&& value) { SetDeletionTaskId(std::move(value)); return *this;} /** *

The deletion task identifier that you can use to check the status of the * deletion. This identifier is returned in the format * task/aws-service-role/<service-principal-name>/<role-name>/<task-uuid>.

*/ inline DeleteServiceLinkedRoleResult& WithDeletionTaskId(const char* value) { SetDeletionTaskId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DeleteServiceLinkedRoleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteServiceLinkedRoleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_deletionTaskId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws