AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImageFile.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/iotsitewise/model/ImageFileType.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 IoTSiteWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTSITEWISE_API ImageFile();
36 AWS_IOTSITEWISE_API ImageFile(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTSITEWISE_API ImageFile& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
47 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
48 inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
49 inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
50 inline ImageFile& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
51 inline ImageFile& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
53
55
58 inline const ImageFileType& GetType() const{ return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(const ImageFileType& value) { m_typeHasBeenSet = true; m_type = value; }
61 inline void SetType(ImageFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
62 inline ImageFile& WithType(const ImageFileType& value) { SetType(value); return *this;}
63 inline ImageFile& WithType(ImageFileType&& value) { SetType(std::move(value)); return *this;}
65 private:
66
68 bool m_dataHasBeenSet = false;
69
70 ImageFileType m_type;
71 bool m_typeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTSiteWise
76} // namespace Aws
ImageFile & WithData(const Aws::Utils::ByteBuffer &value)
Definition ImageFile.h:50
ImageFile & WithType(const ImageFileType &value)
Definition ImageFile.h:62
AWS_IOTSITEWISE_API ImageFile & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageFile & WithType(ImageFileType &&value)
Definition ImageFile.h:63
const Aws::Utils::ByteBuffer & GetData() const
Definition ImageFile.h:46
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const ImageFileType & GetType() const
Definition ImageFile.h:58
ImageFile & WithData(Aws::Utils::ByteBuffer &&value)
Definition ImageFile.h:51
AWS_IOTSITEWISE_API ImageFile(Aws::Utils::Json::JsonView jsonValue)
void SetData(Aws::Utils::ByteBuffer &&value)
Definition ImageFile.h:49
void SetData(const Aws::Utils::ByteBuffer &value)
Definition ImageFile.h:48
void SetType(const ImageFileType &value)
Definition ImageFile.h:60
AWS_IOTSITEWISE_API ImageFile()
void SetType(ImageFileType &&value)
Definition ImageFile.h:61
Aws::Utils::Json::JsonValue JsonValue