7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
12#include <aws/workspaces-web/model/IpRule.h>
23namespace WorkSpacesWeb {
45 template <
typename IpAccessSettingsArnT = Aws::String>
47 m_ipAccessSettingsArnHasBeenSet =
true;
48 m_ipAccessSettingsArn = std::forward<IpAccessSettingsArnT>(value);
50 template <
typename IpAccessSettingsArnT = Aws::String>
64 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
66 m_associatedPortalArnsHasBeenSet =
true;
67 m_associatedPortalArns = std::forward<AssociatedPortalArnsT>(value);
69 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
74 template <
typename AssociatedPortalArnsT = Aws::String>
76 m_associatedPortalArnsHasBeenSet =
true;
77 m_associatedPortalArns.emplace_back(std::forward<AssociatedPortalArnsT>(value));
88 template <
typename IpRulesT = Aws::Vector<IpRule>>
90 m_ipRulesHasBeenSet =
true;
91 m_ipRules = std::forward<IpRulesT>(value);
93 template <
typename IpRulesT = Aws::Vector<IpRule>>
98 template <
typename IpRulesT = IpRule>
100 m_ipRulesHasBeenSet =
true;
101 m_ipRules.emplace_back(std::forward<IpRulesT>(value));
112 template <
typename DisplayNameT = Aws::String>
114 m_displayNameHasBeenSet =
true;
115 m_displayName = std::forward<DisplayNameT>(value);
117 template <
typename DisplayNameT = Aws::String>
130 template <
typename DescriptionT = Aws::String>
132 m_descriptionHasBeenSet =
true;
133 m_description = std::forward<DescriptionT>(value);
135 template <
typename DescriptionT = Aws::String>
148 template <
typename CreationDateT = Aws::Utils::DateTime>
150 m_creationDateHasBeenSet =
true;
151 m_creationDate = std::forward<CreationDateT>(value);
153 template <
typename CreationDateT = Aws::Utils::DateTime>
167 template <
typename CustomerManagedKeyT = Aws::String>
169 m_customerManagedKeyHasBeenSet =
true;
170 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
172 template <
typename CustomerManagedKeyT = Aws::String>
185 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
187 m_additionalEncryptionContextHasBeenSet =
true;
188 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
190 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
195 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
197 m_additionalEncryptionContextHasBeenSet =
true;
198 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
199 std::forward<AdditionalEncryptionContextValueT>(value));
219 bool m_ipAccessSettingsArnHasBeenSet =
false;
220 bool m_associatedPortalArnsHasBeenSet =
false;
221 bool m_ipRulesHasBeenSet =
false;
222 bool m_displayNameHasBeenSet =
false;
223 bool m_descriptionHasBeenSet =
false;
224 bool m_creationDateHasBeenSet =
false;
225 bool m_customerManagedKeyHasBeenSet =
false;
226 bool m_additionalEncryptionContextHasBeenSet =
false;
void SetIpAccessSettingsArn(IpAccessSettingsArnT &&value)
const Aws::Vector< Aws::String > & GetAssociatedPortalArns() const
IpAccessSettings & WithCustomerManagedKey(CustomerManagedKeyT &&value)
bool CreationDateHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::String & GetIpAccessSettingsArn() const
IpAccessSettings & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
const Aws::String & GetDisplayName() const
IpAccessSettings & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
IpAccessSettings & AddAssociatedPortalArns(AssociatedPortalArnsT &&value)
const Aws::String & GetDescription() const
IpAccessSettings & WithAssociatedPortalArns(AssociatedPortalArnsT &&value)
IpAccessSettings & AddIpRules(IpRulesT &&value)
IpAccessSettings & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
void SetIpRules(IpRulesT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetDescription(DescriptionT &&value)
IpAccessSettings & WithIpRules(IpRulesT &&value)
bool DescriptionHasBeenSet() const
bool IpAccessSettingsArnHasBeenSet() const
IpAccessSettings & WithDescription(DescriptionT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
IpAccessSettings & WithCreationDate(CreationDateT &&value)
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
IpAccessSettings & WithIpAccessSettingsArn(IpAccessSettingsArnT &&value)
bool IpRulesHasBeenSet() const
void SetAssociatedPortalArns(AssociatedPortalArnsT &&value)
const Aws::Vector< IpRule > & GetIpRules() const
bool AdditionalEncryptionContextHasBeenSet() const
AWS_WORKSPACESWEB_API IpAccessSettings()=default
const Aws::String & GetCustomerManagedKey() const
bool DisplayNameHasBeenSet() const
AWS_WORKSPACESWEB_API IpAccessSettings(Aws::Utils::Json::JsonView jsonValue)
bool CustomerManagedKeyHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
AWS_WORKSPACESWEB_API IpAccessSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AssociatedPortalArnsHasBeenSet() const
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