AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateBackendConfigRequest.h
1
6#pragma once
7#include <aws/amplifybackend/AmplifyBackendRequest.h>
8#include <aws/amplifybackend/AmplifyBackend_EXPORTS.h>
9#include <aws/amplifybackend/model/LoginAuthConfigReqObj.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 UpdateBackendConfigRequest() = 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 "UpdateBackendConfig"; }
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 LoginAuthConfigReqObj& GetLoginAuthConfig() const { return m_loginAuthConfig; }
58 inline bool LoginAuthConfigHasBeenSet() const { return m_loginAuthConfigHasBeenSet; }
59 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
60 void SetLoginAuthConfig(LoginAuthConfigT&& value) {
61 m_loginAuthConfigHasBeenSet = true;
62 m_loginAuthConfig = std::forward<LoginAuthConfigT>(value);
63 }
64 template <typename LoginAuthConfigT = LoginAuthConfigReqObj>
66 SetLoginAuthConfig(std::forward<LoginAuthConfigT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_appId;
72
73 LoginAuthConfigReqObj m_loginAuthConfig;
74 bool m_appIdHasBeenSet = false;
75 bool m_loginAuthConfigHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AmplifyBackend
80} // namespace Aws
UpdateBackendConfigRequest & WithAppId(AppIdT &&value)
AWS_AMPLIFYBACKEND_API UpdateBackendConfigRequest()=default
UpdateBackendConfigRequest & WithLoginAuthConfig(LoginAuthConfigT &&value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String