7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.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/connect/model/Application.h>
44 template<
typename SecurityProfileNameT = Aws::String>
45 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
46 template<
typename SecurityProfileNameT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
71 template<
typename PermissionsT = Aws::Vector<Aws::String>>
72 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet =
true; m_permissions = std::forward<PermissionsT>(value); }
73 template<
typename PermissionsT = Aws::Vector<Aws::String>>
75 template<
typename PermissionsT = Aws::String>
87 template<
typename InstanceIdT = Aws::String>
88 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
89 template<
typename InstanceIdT = Aws::String>
100 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
102 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
106 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
117 template<
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
118 void SetAllowedAccessControlTags(AllowedAccessControlTagsT&& value) { m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value); }
119 template<
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
121 template<
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
123 m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key), std::forward<AllowedAccessControlTagsValueT>(value));
return *
this;
137 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
138 void SetTagRestrictedResources(TagRestrictedResourcesT&& value) { m_tagRestrictedResourcesHasBeenSet =
true; m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value); }
139 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
141 template<
typename TagRestrictedResourcesT = Aws::String>
152 template<
typename ApplicationsT = Aws::Vector<Application>>
153 void SetApplications(ApplicationsT&& value) { m_applicationsHasBeenSet =
true; m_applications = std::forward<ApplicationsT>(value); }
154 template<
typename ApplicationsT = Aws::Vector<Application>>
156 template<
typename ApplicationsT = Application>
168 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
169 void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT&& value) { m_hierarchyRestrictedResourcesHasBeenSet =
true; m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value); }
170 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
172 template<
typename HierarchyRestrictedResourcesT = Aws::String>
183 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
184 void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT&& value) { m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true; m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value); }
185 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
191 bool m_securityProfileNameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_permissionsHasBeenSet =
false;
200 bool m_instanceIdHasBeenSet =
false;
203 bool m_tagsHasBeenSet =
false;
206 bool m_allowedAccessControlTagsHasBeenSet =
false;
209 bool m_tagRestrictedResourcesHasBeenSet =
false;
212 bool m_applicationsHasBeenSet =
false;
215 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
217 Aws::String m_allowedAccessControlHierarchyGroupId;
218 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
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 & AddHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
CreateSecurityProfileRequest & WithPermissions(PermissionsT &&value)
CreateSecurityProfileRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateSecurityProfileRequest & AddPermissions(PermissionsT &&value)
CreateSecurityProfileRequest & WithSecurityProfileName(SecurityProfileNameT &&value)
bool SecurityProfileNameHasBeenSet() const
CreateSecurityProfileRequest & WithTagRestrictedResources(TagRestrictedResourcesT &&value)
bool PermissionsHasBeenSet() const
CreateSecurityProfileRequest & WithAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
const Aws::String & GetInstanceId() const
CreateSecurityProfileRequest & AddTagRestrictedResources(TagRestrictedResourcesT &&value)
AWS_CONNECT_API CreateSecurityProfileRequest()=default
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
bool InstanceIdHasBeenSet() 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