AWS SDK for C++  1.9.71
AWS SDK for C++
DescribeAlarmModelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTEvents
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeAlarmModel"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAlarmModelName() const{ return m_alarmModelName; }
45 
49  inline bool AlarmModelNameHasBeenSet() const { return m_alarmModelNameHasBeenSet; }
50 
54  inline void SetAlarmModelName(const Aws::String& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = value; }
55 
59  inline void SetAlarmModelName(Aws::String&& value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName = std::move(value); }
60 
64  inline void SetAlarmModelName(const char* value) { m_alarmModelNameHasBeenSet = true; m_alarmModelName.assign(value); }
65 
69  inline DescribeAlarmModelRequest& WithAlarmModelName(const Aws::String& value) { SetAlarmModelName(value); return *this;}
70 
74  inline DescribeAlarmModelRequest& WithAlarmModelName(Aws::String&& value) { SetAlarmModelName(std::move(value)); return *this;}
75 
79  inline DescribeAlarmModelRequest& WithAlarmModelName(const char* value) { SetAlarmModelName(value); return *this;}
80 
81 
85  inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
86 
90  inline bool AlarmModelVersionHasBeenSet() const { return m_alarmModelVersionHasBeenSet; }
91 
95  inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = value; }
96 
100  inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion = std::move(value); }
101 
105  inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersionHasBeenSet = true; m_alarmModelVersion.assign(value); }
106 
110  inline DescribeAlarmModelRequest& WithAlarmModelVersion(const Aws::String& value) { SetAlarmModelVersion(value); return *this;}
111 
115  inline DescribeAlarmModelRequest& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
116 
120  inline DescribeAlarmModelRequest& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
121 
122  private:
123 
124  Aws::String m_alarmModelName;
125  bool m_alarmModelNameHasBeenSet;
126 
127  Aws::String m_alarmModelVersion;
128  bool m_alarmModelVersionHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoTEvents
133 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelVersion
void SetAlarmModelVersion(Aws::String &&value)
Definition: DescribeAlarmModelRequest.h:100
IoTEventsRequest.h
Aws::IoTEvents::Model::DescribeAlarmModelRequest::GetAlarmModelVersion
const Aws::String & GetAlarmModelVersion() const
Definition: DescribeAlarmModelRequest.h:85
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTEvents::Model::DescribeAlarmModelRequest::AlarmModelNameHasBeenSet
bool AlarmModelNameHasBeenSet() const
Definition: DescribeAlarmModelRequest.h:49
Aws::IoTEvents::Model::DescribeAlarmModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAlarmModelRequest.h:34
Aws::IoTEvents::Model::DescribeAlarmModelRequest::GetAlarmModelName
const Aws::String & GetAlarmModelName() const
Definition: DescribeAlarmModelRequest.h:44
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelVersion
void SetAlarmModelVersion(const char *value)
Definition: DescribeAlarmModelRequest.h:105
Aws::IoTEvents::Model::DescribeAlarmModelRequest
Definition: DescribeAlarmModelRequest.h:26
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelName
DescribeAlarmModelRequest & WithAlarmModelName(const char *value)
Definition: DescribeAlarmModelRequest.h:79
Aws::IoTEvents::Model::DescribeAlarmModelRequest::AlarmModelVersionHasBeenSet
bool AlarmModelVersionHasBeenSet() const
Definition: DescribeAlarmModelRequest.h:90
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelVersion
DescribeAlarmModelRequest & WithAlarmModelVersion(Aws::String &&value)
Definition: DescribeAlarmModelRequest.h:115
AWSString.h
Aws::IoTEvents::IoTEventsRequest
Definition: IoTEventsRequest.h:17
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelName
void SetAlarmModelName(const char *value)
Definition: DescribeAlarmModelRequest.h:64
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelVersion
DescribeAlarmModelRequest & WithAlarmModelVersion(const char *value)
Definition: DescribeAlarmModelRequest.h:120
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelVersion
DescribeAlarmModelRequest & WithAlarmModelVersion(const Aws::String &value)
Definition: DescribeAlarmModelRequest.h:110
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelVersion
void SetAlarmModelVersion(const Aws::String &value)
Definition: DescribeAlarmModelRequest.h:95
Aws
Definition: AccessManagementClient.h:15
IoTEvents_EXPORTS.h
AWS_IOTEVENTS_API
#define AWS_IOTEVENTS_API
Definition: IoTEvents_EXPORTS.h:28
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelName
DescribeAlarmModelRequest & WithAlarmModelName(const Aws::String &value)
Definition: DescribeAlarmModelRequest.h:69
Aws::IoTEvents::Model::DescribeAlarmModelRequest::WithAlarmModelName
DescribeAlarmModelRequest & WithAlarmModelName(Aws::String &&value)
Definition: DescribeAlarmModelRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTEvents::Model::DescribeAlarmModelRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTEvents::Model::DescribeAlarmModelRequest::DescribeAlarmModelRequest
DescribeAlarmModelRequest()
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelName
void SetAlarmModelName(const Aws::String &value)
Definition: DescribeAlarmModelRequest.h:54
Aws::IoTEvents::Model::DescribeAlarmModelRequest::SetAlarmModelName
void SetAlarmModelName(Aws::String &&value)
Definition: DescribeAlarmModelRequest.h:59