AWS SDK for C++  1.9.158
AWS SDK for C++
GetAssessmentReportRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Inspector
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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::String SerializePayload() const override;
35 
37 
38 
43  inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; }
44 
49  inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; }
50 
55  inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; }
56 
61  inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); }
62 
67  inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); }
68 
73  inline GetAssessmentReportRequest& WithAssessmentRunArn(const Aws::String& value) { SetAssessmentRunArn(value); return *this;}
74 
79  inline GetAssessmentReportRequest& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;}
80 
85  inline GetAssessmentReportRequest& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;}
86 
87 
92  inline const ReportFileFormat& GetReportFileFormat() const{ return m_reportFileFormat; }
93 
98  inline bool ReportFileFormatHasBeenSet() const { return m_reportFileFormatHasBeenSet; }
99 
104  inline void SetReportFileFormat(const ReportFileFormat& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = value; }
105 
110  inline void SetReportFileFormat(ReportFileFormat&& value) { m_reportFileFormatHasBeenSet = true; m_reportFileFormat = std::move(value); }
111 
116  inline GetAssessmentReportRequest& WithReportFileFormat(const ReportFileFormat& value) { SetReportFileFormat(value); return *this;}
117 
122  inline GetAssessmentReportRequest& WithReportFileFormat(ReportFileFormat&& value) { SetReportFileFormat(std::move(value)); return *this;}
123 
124 
132  inline const ReportType& GetReportType() const{ return m_reportType; }
133 
141  inline bool ReportTypeHasBeenSet() const { return m_reportTypeHasBeenSet; }
142 
150  inline void SetReportType(const ReportType& value) { m_reportTypeHasBeenSet = true; m_reportType = value; }
151 
159  inline void SetReportType(ReportType&& value) { m_reportTypeHasBeenSet = true; m_reportType = std::move(value); }
160 
168  inline GetAssessmentReportRequest& WithReportType(const ReportType& value) { SetReportType(value); return *this;}
169 
177  inline GetAssessmentReportRequest& WithReportType(ReportType&& value) { SetReportType(std::move(value)); return *this;}
178 
179  private:
180 
181  Aws::String m_assessmentRunArn;
182  bool m_assessmentRunArnHasBeenSet;
183 
184  ReportFileFormat m_reportFileFormat;
185  bool m_reportFileFormatHasBeenSet;
186 
187  ReportType m_reportType;
188  bool m_reportTypeHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace Inspector
193 } // namespace Aws
ReportType.h
Aws::Inspector::Model::GetAssessmentReportRequest::SetAssessmentRunArn
void SetAssessmentRunArn(const char *value)
Definition: GetAssessmentReportRequest.h:67
Aws::Inspector::Model::GetAssessmentReportRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAssessmentReportRequest.h:32
InspectorRequest.h
Aws::Inspector::Model::GetAssessmentReportRequest::WithReportFileFormat
GetAssessmentReportRequest & WithReportFileFormat(ReportFileFormat &&value)
Definition: GetAssessmentReportRequest.h:122
Inspector_EXPORTS.h
Aws::Inspector::Model::GetAssessmentReportRequest::SetAssessmentRunArn
void SetAssessmentRunArn(Aws::String &&value)
Definition: GetAssessmentReportRequest.h:61
Aws::Inspector::Model::GetAssessmentReportRequest::ReportFileFormatHasBeenSet
bool ReportFileFormatHasBeenSet() const
Definition: GetAssessmentReportRequest.h:98
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Inspector::Model::GetAssessmentReportRequest::WithReportType
GetAssessmentReportRequest & WithReportType(ReportType &&value)
Definition: GetAssessmentReportRequest.h:177
Aws::Inspector::Model::GetAssessmentReportRequest::GetAssessmentRunArn
const Aws::String & GetAssessmentRunArn() const
Definition: GetAssessmentReportRequest.h:43
Aws::Inspector::Model::GetAssessmentReportRequest::SetReportFileFormat
void SetReportFileFormat(ReportFileFormat &&value)
Definition: GetAssessmentReportRequest.h:110
AWS_INSPECTOR_API
#define AWS_INSPECTOR_API
Definition: Inspector_EXPORTS.h:28
Aws::Inspector::Model::GetAssessmentReportRequest::SetReportType
void SetReportType(ReportType &&value)
Definition: GetAssessmentReportRequest.h:159
Aws::Inspector::Model::GetAssessmentReportRequest::WithAssessmentRunArn
GetAssessmentReportRequest & WithAssessmentRunArn(Aws::String &&value)
Definition: GetAssessmentReportRequest.h:79
Aws::Inspector::InspectorRequest
Definition: InspectorRequest.h:17
Aws::Inspector::Model::GetAssessmentReportRequest::GetAssessmentReportRequest
GetAssessmentReportRequest()
Aws::Inspector::Model::GetAssessmentReportRequest::WithAssessmentRunArn
GetAssessmentReportRequest & WithAssessmentRunArn(const char *value)
Definition: GetAssessmentReportRequest.h:85
Aws::Inspector::Model::GetAssessmentReportRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Inspector::Model::GetAssessmentReportRequest::WithReportFileFormat
GetAssessmentReportRequest & WithReportFileFormat(const ReportFileFormat &value)
Definition: GetAssessmentReportRequest.h:116
Aws::Inspector::Model::ReportType
ReportType
Definition: ReportType.h:17
Aws::Inspector::Model::GetAssessmentReportRequest::SetReportFileFormat
void SetReportFileFormat(const ReportFileFormat &value)
Definition: GetAssessmentReportRequest.h:104
Aws::Inspector::Model::ReportFileFormat
ReportFileFormat
Definition: ReportFileFormat.h:17
AWSString.h
Aws::Inspector::Model::GetAssessmentReportRequest::WithAssessmentRunArn
GetAssessmentReportRequest & WithAssessmentRunArn(const Aws::String &value)
Definition: GetAssessmentReportRequest.h:73
ReportFileFormat.h
Aws::Inspector::Model::GetAssessmentReportRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Inspector::Model::GetAssessmentReportRequest::SetReportType
void SetReportType(const ReportType &value)
Definition: GetAssessmentReportRequest.h:150
Aws
Definition: AccessManagementClient.h:15
Aws::Inspector::Model::GetAssessmentReportRequest::WithReportType
GetAssessmentReportRequest & WithReportType(const ReportType &value)
Definition: GetAssessmentReportRequest.h:168
Aws::Inspector::Model::GetAssessmentReportRequest
Definition: GetAssessmentReportRequest.h:24
Aws::Inspector::Model::GetAssessmentReportRequest::SetAssessmentRunArn
void SetAssessmentRunArn(const Aws::String &value)
Definition: GetAssessmentReportRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Inspector::Model::GetAssessmentReportRequest::GetReportFileFormat
const ReportFileFormat & GetReportFileFormat() const
Definition: GetAssessmentReportRequest.h:92
Aws::Inspector::Model::GetAssessmentReportRequest::AssessmentRunArnHasBeenSet
bool AssessmentRunArnHasBeenSet() const
Definition: GetAssessmentReportRequest.h:49
Aws::Inspector::Model::GetAssessmentReportRequest::ReportTypeHasBeenSet
bool ReportTypeHasBeenSet() const
Definition: GetAssessmentReportRequest.h:141
Aws::Inspector::Model::GetAssessmentReportRequest::GetReportType
const ReportType & GetReportType() const
Definition: GetAssessmentReportRequest.h:132