7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
50 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetSource(
const char* value) { m_sourceHasBeenSet =
true; m_source.assign(value); }
80 inline void SetSubject(
const char* value) { m_subjectHasBeenSet =
true; m_subject.assign(value); }
96 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
104 bool m_idHasBeenSet =
false;
107 bool m_sourceHasBeenSet =
false;
110 bool m_subjectHasBeenSet =
false;
113 bool m_targetHasBeenSet =
false;
const Aws::String & GetSubject() const
Subscription & WithSource(const char *value)
void SetId(const char *value)
Subscription & WithSubject(const char *value)
void SetId(Aws::String &&value)
void SetTarget(Aws::String &&value)
const Aws::String & GetId() const
Subscription & WithSource(Aws::String &&value)
Subscription & WithSubject(Aws::String &&value)
bool IdHasBeenSet() const
Subscription & WithSubject(const Aws::String &value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
Subscription & WithTarget(const char *value)
AWS_GREENGRASS_API Subscription()
void SetSource(const char *value)
bool SourceHasBeenSet() const
AWS_GREENGRASS_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TargetHasBeenSet() const
Subscription & WithId(Aws::String &&value)
bool SubjectHasBeenSet() const
void SetSubject(const Aws::String &value)
Subscription & WithTarget(Aws::String &&value)
void SetSource(Aws::String &&value)
const Aws::String & GetSource() const
const Aws::String & GetTarget() const
void SetSubject(const char *value)
Subscription & WithId(const Aws::String &value)
Subscription & WithSource(const Aws::String &value)
void SetTarget(const char *value)
Subscription & WithTarget(const Aws::String &value)
AWS_GREENGRASS_API Subscription(Aws::Utils::Json::JsonView jsonValue)
void SetId(const Aws::String &value)
void SetTarget(const Aws::String &value)
void SetSubject(Aws::String &&value)
void SetSource(const Aws::String &value)
Subscription & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue