7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
21namespace EventBridge {
43 template <
typename TimeT = Aws::Utils::DateTime>
45 m_timeHasBeenSet =
true;
46 m_time = std::forward<TimeT>(value);
48 template <
typename TimeT = Aws::Utils::DateTime>
50 SetTime(std::forward<TimeT>(value));
67 template <
typename SourceT = Aws::String>
69 m_sourceHasBeenSet =
true;
70 m_source = std::forward<SourceT>(value);
72 template <
typename SourceT = Aws::String>
87 template <
typename ResourcesT = Aws::Vector<Aws::String>>
89 m_resourcesHasBeenSet =
true;
90 m_resources = std::forward<ResourcesT>(value);
92 template <
typename ResourcesT = Aws::Vector<Aws::String>>
97 template <
typename ResourcesT = Aws::String>
99 m_resourcesHasBeenSet =
true;
100 m_resources.emplace_back(std::forward<ResourcesT>(value));
117 template <
typename DetailTypeT = Aws::String>
119 m_detailTypeHasBeenSet =
true;
120 m_detailType = std::forward<DetailTypeT>(value);
122 template <
typename DetailTypeT = Aws::String>
141 template <
typename DetailT = Aws::String>
143 m_detailHasBeenSet =
true;
144 m_detail = std::forward<DetailT>(value);
146 template <
typename DetailT = Aws::String>
162 bool m_timeHasBeenSet =
false;
163 bool m_sourceHasBeenSet =
false;
164 bool m_resourcesHasBeenSet =
false;
165 bool m_detailTypeHasBeenSet =
false;
166 bool m_detailHasBeenSet =
false;
void SetDetail(DetailT &&value)
AWS_EVENTBRIDGE_API PutPartnerEventsRequestEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceHasBeenSet() const
const Aws::String & GetDetail() const
const Aws::Utils::DateTime & GetTime() const
PutPartnerEventsRequestEntry & WithTime(TimeT &&value)
void SetTime(TimeT &&value)
bool DetailTypeHasBeenSet() const
PutPartnerEventsRequestEntry & AddResources(ResourcesT &&value)
PutPartnerEventsRequestEntry & WithDetailType(DetailTypeT &&value)
const Aws::Vector< Aws::String > & GetResources() const
AWS_EVENTBRIDGE_API PutPartnerEventsRequestEntry(Aws::Utils::Json::JsonView jsonValue)
PutPartnerEventsRequestEntry & WithResources(ResourcesT &&value)
const Aws::String & GetSource() const
PutPartnerEventsRequestEntry & WithDetail(DetailT &&value)
PutPartnerEventsRequestEntry & WithSource(SourceT &&value)
void SetResources(ResourcesT &&value)
bool TimeHasBeenSet() const
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DetailHasBeenSet() const
void SetDetailType(DetailTypeT &&value)
const Aws::String & GetDetailType() const
void SetSource(SourceT &&value)
bool ResourcesHasBeenSet() const
AWS_EVENTBRIDGE_API PutPartnerEventsRequestEntry()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue