7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
62 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
82 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
97 inline void SetCondition(
const char* value) { m_conditionHasBeenSet =
true; m_condition.assign(value); }
105 bool m_sourceHasBeenSet =
false;
108 bool m_targetHasBeenSet =
false;
111 bool m_statusHasBeenSet =
false;
114 bool m_conditionHasBeenSet =
false;
AWS_AMPLIFY_API CustomRule(Aws::Utils::Json::JsonView jsonValue)
CustomRule & WithTarget(Aws::String &&value)
const Aws::String & GetStatus() const
CustomRule & WithSource(const char *value)
bool SourceHasBeenSet() const
CustomRule & WithTarget(const char *value)
void SetStatus(const Aws::String &value)
void SetCondition(const char *value)
void SetCondition(const Aws::String &value)
bool ConditionHasBeenSet() const
void SetSource(const char *value)
AWS_AMPLIFY_API CustomRule()
void SetStatus(const char *value)
CustomRule & WithStatus(const char *value)
CustomRule & WithSource(const Aws::String &value)
CustomRule & WithTarget(const Aws::String &value)
AWS_AMPLIFY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTarget() const
CustomRule & WithCondition(const Aws::String &value)
void SetStatus(Aws::String &&value)
CustomRule & WithCondition(const char *value)
CustomRule & WithStatus(Aws::String &&value)
const Aws::String & GetSource() const
bool StatusHasBeenSet() const
void SetTarget(const Aws::String &value)
CustomRule & WithCondition(Aws::String &&value)
void SetTarget(const char *value)
bool TargetHasBeenSet() const
AWS_AMPLIFY_API CustomRule & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomRule & WithSource(Aws::String &&value)
const Aws::String & GetCondition() const
void SetTarget(Aws::String &&value)
CustomRule & WithStatus(const Aws::String &value)
void SetSource(const Aws::String &value)
void SetCondition(Aws::String &&value)
void SetSource(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue