AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryScheduleOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Synthetics
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SYNTHETICS_API CanaryScheduleOutput();
37 AWS_SYNTHETICS_API CanaryScheduleOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
58 inline const Aws::String& GetExpression() const{ return m_expression; }
59 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
60 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
61 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
62 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
63 inline CanaryScheduleOutput& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
64 inline CanaryScheduleOutput& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
65 inline CanaryScheduleOutput& WithExpression(const char* value) { SetExpression(value); return *this;}
67
69
74 inline long long GetDurationInSeconds() const{ return m_durationInSeconds; }
75 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
76 inline void SetDurationInSeconds(long long value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
77 inline CanaryScheduleOutput& WithDurationInSeconds(long long value) { SetDurationInSeconds(value); return *this;}
79 private:
80
81 Aws::String m_expression;
82 bool m_expressionHasBeenSet = false;
83
84 long long m_durationInSeconds;
85 bool m_durationInSecondsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Synthetics
90} // namespace Aws
AWS_SYNTHETICS_API CanaryScheduleOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CanaryScheduleOutput & WithExpression(const char *value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryScheduleOutput & WithExpression(Aws::String &&value)
CanaryScheduleOutput & WithDurationInSeconds(long long value)
CanaryScheduleOutput & WithExpression(const Aws::String &value)
AWS_SYNTHETICS_API CanaryScheduleOutput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue