AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/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
39 {
40 public:
41 AWS_SYNTHETICS_API VisualReferenceOutput();
44 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Vector<BaseScreenshot>& GetBaseScreenshots() const{ return m_baseScreenshots; }
53 inline bool BaseScreenshotsHasBeenSet() const { return m_baseScreenshotsHasBeenSet; }
54 inline void SetBaseScreenshots(const Aws::Vector<BaseScreenshot>& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots = value; }
55 inline void SetBaseScreenshots(Aws::Vector<BaseScreenshot>&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots = std::move(value); }
58 inline VisualReferenceOutput& AddBaseScreenshots(const BaseScreenshot& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots.push_back(value); return *this; }
59 inline VisualReferenceOutput& AddBaseScreenshots(BaseScreenshot&& value) { m_baseScreenshotsHasBeenSet = true; m_baseScreenshots.push_back(std::move(value)); return *this; }
61
63
67 inline const Aws::String& GetBaseCanaryRunId() const{ return m_baseCanaryRunId; }
68 inline bool BaseCanaryRunIdHasBeenSet() const { return m_baseCanaryRunIdHasBeenSet; }
69 inline void SetBaseCanaryRunId(const Aws::String& value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId = value; }
70 inline void SetBaseCanaryRunId(Aws::String&& value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId = std::move(value); }
71 inline void SetBaseCanaryRunId(const char* value) { m_baseCanaryRunIdHasBeenSet = true; m_baseCanaryRunId.assign(value); }
72 inline VisualReferenceOutput& WithBaseCanaryRunId(const Aws::String& value) { SetBaseCanaryRunId(value); return *this;}
73 inline VisualReferenceOutput& WithBaseCanaryRunId(Aws::String&& value) { SetBaseCanaryRunId(std::move(value)); return *this;}
74 inline VisualReferenceOutput& WithBaseCanaryRunId(const char* value) { SetBaseCanaryRunId(value); return *this;}
76 private:
77
78 Aws::Vector<BaseScreenshot> m_baseScreenshots;
79 bool m_baseScreenshotsHasBeenSet = false;
80
81 Aws::String m_baseCanaryRunId;
82 bool m_baseCanaryRunIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Synthetics
87} // namespace Aws
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
VisualReferenceOutput & WithBaseCanaryRunId(Aws::String &&value)
VisualReferenceOutput & WithBaseScreenshots(const Aws::Vector< BaseScreenshot > &value)
AWS_SYNTHETICS_API VisualReferenceOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
VisualReferenceOutput & AddBaseScreenshots(BaseScreenshot &&value)
void SetBaseScreenshots(Aws::Vector< BaseScreenshot > &&value)
const Aws::Vector< BaseScreenshot > & GetBaseScreenshots() const
VisualReferenceOutput & WithBaseCanaryRunId(const char *value)
VisualReferenceOutput & AddBaseScreenshots(const BaseScreenshot &value)
void SetBaseScreenshots(const Aws::Vector< BaseScreenshot > &value)
VisualReferenceOutput & WithBaseScreenshots(Aws::Vector< BaseScreenshot > &&value)
AWS_SYNTHETICS_API VisualReferenceOutput(Aws::Utils::Json::JsonView jsonValue)
VisualReferenceOutput & WithBaseCanaryRunId(const 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