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/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/Statement.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
37 template <
typename StatementsT = Aws::Vector<Statement>>
39 m_statementsHasBeenSet =
true;
40 m_statements = std::forward<StatementsT>(value);
42 template <
typename StatementsT = Aws::Vector<Statement>>
47 template <
typename StatementsT = Statement>
49 m_statementsHasBeenSet =
true;
50 m_statements.emplace_back(std::forward<StatementsT>(value));
60 template <
typename NextTokenT = Aws::String>
62 m_nextTokenHasBeenSet =
true;
63 m_nextToken = std::forward<NextTokenT>(value);
65 template <
typename NextTokenT = Aws::String>
75 template <
typename RequestIdT = Aws::String>
77 m_requestIdHasBeenSet =
true;
78 m_requestId = std::forward<RequestIdT>(value);
80 template <
typename RequestIdT = Aws::String>
95 bool m_statementsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
97 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ListStatementsResult & WithStatements(StatementsT &&value)
AWS_GLUE_API ListStatementsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatements(StatementsT &&value)
AWS_GLUE_API ListStatementsResult()=default
ListStatementsResult & WithNextToken(NextTokenT &&value)
ListStatementsResult & WithRequestId(RequestIdT &&value)
ListStatementsResult & AddStatements(StatementsT &&value)
AWS_GLUE_API ListStatementsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::Vector< Statement > & GetStatements() const
void SetNextToken(NextTokenT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue