7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
10#include <aws/s3control/model/ScopePermission.h>
34 AWS_S3CONTROL_API
Scope() =
default;
47 template <
typename PrefixesT = Aws::Vector<Aws::String>>
49 m_prefixesHasBeenSet =
true;
50 m_prefixes = std::forward<PrefixesT>(value);
52 template <
typename PrefixesT = Aws::Vector<Aws::String>>
57 template <
typename PrefixesT = Aws::String>
59 m_prefixesHasBeenSet =
true;
60 m_prefixes.emplace_back(std::forward<PrefixesT>(value));
71 template <
typename PermissionsT = Aws::Vector<ScopePermission>>
73 m_permissionsHasBeenSet =
true;
74 m_permissions = std::forward<PermissionsT>(value);
76 template <
typename PermissionsT = Aws::Vector<ScopePermission>>
82 m_permissionsHasBeenSet =
true;
83 m_permissions.push_back(value);
91 bool m_prefixesHasBeenSet =
false;
92 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