AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VisualReferenceInput.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/BaseScreenshot.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Synthetics
24{
25namespace Model
26{
27
42 {
43 public:
44 AWS_SYNTHETICS_API VisualReferenceInput();
45 AWS_SYNTHETICS_API VisualReferenceInput(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
56 inline const Aws::Vector<BaseScreenshot>& GetBaseScreenshots() const{ return m_baseScreenshots; }
57 inline bool BaseScreenshotsHasBeenSet() const { return m_baseScreenshotsHasBeenSet; }
58 inline void SetBaseScreenshots(const Aws::Vector<BaseScreenshot>& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots = value; }
59 inline void SetBaseScreenshots(Aws::Vector<BaseScreenshot>&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots = std::move(value); }
62 inline VisualReferenceInput& AddBaseScreenshots(const BaseScreenshot& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots.push_back(value); return *this; }
63 inline VisualReferenceInput& AddBaseScreenshots(BaseScreenshot&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots.push_back(std::move(value)); return *this; }
65
67
76 inline const Aws::String& GetBaseCanaryRunId() const{ return m_baseCanaryRunId; }
77 inline bool BaseCanaryRunIdHasBeenSet() const { return m_baseCanaryRunIdHasBeenSet; }
78 inline void SetBaseCanaryRunId(const Aws::String& value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId = value; }
79 inline void SetBaseCanaryRunId(Aws::String&& value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId = std::move(value); }
80 inline void SetBaseCanaryRunId(const char* value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId.assign(value); }
81 inline VisualReferenceInput& WithBaseCanaryRunId(const Aws::String& value) { SetBaseCanaryRunId(value); return *this;}
82 inline VisualReferenceInput& WithBaseCanaryRunId(Aws::String&& value) { SetBaseCanaryRunId(std::move(value)); return *this;}
83 inline VisualReferenceInput& WithBaseCanaryRunId(const char* value) { SetBaseCanaryRunId(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
94} // namespace Model
95} // namespace Synthetics
96} // namespace Aws
VisualReferenceInput & WithBaseCanaryRunId(const char *value)
AWS_SYNTHETICS_API VisualReferenceInput & operator=(Aws::Utils::Json::JsonView jsonValue)
VisualReferenceInput & WithBaseCanaryRunId(const Aws::String &value)
VisualReferenceInput & WithBaseScreenshots(Aws::Vector< BaseScreenshot > &&value)
void SetBaseCanaryRunId(const Aws::String &value)
void SetBaseScreenshots(Aws::Vector< BaseScreenshot > &&value)
VisualReferenceInput & AddBaseScreenshots(const BaseScreenshot &value)
void SetBaseScreenshots(const Aws::Vector< BaseScreenshot > &value)
VisualReferenceInput & WithBaseScreenshots(const Aws::Vector< BaseScreenshot > &value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
VisualReferenceInput & AddBaseScreenshots(BaseScreenshot &&value)
AWS_SYNTHETICS_API VisualReferenceInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BaseScreenshot > & GetBaseScreenshots() const
VisualReferenceInput & WithBaseCanaryRunId(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