7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/ChannelStorage.h>
10#include <aws/iotanalytics/model/ChannelStatus.h>
11#include <aws/iotanalytics/model/RetentionPeriod.h>
12#include <aws/core/utils/DateTime.h>
54 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
82 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
83 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
155 bool m_nameHasBeenSet =
false;
158 bool m_storageHasBeenSet =
false;
161 bool m_arnHasBeenSet =
false;
164 bool m_statusHasBeenSet =
false;
167 bool m_retentionPeriodHasBeenSet =
false;
170 bool m_creationTimeHasBeenSet =
false;
173 bool m_lastUpdateTimeHasBeenSet =
false;
176 bool m_lastMessageArrivalTimeHasBeenSet =
false;
void SetName(const Aws::String &value)
Channel & WithArn(const char *value)
void SetLastMessageArrivalTime(const Aws::Utils::DateTime &value)
const Aws::String & GetArn() const
void SetArn(Aws::String &&value)
Channel & WithName(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
Channel & WithName(Aws::String &&value)
AWS_IOTANALYTICS_API Channel(Aws::Utils::Json::JsonView jsonValue)
Channel & WithLastMessageArrivalTime(const Aws::Utils::DateTime &value)
bool NameHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetStorage(const ChannelStorage &value)
const Aws::Utils::DateTime & GetLastMessageArrivalTime() const
const RetentionPeriod & GetRetentionPeriod() const
Channel & WithStatus(const ChannelStatus &value)
void SetStatus(ChannelStatus &&value)
Channel & WithStorage(ChannelStorage &&value)
AWS_IOTANALYTICS_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
Channel & WithRetentionPeriod(RetentionPeriod &&value)
bool LastUpdateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
bool CreationTimeHasBeenSet() const
void SetArn(const Aws::String &value)
void SetRetentionPeriod(const RetentionPeriod &value)
Channel & WithCreationTime(const Aws::Utils::DateTime &value)
void SetStorage(ChannelStorage &&value)
const Aws::String & GetName() const
bool RetentionPeriodHasBeenSet() const
Channel & WithArn(Aws::String &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const ChannelStatus &value)
bool StatusHasBeenSet() const
void SetArn(const char *value)
Channel & WithName(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Channel & WithLastUpdateTime(const Aws::Utils::DateTime &value)
void SetName(const char *value)
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
const ChannelStatus & GetStatus() const
bool ArnHasBeenSet() const
Channel & WithLastMessageArrivalTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
Channel & WithArn(const Aws::String &value)
bool LastMessageArrivalTimeHasBeenSet() const
AWS_IOTANALYTICS_API Channel()
Channel & WithRetentionPeriod(const RetentionPeriod &value)
void SetRetentionPeriod(RetentionPeriod &&value)
Channel & WithLastUpdateTime(Aws::Utils::DateTime &&value)
bool StorageHasBeenSet() const
void SetLastMessageArrivalTime(Aws::Utils::DateTime &&value)
Channel & WithStatus(ChannelStatus &&value)
Channel & WithCreationTime(Aws::Utils::DateTime &&value)
const ChannelStorage & GetStorage() const
void SetCreationTime(Aws::Utils::DateTime &&value)
Channel & WithStorage(const ChannelStorage &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue