7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotevents/IoTEventsRequest.h>
10#include <aws/iotevents/IoTEvents_EXPORTS.h>
11#include <aws/iotevents/model/DetectorModelDefinition.h>
12#include <aws/iotevents/model/EvaluationMethod.h>
13#include <aws/iotevents/model/Tag.h>
41 template <
typename DetectorModelNameT = Aws::String>
43 m_detectorModelNameHasBeenSet =
true;
44 m_detectorModelName = std::forward<DetectorModelNameT>(value);
46 template <
typename DetectorModelNameT = Aws::String>
59 template <
typename DetectorModelDefinitionT = DetectorModelDefinition>
61 m_detectorModelDefinitionHasBeenSet =
true;
62 m_detectorModelDefinition = std::forward<DetectorModelDefinitionT>(value);
64 template <
typename DetectorModelDefinitionT = DetectorModelDefinition>
77 template <
typename DetectorModelDescriptionT = Aws::String>
79 m_detectorModelDescriptionHasBeenSet =
true;
80 m_detectorModelDescription = std::forward<DetectorModelDescriptionT>(value);
82 template <
typename DetectorModelDescriptionT = Aws::String>
99 template <
typename KeyT = Aws::String>
101 m_keyHasBeenSet =
true;
102 m_key = std::forward<KeyT>(value);
104 template <
typename KeyT = Aws::String>
106 SetKey(std::forward<KeyT>(value));
118 template <
typename RoleArnT = Aws::String>
120 m_roleArnHasBeenSet =
true;
121 m_roleArn = std::forward<RoleArnT>(value);
123 template <
typename RoleArnT = Aws::String>
136 template <
typename TagsT = Aws::Vector<Tag>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsT = Tag>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
162 m_evaluationMethodHasBeenSet =
true;
163 m_evaluationMethod = value;
184 bool m_detectorModelNameHasBeenSet =
false;
185 bool m_detectorModelDefinitionHasBeenSet =
false;
186 bool m_detectorModelDescriptionHasBeenSet =
false;
187 bool m_keyHasBeenSet =
false;
188 bool m_roleArnHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
190 bool m_evaluationMethodHasBeenSet =
false;
const Aws::String & GetDetectorModelDescription() const
bool RoleArnHasBeenSet() const
void SetKey(KeyT &&value)
CreateDetectorModelRequest & AddTags(TagsT &&value)
void SetDetectorModelDefinition(DetectorModelDefinitionT &&value)
bool EvaluationMethodHasBeenSet() const
CreateDetectorModelRequest & WithTags(TagsT &&value)
CreateDetectorModelRequest & WithDetectorModelName(DetectorModelNameT &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
bool DetectorModelDescriptionHasBeenSet() const
EvaluationMethod GetEvaluationMethod() const
CreateDetectorModelRequest & WithRoleArn(RoleArnT &&value)
void SetDetectorModelDescription(DetectorModelDescriptionT &&value)
CreateDetectorModelRequest & WithDetectorModelDefinition(DetectorModelDefinitionT &&value)
bool DetectorModelDefinitionHasBeenSet() const
bool KeyHasBeenSet() const
const Aws::String & GetRoleArn() const
const Aws::String & GetDetectorModelName() const
AWS_IOTEVENTS_API CreateDetectorModelRequest()=default
const DetectorModelDefinition & GetDetectorModelDefinition() const
bool DetectorModelNameHasBeenSet() const
CreateDetectorModelRequest & WithDetectorModelDescription(DetectorModelDescriptionT &&value)
void SetDetectorModelName(DetectorModelNameT &&value)
void SetEvaluationMethod(EvaluationMethod value)
CreateDetectorModelRequest & WithKey(KeyT &&value)
bool TagsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
const Aws::String & GetKey() const
CreateDetectorModelRequest & WithEvaluationMethod(EvaluationMethod value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Tag > & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector