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

The protected query.

*/ inline const ProtectedQuery& GetProtectedQuery() const{ return m_protectedQuery; } /** *

The protected query.

*/ inline void SetProtectedQuery(const ProtectedQuery& value) { m_protectedQuery = value; } /** *

The protected query.

*/ inline void SetProtectedQuery(ProtectedQuery&& value) { m_protectedQuery = std::move(value); } /** *

The protected query.

*/ inline StartProtectedQueryResult& WithProtectedQuery(const ProtectedQuery& value) { SetProtectedQuery(value); return *this;} /** *

The protected query.

*/ inline StartProtectedQueryResult& WithProtectedQuery(ProtectedQuery&& value) { SetProtectedQuery(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 StartProtectedQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartProtectedQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartProtectedQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ProtectedQuery m_protectedQuery; Aws::String m_requestId; }; } // namespace Model } // namespace CleanRooms } // namespace Aws