AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BaseScreenshot.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/synthetics/Synthetics_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Synthetics {
21namespace Model {
22
30 public:
31 AWS_SYNTHETICS_API BaseScreenshot() = default;
32 AWS_SYNTHETICS_API BaseScreenshot(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SYNTHETICS_API BaseScreenshot& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetScreenshotName() const { return m_screenshotName; }
43 inline bool ScreenshotNameHasBeenSet() const { return m_screenshotNameHasBeenSet; }
44 template <typename ScreenshotNameT = Aws::String>
45 void SetScreenshotName(ScreenshotNameT&& value) {
46 m_screenshotNameHasBeenSet = true;
47 m_screenshotName = std::forward<ScreenshotNameT>(value);
48 }
49 template <typename ScreenshotNameT = Aws::String>
50 BaseScreenshot& WithScreenshotName(ScreenshotNameT&& value) {
51 SetScreenshotName(std::forward<ScreenshotNameT>(value));
52 return *this;
53 }
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) {
68 m_ignoreCoordinatesHasBeenSet = true;
69 m_ignoreCoordinates = std::forward<IgnoreCoordinatesT>(value);
70 }
71 template <typename IgnoreCoordinatesT = Aws::Vector<Aws::String>>
72 BaseScreenshot& WithIgnoreCoordinates(IgnoreCoordinatesT&& value) {
73 SetIgnoreCoordinates(std::forward<IgnoreCoordinatesT>(value));
74 return *this;
75 }
76 template <typename IgnoreCoordinatesT = Aws::String>
77 BaseScreenshot& AddIgnoreCoordinates(IgnoreCoordinatesT&& value) {
78 m_ignoreCoordinatesHasBeenSet = true;
79 m_ignoreCoordinates.emplace_back(std::forward<IgnoreCoordinatesT>(value));
80 return *this;
81 }
83 private:
84 Aws::String m_screenshotName;
85
86 Aws::Vector<Aws::String> m_ignoreCoordinates;
87 bool m_screenshotNameHasBeenSet = false;
88 bool m_ignoreCoordinatesHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace Synthetics
93} // 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