7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
42 template <
typename ContentT = Aws::Utils::ByteBuffer>
44 m_contentHasBeenSet =
true;
45 m_content = std::forward<ContentT>(value);
47 template <
typename ContentT = Aws::Utils::ByteBuffer>
64 template <
typename ContentTypeT = Aws::String>
66 m_contentTypeHasBeenSet =
true;
67 m_contentType = std::forward<ContentTypeT>(value);
69 template <
typename ContentTypeT = Aws::String>
77 bool m_contentHasBeenSet =
false;
80 bool m_contentTypeHasBeenSet =
false;
AWS_IOT_API CommandPayload()=default
bool ContentTypeHasBeenSet() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContentType(ContentTypeT &&value)
CommandPayload & WithContent(ContentT &&value)
CommandPayload & WithContentType(ContentTypeT &&value)
AWS_IOT_API CommandPayload & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContent(ContentT &&value)
bool ContentHasBeenSet() const
const Aws::Utils::ByteBuffer & GetContent() const
AWS_IOT_API CommandPayload(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue