AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
42 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
43 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
44 inline CreateAssessmentReportRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
45 inline CreateAssessmentReportRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
46 inline CreateAssessmentReportRequest& WithName(const char* value) { SetName(value); return *this;}
48
50
53 inline const Aws::String& GetDescription() const{ return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
58 inline CreateAssessmentReportRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
59 inline CreateAssessmentReportRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline CreateAssessmentReportRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
67 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
68 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
69 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
70 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
71 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
72 inline CreateAssessmentReportRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
73 inline CreateAssessmentReportRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
74 inline CreateAssessmentReportRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
76
78
94 inline const Aws::String& GetQueryStatement() const{ return m_queryStatement; }
95 inline bool QueryStatementHasBeenSet() const { return m_queryStatementHasBeenSet; }
96 inline void SetQueryStatement(const Aws::String& value) { m_queryStatementHasBeenSet = true; m_queryStatement = value; }
97 inline void SetQueryStatement(Aws::String&& value) { m_queryStatementHasBeenSet = true; m_queryStatement = std::move(value); }
98 inline void SetQueryStatement(const char* value) { m_queryStatementHasBeenSet = true; m_queryStatement.assign(value); }
100 inline CreateAssessmentReportRequest& WithQueryStatement(Aws::String&& value) { SetQueryStatement(std::move(value)); return *this;}
101 inline CreateAssessmentReportRequest& WithQueryStatement(const char* value) { SetQueryStatement(value); return *this;}
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110
111 Aws::String m_assessmentId;
112 bool m_assessmentIdHasBeenSet = false;
113
114 Aws::String m_queryStatement;
115 bool m_queryStatementHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AuditManager
120} // namespace Aws
CreateAssessmentReportRequest & WithQueryStatement(const Aws::String &value)
CreateAssessmentReportRequest & WithAssessmentId(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
CreateAssessmentReportRequest & WithAssessmentId(const Aws::String &value)
CreateAssessmentReportRequest & WithQueryStatement(Aws::String &&value)
CreateAssessmentReportRequest & WithDescription(const char *value)
CreateAssessmentReportRequest & WithAssessmentId(const char *value)
CreateAssessmentReportRequest & WithDescription(const Aws::String &value)
CreateAssessmentReportRequest & WithQueryStatement(const char *value)
CreateAssessmentReportRequest & WithDescription(Aws::String &&value)
CreateAssessmentReportRequest & WithName(Aws::String &&value)
CreateAssessmentReportRequest & WithName(const Aws::String &value)
CreateAssessmentReportRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String