7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/ScopePermission.h>
39 AWS_S3CONTROL_API
Scope() =
default;
53 template<
typename PrefixesT = Aws::Vector<Aws::String>>
54 void SetPrefixes(PrefixesT&& value) { m_prefixesHasBeenSet =
true; m_prefixes = std::forward<PrefixesT>(value); }
55 template<
typename PrefixesT = Aws::Vector<Aws::String>>
57 template<
typename PrefixesT = Aws::String>
58 Scope&
AddPrefixes(PrefixesT&& value) { m_prefixesHasBeenSet =
true; m_prefixes.emplace_back(std::forward<PrefixesT>(value));
return *
this; }
67 template<
typename PermissionsT = Aws::Vector<ScopePermission>>
68 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet =
true; m_permissions = std::forward<PermissionsT>(value); }
69 template<
typename PermissionsT = Aws::Vector<ScopePermission>>
76 bool m_prefixesHasBeenSet =
false;
79 bool m_permissionsHasBeenSet =
false;
const Aws::Vector< ScopePermission > & GetPermissions() const
AWS_S3CONTROL_API Scope(const Aws::Utils::Xml::XmlNode &xmlNode)
Scope & WithPrefixes(PrefixesT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetPrefixes(PrefixesT &&value)
bool PrefixesHasBeenSet() const
Scope & AddPrefixes(PrefixesT &&value)
AWS_S3CONTROL_API Scope()=default
bool PermissionsHasBeenSet() const
Scope & AddPermissions(ScopePermission value)
const Aws::Vector< Aws::String > & GetPrefixes() const
void SetPermissions(PermissionsT &&value)
Scope & WithPermissions(PermissionsT &&value)
AWS_S3CONTROL_API Scope & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector