AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ColorT = Aws::String>
61 void SetColor(ColorT&& value) { m_colorHasBeenSet = true; m_color = std::forward<ColorT>(value); }
62 template<typename ColorT = Aws::String>
63 PixelAnomaly& WithColor(ColorT&& value) { SetColor(std::forward<ColorT>(value)); return *this;}
65 private:
66
67 double m_totalPercentageArea{0.0};
68 bool m_totalPercentageAreaHasBeenSet = false;
69
70 Aws::String m_color;
71 bool m_colorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LookoutforVision
76} // namespace Aws
PixelAnomaly & WithColor(ColorT &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetColor() const
AWS_LOOKOUTFORVISION_API PixelAnomaly & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTFORVISION_API PixelAnomaly(Aws::Utils::Json::JsonView jsonValue)
PixelAnomaly & WithTotalPercentageArea(double value)
AWS_LOOKOUTFORVISION_API PixelAnomaly()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue