7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
41 template <
typename ReasonCodeT = Aws::String>
43 m_reasonCodeHasBeenSet =
true;
44 m_reasonCode = std::forward<ReasonCodeT>(value);
46 template <
typename ReasonCodeT = Aws::String>
60 template <
typename ReasonDescriptionT = Aws::String>
62 m_reasonDescriptionHasBeenSet =
true;
63 m_reasonDescription = std::forward<ReasonDescriptionT>(value);
65 template <
typename ReasonDescriptionT = Aws::String>
75 bool m_reasonCodeHasBeenSet =
false;
76 bool m_reasonDescriptionHasBeenSet =
false;
StatusReason & WithReasonCode(ReasonCodeT &&value)
AWS_IOT_API StatusReason & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReasonCode(ReasonCodeT &&value)
bool ReasonCodeHasBeenSet() const
StatusReason & WithReasonDescription(ReasonDescriptionT &&value)
bool ReasonDescriptionHasBeenSet() const
AWS_IOT_API StatusReason()=default
void SetReasonDescription(ReasonDescriptionT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetReasonCode() const
AWS_IOT_API StatusReason(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReasonDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue