AWS SDK for C++  1.9.160
AWS SDK for C++
Image.h
Go to the documentation of this file.
1 
6 #pragma once
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 
36  {
37  public:
38  Image();
42 
43 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
54  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 
60  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
61 
66  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
67 
72  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
73 
78  inline Image& WithId(const Aws::String& value) { SetId(value); return *this;}
79 
84  inline Image& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
85 
90  inline Image& WithId(const char* value) { SetId(value); return *this;}
91 
92 
93 
94  inline const ImageFile& GetFile() const{ return m_file; }
95 
96 
97  inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
98 
99 
100  inline void SetFile(const ImageFile& value) { m_fileHasBeenSet = true; m_file = value; }
101 
102 
103  inline void SetFile(ImageFile&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
104 
105 
106  inline Image& WithFile(const ImageFile& value) { SetFile(value); return *this;}
107 
108 
109  inline Image& WithFile(ImageFile&& value) { SetFile(std::move(value)); return *this;}
110 
111  private:
112 
113  Aws::String m_id;
114  bool m_idHasBeenSet;
115 
116  ImageFile m_file;
117  bool m_fileHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace IoTSiteWise
122 } // namespace Aws
Aws::IoTSiteWise::Model::Image::SetId
void SetId(const char *value)
Definition: Image.h:72
Aws::IoTSiteWise::Model::Image::SetId
void SetId(const Aws::String &value)
Definition: Image.h:60
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::Image::Image
Image()
Aws::IoTSiteWise::Model::Image::SetId
void SetId(Aws::String &&value)
Definition: Image.h:66
Aws::IoTSiteWise::Model::Image::SetFile
void SetFile(ImageFile &&value)
Definition: Image.h:103
Aws::IoTSiteWise::Model::Image::FileHasBeenSet
bool FileHasBeenSet() const
Definition: Image.h:97
Aws::IoTSiteWise::Model::Image::WithFile
Image & WithFile(ImageFile &&value)
Definition: Image.h:109
Aws::IoTSiteWise::Model::Image::operator=
Image & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Image::WithId
Image & WithId(Aws::String &&value)
Definition: Image.h:84
ImageFile.h
Aws::IoTSiteWise::Model::Image::Image
Image(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::Image
Definition: Image.h:36
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::Image::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Image.h:54
Aws::IoTSiteWise::Model::Image::GetFile
const ImageFile & GetFile() const
Definition: Image.h:94
Aws::IoTSiteWise::Model::Image::WithId
Image & WithId(const char *value)
Definition: Image.h:90
Aws::IoTSiteWise::Model::Image::WithFile
Image & WithFile(const ImageFile &value)
Definition: Image.h:106
Aws::IoTSiteWise::Model::Image::SetFile
void SetFile(const ImageFile &value)
Definition: Image.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::Image::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::Image::GetId
const Aws::String & GetId() const
Definition: Image.h:48
Aws::IoTSiteWise::Model::Image::WithId
Image & WithId(const Aws::String &value)
Definition: Image.h:78
Aws::IoTSiteWise::Model::ImageFile
Definition: ImageFile.h:33