AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CanaryRunConfigOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Synthetics
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SYNTHETICS_API CanaryRunConfigOutput();
36 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetTimeoutInSeconds() const{ return m_timeoutInSeconds; }
44 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
45 inline void SetTimeoutInSeconds(int value) { m_timeoutInSecondsHasBeenSet = true; m_timeoutInSeconds = value; }
46 inline CanaryRunConfigOutput& WithTimeoutInSeconds(int value) { SetTimeoutInSeconds(value); return *this;}
48
50
54 inline int GetMemoryInMB() const{ return m_memoryInMB; }
55 inline bool MemoryInMBHasBeenSet() const { return m_memoryInMBHasBeenSet; }
56 inline void SetMemoryInMB(int value) { m_memoryInMBHasBeenSet = true; m_memoryInMB = value; }
57 inline CanaryRunConfigOutput& WithMemoryInMB(int value) { SetMemoryInMB(value); return *this;}
59
61
64 inline bool GetActiveTracing() const{ return m_activeTracing; }
65 inline bool ActiveTracingHasBeenSet() const { return m_activeTracingHasBeenSet; }
66 inline void SetActiveTracing(bool value) { m_activeTracingHasBeenSet = true; m_activeTracing = value; }
67 inline CanaryRunConfigOutput& WithActiveTracing(bool value) { SetActiveTracing(value); return *this;}
69 private:
70
71 int m_timeoutInSeconds;
72 bool m_timeoutInSecondsHasBeenSet = false;
73
74 int m_memoryInMB;
75 bool m_memoryInMBHasBeenSet = false;
76
77 bool m_activeTracing;
78 bool m_activeTracingHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Synthetics
83} // namespace Aws
AWS_SYNTHETICS_API CanaryRunConfigOutput(Aws::Utils::Json::JsonView jsonValue)
CanaryRunConfigOutput & WithMemoryInMB(int value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SYNTHETICS_API CanaryRunConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CanaryRunConfigOutput & WithTimeoutInSeconds(int value)
CanaryRunConfigOutput & WithActiveTracing(bool value)
Aws::Utils::Json::JsonValue JsonValue