AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrepareQueryResult.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/timestream-query/model/SelectColumn.h>
11#include <aws/timestream-query/model/ParameterMapping.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace TimestreamQuery
27{
28namespace Model
29{
31 {
32 public:
33 AWS_TIMESTREAMQUERY_API PrepareQueryResult();
36
37
39
42 inline const Aws::String& GetQueryString() const{ return m_queryString; }
43 inline void SetQueryString(const Aws::String& value) { m_queryString = value; }
44 inline void SetQueryString(Aws::String&& value) { m_queryString = std::move(value); }
45 inline void SetQueryString(const char* value) { m_queryString.assign(value); }
46 inline PrepareQueryResult& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;}
47 inline PrepareQueryResult& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;}
48 inline PrepareQueryResult& WithQueryString(const char* value) { SetQueryString(value); return *this;}
50
52
55 inline const Aws::Vector<SelectColumn>& GetColumns() const{ return m_columns; }
56 inline void SetColumns(const Aws::Vector<SelectColumn>& value) { m_columns = value; }
57 inline void SetColumns(Aws::Vector<SelectColumn>&& value) { m_columns = std::move(value); }
58 inline PrepareQueryResult& WithColumns(const Aws::Vector<SelectColumn>& value) { SetColumns(value); return *this;}
59 inline PrepareQueryResult& WithColumns(Aws::Vector<SelectColumn>&& value) { SetColumns(std::move(value)); return *this;}
60 inline PrepareQueryResult& AddColumns(const SelectColumn& value) { m_columns.push_back(value); return *this; }
61 inline PrepareQueryResult& AddColumns(SelectColumn&& value) { m_columns.push_back(std::move(value)); return *this; }
63
65
68 inline const Aws::Vector<ParameterMapping>& GetParameters() const{ return m_parameters; }
69 inline void SetParameters(const Aws::Vector<ParameterMapping>& value) { m_parameters = value; }
70 inline void SetParameters(Aws::Vector<ParameterMapping>&& value) { m_parameters = std::move(value); }
72 inline PrepareQueryResult& WithParameters(Aws::Vector<ParameterMapping>&& value) { SetParameters(std::move(value)); return *this;}
73 inline PrepareQueryResult& AddParameters(const ParameterMapping& value) { m_parameters.push_back(value); return *this; }
74 inline PrepareQueryResult& AddParameters(ParameterMapping&& value) { m_parameters.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline PrepareQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline PrepareQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline PrepareQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87 private:
88
89 Aws::String m_queryString;
90
92
94
95 Aws::String m_requestId;
96 };
97
98} // namespace Model
99} // namespace TimestreamQuery
100} // namespace Aws
PrepareQueryResult & WithParameters(Aws::Vector< ParameterMapping > &&value)
PrepareQueryResult & AddParameters(ParameterMapping &&value)
void SetColumns(Aws::Vector< SelectColumn > &&value)
const Aws::Vector< SelectColumn > & GetColumns() const
PrepareQueryResult & WithParameters(const Aws::Vector< ParameterMapping > &value)
PrepareQueryResult & AddParameters(const ParameterMapping &value)
void SetColumns(const Aws::Vector< SelectColumn > &value)
PrepareQueryResult & WithQueryString(const Aws::String &value)
void SetParameters(const Aws::Vector< ParameterMapping > &value)
void SetParameters(Aws::Vector< ParameterMapping > &&value)
PrepareQueryResult & WithRequestId(Aws::String &&value)
PrepareQueryResult & AddColumns(SelectColumn &&value)
PrepareQueryResult & WithQueryString(const char *value)
PrepareQueryResult & WithColumns(const Aws::Vector< SelectColumn > &value)
PrepareQueryResult & AddColumns(const SelectColumn &value)
AWS_TIMESTREAMQUERY_API PrepareQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PrepareQueryResult & WithQueryString(Aws::String &&value)
PrepareQueryResult & WithColumns(Aws::Vector< SelectColumn > &&value)
PrepareQueryResult & WithRequestId(const Aws::String &value)
const Aws::Vector< ParameterMapping > & GetParameters() const
PrepareQueryResult & WithRequestId(const char *value)
AWS_TIMESTREAMQUERY_API PrepareQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue