/** * 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 WorkDocs { namespace Model { class GetDocumentPathResult { public: AWS_WORKDOCS_API GetDocumentPathResult(); AWS_WORKDOCS_API GetDocumentPathResult(const Aws::AmazonWebServiceResult& result); AWS_WORKDOCS_API GetDocumentPathResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The path information.

*/ inline const ResourcePath& GetPath() const{ return m_path; } /** *

The path information.

*/ inline void SetPath(const ResourcePath& value) { m_path = value; } /** *

The path information.

*/ inline void SetPath(ResourcePath&& value) { m_path = std::move(value); } /** *

The path information.

*/ inline GetDocumentPathResult& WithPath(const ResourcePath& value) { SetPath(value); return *this;} /** *

The path information.

*/ inline GetDocumentPathResult& WithPath(ResourcePath&& value) { SetPath(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 GetDocumentPathResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDocumentPathResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDocumentPathResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ResourcePath m_path; Aws::String m_requestId; }; } // namespace Model } // namespace WorkDocs } // namespace Aws