7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/Control.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace AuditManager {
36 template <
typename ControlT = Control>
38 m_controlHasBeenSet =
true;
39 m_control = std::forward<ControlT>(value);
41 template <
typename ControlT = Control>
51 template <
typename RequestIdT = Aws::String>
53 m_requestIdHasBeenSet =
true;
54 m_requestId = std::forward<RequestIdT>(value);
56 template <
typename RequestIdT = Aws::String>
69 bool m_controlHasBeenSet =
false;
70 bool m_requestIdHasBeenSet =
false;
AWS_AUDITMANAGER_API CreateControlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
CreateControlResult & WithControl(ControlT &&value)
CreateControlResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_AUDITMANAGER_API CreateControlResult()=default
void SetControl(ControlT &&value)
const Control & GetControl() const
AWS_AUDITMANAGER_API CreateControlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue