AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetQuery(const Aws::String& value) { m_queryHasBeenSet = true; m_query = value; }
47 inline void SetQuery(Aws::String&& value) { m_queryHasBeenSet = true; m_query = std::move(value); }
48 inline void SetQuery(const char* value) { m_queryHasBeenSet = true; m_query.assign(value); }
49 inline TwitterParameters& WithQuery(const Aws::String& value) { SetQuery(value); return *this;}
50 inline TwitterParameters& WithQuery(Aws::String&& value) { SetQuery(std::move(value)); return *this;}
51 inline TwitterParameters& WithQuery(const char* value) { SetQuery(value); return *this;}
53
55
58 inline int GetMaxRows() const{ return m_maxRows; }
59 inline bool MaxRowsHasBeenSet() const { return m_maxRowsHasBeenSet; }
60 inline void SetMaxRows(int value) { m_maxRowsHasBeenSet = true; m_maxRows = value; }
61 inline TwitterParameters& WithMaxRows(int value) { SetMaxRows(value); return *this;}
63 private:
64
65 Aws::String m_query;
66 bool m_queryHasBeenSet = false;
67
68 int m_maxRows;
69 bool m_maxRowsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
TwitterParameters & WithMaxRows(int value)
AWS_QUICKSIGHT_API TwitterParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
TwitterParameters & WithQuery(Aws::String &&value)
AWS_QUICKSIGHT_API TwitterParameters(Aws::Utils::Json::JsonView jsonValue)
void SetQuery(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TwitterParameters & WithQuery(const char *value)
TwitterParameters & WithQuery(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue