7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/LoggingLevel.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotevents/model/DetectorDebugOption.h>
51 template<
typename RoleArnT = Aws::String>
52 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
53 template<
typename RoleArnT = Aws::String>
73 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
84 template<
typename DetectorDebugOptionsT = Aws::Vector<DetectorDebugOption>>
85 void SetDetectorDebugOptions(DetectorDebugOptionsT&& value) { m_detectorDebugOptionsHasBeenSet =
true; m_detectorDebugOptions = std::forward<DetectorDebugOptionsT>(value); }
86 template<
typename DetectorDebugOptionsT = Aws::Vector<DetectorDebugOption>>
88 template<
typename DetectorDebugOptionsT = DetectorDebugOption>
89 LoggingOptions&
AddDetectorDebugOptions(DetectorDebugOptionsT&& value) { m_detectorDebugOptionsHasBeenSet =
true; m_detectorDebugOptions.emplace_back(std::forward<DetectorDebugOptionsT>(value));
return *
this; }
94 bool m_roleArnHasBeenSet =
false;
97 bool m_levelHasBeenSet =
false;
99 bool m_enabled{
false};
100 bool m_enabledHasBeenSet =
false;
103 bool m_detectorDebugOptionsHasBeenSet =
false;
LoggingOptions & WithRoleArn(RoleArnT &&value)
void SetLevel(LoggingLevel value)
LoggingOptions & WithDetectorDebugOptions(DetectorDebugOptionsT &&value)
bool LevelHasBeenSet() const
AWS_IOTEVENTS_API LoggingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DetectorDebugOptionsHasBeenSet() const
AWS_IOTEVENTS_API LoggingOptions()=default
LoggingOptions & AddDetectorDebugOptions(DetectorDebugOptionsT &&value)
bool RoleArnHasBeenSet() const
AWS_IOTEVENTS_API LoggingOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDetectorDebugOptions(DetectorDebugOptionsT &&value)
void SetEnabled(bool value)
const Aws::Vector< DetectorDebugOption > & GetDetectorDebugOptions() const
const Aws::String & GetRoleArn() const
LoggingOptions & WithLevel(LoggingLevel value)
LoggingOptions & WithEnabled(bool value)
void SetRoleArn(RoleArnT &&value)
bool EnabledHasBeenSet() const
LoggingLevel GetLevel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue