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/EventFilter.h>
14#include <aws/workspaces-web/model/LogConfiguration.h>
15#include <aws/workspaces-web/model/Tag.h>
20namespace WorkSpacesWeb {
43 template <
typename EventFilterT = EventFilter>
45 m_eventFilterHasBeenSet =
true;
46 m_eventFilter = std::forward<EventFilterT>(value);
48 template <
typename EventFilterT = EventFilter>
61 template <
typename LogConfigurationT = LogConfiguration>
63 m_logConfigurationHasBeenSet =
true;
64 m_logConfiguration = std::forward<LogConfigurationT>(value);
66 template <
typename LogConfigurationT = LogConfiguration>
79 template <
typename DisplayNameT = Aws::String>
81 m_displayNameHasBeenSet =
true;
82 m_displayName = std::forward<DisplayNameT>(value);
84 template <
typename DisplayNameT = Aws::String>
97 template <
typename CustomerManagedKeyT = Aws::String>
99 m_customerManagedKeyHasBeenSet =
true;
100 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
102 template <
typename CustomerManagedKeyT = Aws::String>
115 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
117 m_additionalEncryptionContextHasBeenSet =
true;
118 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
120 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
125 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
127 AdditionalEncryptionContextValueT&& value) {
128 m_additionalEncryptionContextHasBeenSet =
true;
129 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
130 std::forward<AdditionalEncryptionContextValueT>(value));
141 template <
typename TagsT = Aws::Vector<Tag>>
143 m_tagsHasBeenSet =
true;
144 m_tags = std::forward<TagsT>(value);
146 template <
typename TagsT = Aws::Vector<Tag>>
148 SetTags(std::forward<TagsT>(value));
151 template <
typename TagsT = Tag>
153 m_tagsHasBeenSet =
true;
154 m_tags.emplace_back(std::forward<TagsT>(value));
170 template <
typename ClientTokenT = Aws::String>
172 m_clientTokenHasBeenSet =
true;
173 m_clientToken = std::forward<ClientTokenT>(value);
175 template <
typename ClientTokenT = Aws::String>
195 bool m_eventFilterHasBeenSet =
false;
196 bool m_logConfigurationHasBeenSet =
false;
197 bool m_displayNameHasBeenSet =
false;
198 bool m_customerManagedKeyHasBeenSet =
false;
199 bool m_additionalEncryptionContextHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
201 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
CreateSessionLoggerRequest & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
bool AdditionalEncryptionContextHasBeenSet() const
bool LogConfigurationHasBeenSet() const
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
void SetClientToken(ClientTokenT &&value)
void SetEventFilter(EventFilterT &&value)
const Aws::String & GetDisplayName() const
void SetLogConfiguration(LogConfigurationT &&value)
const Aws::String & GetClientToken() const
CreateSessionLoggerRequest & WithClientToken(ClientTokenT &&value)
void SetTags(TagsT &&value)
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
CreateSessionLoggerRequest & WithTags(TagsT &&value)
bool EventFilterHasBeenSet() const
bool DisplayNameHasBeenSet() const
const LogConfiguration & GetLogConfiguration() const
const Aws::String & GetCustomerManagedKey() const
bool TagsHasBeenSet() const
CreateSessionLoggerRequest & WithEventFilter(EventFilterT &&value)
CreateSessionLoggerRequest & WithDisplayName(DisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const Aws::Vector< Tag > & GetTags() const
bool CustomerManagedKeyHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool ClientTokenHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
const EventFilter & GetEventFilter() const
CreateSessionLoggerRequest & WithCustomerManagedKey(CustomerManagedKeyT &&value)
CreateSessionLoggerRequest & WithLogConfiguration(LogConfigurationT &&value)
CreateSessionLoggerRequest & AddTags(TagsT &&value)
AWS_WORKSPACESWEB_API CreateSessionLoggerRequest()=default
CreateSessionLoggerRequest & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override
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