7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
49 template<
typename UsernameT = Aws::String>
50 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet =
true; m_username = std::forward<UsernameT>(value); }
51 template<
typename UsernameT = Aws::String>
62 template<
typename PasswordT = Aws::Utils::ByteBuffer>
63 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
64 template<
typename PasswordT = Aws::Utils::ByteBuffer>
75 template<
typename ClientIdT = Aws::String>
76 void SetClientId(ClientIdT&& value) { m_clientIdHasBeenSet =
true; m_clientId = std::forward<ClientIdT>(value); }
77 template<
typename ClientIdT = Aws::String>
83 bool m_usernameHasBeenSet =
false;
86 bool m_passwordHasBeenSet =
false;
89 bool m_clientIdHasBeenSet =
false;
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API MqttContext()=default
MqttContext & WithPassword(PasswordT &&value)
bool PasswordHasBeenSet() const
const Aws::String & GetClientId() const
bool UsernameHasBeenSet() const
MqttContext & WithClientId(ClientIdT &&value)
void SetPassword(PasswordT &&value)
AWS_IOT_API MqttContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClientId(ClientIdT &&value)
const Aws::Utils::ByteBuffer & GetPassword() const
bool ClientIdHasBeenSet() const
AWS_IOT_API MqttContext(Aws::Utils::Json::JsonView jsonValue)
void SetUsername(UsernameT &&value)
const Aws::String & GetUsername() const
MqttContext & WithUsername(UsernameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue