7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/internetmonitor/InternetMonitor_EXPORTS.h>
11#include <aws/internetmonitor/model/QueryField.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace InternetMonitor {
38 template <
typename FieldsT = Aws::Vector<QueryField>>
40 m_fieldsHasBeenSet =
true;
41 m_fields = std::forward<FieldsT>(value);
43 template <
typename FieldsT = Aws::Vector<QueryField>>
48 template <
typename FieldsT = QueryField>
50 m_fieldsHasBeenSet =
true;
51 m_fields.emplace_back(std::forward<FieldsT>(value));
65 template <
typename DataT = Aws::Vector<Aws::Vector<Aws::String>>>
67 m_dataHasBeenSet =
true;
68 m_data = std::forward<DataT>(value);
70 template <
typename DataT = Aws::Vector<Aws::Vector<Aws::String>>>
72 SetData(std::forward<DataT>(value));
75 template <
typename DataT = Aws::Vector<Aws::String>>
77 m_dataHasBeenSet =
true;
78 m_data.emplace_back(std::forward<DataT>(value));
89 template <
typename NextTokenT = Aws::String>
91 m_nextTokenHasBeenSet =
true;
92 m_nextToken = std::forward<NextTokenT>(value);
94 template <
typename NextTokenT = Aws::String>
104 template <
typename RequestIdT = Aws::String>
106 m_requestIdHasBeenSet =
true;
107 m_requestId = std::forward<RequestIdT>(value);
109 template <
typename RequestIdT = Aws::String>
126 bool m_fieldsHasBeenSet =
false;
127 bool m_dataHasBeenSet =
false;
128 bool m_nextTokenHasBeenSet =
false;
129 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetNextToken() const
GetQueryResultsResult & WithData(DataT &&value)
GetQueryResultsResult & WithFields(FieldsT &&value)
GetQueryResultsResult & AddData(DataT &&value)
AWS_INTERNETMONITOR_API GetQueryResultsResult()=default
GetQueryResultsResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< QueryField > & GetFields() const
GetQueryResultsResult & WithRequestId(RequestIdT &&value)
AWS_INTERNETMONITOR_API GetQueryResultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetFields(FieldsT &&value)
GetQueryResultsResult & AddFields(FieldsT &&value)
void SetData(DataT &&value)
const Aws::String & GetRequestId() const
const Aws::Vector< Aws::Vector< Aws::String > > & GetData() const
AWS_INTERNETMONITOR_API GetQueryResultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&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