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 DescriptionT = Aws::String>
45 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
46 template<
typename DescriptionT = Aws::String>
59 template<
typename PermissionsT = Aws::Vector<Aws::String>>
60 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet =
true; m_permissions = std::forward<PermissionsT>(value); }
61 template<
typename PermissionsT = Aws::Vector<Aws::String>>
63 template<
typename PermissionsT = Aws::String>
73 template<
typename SecurityProfileIdT = Aws::String>
74 void SetSecurityProfileId(SecurityProfileIdT&& value) { m_securityProfileIdHasBeenSet =
true; m_securityProfileId = std::forward<SecurityProfileIdT>(value); }
75 template<
typename SecurityProfileIdT = 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 AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
101 void SetAllowedAccessControlTags(AllowedAccessControlTagsT&& value) { m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value); }
102 template<
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
106 m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key), std::forward<AllowedAccessControlTagsValueT>(value));
return *
this;
117 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
118 void SetTagRestrictedResources(TagRestrictedResourcesT&& value) { m_tagRestrictedResourcesHasBeenSet =
true; m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value); }
119 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
121 template<
typename TagRestrictedResourcesT = Aws::String>
131 template<
typename ApplicationsT = Aws::Vector<Application>>
132 void SetApplications(ApplicationsT&& value) { m_applicationsHasBeenSet =
true; m_applications = std::forward<ApplicationsT>(value); }
133 template<
typename ApplicationsT = Aws::Vector<Application>>
135 template<
typename ApplicationsT = Application>
147 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
148 void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT&& value) { m_hierarchyRestrictedResourcesHasBeenSet =
true; m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value); }
149 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
151 template<
typename HierarchyRestrictedResourcesT = Aws::String>
162 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
163 void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT&& value) { m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true; m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value); }
164 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
170 bool m_descriptionHasBeenSet =
false;
173 bool m_permissionsHasBeenSet =
false;
176 bool m_securityProfileIdHasBeenSet =
false;
179 bool m_instanceIdHasBeenSet =
false;
182 bool m_allowedAccessControlTagsHasBeenSet =
false;
185 bool m_tagRestrictedResourcesHasBeenSet =
false;
188 bool m_applicationsHasBeenSet =
false;
191 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
193 Aws::String m_allowedAccessControlHierarchyGroupId;
194 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
false;
bool ApplicationsHasBeenSet() const
const Aws::String & GetInstanceId() const
void SetApplications(ApplicationsT &&value)
UpdateSecurityProfileRequest & WithPermissions(PermissionsT &&value)
UpdateSecurityProfileRequest & WithTagRestrictedResources(TagRestrictedResourcesT &&value)
AWS_CONNECT_API UpdateSecurityProfileRequest()=default
void SetSecurityProfileId(SecurityProfileIdT &&value)
void SetAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
UpdateSecurityProfileRequest & AddApplications(ApplicationsT &&value)
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, Aws::String > & GetAllowedAccessControlTags() const
bool HierarchyRestrictedResourcesHasBeenSet() const
UpdateSecurityProfileRequest & WithApplications(ApplicationsT &&value)
UpdateSecurityProfileRequest & AddTagRestrictedResources(TagRestrictedResourcesT &&value)
void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
bool InstanceIdHasBeenSet() const
UpdateSecurityProfileRequest & WithHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
UpdateSecurityProfileRequest & WithAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
const Aws::String & GetSecurityProfileId() const
bool TagRestrictedResourcesHasBeenSet() const
void SetPermissions(PermissionsT &&value)
const Aws::Vector< Application > & GetApplications() const
bool DescriptionHasBeenSet() const
const Aws::String & GetAllowedAccessControlHierarchyGroupId() const
void SetInstanceId(InstanceIdT &&value)
UpdateSecurityProfileRequest & WithDescription(DescriptionT &&value)
bool AllowedAccessControlHierarchyGroupIdHasBeenSet() const
UpdateSecurityProfileRequest & AddPermissions(PermissionsT &&value)
const Aws::Vector< Aws::String > & GetHierarchyRestrictedResources() const
bool PermissionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateSecurityProfileRequest & WithSecurityProfileId(SecurityProfileIdT &&value)
const Aws::Vector< Aws::String > & GetPermissions() const
void SetTagRestrictedResources(TagRestrictedResourcesT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetTagRestrictedResources() const
bool SecurityProfileIdHasBeenSet() const
void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
bool AllowedAccessControlTagsHasBeenSet() const
UpdateSecurityProfileRequest & AddAllowedAccessControlTags(AllowedAccessControlTagsKeyT &&key, AllowedAccessControlTagsValueT &&value)
UpdateSecurityProfileRequest & WithInstanceId(InstanceIdT &&value)
UpdateSecurityProfileRequest & WithAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
UpdateSecurityProfileRequest & AddHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&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