AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportBackendStorageRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
8#include <aws/amplifybackend/AmplifyBackendRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifybackend/model/ServiceName.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AmplifyBackend
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_AMPLIFYBACKEND_API ImportBackendStorageRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ImportBackendStorage"; }
35
36 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetAppId() const{ return m_appId; }
44 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
45 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
46 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
47 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
48 inline ImportBackendStorageRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
49 inline ImportBackendStorageRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
50 inline ImportBackendStorageRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
52
54
57 inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; }
58 inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; }
59 inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; }
60 inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); }
61 inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); }
64 inline ImportBackendStorageRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;}
66
68
71 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
72 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
73 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
74 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
75 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
76 inline ImportBackendStorageRequest& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
77 inline ImportBackendStorageRequest& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
78 inline ImportBackendStorageRequest& WithBucketName(const char* value) { SetBucketName(value); return *this;}
80
82
85 inline const ServiceName& GetServiceName() const{ return m_serviceName; }
86 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
87 inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
88 inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
89 inline ImportBackendStorageRequest& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;}
90 inline ImportBackendStorageRequest& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;}
92 private:
93
94 Aws::String m_appId;
95 bool m_appIdHasBeenSet = false;
96
97 Aws::String m_backendEnvironmentName;
98 bool m_backendEnvironmentNameHasBeenSet = false;
99
100 Aws::String m_bucketName;
101 bool m_bucketNameHasBeenSet = false;
102
103 ServiceName m_serviceName;
104 bool m_serviceNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AmplifyBackend
109} // namespace Aws
ImportBackendStorageRequest & WithAppId(Aws::String &&value)
ImportBackendStorageRequest & WithBucketName(const Aws::String &value)
ImportBackendStorageRequest & WithServiceName(const ServiceName &value)
ImportBackendStorageRequest & WithBucketName(Aws::String &&value)
ImportBackendStorageRequest & WithServiceName(ServiceName &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
ImportBackendStorageRequest & WithBackendEnvironmentName(const char *value)
ImportBackendStorageRequest & WithAppId(const char *value)
ImportBackendStorageRequest & WithBackendEnvironmentName(const Aws::String &value)
ImportBackendStorageRequest & WithBucketName(const char *value)
ImportBackendStorageRequest & WithBackendEnvironmentName(Aws::String &&value)
ImportBackendStorageRequest & WithAppId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String