AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAssessmentReportRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace AuditManager
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_AUDITMANAGER_API CreateAssessmentReportRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateAssessmentReport"; }
31
32 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template<typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
43 template<typename NameT = Aws::String>
44 CreateAssessmentReportRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetDescription() const { return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 CreateAssessmentReportRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
63 inline const Aws::String& GetAssessmentId() const { return m_assessmentId; }
64 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
65 template<typename AssessmentIdT = Aws::String>
66 void SetAssessmentId(AssessmentIdT&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::forward<AssessmentIdT>(value); }
67 template<typename AssessmentIdT = Aws::String>
68 CreateAssessmentReportRequest& WithAssessmentId(AssessmentIdT&& value) { SetAssessmentId(std::forward<AssessmentIdT>(value)); return *this;}
70
72
88 inline const Aws::String& GetQueryStatement() const { return m_queryStatement; }
89 inline bool QueryStatementHasBeenSet() const { return m_queryStatementHasBeenSet; }
90 template<typename QueryStatementT = Aws::String>
91 void SetQueryStatement(QueryStatementT&& value) { m_queryStatementHasBeenSet = true; m_queryStatement = std::forward<QueryStatementT>(value); }
92 template<typename QueryStatementT = Aws::String>
93 CreateAssessmentReportRequest& WithQueryStatement(QueryStatementT&& value) { SetQueryStatement(std::forward<QueryStatementT>(value)); return *this;}
95 private:
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 Aws::String m_description;
101 bool m_descriptionHasBeenSet = false;
102
103 Aws::String m_assessmentId;
104 bool m_assessmentIdHasBeenSet = false;
105
106 Aws::String m_queryStatement;
107 bool m_queryStatementHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace AuditManager
112} // namespace Aws
CreateAssessmentReportRequest & WithName(NameT &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
CreateAssessmentReportRequest & WithAssessmentId(AssessmentIdT &&value)
CreateAssessmentReportRequest & WithDescription(DescriptionT &&value)
CreateAssessmentReportRequest & WithQueryStatement(QueryStatementT &&value)
AWS_AUDITMANAGER_API CreateAssessmentReportRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String