7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/Application.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
40 template <
typename SecurityProfileNameT = Aws::String>
42 m_securityProfileNameHasBeenSet =
true;
43 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
45 template <
typename SecurityProfileNameT = Aws::String>
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
79 template <
typename PermissionsT = Aws::Vector<Aws::String>>
81 m_permissionsHasBeenSet =
true;
82 m_permissions = std::forward<PermissionsT>(value);
84 template <
typename PermissionsT = Aws::Vector<Aws::String>>
89 template <
typename PermissionsT = Aws::String>
91 m_permissionsHasBeenSet =
true;
92 m_permissions.emplace_back(std::forward<PermissionsT>(value));
105 template <
typename InstanceIdT = Aws::String>
107 m_instanceIdHasBeenSet =
true;
108 m_instanceId = std::forward<InstanceIdT>(value);
110 template <
typename InstanceIdT = Aws::String>
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 m_tagsHasBeenSet =
true;
127 m_tags = std::forward<TagsT>(value);
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
134 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
149 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
151 m_allowedAccessControlTagsHasBeenSet =
true;
152 m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value);
154 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
159 template <
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
161 m_allowedAccessControlTagsHasBeenSet =
true;
162 m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key),
163 std::forward<AllowedAccessControlTagsValueT>(value));
178 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
180 m_tagRestrictedResourcesHasBeenSet =
true;
181 m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value);
183 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
188 template <
typename TagRestrictedResourcesT = Aws::String>
190 m_tagRestrictedResourcesHasBeenSet =
true;
191 m_tagRestrictedResources.emplace_back(std::forward<TagRestrictedResourcesT>(value));
203 template <
typename ApplicationsT = Aws::Vector<Application>>
205 m_applicationsHasBeenSet =
true;
206 m_applications = std::forward<ApplicationsT>(value);
208 template <
typename ApplicationsT = Aws::Vector<Application>>
213 template <
typename ApplicationsT = Application>
215 m_applicationsHasBeenSet =
true;
216 m_applications.emplace_back(std::forward<ApplicationsT>(value));
229 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
231 m_hierarchyRestrictedResourcesHasBeenSet =
true;
232 m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value);
234 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
239 template <
typename HierarchyRestrictedResourcesT = Aws::String>
241 m_hierarchyRestrictedResourcesHasBeenSet =
true;
242 m_hierarchyRestrictedResources.emplace_back(std::forward<HierarchyRestrictedResourcesT>(value));
254 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
256 m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true;
257 m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value);
259 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
267 bool m_securityProfileNameHasBeenSet =
false;
270 bool m_descriptionHasBeenSet =
false;
273 bool m_permissionsHasBeenSet =
false;
276 bool m_instanceIdHasBeenSet =
false;
279 bool m_tagsHasBeenSet =
false;
282 bool m_allowedAccessControlTagsHasBeenSet =
false;
285 bool m_tagRestrictedResourcesHasBeenSet =
false;
288 bool m_applicationsHasBeenSet =
false;
291 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
293 Aws::String m_allowedAccessControlHierarchyGroupId;
294 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