7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/ReportingErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/ResourceFilterCriteria.h>
11#include <aws/inspector2/model/SbomReportFormat.h>
12#include <aws/inspector2/model/Destination.h>
13#include <aws/inspector2/model/ExternalReportStatus.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
54 template<
typename ErrorMessageT = Aws::String>
55 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
56 template<
typename ErrorMessageT = Aws::String>
66 template<
typename FilterCriteriaT = ResourceFilterCriteria>
67 void SetFilterCriteria(FilterCriteriaT&& value) { m_filterCriteriaHasBeenSet =
true; m_filterCriteria = std::forward<FilterCriteriaT>(value); }
68 template<
typename FilterCriteriaT = ResourceFilterCriteria>
86 template<
typename ReportIdT = Aws::String>
87 void SetReportId(ReportIdT&& value) { m_reportIdHasBeenSet =
true; m_reportId = std::forward<ReportIdT>(value); }
88 template<
typename ReportIdT = Aws::String>
98 template<
typename S3DestinationT = Destination>
99 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet =
true; m_s3Destination = std::forward<S3DestinationT>(value); }
100 template<
typename S3DestinationT = Destination>
116 template<
typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
118 template<
typename RequestIdT = Aws::String>
124 bool m_errorCodeHasBeenSet =
false;
127 bool m_errorMessageHasBeenSet =
false;
129 ResourceFilterCriteria m_filterCriteria;
130 bool m_filterCriteriaHasBeenSet =
false;
133 bool m_formatHasBeenSet =
false;
136 bool m_reportIdHasBeenSet =
false;
138 Destination m_s3Destination;
139 bool m_s3DestinationHasBeenSet =
false;
142 bool m_statusHasBeenSet =
false;
145 bool m_requestIdHasBeenSet =
false;
ExternalReportStatus GetStatus() const
const Aws::String & GetRequestId() const
void SetReportId(ReportIdT &&value)
AWS_INSPECTOR2_API GetSbomExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_INSPECTOR2_API GetSbomExportResult()=default
void SetFilterCriteria(FilterCriteriaT &&value)
void SetErrorMessage(ErrorMessageT &&value)
void SetStatus(ExternalReportStatus value)
GetSbomExportResult & WithRequestId(RequestIdT &&value)
GetSbomExportResult & WithStatus(ExternalReportStatus value)
void SetErrorCode(ReportingErrorCode value)
GetSbomExportResult & WithErrorMessage(ErrorMessageT &&value)
GetSbomExportResult & WithFormat(SbomReportFormat value)
void SetFormat(SbomReportFormat value)
const ResourceFilterCriteria & GetFilterCriteria() const
GetSbomExportResult & WithErrorCode(ReportingErrorCode value)
GetSbomExportResult & WithFilterCriteria(FilterCriteriaT &&value)
SbomReportFormat GetFormat() const
ReportingErrorCode GetErrorCode() const
GetSbomExportResult & WithS3Destination(S3DestinationT &&value)
AWS_INSPECTOR2_API GetSbomExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSbomExportResult & WithReportId(ReportIdT &&value)
const Destination & GetS3Destination() const
void SetS3Destination(S3DestinationT &&value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetReportId() const
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue