AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSbomExportResult.h
1
6#pragma once
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>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Inspector2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_INSPECTOR2_API GetSbomExportResult();
38
39
41
44 inline const ReportingErrorCode& GetErrorCode() const{ return m_errorCode; }
45 inline void SetErrorCode(const ReportingErrorCode& value) { m_errorCode = value; }
46 inline void SetErrorCode(ReportingErrorCode&& value) { m_errorCode = std::move(value); }
47 inline GetSbomExportResult& WithErrorCode(const ReportingErrorCode& value) { SetErrorCode(value); return *this;}
48 inline GetSbomExportResult& WithErrorCode(ReportingErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
50
52
55 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
56 inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
57 inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
58 inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
59 inline GetSbomExportResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
60 inline GetSbomExportResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
61 inline GetSbomExportResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
63
65
69 inline const ResourceFilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
70 inline void SetFilterCriteria(const ResourceFilterCriteria& value) { m_filterCriteria = value; }
71 inline void SetFilterCriteria(ResourceFilterCriteria&& value) { m_filterCriteria = std::move(value); }
73 inline GetSbomExportResult& WithFilterCriteria(ResourceFilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
75
77
80 inline const SbomReportFormat& GetFormat() const{ return m_format; }
81 inline void SetFormat(const SbomReportFormat& value) { m_format = value; }
82 inline void SetFormat(SbomReportFormat&& value) { m_format = std::move(value); }
83 inline GetSbomExportResult& WithFormat(const SbomReportFormat& value) { SetFormat(value); return *this;}
84 inline GetSbomExportResult& WithFormat(SbomReportFormat&& value) { SetFormat(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetReportId() const{ return m_reportId; }
92 inline void SetReportId(const Aws::String& value) { m_reportId = value; }
93 inline void SetReportId(Aws::String&& value) { m_reportId = std::move(value); }
94 inline void SetReportId(const char* value) { m_reportId.assign(value); }
95 inline GetSbomExportResult& WithReportId(const Aws::String& value) { SetReportId(value); return *this;}
96 inline GetSbomExportResult& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;}
97 inline GetSbomExportResult& WithReportId(const char* value) { SetReportId(value); return *this;}
99
101
102 inline const Destination& GetS3Destination() const{ return m_s3Destination; }
103 inline void SetS3Destination(const Destination& value) { m_s3Destination = value; }
104 inline void SetS3Destination(Destination&& value) { m_s3Destination = std::move(value); }
105 inline GetSbomExportResult& WithS3Destination(const Destination& value) { SetS3Destination(value); return *this;}
106 inline GetSbomExportResult& WithS3Destination(Destination&& value) { SetS3Destination(std::move(value)); return *this;}
108
110
113 inline const ExternalReportStatus& GetStatus() const{ return m_status; }
114 inline void SetStatus(const ExternalReportStatus& value) { m_status = value; }
115 inline void SetStatus(ExternalReportStatus&& value) { m_status = std::move(value); }
116 inline GetSbomExportResult& WithStatus(const ExternalReportStatus& value) { SetStatus(value); return *this;}
117 inline GetSbomExportResult& WithStatus(ExternalReportStatus&& value) { SetStatus(std::move(value)); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const{ return m_requestId; }
123 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
124 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
125 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
126 inline GetSbomExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
127 inline GetSbomExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
128 inline GetSbomExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
130 private:
131
132 ReportingErrorCode m_errorCode;
133
134 Aws::String m_errorMessage;
135
136 ResourceFilterCriteria m_filterCriteria;
137
138 SbomReportFormat m_format;
139
140 Aws::String m_reportId;
141
142 Destination m_s3Destination;
143
144 ExternalReportStatus m_status;
145
146 Aws::String m_requestId;
147 };
148
149} // namespace Model
150} // namespace Inspector2
151} // namespace Aws
const ReportingErrorCode & GetErrorCode() const
GetSbomExportResult & WithStatus(ExternalReportStatus &&value)
AWS_INSPECTOR2_API GetSbomExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSbomExportResult & WithErrorMessage(const Aws::String &value)
const SbomReportFormat & GetFormat() const
GetSbomExportResult & WithRequestId(const char *value)
GetSbomExportResult & WithFormat(SbomReportFormat &&value)
GetSbomExportResult & WithReportId(const char *value)
GetSbomExportResult & WithFilterCriteria(const ResourceFilterCriteria &value)
void SetS3Destination(const Destination &value)
GetSbomExportResult & WithS3Destination(const Destination &value)
GetSbomExportResult & WithReportId(const Aws::String &value)
GetSbomExportResult & WithReportId(Aws::String &&value)
const ResourceFilterCriteria & GetFilterCriteria() const
GetSbomExportResult & WithErrorMessage(const char *value)
void SetFilterCriteria(const ResourceFilterCriteria &value)
GetSbomExportResult & WithErrorCode(ReportingErrorCode &&value)
GetSbomExportResult & WithErrorCode(const ReportingErrorCode &value)
void SetStatus(ExternalReportStatus &&value)
void SetFormat(const SbomReportFormat &value)
GetSbomExportResult & WithErrorMessage(Aws::String &&value)
AWS_INSPECTOR2_API GetSbomExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrorCode(ReportingErrorCode &&value)
const ExternalReportStatus & GetStatus() const
GetSbomExportResult & WithRequestId(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
GetSbomExportResult & WithFilterCriteria(ResourceFilterCriteria &&value)
GetSbomExportResult & WithS3Destination(Destination &&value)
GetSbomExportResult & WithStatus(const ExternalReportStatus &value)
void SetStatus(const ExternalReportStatus &value)
void SetErrorCode(const ReportingErrorCode &value)
GetSbomExportResult & WithFormat(const SbomReportFormat &value)
GetSbomExportResult & WithRequestId(const Aws::String &value)
void SetFilterCriteria(ResourceFilterCriteria &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue