AWS SDK for C++

AWS SDK for C++ Version 1.11.632

Loading...
Searching...
No Matches
VisualReferenceOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/synthetics/model/BrowserType.h>
11#include <aws/synthetics/model/BaseScreenshot.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Synthetics
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_SYNTHETICS_API VisualReferenceOutput() = default;
45 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::Vector<BaseScreenshot>& GetBaseScreenshots() const { return m_baseScreenshots; }
54 inline bool BaseScreenshotsHasBeenSet() const { return m_baseScreenshotsHasBeenSet; }
55 template<typename BaseScreenshotsT = Aws::Vector<BaseScreenshot>>
56 void SetBaseScreenshots(BaseScreenshotsT&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots = std::forward<BaseScreenshotsT>(value); }
57 template<typename BaseScreenshotsT = Aws::Vector<BaseScreenshot>>
58 VisualReferenceOutput& WithBaseScreenshots(BaseScreenshotsT&& value) { SetBaseScreenshots(std::forward<BaseScreenshotsT>(value)); return *this;}
59 template<typename BaseScreenshotsT = BaseScreenshot>
60 VisualReferenceOutput& AddBaseScreenshots(BaseScreenshotsT&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots.emplace_back(std::forward<BaseScreenshotsT>(value)); return *this; }
62
64
68 inline const Aws::String& GetBaseCanaryRunId() const { return m_baseCanaryRunId; }
69 inline bool BaseCanaryRunIdHasBeenSet() const { return m_baseCanaryRunIdHasBeenSet; }
70 template<typename BaseCanaryRunIdT = Aws::String>
71 void SetBaseCanaryRunId(BaseCanaryRunIdT&& value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId = std::forward<BaseCanaryRunIdT>(value); }
72 template<typename BaseCanaryRunIdT = Aws::String>
73 VisualReferenceOutput& WithBaseCanaryRunId(BaseCanaryRunIdT&& value) { SetBaseCanaryRunId(std::forward<BaseCanaryRunIdT>(value)); return *this;}
75
77
80 inline BrowserType GetBrowserType() const { return m_browserType; }
81 inline bool BrowserTypeHasBeenSet() const { return m_browserTypeHasBeenSet; }
82 inline void SetBrowserType(BrowserType value) { m_browserTypeHasBeenSet = true; m_browserType = value; }
83 inline VisualReferenceOutput& WithBrowserType(BrowserType value) { SetBrowserType(value); return *this;}
85 private:
86
87 Aws::Vector<BaseScreenshot> m_baseScreenshots;
88 bool m_baseScreenshotsHasBeenSet = false;
89
90 Aws::String m_baseCanaryRunId;
91 bool m_baseCanaryRunIdHasBeenSet = false;
92
93 BrowserType m_browserType{BrowserType::NOT_SET};
94 bool m_browserTypeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Synthetics
99} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API VisualReferenceOutput()=default
VisualReferenceOutput & WithBrowserType(BrowserType value)
AWS_SYNTHETICS_API VisualReferenceOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
VisualReferenceOutput & WithBaseScreenshots(BaseScreenshotsT &&value)
const Aws::Vector< BaseScreenshot > & GetBaseScreenshots() const
VisualReferenceOutput & AddBaseScreenshots(BaseScreenshotsT &&value)
AWS_SYNTHETICS_API VisualReferenceOutput(Aws::Utils::Json::JsonView jsonValue)
VisualReferenceOutput & WithBaseCanaryRunId(BaseCanaryRunIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue