AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssessmentFrameworkRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/auditmanager/model/UpdateAssessmentFrameworkControlSet.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AuditManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_AUDITMANAGER_API UpdateAssessmentFrameworkRequest();
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 "UpdateAssessmentFramework"; }
33
34 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetFrameworkId() const{ return m_frameworkId; }
42 inline bool FrameworkIdHasBeenSet() const { return m_frameworkIdHasBeenSet; }
43 inline void SetFrameworkId(const Aws::String& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = value; }
44 inline void SetFrameworkId(Aws::String&& value) { m_frameworkIdHasBeenSet = true; m_frameworkId = std::move(value); }
45 inline void SetFrameworkId(const char* value) { m_frameworkIdHasBeenSet = true; m_frameworkId.assign(value); }
46 inline UpdateAssessmentFrameworkRequest& WithFrameworkId(const Aws::String& value) { SetFrameworkId(value); return *this;}
47 inline UpdateAssessmentFrameworkRequest& WithFrameworkId(Aws::String&& value) { SetFrameworkId(std::move(value)); return *this;}
48 inline UpdateAssessmentFrameworkRequest& WithFrameworkId(const char* value) { SetFrameworkId(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateAssessmentFrameworkRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateAssessmentFrameworkRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateAssessmentFrameworkRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateAssessmentFrameworkRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateAssessmentFrameworkRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateAssessmentFrameworkRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
84 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
85 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
86 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
87 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
88 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
90 inline UpdateAssessmentFrameworkRequest& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
91 inline UpdateAssessmentFrameworkRequest& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
93
95
98 inline const Aws::Vector<UpdateAssessmentFrameworkControlSet>& GetControlSets() const{ return m_controlSets; }
99 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
100 inline void SetControlSets(const Aws::Vector<UpdateAssessmentFrameworkControlSet>& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; }
101 inline void SetControlSets(Aws::Vector<UpdateAssessmentFrameworkControlSet>&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); }
104 inline UpdateAssessmentFrameworkRequest& AddControlSets(const UpdateAssessmentFrameworkControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; }
105 inline UpdateAssessmentFrameworkRequest& AddControlSets(UpdateAssessmentFrameworkControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; }
107 private:
108
109 Aws::String m_frameworkId;
110 bool m_frameworkIdHasBeenSet = false;
111
112 Aws::String m_name;
113 bool m_nameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Aws::String m_complianceType;
119 bool m_complianceTypeHasBeenSet = false;
120
122 bool m_controlSetsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace AuditManager
127} // namespace Aws
UpdateAssessmentFrameworkRequest & WithControlSets(const Aws::Vector< UpdateAssessmentFrameworkControlSet > &value)
UpdateAssessmentFrameworkRequest & WithDescription(Aws::String &&value)
UpdateAssessmentFrameworkRequest & WithName(const Aws::String &value)
UpdateAssessmentFrameworkRequest & WithDescription(const Aws::String &value)
UpdateAssessmentFrameworkRequest & WithControlSets(Aws::Vector< UpdateAssessmentFrameworkControlSet > &&value)
UpdateAssessmentFrameworkRequest & AddControlSets(UpdateAssessmentFrameworkControlSet &&value)
UpdateAssessmentFrameworkRequest & WithName(const char *value)
void SetControlSets(const Aws::Vector< UpdateAssessmentFrameworkControlSet > &value)
UpdateAssessmentFrameworkRequest & AddControlSets(const UpdateAssessmentFrameworkControlSet &value)
UpdateAssessmentFrameworkRequest & WithDescription(const char *value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
void SetControlSets(Aws::Vector< UpdateAssessmentFrameworkControlSet > &&value)
UpdateAssessmentFrameworkRequest & WithComplianceType(Aws::String &&value)
const Aws::Vector< UpdateAssessmentFrameworkControlSet > & GetControlSets() const
UpdateAssessmentFrameworkRequest & WithComplianceType(const Aws::String &value)
UpdateAssessmentFrameworkRequest & WithFrameworkId(const Aws::String &value)
UpdateAssessmentFrameworkRequest & WithFrameworkId(const char *value)
UpdateAssessmentFrameworkRequest & WithName(Aws::String &&value)
UpdateAssessmentFrameworkRequest & WithComplianceType(const char *value)
UpdateAssessmentFrameworkRequest & WithFrameworkId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector