AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Image.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/ImageFile.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
35 class Image
36 {
37 public:
38 AWS_IOTSITEWISE_API Image() = default;
39 AWS_IOTSITEWISE_API Image(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Image& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 Image& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
59 inline const ImageFile& GetFile() const { return m_file; }
60 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
61 template<typename FileT = ImageFile>
62 void SetFile(FileT&& value) { m_fileHasBeenSet = true; m_file = std::forward<FileT>(value); }
63 template<typename FileT = ImageFile>
64 Image& WithFile(FileT&& value) { SetFile(std::forward<FileT>(value)); return *this;}
66 private:
67
68 Aws::String m_id;
69 bool m_idHasBeenSet = false;
70
71 ImageFile m_file;
72 bool m_fileHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTSiteWise
77} // namespace Aws
void SetFile(FileT &&value)
Definition Image.h:62
AWS_IOTSITEWISE_API Image()=default
void SetId(IdT &&value)
Definition Image.h:52
Image & WithId(IdT &&value)
Definition Image.h:54
AWS_IOTSITEWISE_API Image(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
Definition Image.h:50
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
bool FileHasBeenSet() const
Definition Image.h:60
const Aws::String & GetId() const
Definition Image.h:49
Image & WithFile(FileT &&value)
Definition Image.h:64
const ImageFile & GetFile() const
Definition Image.h:59
AWS_IOTSITEWISE_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue