AWS SDK for C++  1.9.153
AWS SDK for C++
ImageFile.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 IoTSiteWise
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
45  inline const Aws::Utils::ByteBuffer& GetData() const{ return m_data; }
46 
51  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
52 
57  inline void SetData(const Aws::Utils::ByteBuffer& value) { m_dataHasBeenSet = true; m_data = value; }
58 
63  inline void SetData(Aws::Utils::ByteBuffer&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
64 
69  inline ImageFile& WithData(const Aws::Utils::ByteBuffer& value) { SetData(value); return *this;}
70 
75  inline ImageFile& WithData(Aws::Utils::ByteBuffer&& value) { SetData(std::move(value)); return *this;}
76 
77 
81  inline const ImageFileType& GetType() const{ return m_type; }
82 
86  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 
91  inline void SetType(const ImageFileType& value) { m_typeHasBeenSet = true; m_type = value; }
92 
96  inline void SetType(ImageFileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
97 
101  inline ImageFile& WithType(const ImageFileType& value) { SetType(value); return *this;}
102 
106  inline ImageFile& WithType(ImageFileType&& value) { SetType(std::move(value)); return *this;}
107 
108  private:
109 
110  Aws::Utils::ByteBuffer m_data;
111  bool m_dataHasBeenSet;
112 
113  ImageFileType m_type;
114  bool m_typeHasBeenSet;
115  };
116 
117 } // namespace Model
118 } // namespace IoTSiteWise
119 } // namespace Aws
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::ImageFile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::ImageFile::ImageFile
ImageFile(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ImageFile::SetData
void SetData(const Aws::Utils::ByteBuffer &value)
Definition: ImageFile.h:57
Aws::IoTSiteWise::Model::ImageFile::SetData
void SetData(Aws::Utils::ByteBuffer &&value)
Definition: ImageFile.h:63
Aws::IoTSiteWise::Model::ImageFile::operator=
ImageFile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::ImageFileType
ImageFileType
Definition: ImageFileType.h:17
Aws::IoTSiteWise::Model::ImageFile::ImageFile
ImageFile()
Aws::IoTSiteWise::Model::ImageFile::SetType
void SetType(const ImageFileType &value)
Definition: ImageFile.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Array< unsigned char >
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::ImageFile::WithData
ImageFile & WithData(const Aws::Utils::ByteBuffer &value)
Definition: ImageFile.h:69
Aws::IoTSiteWise::Model::ImageFile::SetType
void SetType(ImageFileType &&value)
Definition: ImageFile.h:96
Aws::IoTSiteWise::Model::ImageFile::WithData
ImageFile & WithData(Aws::Utils::ByteBuffer &&value)
Definition: ImageFile.h:75
ImageFileType.h
Aws::IoTSiteWise::Model::ImageFile::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ImageFile.h:86
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::IoTSiteWise::Model::ImageFile::DataHasBeenSet
bool DataHasBeenSet() const
Definition: ImageFile.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::ImageFile::GetType
const ImageFileType & GetType() const
Definition: ImageFile.h:81
Array.h
Aws::IoTSiteWise::Model::ImageFile::GetData
const Aws::Utils::ByteBuffer & GetData() const
Definition: ImageFile.h:45
Aws::IoTSiteWise::Model::ImageFile::WithType
ImageFile & WithType(ImageFileType &&value)
Definition: ImageFile.h:106
Aws::IoTSiteWise::Model::ImageFile
Definition: ImageFile.h:33
Aws::IoTSiteWise::Model::ImageFile::WithType
ImageFile & WithType(const ImageFileType &value)
Definition: ImageFile.h:101