AWS SDK for C++  1.9.106
AWS SDK for C++
TwitterParameters.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetQuery() const{ return m_query; }
44 
48  inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
49 
53  inline void SetQuery(const Aws::String& value) { m_queryHasBeenSet = true; m_query = value; }
54 
58  inline void SetQuery(Aws::String&& value) { m_queryHasBeenSet = true; m_query = std::move(value); }
59 
63  inline void SetQuery(const char* value) { m_queryHasBeenSet = true; m_query.assign(value); }
64 
68  inline TwitterParameters& WithQuery(const Aws::String& value) { SetQuery(value); return *this;}
69 
73  inline TwitterParameters& WithQuery(Aws::String&& value) { SetQuery(std::move(value)); return *this;}
74 
78  inline TwitterParameters& WithQuery(const char* value) { SetQuery(value); return *this;}
79 
80 
84  inline int GetMaxRows() const{ return m_maxRows; }
85 
89  inline bool MaxRowsHasBeenSet() const { return m_maxRowsHasBeenSet; }
90 
94  inline void SetMaxRows(int value) { m_maxRowsHasBeenSet = true; m_maxRows = value; }
95 
99  inline TwitterParameters& WithMaxRows(int value) { SetMaxRows(value); return *this;}
100 
101  private:
102 
103  Aws::String m_query;
104  bool m_queryHasBeenSet;
105 
106  int m_maxRows;
107  bool m_maxRowsHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace QuickSight
112 } // namespace Aws
Aws::QuickSight::Model::TwitterParameters::GetMaxRows
int GetMaxRows() const
Definition: TwitterParameters.h:84
Aws::QuickSight::Model::TwitterParameters::MaxRowsHasBeenSet
bool MaxRowsHasBeenSet() const
Definition: TwitterParameters.h:89
QuickSight_EXPORTS.h
Aws::QuickSight::Model::TwitterParameters::TwitterParameters
TwitterParameters(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TwitterParameters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::TwitterParameters::WithMaxRows
TwitterParameters & WithMaxRows(int value)
Definition: TwitterParameters.h:99
Aws::QuickSight::Model::TwitterParameters::SetQuery
void SetQuery(const Aws::String &value)
Definition: TwitterParameters.h:53
Aws::QuickSight::Model::TwitterParameters::WithQuery
TwitterParameters & WithQuery(const Aws::String &value)
Definition: TwitterParameters.h:68
Aws::QuickSight::Model::TwitterParameters::operator=
TwitterParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::TwitterParameters::WithQuery
TwitterParameters & WithQuery(const char *value)
Definition: TwitterParameters.h:78
Aws::QuickSight::Model::TwitterParameters::GetQuery
const Aws::String & GetQuery() const
Definition: TwitterParameters.h:43
Aws::QuickSight::Model::TwitterParameters::WithQuery
TwitterParameters & WithQuery(Aws::String &&value)
Definition: TwitterParameters.h:73
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::TwitterParameters::QueryHasBeenSet
bool QueryHasBeenSet() const
Definition: TwitterParameters.h:48
Aws::QuickSight::Model::TwitterParameters
Definition: TwitterParameters.h:32
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::TwitterParameters::TwitterParameters
TwitterParameters()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::TwitterParameters::SetMaxRows
void SetMaxRows(int value)
Definition: TwitterParameters.h:94
Aws::QuickSight::Model::TwitterParameters::SetQuery
void SetQuery(const char *value)
Definition: TwitterParameters.h:63
Aws::QuickSight::Model::TwitterParameters::SetQuery
void SetQuery(Aws::String &&value)
Definition: TwitterParameters.h:58