7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
43 template <
typename UsernameT = Aws::String>
45 m_usernameHasBeenSet =
true;
46 m_username = std::forward<UsernameT>(value);
48 template <
typename UsernameT = Aws::String>
62 template <
typename PasswordT = Aws::Utils::ByteBuffer>
64 m_passwordHasBeenSet =
true;
65 m_password = std::forward<PasswordT>(value);
67 template <
typename PasswordT = Aws::Utils::ByteBuffer>
81 template <
typename ClientIdT = Aws::String>
83 m_clientIdHasBeenSet =
true;
84 m_clientId = std::forward<ClientIdT>(value);
86 template <
typename ClientIdT = Aws::String>
98 bool m_usernameHasBeenSet =
false;
99 bool m_passwordHasBeenSet =
false;
100 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