7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/AuthenticatedElement.h>
9#include <aws/amplifybackend/model/UnAuthenticatedElement.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AmplifyBackend {
44 template <
typename AuthenticatedT = Aws::Vector<AuthenticatedElement>>
46 m_authenticatedHasBeenSet =
true;
47 m_authenticated = std::forward<AuthenticatedT>(value);
49 template <
typename AuthenticatedT = Aws::Vector<AuthenticatedElement>>
55 m_authenticatedHasBeenSet =
true;
56 m_authenticated.push_back(value);
68 template <
typename UnAuthenticatedT = Aws::Vector<UnAuthenticatedElement>>
70 m_unAuthenticatedHasBeenSet =
true;
71 m_unAuthenticated = std::forward<UnAuthenticatedT>(value);
73 template <
typename UnAuthenticatedT = Aws::Vector<UnAuthenticatedElement>>
79 m_unAuthenticatedHasBeenSet =
true;
80 m_unAuthenticated.push_back(value);
88 bool m_authenticatedHasBeenSet =
false;
89 bool m_unAuthenticatedHasBeenSet =
false;
void SetAuthenticated(AuthenticatedT &&value)
BackendStoragePermissions & WithUnAuthenticated(UnAuthenticatedT &&value)
const Aws::Vector< AuthenticatedElement > & GetAuthenticated() const
AWS_AMPLIFYBACKEND_API BackendStoragePermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
BackendStoragePermissions & AddUnAuthenticated(UnAuthenticatedElement value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
bool UnAuthenticatedHasBeenSet() const
void SetUnAuthenticated(UnAuthenticatedT &&value)
BackendStoragePermissions & AddAuthenticated(AuthenticatedElement value)
bool AuthenticatedHasBeenSet() const
AWS_AMPLIFYBACKEND_API BackendStoragePermissions()=default
const Aws::Vector< UnAuthenticatedElement > & GetUnAuthenticated() const
BackendStoragePermissions & WithAuthenticated(AuthenticatedT &&value)
AWS_AMPLIFYBACKEND_API BackendStoragePermissions(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue