7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
73 bool m_arnHasBeenSet =
false;
76 bool m_nameHasBeenSet =
false;
PartnerEventSource & WithArn(Aws::String &&value)
PartnerEventSource & WithArn(const Aws::String &value)
PartnerEventSource & WithName(Aws::String &&value)
const Aws::String & GetName() const
PartnerEventSource & WithName(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API PartnerEventSource(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHEVENTS_API PartnerEventSource()
AWS_CLOUDWATCHEVENTS_API PartnerEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const char *value)
const Aws::String & GetArn() const
void SetName(Aws::String &&value)
void SetArn(const Aws::String &value)
void SetName(const char *value)
PartnerEventSource & WithArn(const char *value)
PartnerEventSource & WithName(const Aws::String &value)
bool ArnHasBeenSet() const
void SetArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue