AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelSummary.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/ChannelStorageSummary.h>
10#include <aws/iotanalytics/model/ChannelStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTAnalytics
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTANALYTICS_API ChannelSummary();
38 AWS_IOTANALYTICS_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API ChannelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetChannelName() const{ return m_channelName; }
48 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
49 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
50 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
51 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
52 inline ChannelSummary& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
53 inline ChannelSummary& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
54 inline ChannelSummary& WithChannelName(const char* value) { SetChannelName(value); return *this;}
56
58
61 inline const ChannelStorageSummary& GetChannelStorage() const{ return m_channelStorage; }
62 inline bool ChannelStorageHasBeenSet() const { return m_channelStorageHasBeenSet; }
63 inline void SetChannelStorage(const ChannelStorageSummary& value) { m_channelStorageHasBeenSet = true; m_channelStorage = value; }
64 inline void SetChannelStorage(ChannelStorageSummary&& value) { m_channelStorageHasBeenSet = true; m_channelStorage = std::move(value); }
65 inline ChannelSummary& WithChannelStorage(const ChannelStorageSummary& value) { SetChannelStorage(value); return *this;}
66 inline ChannelSummary& WithChannelStorage(ChannelStorageSummary&& value) { SetChannelStorage(std::move(value)); return *this;}
68
70
73 inline const ChannelStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const ChannelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(ChannelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline ChannelSummary& WithStatus(const ChannelStatus& value) { SetStatus(value); return *this;}
78 inline ChannelSummary& WithStatus(ChannelStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
86 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
87 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
88 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
89 inline ChannelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
90 inline ChannelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
98 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
99 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
100 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
101 inline ChannelSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
102 inline ChannelSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
104
106
113 inline const Aws::Utils::DateTime& GetLastMessageArrivalTime() const{ return m_lastMessageArrivalTime; }
114 inline bool LastMessageArrivalTimeHasBeenSet() const { return m_lastMessageArrivalTimeHasBeenSet; }
115 inline void SetLastMessageArrivalTime(const Aws::Utils::DateTime& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = value; }
116 inline void SetLastMessageArrivalTime(Aws::Utils::DateTime&& value) { m_lastMessageArrivalTimeHasBeenSet = true; m_lastMessageArrivalTime = std::move(value); }
120 private:
121
122 Aws::String m_channelName;
123 bool m_channelNameHasBeenSet = false;
124
125 ChannelStorageSummary m_channelStorage;
126 bool m_channelStorageHasBeenSet = false;
127
128 ChannelStatus m_status;
129 bool m_statusHasBeenSet = false;
130
131 Aws::Utils::DateTime m_creationTime;
132 bool m_creationTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastUpdateTime;
135 bool m_lastUpdateTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastMessageArrivalTime;
138 bool m_lastMessageArrivalTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace IoTAnalytics
143} // namespace Aws
ChannelSummary & WithCreationTime(Aws::Utils::DateTime &&value)
const ChannelStorageSummary & GetChannelStorage() const
void SetChannelName(const Aws::String &value)
void SetChannelStorage(const ChannelStorageSummary &value)
const Aws::Utils::DateTime & GetCreationTime() const
ChannelSummary & WithLastUpdateTime(const Aws::Utils::DateTime &value)
ChannelSummary & WithChannelStorage(const ChannelStorageSummary &value)
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
ChannelSummary & WithChannelName(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
const ChannelStatus & GetStatus() const
ChannelSummary & WithStatus(const ChannelStatus &value)
ChannelSummary & WithChannelStorage(ChannelStorageSummary &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ChannelSummary & WithStatus(ChannelStatus &&value)
ChannelSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetLastMessageArrivalTime(const Aws::Utils::DateTime &value)
void SetStatus(const ChannelStatus &value)
void SetChannelStorage(ChannelStorageSummary &&value)
ChannelSummary & WithLastMessageArrivalTime(const Aws::Utils::DateTime &value)
ChannelSummary & WithLastMessageArrivalTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastMessageArrivalTime(Aws::Utils::DateTime &&value)
ChannelSummary & WithChannelName(const Aws::String &value)
void SetChannelName(Aws::String &&value)
ChannelSummary & WithLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API ChannelSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
AWS_IOTANALYTICS_API ChannelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ChannelStatus &&value)
const Aws::String & GetChannelName() const
void SetCreationTime(Aws::Utils::DateTime &&value)
ChannelSummary & WithChannelName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue