7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename StatementT = Aws::String>
37 m_statementHasBeenSet =
true;
38 m_statement = std::forward<StatementT>(value);
40 template <
typename StatementT = Aws::String>
50 template <
typename RequestIdT = Aws::String>
52 m_requestIdHasBeenSet =
true;
53 m_requestId = std::forward<RequestIdT>(value);
55 template <
typename RequestIdT = Aws::String>
68 bool m_statementHasBeenSet =
false;
69 bool m_requestIdHasBeenSet =
false;
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QBUSINESS_API AssociatePermissionResult()=default
AWS_QBUSINESS_API AssociatePermissionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatement(StatementT &&value)
AssociatePermissionResult & WithRequestId(RequestIdT &&value)
AWS_QBUSINESS_API AssociatePermissionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetStatement() const
AssociatePermissionResult & WithStatement(StatementT &&value)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue