AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssessmentReportRequest.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/InspectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector/model/ReportFileFormat.h>
11#include <aws/inspector/model/ReportType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Inspector
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_INSPECTOR_API GetAssessmentReportRequest();
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 "GetAssessmentReport"; }
33
34 AWS_INSPECTOR_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; }
45 inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; }
46 inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; }
47 inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); }
48 inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); }
50 inline GetAssessmentReportRequest& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;}
51 inline GetAssessmentReportRequest& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;}
53
55
59 inline const ReportFileFormat& GetReportFileFormat() const{ return m_reportFileFormat; }
60 inline bool ReportFileFormatHasBeenSet() const { return m_reportFileFormatHasBeenSet; }
61 inline void SetReportFileFormat(const ReportFileFormat& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = value; }
62 inline void SetReportFileFormat(ReportFileFormat&& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = std::move(value); }
64 inline GetAssessmentReportRequest& WithReportFileFormat(ReportFileFormat&& value) { SetReportFileFormat(std::move(value)); return *this;}
66
68
75 inline const ReportType& GetReportType() const{ return m_reportType; }
76 inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; }
77 inline void SetReportType(const ReportType& value) { m_reportTypeHasBeenSet = true; m_reportType = value; }
78 inline void SetReportType(ReportType&& value) { m_reportTypeHasBeenSet = true; m_reportType = std::move(value); }
79 inline GetAssessmentReportRequest& WithReportType(const ReportType& value) { SetReportType(value); return *this;}
80 inline GetAssessmentReportRequest& WithReportType(ReportType&& value) { SetReportType(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_assessmentRunArn;
85 bool m_assessmentRunArnHasBeenSet = false;
86
87 ReportFileFormat m_reportFileFormat;
88 bool m_reportFileFormatHasBeenSet = false;
89
90 ReportType m_reportType;
91 bool m_reportTypeHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Inspector
96} // namespace Aws
GetAssessmentReportRequest & WithAssessmentRunArn(const char *value)
GetAssessmentReportRequest & WithReportType(const ReportType &value)
GetAssessmentReportRequest & WithReportType(ReportType &&value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetAssessmentReportRequest & WithAssessmentRunArn(Aws::String &&value)
GetAssessmentReportRequest & WithReportFileFormat(const ReportFileFormat &value)
GetAssessmentReportRequest & WithAssessmentRunArn(const Aws::String &value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
GetAssessmentReportRequest & WithReportFileFormat(ReportFileFormat &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String