7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/GranularAccessControlConfiguration.h>
9#include <aws/connect/model/SecurityProfileType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename OrganizationResourceIdT = Aws::String>
65 m_organizationResourceIdHasBeenSet =
true;
66 m_organizationResourceId = std::forward<OrganizationResourceIdT>(value);
68 template <
typename OrganizationResourceIdT = Aws::String>
81 template <
typename ArnT = Aws::String>
83 m_arnHasBeenSet =
true;
84 m_arn = std::forward<ArnT>(value);
86 template <
typename ArnT = Aws::String>
88 SetArn(std::forward<ArnT>(value));
99 template <
typename SecurityProfileNameT = Aws::String>
101 m_securityProfileNameHasBeenSet =
true;
102 m_securityProfileName = std::forward<SecurityProfileNameT>(value);
104 template <
typename SecurityProfileNameT = Aws::String>
117 template <
typename DescriptionT = Aws::String>
119 m_descriptionHasBeenSet =
true;
120 m_description = std::forward<DescriptionT>(value);
122 template <
typename DescriptionT = Aws::String>
136 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
161 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
163 m_allowedAccessControlTagsHasBeenSet =
true;
164 m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value);
166 template <
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
171 template <
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
173 m_allowedAccessControlTagsHasBeenSet =
true;
174 m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key),
175 std::forward<AllowedAccessControlTagsValueT>(value));
187 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
189 m_tagRestrictedResourcesHasBeenSet =
true;
190 m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value);
192 template <
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
197 template <
typename TagRestrictedResourcesT = Aws::String>
199 m_tagRestrictedResourcesHasBeenSet =
true;
200 m_tagRestrictedResources.emplace_back(std::forward<TagRestrictedResourcesT>(value));
211 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
213 m_lastModifiedTimeHasBeenSet =
true;
214 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
216 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
229 template <
typename LastModifiedRegionT = Aws::String>
231 m_lastModifiedRegionHasBeenSet =
true;
232 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
234 template <
typename LastModifiedRegionT = Aws::String>
249 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
251 m_hierarchyRestrictedResourcesHasBeenSet =
true;
252 m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value);
254 template <
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
259 template <
typename HierarchyRestrictedResourcesT = Aws::String>
261 m_hierarchyRestrictedResourcesHasBeenSet =
true;
262 m_hierarchyRestrictedResources.emplace_back(std::forward<HierarchyRestrictedResourcesT>(value));
274 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
276 m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true;
277 m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value);
279 template <
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
292 return m_granularAccessControlConfiguration;
295 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
297 m_granularAccessControlConfigurationHasBeenSet =
true;
298 m_granularAccessControlConfiguration = std::forward<GranularAccessControlConfigurationT>(value);
300 template <
typename GranularAccessControlConfigurationT = GranularAccessControlConfiguration>
315 m_typeHasBeenSet =
true;
346 Aws::String m_allowedAccessControlHierarchyGroupId;
348 GranularAccessControlConfiguration m_granularAccessControlConfiguration;
351 bool m_idHasBeenSet =
false;
352 bool m_organizationResourceIdHasBeenSet =
false;
353 bool m_arnHasBeenSet =
false;
354 bool m_securityProfileNameHasBeenSet =
false;
355 bool m_descriptionHasBeenSet =
false;
356 bool m_tagsHasBeenSet =
false;
357 bool m_allowedAccessControlTagsHasBeenSet =
false;
358 bool m_tagRestrictedResourcesHasBeenSet =
false;
359 bool m_lastModifiedTimeHasBeenSet =
false;
360 bool m_lastModifiedRegionHasBeenSet =
false;
361 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
362 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
false;
363 bool m_granularAccessControlConfigurationHasBeenSet =
false;
364 bool m_typeHasBeenSet =
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
SecurityProfile & WithType(SecurityProfileType value)
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 TypeHasBeenSet() const
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)
SecurityProfileType GetType() const
void SetDescription(DescriptionT &&value)
SecurityProfile & AddTagRestrictedResources(TagRestrictedResourcesT &&value)
const Aws::String & GetDescription() const
SecurityProfile & WithTagRestrictedResources(TagRestrictedResourcesT &&value)
void SetType(SecurityProfileType 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