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/EventFilter.h>
13#include <aws/workspaces-web/model/LogConfiguration.h>
24namespace WorkSpacesWeb {
45 template <
typename SessionLoggerArnT = Aws::String>
47 m_sessionLoggerArnHasBeenSet =
true;
48 m_sessionLoggerArn = std::forward<SessionLoggerArnT>(value);
50 template <
typename SessionLoggerArnT = Aws::String>
63 template <
typename EventFilterT = EventFilter>
65 m_eventFilterHasBeenSet =
true;
66 m_eventFilter = std::forward<EventFilterT>(value);
68 template <
typename EventFilterT = EventFilter>
81 template <
typename LogConfigurationT = LogConfiguration>
83 m_logConfigurationHasBeenSet =
true;
84 m_logConfiguration = std::forward<LogConfigurationT>(value);
86 template <
typename LogConfigurationT = LogConfiguration>
99 template <
typename CustomerManagedKeyT = Aws::String>
101 m_customerManagedKeyHasBeenSet =
true;
102 m_customerManagedKey = std::forward<CustomerManagedKeyT>(value);
104 template <
typename CustomerManagedKeyT = Aws::String>
117 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
119 m_additionalEncryptionContextHasBeenSet =
true;
120 m_additionalEncryptionContext = std::forward<AdditionalEncryptionContextT>(value);
122 template <
typename AdditionalEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
127 template <
typename AdditionalEncryptionContextKeyT = Aws::String,
typename AdditionalEncryptionContextValueT = Aws::String>
129 m_additionalEncryptionContextHasBeenSet =
true;
130 m_additionalEncryptionContext.emplace(std::forward<AdditionalEncryptionContextKeyT>(key),
131 std::forward<AdditionalEncryptionContextValueT>(value));
142 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
144 m_associatedPortalArnsHasBeenSet =
true;
145 m_associatedPortalArns = std::forward<AssociatedPortalArnsT>(value);
147 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
152 template <
typename AssociatedPortalArnsT = Aws::String>
154 m_associatedPortalArnsHasBeenSet =
true;
155 m_associatedPortalArns.emplace_back(std::forward<AssociatedPortalArnsT>(value));
166 template <
typename DisplayNameT = Aws::String>
168 m_displayNameHasBeenSet =
true;
169 m_displayName = std::forward<DisplayNameT>(value);
171 template <
typename DisplayNameT = Aws::String>
184 template <
typename CreationDateT = Aws::Utils::DateTime>
186 m_creationDateHasBeenSet =
true;
187 m_creationDate = std::forward<CreationDateT>(value);
189 template <
typename CreationDateT = Aws::Utils::DateTime>
211 bool m_sessionLoggerArnHasBeenSet =
false;
212 bool m_eventFilterHasBeenSet =
false;
213 bool m_logConfigurationHasBeenSet =
false;
214 bool m_customerManagedKeyHasBeenSet =
false;
215 bool m_additionalEncryptionContextHasBeenSet =
false;
216 bool m_associatedPortalArnsHasBeenSet =
false;
217 bool m_displayNameHasBeenSet =
false;
218 bool m_creationDateHasBeenSet =
false;
void SetCustomerManagedKey(CustomerManagedKeyT &&value)
void SetEventFilter(EventFilterT &&value)
const Aws::String & GetDisplayName() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalEncryptionContext() const
const EventFilter & GetEventFilter() const
SessionLogger & WithCreationDate(CreationDateT &&value)
bool AdditionalEncryptionContextHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetSessionLoggerArn() const
SessionLogger & WithAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
SessionLogger & WithCustomerManagedKey(CustomerManagedKeyT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
bool SessionLoggerArnHasBeenSet() const
AWS_WORKSPACESWEB_API SessionLogger & operator=(Aws::Utils::Json::JsonView jsonValue)
SessionLogger & WithEventFilter(EventFilterT &&value)
SessionLogger & AddAssociatedPortalArns(AssociatedPortalArnsT &&value)
SessionLogger & AddAdditionalEncryptionContext(AdditionalEncryptionContextKeyT &&key, AdditionalEncryptionContextValueT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::Vector< Aws::String > & GetAssociatedPortalArns() const
bool CustomerManagedKeyHasBeenSet() const
SessionLogger & WithAssociatedPortalArns(AssociatedPortalArnsT &&value)
bool EventFilterHasBeenSet() const
bool AssociatedPortalArnsHasBeenSet() const
AWS_WORKSPACESWEB_API SessionLogger()=default
SessionLogger & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetCustomerManagedKey() const
SessionLogger & WithLogConfiguration(LogConfigurationT &&value)
bool LogConfigurationHasBeenSet() const
bool CreationDateHasBeenSet() const
AWS_WORKSPACESWEB_API SessionLogger(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
const LogConfiguration & GetLogConfiguration() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetSessionLoggerArn(SessionLoggerArnT &&value)
void SetAssociatedPortalArns(AssociatedPortalArnsT &&value)
void SetAdditionalEncryptionContext(AdditionalEncryptionContextT &&value)
SessionLogger & WithSessionLoggerArn(SessionLoggerArnT &&value)
void SetLogConfiguration(LogConfigurationT &&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