AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BaseScreenshot.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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 Synthetics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SYNTHETICS_API BaseScreenshot() = default;
37 AWS_SYNTHETICS_API BaseScreenshot(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SYNTHETICS_API BaseScreenshot& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetScreenshotName() const { return m_screenshotName; }
49 inline bool ScreenshotNameHasBeenSet() const { return m_screenshotNameHasBeenSet; }
50 template<typename ScreenshotNameT = Aws::String>
51 void SetScreenshotName(ScreenshotNameT&& value) { m_screenshotNameHasBeenSet = true; m_screenshotName = std::forward<ScreenshotNameT>(value); }
52 template<typename ScreenshotNameT = Aws::String>
53 BaseScreenshot& WithScreenshotName(ScreenshotNameT&& value) { SetScreenshotName(std::forward<ScreenshotNameT>(value)); return *this;}
55
57
64 inline const Aws::Vector<Aws::String>& GetIgnoreCoordinates() const { return m_ignoreCoordinates; }
65 inline bool IgnoreCoordinatesHasBeenSet() const { return m_ignoreCoordinatesHasBeenSet; }
66 template<typename IgnoreCoordinatesT = Aws::Vector<Aws::String>>
67 void SetIgnoreCoordinates(IgnoreCoordinatesT&& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates = std::forward<IgnoreCoordinatesT>(value); }
68 template<typename IgnoreCoordinatesT = Aws::Vector<Aws::String>>
69 BaseScreenshot& WithIgnoreCoordinates(IgnoreCoordinatesT&& value) { SetIgnoreCoordinates(std::forward<IgnoreCoordinatesT>(value)); return *this;}
70 template<typename IgnoreCoordinatesT = Aws::String>
71 BaseScreenshot& AddIgnoreCoordinates(IgnoreCoordinatesT&& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates.emplace_back(std::forward<IgnoreCoordinatesT>(value)); return *this; }
73 private:
74
75 Aws::String m_screenshotName;
76 bool m_screenshotNameHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_ignoreCoordinates;
79 bool m_ignoreCoordinatesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Synthetics
84} // namespace Aws
BaseScreenshot & AddIgnoreCoordinates(IgnoreCoordinatesT &&value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API BaseScreenshot()=default
AWS_SYNTHETICS_API BaseScreenshot(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetScreenshotName() const
void SetScreenshotName(ScreenshotNameT &&value)
BaseScreenshot & WithIgnoreCoordinates(IgnoreCoordinatesT &&value)
void SetIgnoreCoordinates(IgnoreCoordinatesT &&value)
BaseScreenshot & WithScreenshotName(ScreenshotNameT &&value)
const Aws::Vector< Aws::String > & GetIgnoreCoordinates() const
AWS_SYNTHETICS_API BaseScreenshot & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue