/** * 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 DirectoryService { namespace Model { /** *

The result of a DeleteTrust request.

See Also:

AWS * API Reference

*/ class DeleteTrustResult { public: AWS_DIRECTORYSERVICE_API DeleteTrustResult(); AWS_DIRECTORYSERVICE_API DeleteTrustResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API DeleteTrustResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Trust ID of the trust relationship that was deleted.

*/ inline const Aws::String& GetTrustId() const{ return m_trustId; } /** *

The Trust ID of the trust relationship that was deleted.

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

The Trust ID of the trust relationship that was deleted.

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

The Trust ID of the trust relationship that was deleted.

*/ inline void SetTrustId(const char* value) { m_trustId.assign(value); } /** *

The Trust ID of the trust relationship that was deleted.

*/ inline DeleteTrustResult& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;} /** *

The Trust ID of the trust relationship that was deleted.

*/ inline DeleteTrustResult& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;} /** *

The Trust ID of the trust relationship that was deleted.

*/ inline DeleteTrustResult& WithTrustId(const char* value) { SetTrustId(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 DeleteTrustResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteTrustResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteTrustResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_trustId; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws