AWS SDK for C++  1.9.20
AWS SDK for C++
ModelEndpointDataBlob.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/core/utils/Array.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace FraudDetector
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::Utils::ByteBuffer& GetByteBuffer() const{ return m_byteBuffer; }
47 
51  inline bool ByteBufferHasBeenSet() const { return m_byteBufferHasBeenSet; }
52 
56  inline void SetByteBuffer(const Aws::Utils::ByteBuffer& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = value; }
57 
61  inline void SetByteBuffer(Aws::Utils::ByteBuffer&& value) { m_byteBufferHasBeenSet = true; m_byteBuffer = std::move(value); }
62 
66  inline ModelEndpointDataBlob& WithByteBuffer(const Aws::Utils::ByteBuffer& value) { SetByteBuffer(value); return *this;}
67 
71  inline ModelEndpointDataBlob& WithByteBuffer(Aws::Utils::ByteBuffer&& value) { SetByteBuffer(std::move(value)); return *this;}
72 
73 
77  inline const Aws::String& GetContentType() const{ return m_contentType; }
78 
82  inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
83 
87  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
88 
92  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
93 
97  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
98 
102  inline ModelEndpointDataBlob& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
103 
107  inline ModelEndpointDataBlob& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
108 
112  inline ModelEndpointDataBlob& WithContentType(const char* value) { SetContentType(value); return *this;}
113 
114  private:
115 
116  Aws::Utils::ByteBuffer m_byteBuffer;
117  bool m_byteBufferHasBeenSet;
118 
119  Aws::String m_contentType;
120  bool m_contentTypeHasBeenSet;
121  };
122 
123 } // namespace Model
124 } // namespace FraudDetector
125 } // namespace Aws
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelEndpointDataBlob::ModelEndpointDataBlob
ModelEndpointDataBlob(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ModelEndpointDataBlob::GetByteBuffer
const Aws::Utils::ByteBuffer & GetByteBuffer() const
Definition: ModelEndpointDataBlob.h:46
Aws::FraudDetector::Model::ModelEndpointDataBlob::WithContentType
ModelEndpointDataBlob & WithContentType(const char *value)
Definition: ModelEndpointDataBlob.h:112
Aws::FraudDetector::Model::ModelEndpointDataBlob::ModelEndpointDataBlob
ModelEndpointDataBlob()
Aws::FraudDetector::Model::ModelEndpointDataBlob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::ModelEndpointDataBlob::SetContentType
void SetContentType(Aws::String &&value)
Definition: ModelEndpointDataBlob.h:92
Aws::FraudDetector::Model::ModelEndpointDataBlob::WithContentType
ModelEndpointDataBlob & WithContentType(Aws::String &&value)
Definition: ModelEndpointDataBlob.h:107
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ModelEndpointDataBlob::SetByteBuffer
void SetByteBuffer(Aws::Utils::ByteBuffer &&value)
Definition: ModelEndpointDataBlob.h:61
Aws::FraudDetector::Model::ModelEndpointDataBlob::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition: ModelEndpointDataBlob.h:82
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Array< unsigned char >
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::ModelEndpointDataBlob::SetContentType
void SetContentType(const char *value)
Definition: ModelEndpointDataBlob.h:97
Aws::FraudDetector::Model::ModelEndpointDataBlob::WithContentType
ModelEndpointDataBlob & WithContentType(const Aws::String &value)
Definition: ModelEndpointDataBlob.h:102
Aws::FraudDetector::Model::ModelEndpointDataBlob::operator=
ModelEndpointDataBlob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::FraudDetector::Model::ModelEndpointDataBlob
Definition: ModelEndpointDataBlob.h:35
Aws::FraudDetector::Model::ModelEndpointDataBlob::GetContentType
const Aws::String & GetContentType() const
Definition: ModelEndpointDataBlob.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ModelEndpointDataBlob::SetByteBuffer
void SetByteBuffer(const Aws::Utils::ByteBuffer &value)
Definition: ModelEndpointDataBlob.h:56
Aws::FraudDetector::Model::ModelEndpointDataBlob::ByteBufferHasBeenSet
bool ByteBufferHasBeenSet() const
Definition: ModelEndpointDataBlob.h:51
Aws::FraudDetector::Model::ModelEndpointDataBlob::WithByteBuffer
ModelEndpointDataBlob & WithByteBuffer(const Aws::Utils::ByteBuffer &value)
Definition: ModelEndpointDataBlob.h:66
Aws::FraudDetector::Model::ModelEndpointDataBlob::WithByteBuffer
ModelEndpointDataBlob & WithByteBuffer(Aws::Utils::ByteBuffer &&value)
Definition: ModelEndpointDataBlob.h:71
Aws::FraudDetector::Model::ModelEndpointDataBlob::SetContentType
void SetContentType(const Aws::String &value)
Definition: ModelEndpointDataBlob.h:87