AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetScreenshotName(const Aws::String& value) { m_screenshotNameHasBeenSet = true; m_screenshotName = value; }
51 inline void SetScreenshotName(Aws::String&& value) { m_screenshotNameHasBeenSet = true; m_screenshotName = std::move(value); }
52 inline void SetScreenshotName(const char* value) { m_screenshotNameHasBeenSet = true; m_screenshotName.assign(value); }
53 inline BaseScreenshot& WithScreenshotName(const Aws::String& value) { SetScreenshotName(value); return *this;}
54 inline BaseScreenshot& WithScreenshotName(Aws::String&& value) { SetScreenshotName(std::move(value)); return *this;}
55 inline BaseScreenshot& WithScreenshotName(const char* value) { SetScreenshotName(value); return *this;}
57
59
66 inline const Aws::Vector<Aws::String>& GetIgnoreCoordinates() const{ return m_ignoreCoordinates; }
67 inline bool IgnoreCoordinatesHasBeenSet() const { return m_ignoreCoordinatesHasBeenSet; }
68 inline void SetIgnoreCoordinates(const Aws::Vector<Aws::String>& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates = value; }
69 inline void SetIgnoreCoordinates(Aws::Vector<Aws::String>&& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates = std::move(value); }
71 inline BaseScreenshot& WithIgnoreCoordinates(Aws::Vector<Aws::String>&& value) { SetIgnoreCoordinates(std::move(value)); return *this;}
72 inline BaseScreenshot& AddIgnoreCoordinates(const Aws::String& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates.push_back(value); return *this; }
73 inline BaseScreenshot& AddIgnoreCoordinates(Aws::String&& value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates.push_back(std::move(value)); return *this; }
74 inline BaseScreenshot& AddIgnoreCoordinates(const char* value) { m_ignoreCoordinatesHasBeenSet = true; m_ignoreCoordinates.push_back(value); return *this; }
76 private:
77
78 Aws::String m_screenshotName;
79 bool m_screenshotNameHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_ignoreCoordinates;
82 bool m_ignoreCoordinatesHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Synthetics
87} // namespace Aws
BaseScreenshot & WithIgnoreCoordinates(const Aws::Vector< Aws::String > &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API BaseScreenshot(Aws::Utils::Json::JsonView jsonValue)
void SetScreenshotName(Aws::String &&value)
const Aws::String & GetScreenshotName() const
void SetIgnoreCoordinates(const Aws::Vector< Aws::String > &value)
BaseScreenshot & AddIgnoreCoordinates(const Aws::String &value)
void SetScreenshotName(const Aws::String &value)
BaseScreenshot & WithScreenshotName(const Aws::String &value)
void SetIgnoreCoordinates(Aws::Vector< Aws::String > &&value)
BaseScreenshot & AddIgnoreCoordinates(Aws::String &&value)
BaseScreenshot & AddIgnoreCoordinates(const char *value)
BaseScreenshot & WithScreenshotName(const char *value)
BaseScreenshot & WithScreenshotName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIgnoreCoordinates() const
void SetScreenshotName(const char *value)
AWS_SYNTHETICS_API BaseScreenshot & operator=(Aws::Utils::Json::JsonView jsonValue)
BaseScreenshot & WithIgnoreCoordinates(Aws::Vector< Aws::String > &&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