AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAlarmModelResult.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotevents/model/AlarmModelVersionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTEVENTS_API UpdateAlarmModelResult();
35
36
38
41 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
42 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
43 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
44 inline UpdateAlarmModelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
45 inline UpdateAlarmModelResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
47
49
54 inline const Aws::String& GetAlarmModelArn() const{ return m_alarmModelArn; }
55 inline void SetAlarmModelArn(const Aws::String& value) { m_alarmModelArn = value; }
56 inline void SetAlarmModelArn(Aws::String&& value) { m_alarmModelArn = std::move(value); }
57 inline void SetAlarmModelArn(const char* value) { m_alarmModelArn.assign(value); }
58 inline UpdateAlarmModelResult& WithAlarmModelArn(const Aws::String& value) { SetAlarmModelArn(value); return *this;}
59 inline UpdateAlarmModelResult& WithAlarmModelArn(Aws::String&& value) { SetAlarmModelArn(std::move(value)); return *this;}
60 inline UpdateAlarmModelResult& WithAlarmModelArn(const char* value) { SetAlarmModelArn(value); return *this;}
62
64
67 inline const Aws::String& GetAlarmModelVersion() const{ return m_alarmModelVersion; }
68 inline void SetAlarmModelVersion(const Aws::String& value) { m_alarmModelVersion = value; }
69 inline void SetAlarmModelVersion(Aws::String&& value) { m_alarmModelVersion = std::move(value); }
70 inline void SetAlarmModelVersion(const char* value) { m_alarmModelVersion.assign(value); }
72 inline UpdateAlarmModelResult& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
73 inline UpdateAlarmModelResult& WithAlarmModelVersion(const char* value) { SetAlarmModelVersion(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
81 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTime = value; }
82 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTime = std::move(value); }
84 inline UpdateAlarmModelResult& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
86
88
99 inline const AlarmModelVersionStatus& GetStatus() const{ return m_status; }
100 inline void SetStatus(const AlarmModelVersionStatus& value) { m_status = value; }
101 inline void SetStatus(AlarmModelVersionStatus&& value) { m_status = std::move(value); }
102 inline UpdateAlarmModelResult& WithStatus(const AlarmModelVersionStatus& value) { SetStatus(value); return *this;}
103 inline UpdateAlarmModelResult& WithStatus(AlarmModelVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
105
107
108 inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline UpdateAlarmModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline UpdateAlarmModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline UpdateAlarmModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116 private:
117
118 Aws::Utils::DateTime m_creationTime;
119
120 Aws::String m_alarmModelArn;
121
122 Aws::String m_alarmModelVersion;
123
124 Aws::Utils::DateTime m_lastUpdateTime;
125
127
128 Aws::String m_requestId;
129 };
130
131} // namespace Model
132} // namespace IoTEvents
133} // namespace Aws
UpdateAlarmModelResult & WithRequestId(const char *value)
UpdateAlarmModelResult & WithStatus(AlarmModelVersionStatus &&value)
UpdateAlarmModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
UpdateAlarmModelResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
UpdateAlarmModelResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetStatus(const AlarmModelVersionStatus &value)
UpdateAlarmModelResult & WithAlarmModelVersion(const Aws::String &value)
AWS_IOTEVENTS_API UpdateAlarmModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAlarmModelResult & WithAlarmModelArn(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_IOTEVENTS_API UpdateAlarmModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateAlarmModelResult & WithAlarmModelArn(const Aws::String &value)
const AlarmModelVersionStatus & GetStatus() const
UpdateAlarmModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
UpdateAlarmModelResult & WithRequestId(Aws::String &&value)
UpdateAlarmModelResult & WithStatus(const AlarmModelVersionStatus &value)
void SetStatus(AlarmModelVersionStatus &&value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
UpdateAlarmModelResult & WithAlarmModelVersion(Aws::String &&value)
UpdateAlarmModelResult & WithRequestId(const Aws::String &value)
UpdateAlarmModelResult & WithAlarmModelArn(const char *value)
UpdateAlarmModelResult & WithAlarmModelVersion(const char *value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue