AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetByteBuffer(const Aws::Utils::ByteBuffer& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = value; }
50 inline void SetByteBuffer(Aws::Utils::ByteBuffer&& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = std::move(value); }
51 inline ModelEndpointDataBlob& WithByteBuffer(const Aws::Utils::ByteBuffer& value) { SetByteBuffer(value); return *this;}
52 inline ModelEndpointDataBlob& WithByteBuffer(Aws::Utils::ByteBuffer&& value) { SetByteBuffer(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetContentType() const{ return m_contentType; }
60 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
61 inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
62 inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
63 inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
64 inline ModelEndpointDataBlob& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
65 inline ModelEndpointDataBlob& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
66 inline ModelEndpointDataBlob& WithContentType(const char* value) { SetContentType(value); return *this;}
68 private:
69
70 Aws::Utils::ByteBuffer m_byteBuffer;
71 bool m_byteBufferHasBeenSet = false;
72
73 Aws::String m_contentType;
74 bool m_contentTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace FraudDetector
79} // namespace Aws
AWS_FRAUDDETECTOR_API ModelEndpointDataBlob & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelEndpointDataBlob & WithContentType(const Aws::String &value)
ModelEndpointDataBlob & WithContentType(Aws::String &&value)
AWS_FRAUDDETECTOR_API ModelEndpointDataBlob(Aws::Utils::Json::JsonView jsonValue)
ModelEndpointDataBlob & WithByteBuffer(const Aws::Utils::ByteBuffer &value)
ModelEndpointDataBlob & WithContentType(const char *value)
void SetByteBuffer(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::ByteBuffer & GetByteBuffer() const
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetByteBuffer(Aws::Utils::ByteBuffer &&value)
ModelEndpointDataBlob & WithByteBuffer(Aws::Utils::ByteBuffer &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue