7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/LogEventConfiguration.h>
12#include <aws/iot/model/LogLevel.h>
40 template <
typename RoleArnT = Aws::String>
42 m_roleArnHasBeenSet =
true;
43 m_roleArn = std::forward<RoleArnT>(value);
45 template <
typename RoleArnT = Aws::String>
59 m_defaultLogLevelHasBeenSet =
true;
60 m_defaultLogLevel = value;
75 m_disableAllLogsHasBeenSet =
true;
76 m_disableAllLogs = value;
90 template <
typename EventConfigurationsT = Aws::Vector<LogEventConfiguration>>
92 m_eventConfigurationsHasBeenSet =
true;
93 m_eventConfigurations = std::forward<EventConfigurationsT>(value);
95 template <
typename EventConfigurationsT = Aws::Vector<LogEventConfiguration>>
100 template <
typename EventConfigurationsT = LogEventConfiguration>
102 m_eventConfigurationsHasBeenSet =
true;
103 m_eventConfigurations.emplace_back(std::forward<EventConfigurationsT>(value));
112 bool m_disableAllLogs{
false};
115 bool m_roleArnHasBeenSet =
false;
116 bool m_defaultLogLevelHasBeenSet =
false;
117 bool m_disableAllLogsHasBeenSet =
false;
118 bool m_eventConfigurationsHasBeenSet =
false;
SetV2LoggingOptionsRequest & WithRoleArn(RoleArnT &&value)
SetV2LoggingOptionsRequest & WithDefaultLogLevel(LogLevel value)
void SetDisableAllLogs(bool value)
bool RoleArnHasBeenSet() const
bool EventConfigurationsHasBeenSet() const
const Aws::Vector< LogEventConfiguration > & GetEventConfigurations() const
SetV2LoggingOptionsRequest & WithDisableAllLogs(bool value)
LogLevel GetDefaultLogLevel() const
AWS_IOT_API SetV2LoggingOptionsRequest()=default
void SetDefaultLogLevel(LogLevel value)
bool GetDisableAllLogs() const
AWS_IOT_API Aws::String SerializePayload() const override
bool DefaultLogLevelHasBeenSet() const
SetV2LoggingOptionsRequest & WithEventConfigurations(EventConfigurationsT &&value)
const Aws::String & GetRoleArn() const
SetV2LoggingOptionsRequest & AddEventConfigurations(EventConfigurationsT &&value)
void SetEventConfigurations(EventConfigurationsT &&value)
bool DisableAllLogsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector