7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/ChannelMode.h>
10#include <aws/chime/model/ChannelPrivacy.h>
11#include <aws/chime/model/Identity.h>
12#include <aws/core/utils/DateTime.h>
52 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetChannelArn(
const char* value) { m_channelArnHasBeenSet =
true; m_channelArn.assign(value); }
104 inline void SetMetadata(
const char* value) { m_metadataHasBeenSet =
true; m_metadata.assign(value); }
160 bool m_nameHasBeenSet =
false;
163 bool m_channelArnHasBeenSet =
false;
166 bool m_modeHasBeenSet =
false;
169 bool m_privacyHasBeenSet =
false;
172 bool m_metadataHasBeenSet =
false;
175 bool m_createdByHasBeenSet =
false;
178 bool m_createdTimestampHasBeenSet =
false;
181 bool m_lastMessageTimestampHasBeenSet =
false;
184 bool m_lastUpdatedTimestampHasBeenSet =
false;
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
bool ModeHasBeenSet() const
bool CreatedByHasBeenSet() const
void SetPrivacy(ChannelPrivacy &&value)
Channel & WithChannelArn(const char *value)
void SetMetadata(Aws::String &&value)
void SetPrivacy(const ChannelPrivacy &value)
Channel & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Channel & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Channel & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const ChannelPrivacy & GetPrivacy() const
void SetName(const Aws::String &value)
void SetCreatedBy(const Identity &value)
void SetName(const char *value)
bool LastUpdatedTimestampHasBeenSet() const
const Aws::Utils::DateTime & GetLastMessageTimestamp() const
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Channel & WithMetadata(Aws::String &&value)
void SetMode(ChannelMode &&value)
Channel & WithMode(ChannelMode &&value)
void SetChannelArn(Aws::String &&value)
Channel & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Channel & WithPrivacy(ChannelPrivacy &&value)
bool CreatedTimestampHasBeenSet() const
AWS_CHIME_API Channel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Channel & WithMetadata(const char *value)
Channel & WithMetadata(const Aws::String &value)
const Aws::String & GetName() const
void SetCreatedBy(Identity &&value)
AWS_CHIME_API Channel(Aws::Utils::Json::JsonView jsonValue)
Channel & WithName(const Aws::String &value)
Channel & WithMode(const ChannelMode &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
bool NameHasBeenSet() const
const Aws::String & GetChannelArn() const
Channel & WithName(Aws::String &&value)
void SetLastMessageTimestamp(Aws::Utils::DateTime &&value)
Channel & WithPrivacy(const ChannelPrivacy &value)
void SetChannelArn(const Aws::String &value)
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
void SetMode(const ChannelMode &value)
Channel & WithCreatedBy(Identity &&value)
bool MetadataHasBeenSet() const
Channel & WithLastMessageTimestamp(Aws::Utils::DateTime &&value)
bool ChannelArnHasBeenSet() const
void SetName(Aws::String &&value)
Channel & WithChannelArn(Aws::String &&value)
void SetMetadata(const Aws::String &value)
void SetChannelArn(const char *value)
bool PrivacyHasBeenSet() const
Channel & WithName(const char *value)
const Aws::String & GetMetadata() const
void SetLastMessageTimestamp(const Aws::Utils::DateTime &value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Channel & WithCreatedBy(const Identity &value)
Channel & WithChannelArn(const Aws::String &value)
bool LastMessageTimestampHasBeenSet() const
void SetMetadata(const char *value)
const Identity & GetCreatedBy() const
const ChannelMode & GetMode() const
Channel & WithLastMessageTimestamp(const Aws::Utils::DateTime &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue