AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssessmentFrameworkRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <aws/auditmanager/model/CreateAssessmentFrameworkControlSet.h>
13#include <utility>
14
15namespace Aws
16{
17namespace AuditManager
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_AUDITMANAGER_API CreateAssessmentFrameworkRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateAssessmentFramework"; }
34
35 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const{ return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline CreateAssessmentFrameworkRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline CreateAssessmentFrameworkRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline CreateAssessmentFrameworkRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateAssessmentFrameworkRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateAssessmentFrameworkRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateAssessmentFrameworkRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
71 inline const Aws::String& GetComplianceType() const{ return m_complianceType; }
72 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
73 inline void SetComplianceType(const Aws::String& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
74 inline void SetComplianceType(Aws::String&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
75 inline void SetComplianceType(const char* value) { m_complianceTypeHasBeenSet = true; m_complianceType.assign(value); }
77 inline CreateAssessmentFrameworkRequest& WithComplianceType(Aws::String&& value) { SetComplianceType(std::move(value)); return *this;}
78 inline CreateAssessmentFrameworkRequest& WithComplianceType(const char* value) { SetComplianceType(value); return *this;}
80
82
85 inline const Aws::Vector<CreateAssessmentFrameworkControlSet>& GetControlSets() const{ return m_controlSets; }
86 inline bool ControlSetsHasBeenSet() const { return m_controlSetsHasBeenSet; }
87 inline void SetControlSets(const Aws::Vector<CreateAssessmentFrameworkControlSet>& value) { m_controlSetsHasBeenSet = true; m_controlSets = value; }
88 inline void SetControlSets(Aws::Vector<CreateAssessmentFrameworkControlSet>&& value) { m_controlSetsHasBeenSet = true; m_controlSets = std::move(value); }
91 inline CreateAssessmentFrameworkRequest& AddControlSets(const CreateAssessmentFrameworkControlSet& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(value); return *this; }
92 inline CreateAssessmentFrameworkRequest& AddControlSets(CreateAssessmentFrameworkControlSet&& value) { m_controlSetsHasBeenSet = true; m_controlSets.push_back(std::move(value)); return *this; }
94
96
99 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
102 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
104 inline CreateAssessmentFrameworkRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
105 inline CreateAssessmentFrameworkRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
106 inline CreateAssessmentFrameworkRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
107 inline CreateAssessmentFrameworkRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
108 inline CreateAssessmentFrameworkRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
109 inline CreateAssessmentFrameworkRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
110 inline CreateAssessmentFrameworkRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
111 inline CreateAssessmentFrameworkRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
113 private:
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_complianceType;
122 bool m_complianceTypeHasBeenSet = false;
123
125 bool m_controlSetsHasBeenSet = false;
126
128 bool m_tagsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace AuditManager
133} // namespace Aws
CreateAssessmentFrameworkRequest & WithControlSets(const Aws::Vector< CreateAssessmentFrameworkControlSet > &value)
CreateAssessmentFrameworkRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAssessmentFrameworkRequest & WithComplianceType(const char *value)
CreateAssessmentFrameworkRequest & AddControlSets(const CreateAssessmentFrameworkControlSet &value)
void SetControlSets(Aws::Vector< CreateAssessmentFrameworkControlSet > &&value)
void SetControlSets(const Aws::Vector< CreateAssessmentFrameworkControlSet > &value)
CreateAssessmentFrameworkRequest & WithDescription(const char *value)
const Aws::Vector< CreateAssessmentFrameworkControlSet > & GetControlSets() const
CreateAssessmentFrameworkRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssessmentFrameworkRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAssessmentFrameworkRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAssessmentFrameworkRequest & WithName(const Aws::String &value)
CreateAssessmentFrameworkRequest & WithName(Aws::String &&value)
CreateAssessmentFrameworkRequest & WithComplianceType(Aws::String &&value)
CreateAssessmentFrameworkRequest & WithName(const char *value)
CreateAssessmentFrameworkRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateAssessmentFrameworkRequest & WithControlSets(Aws::Vector< CreateAssessmentFrameworkControlSet > &&value)
CreateAssessmentFrameworkRequest & AddTags(const char *key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAssessmentFrameworkRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateAssessmentFrameworkRequest & AddControlSets(CreateAssessmentFrameworkControlSet &&value)
CreateAssessmentFrameworkRequest & WithDescription(Aws::String &&value)
CreateAssessmentFrameworkRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
CreateAssessmentFrameworkRequest & WithDescription(const Aws::String &value)
CreateAssessmentFrameworkRequest & AddTags(const char *key, Aws::String &&value)
CreateAssessmentFrameworkRequest & WithComplianceType(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector