/** * 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 CreateTrust request.

See Also:

AWS * API Reference

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

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

A unique identifier for the trust relationship that was created.

*/ inline CreateTrustResult& WithTrustId(const char* value) { SetTrustId(value); return *this;} private: Aws::String m_trustId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws