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