AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateControlRequest.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/ControlMappingSource.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AuditManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_AUDITMANAGER_API UpdateControlRequest();
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 "UpdateControl"; }
33
34 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetControlId() const{ return m_controlId; }
42 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
43 inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; }
44 inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); }
45 inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); }
46 inline UpdateControlRequest& WithControlId(const Aws::String& value) { SetControlId(value); return *this;}
47 inline UpdateControlRequest& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;}
48 inline UpdateControlRequest& WithControlId(const char* value) { SetControlId(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 UpdateControlRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateControlRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateControlRequest& 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 UpdateControlRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateControlRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateControlRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::String& GetTestingInformation() const{ return m_testingInformation; }
84 inline bool TestingInformationHasBeenSet() const { return m_testingInformationHasBeenSet; }
85 inline void SetTestingInformation(const Aws::String& value) { m_testingInformationHasBeenSet = true; m_testingInformation = value; }
86 inline void SetTestingInformation(Aws::String&& value) { m_testingInformationHasBeenSet = true; m_testingInformation = std::move(value); }
87 inline void SetTestingInformation(const char* value) { m_testingInformationHasBeenSet = true; m_testingInformation.assign(value); }
89 inline UpdateControlRequest& WithTestingInformation(Aws::String&& value) { SetTestingInformation(std::move(value)); return *this;}
90 inline UpdateControlRequest& WithTestingInformation(const char* value) { SetTestingInformation(value); return *this;}
92
94
97 inline const Aws::String& GetActionPlanTitle() const{ return m_actionPlanTitle; }
98 inline bool ActionPlanTitleHasBeenSet() const { return m_actionPlanTitleHasBeenSet; }
99 inline void SetActionPlanTitle(const Aws::String& value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle = value; }
100 inline void SetActionPlanTitle(Aws::String&& value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle = std::move(value); }
101 inline void SetActionPlanTitle(const char* value) { m_actionPlanTitleHasBeenSet = true; m_actionPlanTitle.assign(value); }
102 inline UpdateControlRequest& WithActionPlanTitle(const Aws::String& value) { SetActionPlanTitle(value); return *this;}
103 inline UpdateControlRequest& WithActionPlanTitle(Aws::String&& value) { SetActionPlanTitle(std::move(value)); return *this;}
104 inline UpdateControlRequest& WithActionPlanTitle(const char* value) { SetActionPlanTitle(value); return *this;}
106
108
111 inline const Aws::String& GetActionPlanInstructions() const{ return m_actionPlanInstructions; }
112 inline bool ActionPlanInstructionsHasBeenSet() const { return m_actionPlanInstructionsHasBeenSet; }
113 inline void SetActionPlanInstructions(const Aws::String& value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions = value; }
114 inline void SetActionPlanInstructions(Aws::String&& value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions = std::move(value); }
115 inline void SetActionPlanInstructions(const char* value) { m_actionPlanInstructionsHasBeenSet = true; m_actionPlanInstructions.assign(value); }
118 inline UpdateControlRequest& WithActionPlanInstructions(const char* value) { SetActionPlanInstructions(value); return *this;}
120
122
125 inline const Aws::Vector<ControlMappingSource>& GetControlMappingSources() const{ return m_controlMappingSources; }
126 inline bool ControlMappingSourcesHasBeenSet() const { return m_controlMappingSourcesHasBeenSet; }
127 inline void SetControlMappingSources(const Aws::Vector<ControlMappingSource>& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources = value; }
128 inline void SetControlMappingSources(Aws::Vector<ControlMappingSource>&& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources = std::move(value); }
131 inline UpdateControlRequest& AddControlMappingSources(const ControlMappingSource& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources.push_back(value); return *this; }
132 inline UpdateControlRequest& AddControlMappingSources(ControlMappingSource&& value) { m_controlMappingSourcesHasBeenSet = true; m_controlMappingSources.push_back(std::move(value)); return *this; }
134 private:
135
136 Aws::String m_controlId;
137 bool m_controlIdHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 Aws::String m_testingInformation;
146 bool m_testingInformationHasBeenSet = false;
147
148 Aws::String m_actionPlanTitle;
149 bool m_actionPlanTitleHasBeenSet = false;
150
151 Aws::String m_actionPlanInstructions;
152 bool m_actionPlanInstructionsHasBeenSet = false;
153
154 Aws::Vector<ControlMappingSource> m_controlMappingSources;
155 bool m_controlMappingSourcesHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace AuditManager
160} // namespace Aws
UpdateControlRequest & WithControlId(Aws::String &&value)
UpdateControlRequest & WithName(const Aws::String &value)
void SetControlMappingSources(Aws::Vector< ControlMappingSource > &&value)
void SetTestingInformation(const Aws::String &value)
UpdateControlRequest & WithDescription(const Aws::String &value)
UpdateControlRequest & AddControlMappingSources(ControlMappingSource &&value)
UpdateControlRequest & WithName(Aws::String &&value)
UpdateControlRequest & WithActionPlanInstructions(const char *value)
UpdateControlRequest & WithActionPlanTitle(const Aws::String &value)
UpdateControlRequest & WithControlId(const char *value)
UpdateControlRequest & WithControlMappingSources(Aws::Vector< ControlMappingSource > &&value)
UpdateControlRequest & WithTestingInformation(const char *value)
UpdateControlRequest & WithControlMappingSources(const Aws::Vector< ControlMappingSource > &value)
UpdateControlRequest & WithActionPlanInstructions(const Aws::String &value)
UpdateControlRequest & WithControlId(const Aws::String &value)
UpdateControlRequest & WithActionPlanInstructions(Aws::String &&value)
UpdateControlRequest & WithActionPlanTitle(const char *value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
const Aws::Vector< ControlMappingSource > & GetControlMappingSources() const
UpdateControlRequest & WithName(const char *value)
UpdateControlRequest & WithDescription(const char *value)
UpdateControlRequest & WithTestingInformation(const Aws::String &value)
UpdateControlRequest & WithTestingInformation(Aws::String &&value)
void SetActionPlanInstructions(const Aws::String &value)
void SetControlMappingSources(const Aws::Vector< ControlMappingSource > &value)
UpdateControlRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateControlRequest & WithActionPlanTitle(Aws::String &&value)
UpdateControlRequest & AddControlMappingSources(const ControlMappingSource &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector