7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename OrganizationResourceIdT = Aws::String>
62 void SetOrganizationResourceId(OrganizationResourceIdT&& value) { m_organizationResourceIdHasBeenSet =
true; m_organizationResourceId = std::forward<OrganizationResourceIdT>(value); }
63 template<
typename OrganizationResourceIdT = Aws::String>
73 template<
typename ArnT = Aws::String>
74 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
75 template<
typename ArnT = Aws::String>
85 template<
typename SecurityProfileNameT = Aws::String>
86 void SetSecurityProfileName(SecurityProfileNameT&& value) { m_securityProfileNameHasBeenSet =
true; m_securityProfileName = std::forward<SecurityProfileNameT>(value); }
87 template<
typename SecurityProfileNameT = Aws::String>
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
127 template<
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetAllowedAccessControlTags(AllowedAccessControlTagsT&& value) { m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags = std::forward<AllowedAccessControlTagsT>(value); }
129 template<
typename AllowedAccessControlTagsT = Aws::Map<Aws::String, Aws::String>>
131 template<
typename AllowedAccessControlTagsKeyT = Aws::String,
typename AllowedAccessControlTagsValueT = Aws::String>
133 m_allowedAccessControlTagsHasBeenSet =
true; m_allowedAccessControlTags.emplace(std::forward<AllowedAccessControlTagsKeyT>(key), std::forward<AllowedAccessControlTagsValueT>(value));
return *
this;
144 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
145 void SetTagRestrictedResources(TagRestrictedResourcesT&& value) { m_tagRestrictedResourcesHasBeenSet =
true; m_tagRestrictedResources = std::forward<TagRestrictedResourcesT>(value); }
146 template<
typename TagRestrictedResourcesT = Aws::Vector<Aws::String>>
148 template<
typename TagRestrictedResourcesT = Aws::String>
149 SecurityProfile&
AddTagRestrictedResources(TagRestrictedResourcesT&& value) { m_tagRestrictedResourcesHasBeenSet =
true; m_tagRestrictedResources.emplace_back(std::forward<TagRestrictedResourcesT>(value));
return *
this; }
158 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
159 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
160 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
170 template<
typename LastModifiedRegionT = Aws::String>
171 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
172 template<
typename LastModifiedRegionT = Aws::String>
184 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
185 void SetHierarchyRestrictedResources(HierarchyRestrictedResourcesT&& value) { m_hierarchyRestrictedResourcesHasBeenSet =
true; m_hierarchyRestrictedResources = std::forward<HierarchyRestrictedResourcesT>(value); }
186 template<
typename HierarchyRestrictedResourcesT = Aws::Vector<Aws::String>>
188 template<
typename HierarchyRestrictedResourcesT = Aws::String>
189 SecurityProfile&
AddHierarchyRestrictedResources(HierarchyRestrictedResourcesT&& value) { m_hierarchyRestrictedResourcesHasBeenSet =
true; m_hierarchyRestrictedResources.emplace_back(std::forward<HierarchyRestrictedResourcesT>(value));
return *
this; }
199 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
200 void SetAllowedAccessControlHierarchyGroupId(AllowedAccessControlHierarchyGroupIdT&& value) { m_allowedAccessControlHierarchyGroupIdHasBeenSet =
true; m_allowedAccessControlHierarchyGroupId = std::forward<AllowedAccessControlHierarchyGroupIdT>(value); }
201 template<
typename AllowedAccessControlHierarchyGroupIdT = Aws::String>
207 bool m_idHasBeenSet =
false;
210 bool m_organizationResourceIdHasBeenSet =
false;
213 bool m_arnHasBeenSet =
false;
216 bool m_securityProfileNameHasBeenSet =
false;
219 bool m_descriptionHasBeenSet =
false;
222 bool m_tagsHasBeenSet =
false;
225 bool m_allowedAccessControlTagsHasBeenSet =
false;
228 bool m_tagRestrictedResourcesHasBeenSet =
false;
231 bool m_lastModifiedTimeHasBeenSet =
false;
234 bool m_lastModifiedRegionHasBeenSet =
false;
237 bool m_hierarchyRestrictedResourcesHasBeenSet =
false;
239 Aws::String m_allowedAccessControlHierarchyGroupId;
240 bool m_allowedAccessControlHierarchyGroupIdHasBeenSet =
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
SecurityProfile & AddAllowedAccessControlTags(AllowedAccessControlTagsKeyT &&key, AllowedAccessControlTagsValueT &&value)
SecurityProfile & WithId(IdT &&value)
AWS_CONNECT_API SecurityProfile(Aws::Utils::Json::JsonView jsonValue)
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)
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
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