7#include <aws/core/utils/UUID.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/WorkSpacesWebRequest.h>
12#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
13#include <aws/workspaces-web/model/Tag.h>
14#include <aws/workspaces-web/model/WebContentFilteringPolicy.h>
19namespace WorkSpacesWeb {
43 template <
typename TagsT = Aws::Vector<Tag>>
45 m_tagsHasBeenSet =
true;
46 m_tags = std::forward<TagsT>(value);
48 template <
typename TagsT = Aws::Vector<Tag>>
50 SetTags(std::forward<TagsT>(value));
53 template <
typename TagsT = Tag>
55 m_tagsHasBeenSet =
true;
56 m_tags.emplace_back(std::forward<TagsT>(value));
67 template <
typename CustomerManagedKeyT = Aws::String>
69 m_customerManagedKeyHasBeenSet =
true;
70 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
72 template <
typename CustomerManagedKeyT = Aws::String>
85 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
87 m_additionalEncryptionContextHasBeenSet =
true;
88 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
90 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
95 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
97 AdditionalEncryptionContextValueT&& value) {
98 m_additionalEncryptionContextHasBeenSet =
true;
99 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
100 std::forward<AdditionalEncryptionContextValueT>(value));
112 template <
typename BrowserPolicyT = Aws::String>
114 m_browserPolicyHasBeenSet =
true;
115 m_browserPolicy = std::forward<BrowserPolicyT>(value);
117 template <
typename BrowserPolicyT = Aws::String>
135 template <
typename ClientTokenT = Aws::String>
137 m_clientTokenHasBeenSet =
true;
138 m_clientToken = std::forward<ClientTokenT>(value);
140 template <
typename ClientTokenT = Aws::String>
155 template <
typename WebContentFilteringPolicyT = WebContentFilteringPolicy>
157 m_webContentFilteringPolicyHasBeenSet =
true;
158 m_webContentFilteringPolicy = std::forward<WebContentFilteringPolicyT>(value);
160 template <
typename WebContentFilteringPolicyT = WebContentFilteringPolicy>
177 WebContentFilteringPolicy m_webContentFilteringPolicy;
178 bool m_tagsHasBeenSet =
false;
179 bool m_customerManagedKeyHasBeenSet =
false;
180 bool m_additionalEncryptionContextHasBeenSet =
false;
181 bool m_browserPolicyHasBeenSet =
false;
182 bool m_clientTokenHasBeenSet =
true;
183 bool m_webContentFilteringPolicyHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateBrowserSettingsRequest & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
const Aws::String & GetBrowserPolicy() const
virtual const char * GetServiceRequestName() const override
void SetBrowserPolicy(BrowserPolicyT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
bool WebContentFilteringPolicyHasBeenSet() const
bool BrowserPolicyHasBeenSet() const
const Aws::String & GetCustomerManagedKey() const
bool ClientTokenHasBeenSet() const
bool AdditionalEncryptionContextHasBeenSet() const
void SetWebContentFilteringPolicy(WebContentFilteringPolicyT &&value)
void SetClientToken(ClientTokenT &&value)
bool TagsHasBeenSet() const
CreateBrowserSettingsRequest & WithWebContentFilteringPolicy(WebContentFilteringPolicyT &&value)
CreateBrowserSettingsRequest & AddTags(TagsT &&value)
CreateBrowserSettingsRequest & WithTags(TagsT &&value)
CreateBrowserSettingsRequest & WithClientToken(ClientTokenT &&value)
const WebContentFilteringPolicy & GetWebContentFilteringPolicy() const
CreateBrowserSettingsRequest & WithBrowserPolicy(BrowserPolicyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::String & GetClientToken() const
CreateBrowserSettingsRequest & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
CreateBrowserSettingsRequest & WithCustomerManagedKey(CustomerManagedKeyT &&value)
void SetTags(TagsT &&value)
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
bool CustomerManagedKeyHasBeenSet() const
AWS_WORKSPACESWEB_API CreateBrowserSettingsRequest()=default
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