7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-data/RedshiftDataAPIService_EXPORTS.h>
12#include <aws/redshift-data/model/StatementStatusString.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace RedshiftDataAPIService {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
58 template <
typename CreatedAtT = Aws::Utils::DateTime>
60 m_createdAtHasBeenSet =
true;
61 m_createdAt = std::forward<CreatedAtT>(value);
63 template <
typename CreatedAtT = Aws::Utils::DateTime>
76 template <
typename ClusterIdentifierT = Aws::String>
78 m_clusterIdentifierHasBeenSet =
true;
79 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
81 template <
typename ClusterIdentifierT = Aws::String>
93 template <
typename DbUserT = Aws::String>
95 m_dbUserHasBeenSet =
true;
96 m_dbUser = std::forward<DbUserT>(value);
98 template <
typename DbUserT = Aws::String>
110 template <
typename DbGroupsT = Aws::Vector<Aws::String>>
112 m_dbGroupsHasBeenSet =
true;
113 m_dbGroups = std::forward<DbGroupsT>(value);
115 template <
typename DbGroupsT = Aws::Vector<Aws::String>>
120 template <
typename DbGroupsT = Aws::String>
122 m_dbGroupsHasBeenSet =
true;
123 m_dbGroups.emplace_back(std::forward<DbGroupsT>(value));
133 template <
typename DatabaseT = Aws::String>
135 m_databaseHasBeenSet =
true;
136 m_database = std::forward<DatabaseT>(value);
138 template <
typename DatabaseT = Aws::String>
150 template <
typename SecretArnT = Aws::String>
152 m_secretArnHasBeenSet =
true;
153 m_secretArn = std::forward<SecretArnT>(value);
155 template <
typename SecretArnT = Aws::String>
168 template <
typename WorkgroupNameT = Aws::String>
170 m_workgroupNameHasBeenSet =
true;
171 m_workgroupName = std::forward<WorkgroupNameT>(value);
173 template <
typename WorkgroupNameT = Aws::String>
185 template <
typename SessionIdT = Aws::String>
187 m_sessionIdHasBeenSet =
true;
188 m_sessionId = std::forward<SessionIdT>(value);
190 template <
typename SessionIdT = Aws::String>
208 m_statusHasBeenSet =
true;
223 m_redshiftPidHasBeenSet =
true;
224 m_redshiftPid = value;
240 m_hasResultSetHasBeenSet =
true;
241 m_hasResultSet = value;
252 template <
typename RequestIdT = Aws::String>
254 m_requestIdHasBeenSet =
true;
255 m_requestId = std::forward<RequestIdT>(value);
257 template <
typename RequestIdT = Aws::String>
286 long long m_redshiftPid{0};
288 bool m_hasResultSet{
false};
292 bool m_idHasBeenSet =
false;
293 bool m_createdAtHasBeenSet =
false;
294 bool m_clusterIdentifierHasBeenSet =
false;
295 bool m_dbUserHasBeenSet =
false;
296 bool m_dbGroupsHasBeenSet =
false;
297 bool m_databaseHasBeenSet =
false;
298 bool m_secretArnHasBeenSet =
false;
299 bool m_workgroupNameHasBeenSet =
false;
300 bool m_sessionIdHasBeenSet =
false;
301 bool m_statusHasBeenSet =
false;
302 bool m_redshiftPidHasBeenSet =
false;
303 bool m_hasResultSetHasBeenSet =
false;
304 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDatabase() const
const Aws::Vector< Aws::String > & GetDbGroups() const
void SetSessionId(SessionIdT &&value)
const Aws::String & GetClusterIdentifier() const
void SetDatabase(DatabaseT &&value)
AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchExecuteStatementResult & WithSessionId(SessionIdT &&value)
BatchExecuteStatementResult & WithHasResultSet(bool value)
StatementStatusString GetStatus() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
bool GetHasResultSet() const
void SetStatus(StatementStatusString value)
const Aws::String & GetSecretArn() const
void SetCreatedAt(CreatedAtT &&value)
BatchExecuteStatementResult & WithId(IdT &&value)
const Aws::String & GetSessionId() const
void SetHasResultSet(bool value)
BatchExecuteStatementResult & AddDbGroups(DbGroupsT &&value)
void SetDbGroups(DbGroupsT &&value)
BatchExecuteStatementResult & WithStatus(StatementStatusString value)
AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult()=default
const Aws::String & GetDbUser() const
BatchExecuteStatementResult & WithRedshiftPid(long long value)
void SetRedshiftPid(long long value)
BatchExecuteStatementResult & WithDbGroups(DbGroupsT &&value)
void SetWorkgroupName(WorkgroupNameT &&value)
BatchExecuteStatementResult & WithCreatedAt(CreatedAtT &&value)
void SetRequestId(RequestIdT &&value)
BatchExecuteStatementResult & WithClusterIdentifier(ClusterIdentifierT &&value)
void SetSecretArn(SecretArnT &&value)
BatchExecuteStatementResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetId() const
const Aws::String & GetWorkgroupName() const
void SetDbUser(DbUserT &&value)
BatchExecuteStatementResult & WithDatabase(DatabaseT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchExecuteStatementResult & WithDbUser(DbUserT &&value)
BatchExecuteStatementResult & WithSecretArn(SecretArnT &&value)
BatchExecuteStatementResult & WithWorkgroupName(WorkgroupNameT &&value)
long long GetRedshiftPid() const
AWS_REDSHIFTDATAAPISERVICE_API BatchExecuteStatementResult(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