AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFindingsReportRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/Inspector2Request.h>
9#include <aws/inspector2/model/FilterCriteria.h>
10#include <aws/inspector2/model/ReportFormat.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 CreateFindingsReportRequest();
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 "CreateFindingsReport"; }
33
34 AWS_INSPECTOR2_API Aws::String SerializePayload() const override;
35
36
38
41 inline const FilterCriteria& GetFilterCriteria() const{ return m_filterCriteria; }
42 inline bool FilterCriteriaHasBeenSet() const { return m_filterCriteriaHasBeenSet; }
43 inline void SetFilterCriteria(const FilterCriteria& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = value; }
44 inline void SetFilterCriteria(FilterCriteria&& value) { m_filterCriteriaHasBeenSet = true; m_filterCriteria = std::move(value); }
46 inline CreateFindingsReportRequest& WithFilterCriteria(FilterCriteria&& value) { SetFilterCriteria(std::move(value)); return *this;}
48
50
53 inline const ReportFormat& GetReportFormat() const{ return m_reportFormat; }
54 inline bool ReportFormatHasBeenSet() const { return m_reportFormatHasBeenSet; }
55 inline void SetReportFormat(const ReportFormat& value) { m_reportFormatHasBeenSet = true; m_reportFormat = value; }
56 inline void SetReportFormat(ReportFormat&& value) { m_reportFormatHasBeenSet = true; m_reportFormat = std::move(value); }
57 inline CreateFindingsReportRequest& WithReportFormat(const ReportFormat& value) { SetReportFormat(value); return *this;}
58 inline CreateFindingsReportRequest& WithReportFormat(ReportFormat&& value) { SetReportFormat(std::move(value)); return *this;}
60
62
65 inline const Destination& GetS3Destination() const{ return m_s3Destination; }
66 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
67 inline void SetS3Destination(const Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
68 inline void SetS3Destination(Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
69 inline CreateFindingsReportRequest& WithS3Destination(const Destination& value) { SetS3Destination(value); return *this;}
70 inline CreateFindingsReportRequest& WithS3Destination(Destination&& value) { SetS3Destination(std::move(value)); return *this;}
72 private:
73
74 FilterCriteria m_filterCriteria;
75 bool m_filterCriteriaHasBeenSet = false;
76
77 ReportFormat m_reportFormat;
78 bool m_reportFormatHasBeenSet = false;
79
80 Destination m_s3Destination;
81 bool m_s3DestinationHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace Inspector2
86} // namespace Aws
CreateFindingsReportRequest & WithFilterCriteria(FilterCriteria &&value)
CreateFindingsReportRequest & WithS3Destination(const Destination &value)
CreateFindingsReportRequest & WithReportFormat(ReportFormat &&value)
CreateFindingsReportRequest & WithFilterCriteria(const FilterCriteria &value)
CreateFindingsReportRequest & WithReportFormat(const ReportFormat &value)
AWS_INSPECTOR2_API Aws::String SerializePayload() const override
CreateFindingsReportRequest & WithS3Destination(Destination &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String