1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/ds/DirectoryService_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace DirectoryService 24 { 25 namespace Model 26 { 27 /** 28 * <p>Result of a VerifyTrust request.</p><p><h3>See Also:</h3> <a 29 * href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrustResult">AWS 30 * API Reference</a></p> 31 */ 32 class AWS_DIRECTORYSERVICE_API VerifyTrustResult 33 { 34 public: 35 VerifyTrustResult(); 36 VerifyTrustResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 37 VerifyTrustResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 39 40 /** 41 * <p>The unique Trust ID of the trust relationship that was verified.</p> 42 */ GetTrustId()43 inline const Aws::String& GetTrustId() const{ return m_trustId; } 44 45 /** 46 * <p>The unique Trust ID of the trust relationship that was verified.</p> 47 */ SetTrustId(const Aws::String & value)48 inline void SetTrustId(const Aws::String& value) { m_trustId = value; } 49 50 /** 51 * <p>The unique Trust ID of the trust relationship that was verified.</p> 52 */ SetTrustId(Aws::String && value)53 inline void SetTrustId(Aws::String&& value) { m_trustId = std::move(value); } 54 55 /** 56 * <p>The unique Trust ID of the trust relationship that was verified.</p> 57 */ SetTrustId(const char * value)58 inline void SetTrustId(const char* value) { m_trustId.assign(value); } 59 60 /** 61 * <p>The unique Trust ID of the trust relationship that was verified.</p> 62 */ WithTrustId(const Aws::String & value)63 inline VerifyTrustResult& WithTrustId(const Aws::String& value) { SetTrustId(value); return *this;} 64 65 /** 66 * <p>The unique Trust ID of the trust relationship that was verified.</p> 67 */ WithTrustId(Aws::String && value)68 inline VerifyTrustResult& WithTrustId(Aws::String&& value) { SetTrustId(std::move(value)); return *this;} 69 70 /** 71 * <p>The unique Trust ID of the trust relationship that was verified.</p> 72 */ WithTrustId(const char * value)73 inline VerifyTrustResult& WithTrustId(const char* value) { SetTrustId(value); return *this;} 74 75 private: 76 77 Aws::String m_trustId; 78 }; 79 80 } // namespace Model 81 } // namespace DirectoryService 82 } // namespace Aws 83