AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssessmentControlSetStatusRequest.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/ControlSetStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AuditManager
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateAssessmentControlSetStatus"; }
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); }
46 inline UpdateAssessmentControlSetStatusRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
47 inline UpdateAssessmentControlSetStatusRequest& 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); }
60 inline UpdateAssessmentControlSetStatusRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;}
61 inline UpdateAssessmentControlSetStatusRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;}
63
65
68 inline const ControlSetStatus& GetStatus() const{ return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 inline void SetStatus(const ControlSetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
71 inline void SetStatus(ControlSetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
73 inline UpdateAssessmentControlSetStatusRequest& WithStatus(ControlSetStatus&& value) { SetStatus(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetComment() const{ return m_comment; }
81 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
82 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
83 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
84 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
85 inline UpdateAssessmentControlSetStatusRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;}
86 inline UpdateAssessmentControlSetStatusRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
87 inline UpdateAssessmentControlSetStatusRequest& WithComment(const char* value) { SetComment(value); return *this;}
89 private:
90
91 Aws::String m_assessmentId;
92 bool m_assessmentIdHasBeenSet = false;
93
94 Aws::String m_controlSetId;
95 bool m_controlSetIdHasBeenSet = false;
96
97 ControlSetStatus m_status;
98 bool m_statusHasBeenSet = false;
99
100 Aws::String m_comment;
101 bool m_commentHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace AuditManager
106} // namespace Aws
UpdateAssessmentControlSetStatusRequest & WithComment(const char *value)
UpdateAssessmentControlSetStatusRequest & WithAssessmentId(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentControlSetStatusRequest & WithAssessmentId(const Aws::String &value)
UpdateAssessmentControlSetStatusRequest & WithComment(Aws::String &&value)
UpdateAssessmentControlSetStatusRequest & WithControlSetId(Aws::String &&value)
UpdateAssessmentControlSetStatusRequest & WithControlSetId(const char *value)
UpdateAssessmentControlSetStatusRequest & WithStatus(const ControlSetStatus &value)
UpdateAssessmentControlSetStatusRequest & WithAssessmentId(const char *value)
UpdateAssessmentControlSetStatusRequest & WithComment(const Aws::String &value)
UpdateAssessmentControlSetStatusRequest & WithControlSetId(const Aws::String &value)
UpdateAssessmentControlSetStatusRequest & WithStatus(ControlSetStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String