AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExperimentStopCondition.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FIS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FIS {
20namespace Model {
21
28 public:
29 AWS_FIS_API ExperimentStopCondition() = default;
33
35
38 inline const Aws::String& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = Aws::String>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = Aws::String>
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetValue() const { return m_value; }
57 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
58 template <typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) {
60 m_valueHasBeenSet = true;
61 m_value = std::forward<ValueT>(value);
62 }
63 template <typename ValueT = Aws::String>
65 SetValue(std::forward<ValueT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_source;
71
72 Aws::String m_value;
73 bool m_sourceHasBeenSet = false;
74 bool m_valueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace FIS
79} // namespace Aws
AWS_FIS_API ExperimentStopCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API ExperimentStopCondition()=default
ExperimentStopCondition & WithValue(ValueT &&value)
AWS_FIS_API ExperimentStopCondition(Aws::Utils::Json::JsonView jsonValue)
ExperimentStopCondition & WithSource(SourceT &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue