AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelEndpointDataBlob.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FRAUDDETECTOR_API ModelEndpointDataBlob() = default;
38 AWS_FRAUDDETECTOR_API ModelEndpointDataBlob(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::ByteBuffer& GetByteBuffer() const { return m_byteBuffer; }
48 inline bool ByteBufferHasBeenSet() const { return m_byteBufferHasBeenSet; }
49 template<typename ByteBufferT = Aws::Utils::ByteBuffer>
50 void SetByteBuffer(ByteBufferT&& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = std::forward<ByteBufferT>(value); }
51 template<typename ByteBufferT = Aws::Utils::ByteBuffer>
52 ModelEndpointDataBlob& WithByteBuffer(ByteBufferT&& value) { SetByteBuffer(std::forward<ByteBufferT>(value)); return *this;}
54
56
59 inline const Aws::String& GetContentType() const { return m_contentType; }
60 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
61 template<typename ContentTypeT = Aws::String>
62 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::forward<ContentTypeT>(value); }
63 template<typename ContentTypeT = Aws::String>
64 ModelEndpointDataBlob& WithContentType(ContentTypeT&& value) { SetContentType(std::forward<ContentTypeT>(value)); return *this;}
66 private:
67
68 Aws::Utils::ByteBuffer m_byteBuffer{};
69 bool m_byteBufferHasBeenSet = false;
70
71 Aws::String m_contentType;
72 bool m_contentTypeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FraudDetector
77} // namespace Aws
AWS_FRAUDDETECTOR_API ModelEndpointDataBlob & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API ModelEndpointDataBlob()=default
AWS_FRAUDDETECTOR_API ModelEndpointDataBlob(Aws::Utils::Json::JsonView jsonValue)
ModelEndpointDataBlob & WithByteBuffer(ByteBufferT &&value)
ModelEndpointDataBlob & WithContentType(ContentTypeT &&value)
const Aws::Utils::ByteBuffer & GetByteBuffer() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue