AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartDetectorModelAnalysisRequest.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/IoTEventsRequest.h>
9#include <aws/iotevents/model/DetectorModelDefinition.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTEvents
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTEVENTS_API StartDetectorModelAnalysisRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartDetectorModelAnalysis"; }
31
32 AWS_IOTEVENTS_API Aws::String SerializePayload() const override;
33
34
36
37 inline const DetectorModelDefinition& GetDetectorModelDefinition() const { return m_detectorModelDefinition; }
38 inline bool DetectorModelDefinitionHasBeenSet() const { return m_detectorModelDefinitionHasBeenSet; }
39 template<typename DetectorModelDefinitionT = DetectorModelDefinition>
40 void SetDetectorModelDefinition(DetectorModelDefinitionT&& value) { m_detectorModelDefinitionHasBeenSet = true; m_detectorModelDefinition = std::forward<DetectorModelDefinitionT>(value); }
41 template<typename DetectorModelDefinitionT = DetectorModelDefinition>
42 StartDetectorModelAnalysisRequest& WithDetectorModelDefinition(DetectorModelDefinitionT&& value) { SetDetectorModelDefinition(std::forward<DetectorModelDefinitionT>(value)); return *this;}
44 private:
45
46 DetectorModelDefinition m_detectorModelDefinition;
47 bool m_detectorModelDefinitionHasBeenSet = false;
48 };
49
50} // namespace Model
51} // namespace IoTEvents
52} // namespace Aws
StartDetectorModelAnalysisRequest & WithDetectorModelDefinition(DetectorModelDefinitionT &&value)
AWS_IOTEVENTS_API Aws::String SerializePayload() const override
AWS_IOTEVENTS_API StartDetectorModelAnalysisRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String