AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssessmentControlRequest.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 <aws/auditmanager/model/ControlStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AuditManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AUDITMANAGER_API UpdateAssessmentControlRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAssessmentControl"; }
32
33 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
41 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
42 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
43 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
44 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
45 inline UpdateAssessmentControlRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
46 inline UpdateAssessmentControlRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
47 inline UpdateAssessmentControlRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
49
51
54 inline const Aws::String& GetControlSetId() const{ return m_controlSetId; }
55 inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; }
56 inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; }
57 inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); }
58 inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); }
59 inline UpdateAssessmentControlRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;}
60 inline UpdateAssessmentControlRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;}
61 inline UpdateAssessmentControlRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;}
63
65
68 inline const Aws::String& GetControlId() const{ return m_controlId; }
69 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
70 inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; }
71 inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); }
72 inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); }
73 inline UpdateAssessmentControlRequest& WithControlId(const Aws::String& value) { SetControlId(value); return *this;}
74 inline UpdateAssessmentControlRequest& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;}
75 inline UpdateAssessmentControlRequest& WithControlId(const char* value) { SetControlId(value); return *this;}
77
79
82 inline const ControlStatus& GetControlStatus() const{ return m_controlStatus; }
83 inline bool ControlStatusHasBeenSet() const { return m_controlStatusHasBeenSet; }
84 inline void SetControlStatus(const ControlStatus& value) { m_controlStatusHasBeenSet = true; m_controlStatus = value; }
85 inline void SetControlStatus(ControlStatus&& value) { m_controlStatusHasBeenSet = true; m_controlStatus = std::move(value); }
87 inline UpdateAssessmentControlRequest& WithControlStatus(ControlStatus&& value) { SetControlStatus(std::move(value)); return *this;}
89
91
94 inline const Aws::String& GetCommentBody() const{ return m_commentBody; }
95 inline bool CommentBodyHasBeenSet() const { return m_commentBodyHasBeenSet; }
96 inline void SetCommentBody(const Aws::String& value) { m_commentBodyHasBeenSet = true; m_commentBody = value; }
97 inline void SetCommentBody(Aws::String&& value) { m_commentBodyHasBeenSet = true; m_commentBody = std::move(value); }
98 inline void SetCommentBody(const char* value) { m_commentBodyHasBeenSet = true; m_commentBody.assign(value); }
99 inline UpdateAssessmentControlRequest& WithCommentBody(const Aws::String& value) { SetCommentBody(value); return *this;}
100 inline UpdateAssessmentControlRequest& WithCommentBody(Aws::String&& value) { SetCommentBody(std::move(value)); return *this;}
101 inline UpdateAssessmentControlRequest& WithCommentBody(const char* value) { SetCommentBody(value); return *this;}
103 private:
104
105 Aws::String m_assessmentId;
106 bool m_assessmentIdHasBeenSet = false;
107
108 Aws::String m_controlSetId;
109 bool m_controlSetIdHasBeenSet = false;
110
111 Aws::String m_controlId;
112 bool m_controlIdHasBeenSet = false;
113
114 ControlStatus m_controlStatus;
115 bool m_controlStatusHasBeenSet = false;
116
117 Aws::String m_commentBody;
118 bool m_commentBodyHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace AuditManager
123} // namespace Aws
UpdateAssessmentControlRequest & WithControlSetId(const Aws::String &value)
UpdateAssessmentControlRequest & WithCommentBody(Aws::String &&value)
UpdateAssessmentControlRequest & WithAssessmentId(const char *value)
UpdateAssessmentControlRequest & WithCommentBody(const Aws::String &value)
UpdateAssessmentControlRequest & WithControlId(const char *value)
UpdateAssessmentControlRequest & WithCommentBody(const char *value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentControlRequest & WithControlSetId(Aws::String &&value)
UpdateAssessmentControlRequest & WithControlId(const Aws::String &value)
UpdateAssessmentControlRequest & WithControlStatus(ControlStatus &&value)
UpdateAssessmentControlRequest & WithAssessmentId(const Aws::String &value)
UpdateAssessmentControlRequest & WithControlSetId(const char *value)
UpdateAssessmentControlRequest & WithControlId(Aws::String &&value)
UpdateAssessmentControlRequest & WithControlStatus(const ControlStatus &value)
UpdateAssessmentControlRequest & WithAssessmentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String