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>
65 template<
typename TypeT = Aws::String>
66 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
67 template<
typename TypeT = Aws::String>
97 template<
typename MessageT = Aws::String>
98 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
99 template<
typename MessageT = Aws::String>
110 template<
typename LocationsT = Aws::Vector<AnalysisResultLocation>>
111 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
112 template<
typename LocationsT = Aws::Vector<AnalysisResultLocation>>
114 template<
typename LocationsT = AnalysisResultLocation>
115 AnalysisResult&
AddLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations.emplace_back(std::forward<LocationsT>(value));
return *
this; }
120 bool m_typeHasBeenSet =
false;
123 bool m_levelHasBeenSet =
false;
126 bool m_messageHasBeenSet =
false;
129 bool m_locationsHasBeenSet =
false;
AWS_IOTEVENTS_API AnalysisResult()=default
AnalysisResult & WithLocations(LocationsT &&value)
AWS_IOTEVENTS_API AnalysisResult(Aws::Utils::Json::JsonView jsonValue)
AnalysisResult & WithType(TypeT &&value)
bool LevelHasBeenSet() const
void SetType(TypeT &&value)
AWS_IOTEVENTS_API AnalysisResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AnalysisResultLocation > & GetLocations() const
bool LocationsHasBeenSet() const
AnalysisResult & AddLocations(LocationsT &&value)
bool MessageHasBeenSet() const
AnalysisResult & WithLevel(AnalysisResultLevel value)
void SetMessage(MessageT &&value)
void SetLocations(LocationsT &&value)
bool TypeHasBeenSet() const
AnalysisResultLevel GetLevel() const
AnalysisResult & WithMessage(MessageT &&value)
const Aws::String & GetType() const
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLevel(AnalysisResultLevel value)
const Aws::String & GetMessage() 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