AWS SDK for C++  1.9.71
AWS SDK for C++
DeleteDetectorModelRequest.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 "DeleteDetectorModel"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDetectorModelName() const{ return m_detectorModelName; }
39 
43  inline bool DetectorModelNameHasBeenSet() const { return m_detectorModelNameHasBeenSet; }
44 
48  inline void SetDetectorModelName(const Aws::String& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = value; }
49 
53  inline void SetDetectorModelName(Aws::String&& value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName = std::move(value); }
54 
58  inline void SetDetectorModelName(const char* value) { m_detectorModelNameHasBeenSet = true; m_detectorModelName.assign(value); }
59 
63  inline DeleteDetectorModelRequest& WithDetectorModelName(const Aws::String& value) { SetDetectorModelName(value); return *this;}
64 
68  inline DeleteDetectorModelRequest& WithDetectorModelName(Aws::String&& value) { SetDetectorModelName(std::move(value)); return *this;}
69 
73  inline DeleteDetectorModelRequest& WithDetectorModelName(const char* value) { SetDetectorModelName(value); return *this;}
74 
75  private:
76 
77  Aws::String m_detectorModelName;
78  bool m_detectorModelNameHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace IoTEvents
83 } // namespace Aws
Aws::IoTEvents::Model::DeleteDetectorModelRequest::DeleteDetectorModelRequest
DeleteDetectorModelRequest()
Aws::IoTEvents::Model::DeleteDetectorModelRequest::DetectorModelNameHasBeenSet
bool DetectorModelNameHasBeenSet() const
Definition: DeleteDetectorModelRequest.h:43
IoTEventsRequest.h
Aws::IoTEvents::Model::DeleteDetectorModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::DeleteDetectorModelRequest::GetDetectorModelName
const Aws::String & GetDetectorModelName() const
Definition: DeleteDetectorModelRequest.h:38
Aws::IoTEvents::Model::DeleteDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(Aws::String &&value)
Definition: DeleteDetectorModelRequest.h:53
Aws::IoTEvents::Model::DeleteDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(const char *value)
Definition: DeleteDetectorModelRequest.h:58
Aws::IoTEvents::Model::DeleteDetectorModelRequest
Definition: DeleteDetectorModelRequest.h:22
AWSString.h
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::DeleteDetectorModelRequest::WithDetectorModelName
DeleteDetectorModelRequest & WithDetectorModelName(Aws::String &&value)
Definition: DeleteDetectorModelRequest.h:68
Aws::IoTEvents::Model::DeleteDetectorModelRequest::SetDetectorModelName
void SetDetectorModelName(const Aws::String &value)
Definition: DeleteDetectorModelRequest.h:48
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
Aws::IoTEvents::Model::DeleteDetectorModelRequest::WithDetectorModelName
DeleteDetectorModelRequest & WithDetectorModelName(const Aws::String &value)
Definition: DeleteDetectorModelRequest.h:63
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::DeleteDetectorModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteDetectorModelRequest.h:30
Aws::IoTEvents::Model::DeleteDetectorModelRequest::WithDetectorModelName
DeleteDetectorModelRequest & WithDetectorModelName(const char *value)
Definition: DeleteDetectorModelRequest.h:73