/** * 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 QuickSight { namespace Model { /** *

The parameters for Twitter.

See Also:

AWS * API Reference

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

Twitter query string.

*/ inline const Aws::String& GetQuery() const{ return m_query; } /** *

Twitter query string.

*/ inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; } /** *

Twitter query string.

*/ inline void SetQuery(const Aws::String& value) { m_queryHasBeenSet = true; m_query = value; } /** *

Twitter query string.

*/ inline void SetQuery(Aws::String&& value) { m_queryHasBeenSet = true; m_query = std::move(value); } /** *

Twitter query string.

*/ inline void SetQuery(const char* value) { m_queryHasBeenSet = true; m_query.assign(value); } /** *

Twitter query string.

*/ inline TwitterParameters& WithQuery(const Aws::String& value) { SetQuery(value); return *this;} /** *

Twitter query string.

*/ inline TwitterParameters& WithQuery(Aws::String&& value) { SetQuery(std::move(value)); return *this;} /** *

Twitter query string.

*/ inline TwitterParameters& WithQuery(const char* value) { SetQuery(value); return *this;} /** *

Maximum number of rows to query Twitter.

*/ inline int GetMaxRows() const{ return m_maxRows; } /** *

Maximum number of rows to query Twitter.

*/ inline bool MaxRowsHasBeenSet() const { return m_maxRowsHasBeenSet; } /** *

Maximum number of rows to query Twitter.

*/ inline void SetMaxRows(int value) { m_maxRowsHasBeenSet = true; m_maxRows = value; } /** *

Maximum number of rows to query Twitter.

*/ inline TwitterParameters& WithMaxRows(int value) { SetMaxRows(value); return *this;} private: Aws::String m_query; bool m_queryHasBeenSet = false; int m_maxRows; bool m_maxRowsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws