/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace DirectoryService { namespace Model { class AcceptSharedDirectoryResult { public: AWS_DIRECTORYSERVICE_API AcceptSharedDirectoryResult(); AWS_DIRECTORYSERVICE_API AcceptSharedDirectoryResult(const Aws::AmazonWebServiceResult& result); AWS_DIRECTORYSERVICE_API AcceptSharedDirectoryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The shared directory in the directory consumer account.

*/ inline const SharedDirectory& GetSharedDirectory() const{ return m_sharedDirectory; } /** *

The shared directory in the directory consumer account.

*/ inline void SetSharedDirectory(const SharedDirectory& value) { m_sharedDirectory = value; } /** *

The shared directory in the directory consumer account.

*/ inline void SetSharedDirectory(SharedDirectory&& value) { m_sharedDirectory = std::move(value); } /** *

The shared directory in the directory consumer account.

*/ inline AcceptSharedDirectoryResult& WithSharedDirectory(const SharedDirectory& value) { SetSharedDirectory(value); return *this;} /** *

The shared directory in the directory consumer account.

*/ inline AcceptSharedDirectoryResult& WithSharedDirectory(SharedDirectory&& value) { SetSharedDirectory(std::move(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 AcceptSharedDirectoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AcceptSharedDirectoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AcceptSharedDirectoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SharedDirectory m_sharedDirectory; Aws::String m_requestId; }; } // namespace Model } // namespace DirectoryService } // namespace Aws