7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/GranularAccessControlConfiguration.h>
9#include <aws/core/utils/DateTime.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>
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename OrganizationResourceIdT = Aws::String>
64 m_organizationResourceIdHasBeenSet =
true;
65 m_organizationResourceId = std::forward<OrganizationResourceIdT>(value);
67 template <
typename OrganizationResourceIdT = Aws::String>
80 template <
typename ArnT = Aws::String>
82 m_arnHasBeenSet =
true;
83 m_arn = std::forward<ArnT>(value);
85 template <
typename ArnT = Aws::String>
87 SetArn(std::forward<ArnT>(value));
98 template <
typename SecurityProfileNameT = Aws::String>
100 m_securityProfileNameHasBeenSet =
true;
101 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
103 template <
typename SecurityProfileNameT = Aws::String>
116 template <
typename DescriptionT = Aws::String>
118 m_descriptionHasBeenSet =
true;
119 m_description = std::forward<DescriptionT>(value);
121 template <
typename DescriptionT = Aws::String>
135 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 m_tagsHasBeenSet =
true;
138 m_tags = std::forward<TagsT>(value);
140 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 SetTags(std::forward<TagsT>(value));
145 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true;
148 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
160 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
162 m_allowedAccessControlTagsHasBeenSet =
true;
163 m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value);
165 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
170 template <
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
172 m_allowedAccessControlTagsHasBeenSet =
true;
173 m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key),
174 std::forward<AllowedAccessControlTagsValueT>(value));
186 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
188 m_tagRestrictedResourcesHasBeenSet =
true;
189 m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value);
191 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
196 template <
typename TagRestrictedResourcesT = Aws::String>
198 m_tagRestrictedResourcesHasBeenSet =
true;
199 m_tagRestrictedResources.emplace_back(std::forward<TagRestrictedResourcesT>(value));
210 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
212 m_lastModifiedTimeHasBeenSet =
true;
213 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
215 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
228 template <
typename LastModifiedRegionT = Aws::String>
230 m_lastModifiedRegionHasBeenSet =
true;
231 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
233 template <
typename LastModifiedRegionT = Aws::String>
248 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
250 m_hierarchyRestrictedResourcesHasBeenSet =
true;
251 m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value);
253 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
258 template <
typename HierarchyRestrictedResourcesT = Aws::String>
260 m_hierarchyRestrictedResourcesHasBeenSet =
true;
261 m_hierarchyRestrictedResources.emplace_back(std::forward<HierarchyRestrictedResourcesT>(value));
273 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
275 m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true;
276 m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value);
278 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
291 return m_granularAccessControlConfiguration;
294 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
296 m_granularAccessControlConfigurationHasBeenSet =
true;
297 m_granularAccessControlConfiguration = std::forward<GranularAccessControlConfigurationT>(value);
299 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
328 Aws::String m_allowedAccessControlHierarchyGroupId;
330 GranularAccessControlConfiguration m_granularAccessControlConfiguration;
331 bool m_idHasBeenSet =
false;
332 bool m_organizationResourceIdHasBeenSet =
false;
333 bool m_arnHasBeenSet =
false;
334 bool m_securityProfileNameHasBeenSet =
false;
335 bool m_descriptionHasBeenSet =
false;
336 bool m_tagsHasBeenSet =
false;
337 bool m_allowedAccessControlTagsHasBeenSet =
false;
338 bool m_tagRestrictedResourcesHasBeenSet =
false;
339 bool m_lastModifiedTimeHasBeenSet =
false;
340 bool m_lastModifiedRegionHasBeenSet =
false;
341 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
342 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
false;
343 bool m_granularAccessControlConfigurationHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
const Aws::String & GetOrganizationResourceId() const
const Aws::String & GetId() const
SecurityProfile & WithOrganizationResourceId(OrganizationResourceIdT &&value)
void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
const Aws::String & GetLastModifiedRegion() const
bool AllowedAccessControlTagsHasBeenSet() const
void SetSecurityProfileName(SecurityProfileNameT &&value)
SecurityProfile & WithAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT &&value)
bool AllowedAccessControlHierarchyGroupIdHasBeenSet() const
SecurityProfile & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool OrganizationResourceIdHasBeenSet() const
const GranularAccessControlConfiguration & GetGranularAccessControlConfiguration() const
SecurityProfile & AddAllowedAccessControlTags(AllowedAccessControlTagsKeyT &&key, AllowedAccessControlTagsValueT &&value)
SecurityProfile & WithId(IdT &&value)
AWS_CONNECT_API SecurityProfile(Aws::Utils::Json::JsonView jsonValue)
void SetGranularAccessControlConfiguration(GranularAccessControlConfigurationT &&value)
const Aws::String & GetAllowedAccessControlHierarchyGroupId() const
const Aws::Map< Aws::String, Aws::String > & GetAllowedAccessControlTags() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
SecurityProfile & WithSecurityProfileName(SecurityProfileNameT &&value)
void SetOrganizationResourceId(OrganizationResourceIdT &&value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
bool LastModifiedTimeHasBeenSet() const
SecurityProfile & WithLastModifiedRegion(LastModifiedRegionT &&value)
SecurityProfile & WithLastModifiedTime(LastModifiedTimeT &&value)
SecurityProfile & WithTags(TagsT &&value)
bool ArnHasBeenSet() const
void SetTagRestrictedResources(TagRestrictedResourcesT &&value)
SecurityProfile & WithGranularAccessControlConfiguration(GranularAccessControlConfigurationT &&value)
AWS_CONNECT_API SecurityProfile()=default
bool TagRestrictedResourcesHasBeenSet() const
const Aws::String & GetArn() const
SecurityProfile & WithHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
bool HierarchyRestrictedResourcesHasBeenSet() const
bool SecurityProfileNameHasBeenSet() const
const Aws::String & GetSecurityProfileName() const
SecurityProfile & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetHierarchyRestrictedResources() const
bool DescriptionHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool LastModifiedRegionHasBeenSet() const
SecurityProfile & WithAllowedAccessControlTags(AllowedAccessControlTagsT &&value)
AWS_CONNECT_API SecurityProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
void SetArn(ArnT &&value)
bool TagsHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool GranularAccessControlConfigurationHasBeenSet() const
SecurityProfile & AddHierarchyRestrictedResources(HierarchyRestrictedResourcesT &&value)
const Aws::Vector< Aws::String > & GetTagRestrictedResources() const
SecurityProfile & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
SecurityProfile & AddTagRestrictedResources(TagRestrictedResourcesT &&value)
const Aws::String & GetDescription() const
SecurityProfile & WithTagRestrictedResources(TagRestrictedResourcesT &&value)
bool IdHasBeenSet() const
void SetAllowedAccessControlTags(AllowedAccessControlTagsT &&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
Aws::Utils::Json::JsonValue JsonValue