AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Anomaly.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutvision/model/PixelAnomaly.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 LookoutforVision
23{
24namespace Model
25{
26
34 class Anomaly
35 {
36 public:
37 AWS_LOOKOUTFORVISION_API Anomaly();
38 AWS_LOOKOUTFORVISION_API Anomaly(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTFORVISION_API Anomaly& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
56 inline Anomaly& WithName(const Aws::String& value) { SetName(value); return *this;}
57 inline Anomaly& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
58 inline Anomaly& WithName(const char* value) { SetName(value); return *this;}
60
62
65 inline const PixelAnomaly& GetPixelAnomaly() const{ return m_pixelAnomaly; }
66 inline bool PixelAnomalyHasBeenSet() const { return m_pixelAnomalyHasBeenSet; }
67 inline void SetPixelAnomaly(const PixelAnomaly& value) { m_pixelAnomalyHasBeenSet = true; m_pixelAnomaly = value; }
68 inline void SetPixelAnomaly(PixelAnomaly&& value) { m_pixelAnomalyHasBeenSet = true; m_pixelAnomaly = std::move(value); }
69 inline Anomaly& WithPixelAnomaly(const PixelAnomaly& value) { SetPixelAnomaly(value); return *this;}
70 inline Anomaly& WithPixelAnomaly(PixelAnomaly&& value) { SetPixelAnomaly(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
77 PixelAnomaly m_pixelAnomaly;
78 bool m_pixelAnomalyHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace LookoutforVision
83} // namespace Aws
void SetName(const Aws::String &value)
Definition Anomaly.h:53
void SetName(const char *value)
Definition Anomaly.h:55
AWS_LOOKOUTFORVISION_API Anomaly()
Anomaly & WithName(const Aws::String &value)
Definition Anomaly.h:56
AWS_LOOKOUTFORVISION_API Anomaly(Aws::Utils::Json::JsonView jsonValue)
Anomaly & WithName(const char *value)
Definition Anomaly.h:58
void SetPixelAnomaly(PixelAnomaly &&value)
Definition Anomaly.h:68
Anomaly & WithPixelAnomaly(const PixelAnomaly &value)
Definition Anomaly.h:69
const Aws::String & GetName() const
Definition Anomaly.h:51
const PixelAnomaly & GetPixelAnomaly() const
Definition Anomaly.h:65
Anomaly & WithPixelAnomaly(PixelAnomaly &&value)
Definition Anomaly.h:70
void SetName(Aws::String &&value)
Definition Anomaly.h:54
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPixelAnomaly(const PixelAnomaly &value)
Definition Anomaly.h:67
Anomaly & WithName(Aws::String &&value)
Definition Anomaly.h:57
AWS_LOOKOUTFORVISION_API Anomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue