AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBackendConfigRequest.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/LoginAuthConfigReqObj.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AmplifyBackend
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_AMPLIFYBACKEND_API UpdateBackendConfigRequest();
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 "UpdateBackendConfig"; }
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 UpdateBackendConfigRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
49 inline UpdateBackendConfigRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
50 inline UpdateBackendConfigRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
52
54
57 inline const LoginAuthConfigReqObj& GetLoginAuthConfig() const{ return m_loginAuthConfig; }
58 inline bool LoginAuthConfigHasBeenSet() const { return m_loginAuthConfigHasBeenSet; }
59 inline void SetLoginAuthConfig(const LoginAuthConfigReqObj& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = value; }
60 inline void SetLoginAuthConfig(LoginAuthConfigReqObj&& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = std::move(value); }
64 private:
65
66 Aws::String m_appId;
67 bool m_appIdHasBeenSet = false;
68
69 LoginAuthConfigReqObj m_loginAuthConfig;
70 bool m_loginAuthConfigHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace AmplifyBackend
75} // namespace Aws
UpdateBackendConfigRequest & WithAppId(const char *value)
void SetLoginAuthConfig(const LoginAuthConfigReqObj &value)
UpdateBackendConfigRequest & WithAppId(Aws::String &&value)
UpdateBackendConfigRequest & WithAppId(const Aws::String &value)
AWS_AMPLIFYBACKEND_API Aws::String SerializePayload() const override
UpdateBackendConfigRequest & WithLoginAuthConfig(const LoginAuthConfigReqObj &value)
UpdateBackendConfigRequest & WithLoginAuthConfig(LoginAuthConfigReqObj &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String