AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename AssessmentRunArnT = Aws::String>
47 void SetAssessmentRunArn(AssessmentRunArnT&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::forward<AssessmentRunArnT>(value); }
48 template<typename AssessmentRunArnT = Aws::String>
49 GetAssessmentReportRequest& WithAssessmentRunArn(AssessmentRunArnT&& value) { SetAssessmentRunArn(std::forward<AssessmentRunArnT>(value)); return *this;}
51
53
57 inline ReportFileFormat GetReportFileFormat() const { return m_reportFileFormat; }
58 inline bool ReportFileFormatHasBeenSet() const { return m_reportFileFormatHasBeenSet; }
59 inline void SetReportFileFormat(ReportFileFormat value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = value; }
62
64
71 inline ReportType GetReportType() const { return m_reportType; }
72 inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; }
73 inline void SetReportType(ReportType value) { m_reportTypeHasBeenSet = true; m_reportType = value; }
74 inline GetAssessmentReportRequest& WithReportType(ReportType value) { SetReportType(value); return *this;}
76 private:
77
78 Aws::String m_assessmentRunArn;
79 bool m_assessmentRunArnHasBeenSet = false;
80
82 bool m_reportFileFormatHasBeenSet = false;
83
84 ReportType m_reportType{ReportType::NOT_SET};
85 bool m_reportTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Inspector
90} // namespace Aws
GetAssessmentReportRequest & WithReportType(ReportType value)
AWS_INSPECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetAssessmentReportRequest & WithAssessmentRunArn(AssessmentRunArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_INSPECTOR_API GetAssessmentReportRequest()=default
GetAssessmentReportRequest & WithReportFileFormat(ReportFileFormat value)
AWS_INSPECTOR_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String