AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TwitterParameters.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_QUICKSIGHT_API TwitterParameters() = default;
35 AWS_QUICKSIGHT_API TwitterParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetQuery() const { return m_query; }
45 inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
46 template<typename QueryT = Aws::String>
47 void SetQuery(QueryT&& value) { m_queryHasBeenSet = true; m_query = std::forward<QueryT>(value); }
48 template<typename QueryT = Aws::String>
49 TwitterParameters& WithQuery(QueryT&& value) { SetQuery(std::forward<QueryT>(value)); return *this;}
51
53
56 inline int GetMaxRows() const { return m_maxRows; }
57 inline bool MaxRowsHasBeenSet() const { return m_maxRowsHasBeenSet; }
58 inline void SetMaxRows(int value) { m_maxRowsHasBeenSet = true; m_maxRows = value; }
59 inline TwitterParameters& WithMaxRows(int value) { SetMaxRows(value); return *this;}
61 private:
62
63 Aws::String m_query;
64 bool m_queryHasBeenSet = false;
65
66 int m_maxRows{0};
67 bool m_maxRowsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace QuickSight
72} // namespace Aws
TwitterParameters & WithQuery(QueryT &&value)
TwitterParameters & WithMaxRows(int value)
AWS_QUICKSIGHT_API TwitterParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TwitterParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TwitterParameters()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue