/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CleanRooms { namespace Model { /** *

The parameters for the SQL type Protected Query.

See Also:

* AWS * API Reference

*/ class ProtectedQuerySQLParameters { public: AWS_CLEANROOMS_API ProtectedQuerySQLParameters(); AWS_CLEANROOMS_API ProtectedQuerySQLParameters(Aws::Utils::Json::JsonView jsonValue); AWS_CLEANROOMS_API ProtectedQuerySQLParameters& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The query string to be submitted.

*/ inline const Aws::String& GetQueryString() const{ return m_queryString; } /** *

The query string to be submitted.

*/ inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; } /** *

The query string to be submitted.

*/ inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; } /** *

The query string to be submitted.

*/ inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); } /** *

The query string to be submitted.

*/ inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); } /** *

The query string to be submitted.

*/ inline ProtectedQuerySQLParameters& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;} /** *

The query string to be submitted.

*/ inline ProtectedQuerySQLParameters& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;} /** *

The query string to be submitted.

*/ inline ProtectedQuerySQLParameters& WithQueryString(const char* value) { SetQueryString(value); return *this;} private: Aws::String m_queryString; bool m_queryStringHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws