7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Event.h>
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename EventsT = Aws::Vector<Event>>
61 m_eventsHasBeenSet =
true;
62 m_events = std::forward<EventsT>(value);
64 template <
typename EventsT = Aws::Vector<Event>>
70 m_eventsHasBeenSet =
true;
71 m_events.push_back(value);
83 template <
typename CloudFunctionT = Aws::String>
85 m_cloudFunctionHasBeenSet =
true;
86 m_cloudFunction = std::forward<CloudFunctionT>(value);
88 template <
typename CloudFunctionT = Aws::String>
101 template <
typename InvocationRoleT = Aws::String>
103 m_invocationRoleHasBeenSet =
true;
104 m_invocationRole = std::forward<InvocationRoleT>(value);
106 template <
typename InvocationRoleT = Aws::String>
120 bool m_idHasBeenSet =
false;
121 bool m_eventsHasBeenSet =
false;
122 bool m_cloudFunctionHasBeenSet =
false;
123 bool m_invocationRoleHasBeenSet =
false;
AWS_S3_API CloudFunctionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCloudFunction(CloudFunctionT &&value)
const Aws::Vector< Event > & GetEvents() const
bool EventsHasBeenSet() const
CloudFunctionConfiguration & WithInvocationRole(InvocationRoleT &&value)
const Aws::String & GetInvocationRole() const
CloudFunctionConfiguration & WithEvents(EventsT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::String & GetId() const
CloudFunctionConfiguration & WithCloudFunction(CloudFunctionT &&value)
CloudFunctionConfiguration & AddEvents(Event value)
AWS_S3_API CloudFunctionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetInvocationRole(InvocationRoleT &&value)
bool InvocationRoleHasBeenSet() const
void SetEvents(EventsT &&value)
bool CloudFunctionHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetCloudFunction() const
AWS_S3_API CloudFunctionConfiguration()=default
CloudFunctionConfiguration & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector