AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBackendStorageResourceConfig.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/model/BackendStoragePermissions.h>
9#include <aws/amplifybackend/model/ServiceName.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AmplifyBackend
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig() = default;
39 AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const BackendStoragePermissions& GetPermissions() const { return m_permissions; }
47 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
48 template<typename PermissionsT = BackendStoragePermissions>
49 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
50 template<typename PermissionsT = BackendStoragePermissions>
51 UpdateBackendStorageResourceConfig& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
53
55
58 inline ServiceName GetServiceName() const { return m_serviceName; }
59 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
60 inline void SetServiceName(ServiceName value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
63 private:
64
65 BackendStoragePermissions m_permissions;
66 bool m_permissionsHasBeenSet = false;
67
68 ServiceName m_serviceName{ServiceName::NOT_SET};
69 bool m_serviceNameHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace AmplifyBackend
74} // namespace Aws
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig()=default
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateBackendStorageResourceConfig & WithServiceName(ServiceName value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendStorageResourceConfig & WithPermissions(PermissionsT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue