AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackendStoragePermissions.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/amplifybackend/model/AuthenticatedElement.h>
10#include <aws/amplifybackend/model/UnAuthenticatedElement.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AmplifyBackend
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_AMPLIFYBACKEND_API BackendStoragePermissions();
38 AWS_AMPLIFYBACKEND_API BackendStoragePermissions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<AuthenticatedElement>& GetAuthenticated() const{ return m_authenticated; }
49 inline bool AuthenticatedHasBeenSet() const { return m_authenticatedHasBeenSet; }
50 inline void SetAuthenticated(const Aws::Vector<AuthenticatedElement>& value) { m_authenticatedHasBeenSet = true; m_authenticated = value; }
51 inline void SetAuthenticated(Aws::Vector<AuthenticatedElement>&& value) { m_authenticatedHasBeenSet = true; m_authenticated = std::move(value); }
54 inline BackendStoragePermissions& AddAuthenticated(const AuthenticatedElement& value) { m_authenticatedHasBeenSet = true; m_authenticated.push_back(value); return *this; }
55 inline BackendStoragePermissions& AddAuthenticated(AuthenticatedElement&& value) { m_authenticatedHasBeenSet = true; m_authenticated.push_back(std::move(value)); return *this; }
57
59
63 inline const Aws::Vector<UnAuthenticatedElement>& GetUnAuthenticated() const{ return m_unAuthenticated; }
64 inline bool UnAuthenticatedHasBeenSet() const { return m_unAuthenticatedHasBeenSet; }
65 inline void SetUnAuthenticated(const Aws::Vector<UnAuthenticatedElement>& value) { m_unAuthenticatedHasBeenSet = true; m_unAuthenticated = value; }
66 inline void SetUnAuthenticated(Aws::Vector<UnAuthenticatedElement>&& value) { m_unAuthenticatedHasBeenSet = true; m_unAuthenticated = std::move(value); }
69 inline BackendStoragePermissions& AddUnAuthenticated(const UnAuthenticatedElement& value) { m_unAuthenticatedHasBeenSet = true; m_unAuthenticated.push_back(value); return *this; }
70 inline BackendStoragePermissions& AddUnAuthenticated(UnAuthenticatedElement&& value) { m_unAuthenticatedHasBeenSet = true; m_unAuthenticated.push_back(std::move(value)); return *this; }
72 private:
73
75 bool m_authenticatedHasBeenSet = false;
76
78 bool m_unAuthenticatedHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AmplifyBackend
83} // namespace Aws
BackendStoragePermissions & WithAuthenticated(Aws::Vector< AuthenticatedElement > &&value)
BackendStoragePermissions & AddUnAuthenticated(UnAuthenticatedElement &&value)
const Aws::Vector< AuthenticatedElement > & GetAuthenticated() const
BackendStoragePermissions & AddAuthenticated(AuthenticatedElement &&value)
AWS_AMPLIFYBACKEND_API BackendStoragePermissions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUnAuthenticated(Aws::Vector< UnAuthenticatedElement > &&value)
BackendStoragePermissions & AddUnAuthenticated(const UnAuthenticatedElement &value)
void SetAuthenticated(Aws::Vector< AuthenticatedElement > &&value)
void SetUnAuthenticated(const Aws::Vector< UnAuthenticatedElement > &value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
BackendStoragePermissions & WithUnAuthenticated(const Aws::Vector< UnAuthenticatedElement > &value)
BackendStoragePermissions & AddAuthenticated(const AuthenticatedElement &value)
BackendStoragePermissions & WithAuthenticated(const Aws::Vector< AuthenticatedElement > &value)
const Aws::Vector< UnAuthenticatedElement > & GetUnAuthenticated() const
AWS_AMPLIFYBACKEND_API BackendStoragePermissions(Aws::Utils::Json::JsonView jsonValue)
void SetAuthenticated(const Aws::Vector< AuthenticatedElement > &value)
BackendStoragePermissions & WithUnAuthenticated(Aws::Vector< UnAuthenticatedElement > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue