/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Deletes the local side of an existing trust relationship between the Managed
* Microsoft AD directory and the external domain.See Also:
AWS
* API Reference
The Trust ID of the trust relationship to be deleted.
*/ inline const Aws::String& GetTrustId() const{ return m_trustId; } /** *The Trust ID of the trust relationship to be deleted.
*/ inline bool TrustIdHasBeenSet() const { return m_trustIdHasBeenSet; } /** *The Trust ID of the trust relationship to be deleted.
*/ inline void SetTrustId(const Aws::String& value) { m_trustIdHasBeenSet = true; m_trustId = value; } /** *The Trust ID of the trust relationship to be deleted.
*/ inline void SetTrustId(Aws::String&& value) { m_trustIdHasBeenSet = true; m_trustId = std::move(value); } /** *The Trust ID of the trust relationship to be deleted.
*/ inline void SetTrustId(const char* value) { m_trustIdHasBeenSet = true; m_trustId.assign(value); } /** *The Trust ID of the trust relationship to be deleted.
*/ inline DeleteTrustRequest& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;} /** *The Trust ID of the trust relationship to be deleted.
*/ inline DeleteTrustRequest& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;} /** *The Trust ID of the trust relationship to be deleted.
*/ inline DeleteTrustRequest& WithTrustId(const char* value) { SetTrustId(value); return *this;} /** *Delete a conditional forwarder as part of a DeleteTrustRequest.
*/ inline bool GetDeleteAssociatedConditionalForwarder() const{ return m_deleteAssociatedConditionalForwarder; } /** *Delete a conditional forwarder as part of a DeleteTrustRequest.
*/ inline bool DeleteAssociatedConditionalForwarderHasBeenSet() const { return m_deleteAssociatedConditionalForwarderHasBeenSet; } /** *Delete a conditional forwarder as part of a DeleteTrustRequest.
*/ inline void SetDeleteAssociatedConditionalForwarder(bool value) { m_deleteAssociatedConditionalForwarderHasBeenSet = true; m_deleteAssociatedConditionalForwarder = value; } /** *Delete a conditional forwarder as part of a DeleteTrustRequest.
*/ inline DeleteTrustRequest& WithDeleteAssociatedConditionalForwarder(bool value) { SetDeleteAssociatedConditionalForwarder(value); return *this;} private: Aws::String m_trustId; bool m_trustIdHasBeenSet = false; bool m_deleteAssociatedConditionalForwarder; bool m_deleteAssociatedConditionalForwarderHasBeenSet = false; }; } // namespace Model } // namespace DirectoryService } // namespace Aws