7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/chime/model/BotType.h>
10#include <aws/core/utils/DateTime.h>
37 AWS_CHIME_API
Bot() =
default;
49 template<
typename BotIdT = Aws::String>
50 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet =
true; m_botId = std::forward<BotIdT>(value); }
51 template<
typename BotIdT = Aws::String>
61 template<
typename UserIdT = Aws::String>
62 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
63 template<
typename UserIdT = Aws::String>
73 template<
typename DisplayNameT = Aws::String>
74 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
75 template<
typename DisplayNameT = Aws::String>
95 inline void SetDisabled(
bool value) { m_disabledHasBeenSet =
true; m_disabled = value; }
105 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
106 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
107 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
117 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
118 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
119 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
129 template<
typename BotEmailT = Aws::String>
130 void SetBotEmail(BotEmailT&& value) { m_botEmailHasBeenSet =
true; m_botEmail = std::forward<BotEmailT>(value); }
131 template<
typename BotEmailT = Aws::String>
142 template<
typename SecurityTokenT = Aws::String>
143 void SetSecurityToken(SecurityTokenT&& value) { m_securityTokenHasBeenSet =
true; m_securityToken = std::forward<SecurityTokenT>(value); }
144 template<
typename SecurityTokenT = Aws::String>
150 bool m_botIdHasBeenSet =
false;
153 bool m_userIdHasBeenSet =
false;
156 bool m_displayNameHasBeenSet =
false;
159 bool m_botTypeHasBeenSet =
false;
161 bool m_disabled{
false};
162 bool m_disabledHasBeenSet =
false;
165 bool m_createdTimestampHasBeenSet =
false;
168 bool m_updatedTimestampHasBeenSet =
false;
171 bool m_botEmailHasBeenSet =
false;
174 bool m_securityTokenHasBeenSet =
false;
bool UpdatedTimestampHasBeenSet() const
Bot & WithCreatedTimestamp(CreatedTimestampT &&value)
BotType GetBotType() const
AWS_CHIME_API Bot & operator=(Aws::Utils::Json::JsonView jsonValue)
Bot & WithBotId(BotIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::String & GetUserId() const
void SetBotEmail(BotEmailT &&value)
Bot & WithBotEmail(BotEmailT &&value)
Bot & WithUpdatedTimestamp(UpdatedTimestampT &&value)
void SetDisabled(bool value)
Bot & WithSecurityToken(SecurityTokenT &&value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
AWS_CHIME_API Bot(Aws::Utils::Json::JsonView jsonValue)
bool BotEmailHasBeenSet() const
const Aws::String & GetSecurityToken() const
AWS_CHIME_API Bot()=default
const Aws::String & GetBotId() const
bool BotIdHasBeenSet() const
bool SecurityTokenHasBeenSet() const
void SetBotId(BotIdT &&value)
bool BotTypeHasBeenSet() const
bool UserIdHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
Bot & WithBotType(BotType value)
void SetSecurityToken(SecurityTokenT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::String & GetDisplayName() const
void SetUserId(UserIdT &&value)
Bot & WithDisabled(bool value)
void SetDisplayName(DisplayNameT &&value)
bool DisplayNameHasBeenSet() const
const Aws::String & GetBotEmail() const
Bot & WithUserId(UserIdT &&value)
void SetBotType(BotType value)
bool DisabledHasBeenSet() const
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
Bot & WithDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue