7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/Application.h>
10#include <aws/connect/model/FlowModule.h>
11#include <aws/connect/model/GranularAccessControlConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename SecurityProfileNameT = Aws::String>
44 m_securityProfileNameHasBeenSet =
true;
45 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
47 template <
typename SecurityProfileNameT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
81 template <
typename PermissionsT = Aws::Vector<Aws::String>>
83 m_permissionsHasBeenSet =
true;
84 m_permissions = std::forward<PermissionsT>(value);
86 template <
typename PermissionsT = Aws::Vector<Aws::String>>
91 template <
typename PermissionsT = Aws::String>
93 m_permissionsHasBeenSet =
true;
94 m_permissions.emplace_back(std::forward<PermissionsT>(value));
107 template <
typename InstanceIdT = Aws::String>
109 m_instanceIdHasBeenSet =
true;
110 m_instanceId = std::forward<InstanceIdT>(value);
112 template <
typename InstanceIdT = Aws::String>
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 m_tagsHasBeenSet =
true;
129 m_tags = std::forward<TagsT>(value);
131 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 SetTags(std::forward<TagsT>(value));
136 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
138 m_tagsHasBeenSet =
true;
139 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
151 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
153 m_allowedAccessControlTagsHasBeenSet =
true;
154 m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value);
156 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
161 template <
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
163 m_allowedAccessControlTagsHasBeenSet =
true;
164 m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key),
165 std::forward<AllowedAccessControlTagsValueT>(value));
180 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
182 m_tagRestrictedResourcesHasBeenSet =
true;
183 m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value);
185 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
190 template <
typename TagRestrictedResourcesT = Aws::String>
192 m_tagRestrictedResourcesHasBeenSet =
true;
193 m_tagRestrictedResources.emplace_back(std::forward<TagRestrictedResourcesT>(value));
205 template <
typename ApplicationsT = Aws::Vector<Application>>
207 m_applicationsHasBeenSet =
true;
208 m_applications = std::forward<ApplicationsT>(value);
210 template <
typename ApplicationsT = Aws::Vector<Application>>
215 template <
typename ApplicationsT = Application>
217 m_applicationsHasBeenSet =
true;
218 m_applications.emplace_back(std::forward<ApplicationsT>(value));
231 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
233 m_hierarchyRestrictedResourcesHasBeenSet =
true;
234 m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value);
236 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
241 template <
typename HierarchyRestrictedResourcesT = Aws::String>
243 m_hierarchyRestrictedResourcesHasBeenSet =
true;
244 m_hierarchyRestrictedResources.emplace_back(std::forward<HierarchyRestrictedResourcesT>(value));
256 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
258 m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true;
259 m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value);
261 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
274 template <
typename AllowedFlowModulesT = Aws::Vector<FlowModule>>
276 m_allowedFlowModulesHasBeenSet =
true;
277 m_allowedFlowModules = std::forward<AllowedFlowModulesT>(value);
279 template <
typename AllowedFlowModulesT = Aws::Vector<FlowModule>>
284 template <
typename AllowedFlowModulesT = FlowModule>
286 m_allowedFlowModulesHasBeenSet =
true;
287 m_allowedFlowModules.emplace_back(std::forward<AllowedFlowModulesT>(value));
298 return m_granularAccessControlConfiguration;
301 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
303 m_granularAccessControlConfigurationHasBeenSet =
true;
304 m_granularAccessControlConfiguration = std::forward<GranularAccessControlConfigurationT>(value);
306 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
331 Aws::String m_allowedAccessControlHierarchyGroupId;
336 bool m_securityProfileNameHasBeenSet =
false;
337 bool m_descriptionHasBeenSet =
false;
338 bool m_permissionsHasBeenSet =
false;
339 bool m_instanceIdHasBeenSet =
false;
340 bool m_tagsHasBeenSet =
false;
341 bool m_allowedAccessControlTagsHasBeenSet =
false;
342 bool m_tagRestrictedResourcesHasBeenSet =
false;
343 bool m_applicationsHasBeenSet =
false;
344 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
345 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
false;
346 bool m_allowedFlowModulesHasBeenSet =
false;
347 bool m_granularAccessControlConfigurationHasBeenSet =
false;
CreateSecurityProfileRequest & AddAllowedAccessControlTags(AllowedAccessControlTagsKeyT &&key, AllowedAccessControlTagsValueT &&value)
bool TagRestrictedResourcesHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetAllowedAccessControlHierarchyGroupId() const
void SetApplications(ApplicationsT &&value)
bool AllowedAccessControlHierarchyGroupIdHasBeenSet() const
void SetAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
CreateSecurityProfileRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetHierarchyRestrictedResources() const
CreateSecurityProfileRequest & WithAllowedFlowModules(AllowedFlowModulesT &&value)
CreateSecurityProfileRequest & AddHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
CreateSecurityProfileRequest & WithPermissions(PermissionsT &&value)
CreateSecurityProfileRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSecurityProfileRequest & AddAllowedFlowModules(AllowedFlowModulesT &&value)
const Aws::Vector< FlowModule > & GetAllowedFlowModules() const
CreateSecurityProfileRequest & AddPermissions(PermissionsT &&value)
CreateSecurityProfileRequest & WithSecurityProfileName(SecurityProfileNameT &&value)
bool SecurityProfileNameHasBeenSet() const
void SetGranularAccessControlConfiguration(GranularAccessControlConfigurationT &&value)
CreateSecurityProfileRequest & WithTagRestrictedResources(TagRestrictedResourcesT &&value)
bool PermissionsHasBeenSet() const
CreateSecurityProfileRequest & WithAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
const Aws::String & GetInstanceId() const
bool AllowedFlowModulesHasBeenSet() const
CreateSecurityProfileRequest & WithGranularAccessControlConfiguration(GranularAccessControlConfigurationT &&value)
CreateSecurityProfileRequest & AddTagRestrictedResources(TagRestrictedResourcesT &&value)
AWS_CONNECT_API CreateSecurityProfileRequest()=default
const GranularAccessControlConfiguration & GetGranularAccessControlConfiguration() const
void SetInstanceId(InstanceIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAllowedAccessControlTags() const
void SetSecurityProfileName(SecurityProfileNameT &&value)
bool TagsHasBeenSet() const
void SetTagRestrictedResources(TagRestrictedResourcesT &&value)
void SetDescription(DescriptionT &&value)
bool HierarchyRestrictedResourcesHasBeenSet() const
CreateSecurityProfileRequest & WithApplications(ApplicationsT &&value)
CreateSecurityProfileRequest & AddApplications(ApplicationsT &&value)
void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateSecurityProfileRequest & WithHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
const Aws::String & GetSecurityProfileName() const
void SetTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetPermissions() const
bool DescriptionHasBeenSet() const
bool AllowedAccessControlTagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateSecurityProfileRequest & WithInstanceId(InstanceIdT &&value)
void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
const Aws::Vector< Application > & GetApplications() const
void SetPermissions(PermissionsT &&value)
CreateSecurityProfileRequest & WithAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
bool ApplicationsHasBeenSet() const
void SetAllowedFlowModules(AllowedFlowModulesT &&value)
bool InstanceIdHasBeenSet() const
bool GranularAccessControlConfigurationHasBeenSet() const
const Aws::Vector< Aws::String > & GetTagRestrictedResources() const
CreateSecurityProfileRequest & WithDescription(DescriptionT &&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