AWS SDK for C++  1.9.67
AWS SDK for C++
StartDetectorModelAnalysisRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTEvents
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
35 
36  inline const DetectorModelDefinition& GetDetectorModelDefinition() const{ return m_detectorModelDefinition; }
37 
38 
39  inline bool DetectorModelDefinitionHasBeenSet() const { return m_detectorModelDefinitionHasBeenSet; }
40 
41 
42  inline void SetDetectorModelDefinition(const DetectorModelDefinition& value) { m_detectorModelDefinitionHasBeenSet = true; m_detectorModelDefinition = value; }
43 
44 
45  inline void SetDetectorModelDefinition(DetectorModelDefinition&& value) { m_detectorModelDefinitionHasBeenSet = true; m_detectorModelDefinition = std::move(value); }
46 
47 
48  inline StartDetectorModelAnalysisRequest& WithDetectorModelDefinition(const DetectorModelDefinition& value) { SetDetectorModelDefinition(value); return *this;}
49 
50 
51  inline StartDetectorModelAnalysisRequest& WithDetectorModelDefinition(DetectorModelDefinition&& value) { SetDetectorModelDefinition(std::move(value)); return *this;}
52 
53  private:
54 
55  DetectorModelDefinition m_detectorModelDefinition;
56  bool m_detectorModelDefinitionHasBeenSet;
57  };
58 
59 } // namespace Model
60 } // namespace IoTEvents
61 } // namespace Aws
IoTEventsRequest.h
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::GetDetectorModelDefinition
const DetectorModelDefinition & GetDetectorModelDefinition() const
Definition: StartDetectorModelAnalysisRequest.h:36
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::SetDetectorModelDefinition
void SetDetectorModelDefinition(const DetectorModelDefinition &value)
Definition: StartDetectorModelAnalysisRequest.h:42
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::StartDetectorModelAnalysisRequest
StartDetectorModelAnalysisRequest()
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest
Definition: StartDetectorModelAnalysisRequest.h:22
Aws::IoTEvents::Model::DetectorModelDefinition
Definition: DetectorModelDefinition.h:35
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::WithDetectorModelDefinition
StartDetectorModelAnalysisRequest & WithDetectorModelDefinition(const DetectorModelDefinition &value)
Definition: StartDetectorModelAnalysisRequest.h:48
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::WithDetectorModelDefinition
StartDetectorModelAnalysisRequest & WithDetectorModelDefinition(DetectorModelDefinition &&value)
Definition: StartDetectorModelAnalysisRequest.h:51
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StartDetectorModelAnalysisRequest.h:30
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::SetDetectorModelDefinition
void SetDetectorModelDefinition(DetectorModelDefinition &&value)
Definition: StartDetectorModelAnalysisRequest.h:45
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
DetectorModelDefinition.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::StartDetectorModelAnalysisRequest::DetectorModelDefinitionHasBeenSet
bool DetectorModelDefinitionHasBeenSet() const
Definition: StartDetectorModelAnalysisRequest.h:39