7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/Event.h>
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
59 template<
typename EventsT = Aws::Vector<Event>>
60 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
61 template<
typename EventsT = Aws::Vector<Event>>
73 template<
typename CloudFunctionT = Aws::String>
74 void SetCloudFunction(CloudFunctionT&& value) { m_cloudFunctionHasBeenSet =
true; m_cloudFunction = std::forward<CloudFunctionT>(value); }
75 template<
typename CloudFunctionT = Aws::String>
85 template<
typename InvocationRoleT = Aws::String>
86 void SetInvocationRole(InvocationRoleT&& value) { m_invocationRoleHasBeenSet =
true; m_invocationRole = std::forward<InvocationRoleT>(value); }
87 template<
typename InvocationRoleT = Aws::String>
93 bool m_idHasBeenSet =
false;
96 bool m_eventsHasBeenSet =
false;
99 bool m_cloudFunctionHasBeenSet =
false;
102 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