AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAlarmModelResult.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 CreateAlarmModelResult();
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 CreateAlarmModelResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
45 inline CreateAlarmModelResult& 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 CreateAlarmModelResult& WithAlarmModelArn(const Aws::String& value) { SetAlarmModelArn(value); return *this;}
59 inline CreateAlarmModelResult& WithAlarmModelArn(Aws::String&& value) { SetAlarmModelArn(std::move(value)); return *this;}
60 inline CreateAlarmModelResult& 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 CreateAlarmModelResult& WithAlarmModelVersion(Aws::String&& value) { SetAlarmModelVersion(std::move(value)); return *this;}
73 inline CreateAlarmModelResult& 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 CreateAlarmModelResult& 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 CreateAlarmModelResult& WithStatus(const AlarmModelVersionStatus& value) { SetStatus(value); return *this;}
103 inline CreateAlarmModelResult& 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 CreateAlarmModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline CreateAlarmModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline CreateAlarmModelResult& 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
CreateAlarmModelResult & WithAlarmModelVersion(const Aws::String &value)
CreateAlarmModelResult & WithStatus(const AlarmModelVersionStatus &value)
CreateAlarmModelResult & WithAlarmModelArn(const Aws::String &value)
CreateAlarmModelResult & WithStatus(AlarmModelVersionStatus &&value)
CreateAlarmModelResult & WithAlarmModelArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetCreationTime(const Aws::Utils::DateTime &value)
AWS_IOTEVENTS_API CreateAlarmModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAlarmModelResult & WithRequestId(const char *value)
CreateAlarmModelResult & WithLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
CreateAlarmModelResult & WithRequestId(const Aws::String &value)
const AlarmModelVersionStatus & GetStatus() const
CreateAlarmModelResult & WithRequestId(Aws::String &&value)
CreateAlarmModelResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetStatus(const AlarmModelVersionStatus &value)
AWS_IOTEVENTS_API CreateAlarmModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAlarmModelResult & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
CreateAlarmModelResult & WithAlarmModelVersion(const char *value)
void SetStatus(AlarmModelVersionStatus &&value)
CreateAlarmModelResult & WithAlarmModelArn(const char *value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
CreateAlarmModelResult & WithCreationTime(const Aws::Utils::DateTime &value)
CreateAlarmModelResult & WithAlarmModelVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue