AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateBackendConfigRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AmplifyBackend {
15namespace Model {
16
23 public:
24 AWS_AMPLIFYBACKEND_API CreateBackendConfigRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateBackendConfig"; }
31
32 AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetBackendManagerAppId() const { return m_backendManagerAppId; }
57 inline bool BackendManagerAppIdHasBeenSet() const { return m_backendManagerAppIdHasBeenSet; }
58 template <typename BackendManagerAppIdT = Aws::String>
59 void SetBackendManagerAppId(BackendManagerAppIdT&& value) {
60 m_backendManagerAppIdHasBeenSet = true;
61 m_backendManagerAppId = std::forward<BackendManagerAppIdT>(value);
62 }
63 template <typename BackendManagerAppIdT = Aws::String>
64 CreateBackendConfigRequest& WithBackendManagerAppId(BackendManagerAppIdT&& value) {
65 SetBackendManagerAppId(std::forward<BackendManagerAppIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_appId;
71
72 Aws::String m_backendManagerAppId;
73 bool m_appIdHasBeenSet = false;
74 bool m_backendManagerAppIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace AmplifyBackend
79} // namespace Aws
CreateBackendConfigRequest & WithAppId(AppIdT &&value)
CreateBackendConfigRequest & WithBackendManagerAppId(BackendManagerAppIdT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
AWS_AMPLIFYBACKEND_API CreateBackendConfigRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String