7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename SourceT = Aws::String>
47 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
48 template<
typename SourceT = Aws::String>
58 template<
typename TargetT = Aws::String>
59 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
60 template<
typename TargetT = Aws::String>
76 template<
typename StatusT = Aws::String>
77 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
78 template<
typename StatusT = Aws::String>
89 template<
typename ConditionT = Aws::String>
90 void SetCondition(ConditionT&& value) { m_conditionHasBeenSet =
true; m_condition = std::forward<ConditionT>(value); }
91 template<
typename ConditionT = Aws::String>
97 bool m_sourceHasBeenSet =
false;
100 bool m_targetHasBeenSet =
false;
103 bool m_statusHasBeenSet =
false;
106 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