7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
65 template<
typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
67 template<
typename ArnT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
90 template<
typename PolicyT = Aws::String>
91 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet =
true; m_policy = std::forward<PolicyT>(value); }
92 template<
typename PolicyT = Aws::String>
102 template<
typename CreationTimeT = Aws::Utils::DateTime>
103 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
104 template<
typename CreationTimeT = Aws::Utils::DateTime>
114 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
115 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
116 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
122 bool m_nameHasBeenSet =
false;
125 bool m_arnHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_policyHasBeenSet =
false;
134 bool m_creationTimeHasBeenSet =
false;
137 bool m_lastModifiedTimeHasBeenSet =
false;
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::String & GetPolicy() const
const Aws::String & GetArn() const
AWS_EVENTBRIDGE_API EventBus(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API EventBus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicy(PolicyT &&value)
bool CreationTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
EventBus & WithCreationTime(CreationTimeT &&value)
EventBus & WithArn(ArnT &&value)
AWS_EVENTBRIDGE_API EventBus()=default
void SetCreationTime(CreationTimeT &&value)
EventBus & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetArn(ArnT &&value)
bool PolicyHasBeenSet() const
EventBus & WithPolicy(PolicyT &&value)
EventBus & WithDescription(DescriptionT &&value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetDescription() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
EventBus & WithName(NameT &&value)
void SetName(NameT &&value)
bool DescriptionHasBeenSet() const
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue