AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SqlQueryDatasetAction.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotanalytics/model/QueryFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTAnalytics
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTANALYTICS_API SqlQueryDatasetAction();
37 AWS_IOTANALYTICS_API SqlQueryDatasetAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSqlQuery() const{ return m_sqlQuery; }
47 inline bool SqlQueryHasBeenSet() const { return m_sqlQueryHasBeenSet; }
48 inline void SetSqlQuery(const Aws::String& value) { m_sqlQueryHasBeenSet = true; m_sqlQuery = value; }
49 inline void SetSqlQuery(Aws::String&& value) { m_sqlQueryHasBeenSet = true; m_sqlQuery = std::move(value); }
50 inline void SetSqlQuery(const char* value) { m_sqlQueryHasBeenSet = true; m_sqlQuery.assign(value); }
51 inline SqlQueryDatasetAction& WithSqlQuery(const Aws::String& value) { SetSqlQuery(value); return *this;}
52 inline SqlQueryDatasetAction& WithSqlQuery(Aws::String&& value) { SetSqlQuery(std::move(value)); return *this;}
53 inline SqlQueryDatasetAction& WithSqlQuery(const char* value) { SetSqlQuery(value); return *this;}
55
57
60 inline const Aws::Vector<QueryFilter>& GetFilters() const{ return m_filters; }
61 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
62 inline void SetFilters(const Aws::Vector<QueryFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
63 inline void SetFilters(Aws::Vector<QueryFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
64 inline SqlQueryDatasetAction& WithFilters(const Aws::Vector<QueryFilter>& value) { SetFilters(value); return *this;}
65 inline SqlQueryDatasetAction& WithFilters(Aws::Vector<QueryFilter>&& value) { SetFilters(std::move(value)); return *this;}
66 inline SqlQueryDatasetAction& AddFilters(const QueryFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
67 inline SqlQueryDatasetAction& AddFilters(QueryFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_sqlQuery;
72 bool m_sqlQueryHasBeenSet = false;
73
75 bool m_filtersHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoTAnalytics
80} // namespace Aws
AWS_IOTANALYTICS_API SqlQueryDatasetAction(Aws::Utils::Json::JsonView jsonValue)
SqlQueryDatasetAction & AddFilters(QueryFilter &&value)
AWS_IOTANALYTICS_API SqlQueryDatasetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
SqlQueryDatasetAction & WithFilters(const Aws::Vector< QueryFilter > &value)
SqlQueryDatasetAction & AddFilters(const QueryFilter &value)
const Aws::Vector< QueryFilter > & GetFilters() const
void SetFilters(const Aws::Vector< QueryFilter > &value)
SqlQueryDatasetAction & WithSqlQuery(Aws::String &&value)
void SetFilters(Aws::Vector< QueryFilter > &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
SqlQueryDatasetAction & WithSqlQuery(const char *value)
SqlQueryDatasetAction & WithFilters(Aws::Vector< QueryFilter > &&value)
SqlQueryDatasetAction & WithSqlQuery(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue