AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline Image& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline Image& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline Image& WithId(const char* value) { SetId(value); return *this;}
58
60
61 inline const ImageFile& GetFile() const{ return m_file; }
62 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
63 inline void SetFile(const ImageFile& value) { m_fileHasBeenSet = true; m_file = value; }
64 inline void SetFile(ImageFile&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
65 inline Image& WithFile(const ImageFile& value) { SetFile(value); return *this;}
66 inline Image& WithFile(ImageFile&& value) { SetFile(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72
73 ImageFile m_file;
74 bool m_fileHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTSiteWise
79} // namespace Aws
Image & WithId(const char *value)
Definition Image.h:56
void SetId(const char *value)
Definition Image.h:53
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
Image & WithId(Aws::String &&value)
Definition Image.h:55
AWS_IOTSITEWISE_API Image()
void SetId(const Aws::String &value)
Definition Image.h:51
bool FileHasBeenSet() const
Definition Image.h:62
void SetFile(const ImageFile &value)
Definition Image.h:63
void SetFile(ImageFile &&value)
Definition Image.h:64
Image & WithFile(const ImageFile &value)
Definition Image.h:65
void SetId(Aws::String &&value)
Definition Image.h:52
const Aws::String & GetId() const
Definition Image.h:49
Image & WithId(const Aws::String &value)
Definition Image.h:54
const ImageFile & GetFile() const
Definition Image.h:61
AWS_IOTSITEWISE_API Image & operator=(Aws::Utils::Json::JsonView jsonValue)
Image & WithFile(ImageFile &&value)
Definition Image.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue