7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
50 template<
typename IdT = Aws::String>
62 template<
typename SourceT = Aws::String>
63 void SetSource(SourceT&& value) { m_sourceHasBeenSet =
true; m_source = std::forward<SourceT>(value); }
64 template<
typename SourceT = Aws::String>
74 template<
typename SubjectT = Aws::String>
75 void SetSubject(SubjectT&& value) { m_subjectHasBeenSet =
true; m_subject = std::forward<SubjectT>(value); }
76 template<
typename SubjectT = Aws::String>
88 template<
typename TargetT = Aws::String>
89 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
90 template<
typename TargetT = Aws::String>
96 bool m_idHasBeenSet =
false;
99 bool m_sourceHasBeenSet =
false;
102 bool m_subjectHasBeenSet =
false;
105 bool m_targetHasBeenSet =
false;
const Aws::String & GetSubject() const
const Aws::String & GetId() const
Subscription & WithTarget(TargetT &&value)
bool IdHasBeenSet() const
void SetSubject(SubjectT &&value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API Subscription()=default
Subscription & WithSource(SourceT &&value)
bool SourceHasBeenSet() const
AWS_GREENGRASS_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TargetHasBeenSet() const
bool SubjectHasBeenSet() const
void SetSource(SourceT &&value)
const Aws::String & GetSource() const
void SetTarget(TargetT &&value)
const Aws::String & GetTarget() const
Subscription & WithId(IdT &&value)
AWS_GREENGRASS_API Subscription(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithSubject(SubjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue