7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
20namespace EventBridge {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
83 template <
typename DescriptionT = Aws::String>
85 m_descriptionHasBeenSet =
true;
86 m_description = std::forward<DescriptionT>(value);
88 template <
typename DescriptionT = Aws::String>
102 template <
typename PolicyT = Aws::String>
104 m_policyHasBeenSet =
true;
105 m_policy = std::forward<PolicyT>(value);
107 template <
typename PolicyT = Aws::String>
120 template <
typename CreationTimeT = Aws::Utils::DateTime>
122 m_creationTimeHasBeenSet =
true;
123 m_creationTime = std::forward<CreationTimeT>(value);
125 template <
typename CreationTimeT = Aws::Utils::DateTime>
138 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
140 m_lastModifiedTimeHasBeenSet =
true;
141 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
143 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
158 template <
typename ManagedByT = Aws::String>
160 m_managedByHasBeenSet =
true;
161 m_managedBy = std::forward<ManagedByT>(value);
163 template <
typename ManagedByT = Aws::String>
183 bool m_nameHasBeenSet =
false;
184 bool m_arnHasBeenSet =
false;
185 bool m_descriptionHasBeenSet =
false;
186 bool m_policyHasBeenSet =
false;
187 bool m_creationTimeHasBeenSet =
false;
188 bool m_lastModifiedTimeHasBeenSet =
false;
189 bool m_managedByHasBeenSet =
false;
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool LastModifiedTimeHasBeenSet() const
const Aws::String & GetPolicy() const
void SetManagedBy(ManagedByT &&value)
const Aws::String & GetManagedBy() 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 & WithManagedBy(ManagedByT &&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
bool ManagedByHasBeenSet() 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