7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/greengrass/Greengrass_EXPORTS.h>
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
62 template <
typename SourceT = Aws::String>
64 m_sourceHasBeenSet =
true;
65 m_source = std::forward<SourceT>(value);
67 template <
typename SourceT = Aws::String>
80 template <
typename SubjectT = Aws::String>
82 m_subjectHasBeenSet =
true;
83 m_subject = std::forward<SubjectT>(value);
85 template <
typename SubjectT = Aws::String>
100 template <
typename TargetT = Aws::String>
102 m_targetHasBeenSet =
true;
103 m_target = std::forward<TargetT>(value);
105 template <
typename TargetT = Aws::String>
119 bool m_idHasBeenSet =
false;
120 bool m_sourceHasBeenSet =
false;
121 bool m_subjectHasBeenSet =
false;
122 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