AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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