7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvents
53 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
66 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
67 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
82 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
90 bool m_nameHasBeenSet =
false;
93 bool m_arnHasBeenSet =
false;
96 bool m_policyHasBeenSet =
false;
void SetArn(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
EventBus & WithPolicy(const Aws::String &value)
EventBus & WithPolicy(Aws::String &&value)
bool ArnHasBeenSet() const
void SetPolicy(Aws::String &&value)
EventBus & WithName(const char *value)
EventBus & WithArn(const char *value)
AWS_CLOUDWATCHEVENTS_API EventBus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
EventBus & WithName(const Aws::String &value)
EventBus & WithName(Aws::String &&value)
EventBus & WithPolicy(const char *value)
void SetName(const char *value)
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
void SetArn(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API EventBus(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
void SetPolicy(const char *value)
const Aws::String & GetPolicy() const
bool PolicyHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API EventBus()
EventBus & WithArn(Aws::String &&value)
EventBus & WithArn(const Aws::String &value)
void SetArn(Aws::String &&value)
const Aws::String & GetName() const
void SetPolicy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue