AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteBackendStorageRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/amplifybackend/model/ServiceName.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AmplifyBackend {
16namespace Model {
17
24 public:
25 AWS_AMPLIFYBACKEND_API DeleteBackendStorageRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteBackendStorage"; }
32
33 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
41 template <typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) {
43 m_appIdHasBeenSet = true;
44 m_appId = std::forward<AppIdT>(value);
45 }
46 template <typename AppIdT = Aws::String>
48 SetAppId(std::forward<AppIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBackendEnvironmentName() const { return m_backendEnvironmentName; }
58 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
59 template <typename BackendEnvironmentNameT = Aws::String>
60 void SetBackendEnvironmentName(BackendEnvironmentNameT&& value) {
61 m_backendEnvironmentNameHasBeenSet = true;
62 m_backendEnvironmentName = std::forward<BackendEnvironmentNameT>(value);
63 }
64 template <typename BackendEnvironmentNameT = Aws::String>
65 DeleteBackendStorageRequest& WithBackendEnvironmentName(BackendEnvironmentNameT&& value) {
66 SetBackendEnvironmentName(std::forward<BackendEnvironmentNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResourceName() const { return m_resourceName; }
76 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
77 template <typename ResourceNameT = Aws::String>
78 void SetResourceName(ResourceNameT&& value) {
79 m_resourceNameHasBeenSet = true;
80 m_resourceName = std::forward<ResourceNameT>(value);
81 }
82 template <typename ResourceNameT = Aws::String>
84 SetResourceName(std::forward<ResourceNameT>(value));
85 return *this;
86 }
88
90
93 inline ServiceName GetServiceName() const { return m_serviceName; }
94 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
95 inline void SetServiceName(ServiceName value) {
96 m_serviceNameHasBeenSet = true;
97 m_serviceName = value;
98 }
100 SetServiceName(value);
101 return *this;
102 }
104 private:
105 Aws::String m_appId;
106
107 Aws::String m_backendEnvironmentName;
108
109 Aws::String m_resourceName;
110
111 ServiceName m_serviceName{ServiceName::NOT_SET};
112 bool m_appIdHasBeenSet = false;
113 bool m_backendEnvironmentNameHasBeenSet = false;
114 bool m_resourceNameHasBeenSet = false;
115 bool m_serviceNameHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace AmplifyBackend
120} // namespace Aws
DeleteBackendStorageRequest & WithBackendEnvironmentName(BackendEnvironmentNameT &&value)
DeleteBackendStorageRequest & WithResourceName(ResourceNameT &&value)
AWS_AMPLIFYBACKEND_API DeleteBackendStorageRequest()=default
DeleteBackendStorageRequest & WithAppId(AppIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
DeleteBackendStorageRequest & WithServiceName(ServiceName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String