AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PixelAnomaly.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LookoutforVision
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_LOOKOUTFORVISION_API PixelAnomaly();
37 AWS_LOOKOUTFORVISION_API PixelAnomaly(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTFORVISION_API PixelAnomaly& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline double GetTotalPercentageArea() const{ return m_totalPercentageArea; }
47 inline bool TotalPercentageAreaHasBeenSet() const { return m_totalPercentageAreaHasBeenSet; }
48 inline void SetTotalPercentageArea(double value) { m_totalPercentageAreaHasBeenSet = true; m_totalPercentageArea = value; }
49 inline PixelAnomaly& WithTotalPercentageArea(double value) { SetTotalPercentageArea(value); return *this;}
51
53
58 inline const Aws::String& GetColor() const{ return m_color; }
59 inline bool ColorHasBeenSet() const { return m_colorHasBeenSet; }
60 inline void SetColor(const Aws::String& value) { m_colorHasBeenSet = true; m_color = value; }
61 inline void SetColor(Aws::String&& value) { m_colorHasBeenSet = true; m_color = std::move(value); }
62 inline void SetColor(const char* value) { m_colorHasBeenSet = true; m_color.assign(value); }
63 inline PixelAnomaly& WithColor(const Aws::String& value) { SetColor(value); return *this;}
64 inline PixelAnomaly& WithColor(Aws::String&& value) { SetColor(std::move(value)); return *this;}
65 inline PixelAnomaly& WithColor(const char* value) { SetColor(value); return *this;}
67 private:
68
69 double m_totalPercentageArea;
70 bool m_totalPercentageAreaHasBeenSet = false;
71
72 Aws::String m_color;
73 bool m_colorHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LookoutforVision
78} // namespace Aws
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetColor() const
AWS_LOOKOUTFORVISION_API PixelAnomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
PixelAnomaly & WithColor(const Aws::String &value)
PixelAnomaly & WithColor(Aws::String &&value)
AWS_LOOKOUTFORVISION_API PixelAnomaly(Aws::Utils::Json::JsonView jsonValue)
void SetColor(const Aws::String &value)
PixelAnomaly & WithColor(const char *value)
PixelAnomaly & WithTotalPercentageArea(double value)
AWS_LOOKOUTFORVISION_API PixelAnomaly()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue