AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSbomExportRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/SbomReportFormat.h>
10#include <aws/inspector2/model/ResourceFilterCriteria.h>
11#include <aws/inspector2/model/Destination.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Inspector2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_INSPECTOR2_API CreateSbomExportRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateSbomExport"; }
33
34 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const SbomReportFormat& GetReportFormat() const{ return m_reportFormat; }
42 inline bool ReportFormatHasBeenSet() const { return m_reportFormatHasBeenSet; }
43 inline void SetReportFormat(const SbomReportFormat& value) { m_reportFormatHasBeenSet = true; m_reportFormat = value; }
44 inline void SetReportFormat(SbomReportFormat&& value) { m_reportFormatHasBeenSet = true; m_reportFormat = std::move(value); }
45 inline CreateSbomExportRequest& WithReportFormat(const SbomReportFormat& value) { SetReportFormat(value); return *this;}
46 inline CreateSbomExportRequest& WithReportFormat(SbomReportFormat&& value) { SetReportFormat(std::move(value)); return *this;}
48
50
54 inline const ResourceFilterCriteria& GetResourceFilterCriteria() const{ return m_resourceFilterCriteria; }
55 inline bool ResourceFilterCriteriaHasBeenSet() const { return m_resourceFilterCriteriaHasBeenSet; }
56 inline void SetResourceFilterCriteria(const ResourceFilterCriteria& value) { m_resourceFilterCriteriaHasBeenSet = true; m_resourceFilterCriteria = value; }
57 inline void SetResourceFilterCriteria(ResourceFilterCriteria&& value) { m_resourceFilterCriteriaHasBeenSet = true; m_resourceFilterCriteria = std::move(value); }
61
63
64 inline const Destination& GetS3Destination() const{ return m_s3Destination; }
65 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
66 inline void SetS3Destination(const Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
67 inline void SetS3Destination(Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
68 inline CreateSbomExportRequest& WithS3Destination(const Destination& value) { SetS3Destination(value); return *this;}
69 inline CreateSbomExportRequest& WithS3Destination(Destination&& value) { SetS3Destination(std::move(value)); return *this;}
71 private:
72
73 SbomReportFormat m_reportFormat;
74 bool m_reportFormatHasBeenSet = false;
75
76 ResourceFilterCriteria m_resourceFilterCriteria;
77 bool m_resourceFilterCriteriaHasBeenSet = false;
78
79 Destination m_s3Destination;
80 bool m_s3DestinationHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Inspector2
85} // namespace Aws
void SetResourceFilterCriteria(ResourceFilterCriteria &&value)
CreateSbomExportRequest & WithResourceFilterCriteria(const ResourceFilterCriteria &value)
CreateSbomExportRequest & WithReportFormat(SbomReportFormat &&value)
virtual const char * GetServiceRequestName() const override
void SetResourceFilterCriteria(const ResourceFilterCriteria &value)
CreateSbomExportRequest & WithS3Destination(const Destination &value)
const ResourceFilterCriteria & GetResourceFilterCriteria() const
void SetReportFormat(const SbomReportFormat &value)
CreateSbomExportRequest & WithResourceFilterCriteria(ResourceFilterCriteria &&value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
CreateSbomExportRequest & WithS3Destination(Destination &&value)
CreateSbomExportRequest & WithReportFormat(const SbomReportFormat &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String