7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
40 template <
typename SourceT = Aws::String>
42 m_sourceHasBeenSet =
true;
43 m_source = std::forward<SourceT>(value);
45 template <
typename SourceT = Aws::String>
58 template <
typename TargetT = Aws::String>
60 m_targetHasBeenSet =
true;
61 m_target = std::forward<TargetT>(value);
63 template <
typename TargetT = Aws::String>
82 template <
typename StatusT = Aws::String>
84 m_statusHasBeenSet =
true;
85 m_status = std::forward<StatusT>(value);
87 template <
typename StatusT = Aws::String>
101 template <
typename ConditionT = Aws::String>
103 m_conditionHasBeenSet =
true;
104 m_condition = std::forward<ConditionT>(value);
106 template <
typename ConditionT = Aws::String>
120 bool m_sourceHasBeenSet =
false;
121 bool m_targetHasBeenSet =
false;
122 bool m_statusHasBeenSet =
false;
123 bool m_conditionHasBeenSet =
false;
AWS_AMPLIFY_API CustomRule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
bool SourceHasBeenSet() const
CustomRule & WithCondition(ConditionT &&value)
bool ConditionHasBeenSet() const
void SetStatus(StatusT &&value)
AWS_AMPLIFY_API CustomRule()=default
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTarget() const
CustomRule & WithSource(SourceT &&value)
void SetCondition(ConditionT &&value)
CustomRule & WithTarget(TargetT &&value)
const Aws::String & GetSource() const
bool StatusHasBeenSet() const
CustomRule & WithStatus(StatusT &&value)
bool TargetHasBeenSet() const
AWS_AMPLIFY_API CustomRule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTarget(TargetT &&value)
const Aws::String & GetCondition() const
void SetSource(SourceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue