AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CanaryRunConfigOutput.h
1
6#pragma once
7#include <aws/synthetics/Synthetics_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Synthetics {
17namespace Model {
18
26 public:
27 AWS_SYNTHETICS_API CanaryRunConfigOutput() = default;
30 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTimeoutInSeconds() const { return m_timeoutInSeconds; }
37 inline bool TimeoutInSecondsHasBeenSet() const { return m_timeoutInSecondsHasBeenSet; }
38 inline void SetTimeoutInSeconds(int value) {
39 m_timeoutInSecondsHasBeenSet = true;
40 m_timeoutInSeconds = value;
41 }
44 return *this;
45 }
47
49
53 inline int GetMemoryInMB() const { return m_memoryInMB; }
54 inline bool MemoryInMBHasBeenSet() const { return m_memoryInMBHasBeenSet; }
55 inline void SetMemoryInMB(int value) {
56 m_memoryInMBHasBeenSet = true;
57 m_memoryInMB = value;
58 }
60 SetMemoryInMB(value);
61 return *this;
62 }
64
66
69 inline bool GetActiveTracing() const { return m_activeTracing; }
70 inline bool ActiveTracingHasBeenSet() const { return m_activeTracingHasBeenSet; }
71 inline void SetActiveTracing(bool value) {
72 m_activeTracingHasBeenSet = true;
73 m_activeTracing = value;
74 }
76 SetActiveTracing(value);
77 return *this;
78 }
80
82
89 inline int GetEphemeralStorage() const { return m_ephemeralStorage; }
90 inline bool EphemeralStorageHasBeenSet() const { return m_ephemeralStorageHasBeenSet; }
91 inline void SetEphemeralStorage(int value) {
92 m_ephemeralStorageHasBeenSet = true;
93 m_ephemeralStorage = value;
94 }
97 return *this;
98 }
100 private:
101 int m_timeoutInSeconds{0};
102
103 int m_memoryInMB{0};
104
105 bool m_activeTracing{false};
106
107 int m_ephemeralStorage{0};
108 bool m_timeoutInSecondsHasBeenSet = false;
109 bool m_memoryInMBHasBeenSet = false;
110 bool m_activeTracingHasBeenSet = false;
111 bool m_ephemeralStorageHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace Synthetics
116} // namespace Aws
AWS_SYNTHETICS_API CanaryRunConfigOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_SYNTHETICS_API CanaryRunConfigOutput()=default
CanaryRunConfigOutput & WithMemoryInMB(int value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
CanaryRunConfigOutput & WithEphemeralStorage(int value)
AWS_SYNTHETICS_API CanaryRunConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
CanaryRunConfigOutput & WithTimeoutInSeconds(int value)
CanaryRunConfigOutput & WithActiveTracing(bool value)
Aws::Utils::Json::JsonValue JsonValue