AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPermissions(const BackendStoragePermissions& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
49 inline void SetPermissions(BackendStoragePermissions&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
53
55
58 inline const ServiceName& GetServiceName() const{ return m_serviceName; }
59 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
60 inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
61 inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
63 inline UpdateBackendStorageResourceConfig& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;}
65 private:
66
67 BackendStoragePermissions m_permissions;
68 bool m_permissionsHasBeenSet = false;
69
70 ServiceName m_serviceName;
71 bool m_serviceNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AmplifyBackend
76} // namespace Aws
UpdateBackendStorageResourceConfig & WithPermissions(BackendStoragePermissions &&value)
UpdateBackendStorageResourceConfig & WithServiceName(ServiceName &&value)
AWS_AMPLIFYBACKEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig(Aws::Utils::Json::JsonView jsonValue)
UpdateBackendStorageResourceConfig & WithServiceName(const ServiceName &value)
UpdateBackendStorageResourceConfig & WithPermissions(const BackendStoragePermissions &value)
AWS_AMPLIFYBACKEND_API UpdateBackendStorageResourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue