7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ContentT = Aws::Utils::ByteBuffer>
49 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
50 template<
typename ContentT = Aws::Utils::ByteBuffer>
64 template<
typename ContentTypeT = Aws::String>
65 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
66 template<
typename ContentTypeT = Aws::String>
72 bool m_contentHasBeenSet =
false;
75 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