7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/model/AnalysisResultLevel.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotevents/model/AnalysisResultLocation.h>
67 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
103 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
126 bool m_typeHasBeenSet =
false;
129 bool m_levelHasBeenSet =
false;
132 bool m_messageHasBeenSet =
false;
135 bool m_locationsHasBeenSet =
false;
AnalysisResult & WithType(Aws::String &&value)
AWS_IOTEVENTS_API AnalysisResult(Aws::Utils::Json::JsonView jsonValue)
AnalysisResult & WithLocations(Aws::Vector< AnalysisResultLocation > &&value)
AnalysisResult & WithMessage(const Aws::String &value)
AnalysisResult & AddLocations(AnalysisResultLocation &&value)
void SetMessage(const char *value)
bool LevelHasBeenSet() const
AnalysisResult & WithMessage(Aws::String &&value)
void SetMessage(Aws::String &&value)
void SetLevel(AnalysisResultLevel &&value)
AWS_IOTEVENTS_API AnalysisResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AnalysisResultLocation > & GetLocations() const
void SetType(Aws::String &&value)
bool LocationsHasBeenSet() const
AnalysisResult & WithLevel(AnalysisResultLevel &&value)
bool MessageHasBeenSet() const
void SetType(const char *value)
AnalysisResult & AddLocations(const AnalysisResultLocation &value)
void SetLocations(Aws::Vector< AnalysisResultLocation > &&value)
void SetLevel(const AnalysisResultLevel &value)
void SetLocations(const Aws::Vector< AnalysisResultLocation > &value)
void SetType(const Aws::String &value)
AnalysisResult & WithType(const char *value)
AWS_IOTEVENTS_API AnalysisResult()
void SetMessage(const Aws::String &value)
bool TypeHasBeenSet() const
AnalysisResult & WithLocations(const Aws::Vector< AnalysisResultLocation > &value)
AnalysisResult & WithType(const Aws::String &value)
const Aws::String & GetType() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisResult & WithLevel(const AnalysisResultLevel &value)
const Aws::String & GetMessage() const
AnalysisResult & WithMessage(const char *value)
const AnalysisResultLevel & 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