AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateBackendConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AmplifyBackend
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAppId() const{ return m_appId; }
43 
47  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 
52  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
53 
57  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
58 
62  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
63 
67  inline UpdateBackendConfigRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
68 
72  inline UpdateBackendConfigRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
73 
77  inline UpdateBackendConfigRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
78 
79 
83  inline const LoginAuthConfigReqObj& GetLoginAuthConfig() const{ return m_loginAuthConfig; }
84 
88  inline bool LoginAuthConfigHasBeenSet() const { return m_loginAuthConfigHasBeenSet; }
89 
93  inline void SetLoginAuthConfig(const LoginAuthConfigReqObj& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = value; }
94 
98  inline void SetLoginAuthConfig(LoginAuthConfigReqObj&& value) { m_loginAuthConfigHasBeenSet = true; m_loginAuthConfig = std::move(value); }
99 
103  inline UpdateBackendConfigRequest& WithLoginAuthConfig(const LoginAuthConfigReqObj& value) { SetLoginAuthConfig(value); return *this;}
104 
108  inline UpdateBackendConfigRequest& WithLoginAuthConfig(LoginAuthConfigReqObj&& value) { SetLoginAuthConfig(std::move(value)); return *this;}
109 
110  private:
111 
112  Aws::String m_appId;
113  bool m_appIdHasBeenSet;
114 
115  LoginAuthConfigReqObj m_loginAuthConfig;
116  bool m_loginAuthConfigHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace AmplifyBackend
121 } // namespace Aws
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SetAppId
void SetAppId(const char *value)
Definition: UpdateBackendConfigRequest.h:62
Aws::AmplifyBackend::Model::LoginAuthConfigReqObj
Definition: LoginAuthConfigReqObj.h:32
LoginAuthConfigReqObj.h
AWS_AMPLIFYBACKEND_API
#define AWS_AMPLIFYBACKEND_API
Definition: AmplifyBackend_EXPORTS.h:28
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::WithLoginAuthConfig
UpdateBackendConfigRequest & WithLoginAuthConfig(const LoginAuthConfigReqObj &value)
Definition: UpdateBackendConfigRequest.h:103
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::WithAppId
UpdateBackendConfigRequest & WithAppId(Aws::String &&value)
Definition: UpdateBackendConfigRequest.h:72
AmplifyBackendRequest.h
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::WithAppId
UpdateBackendConfigRequest & WithAppId(const char *value)
Definition: UpdateBackendConfigRequest.h:77
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AmplifyBackend::AmplifyBackendRequest
Definition: AmplifyBackendRequest.h:17
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::LoginAuthConfigHasBeenSet
bool LoginAuthConfigHasBeenSet() const
Definition: UpdateBackendConfigRequest.h:88
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SetLoginAuthConfig
void SetLoginAuthConfig(const LoginAuthConfigReqObj &value)
Definition: UpdateBackendConfigRequest.h:93
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::GetAppId
const Aws::String & GetAppId() const
Definition: UpdateBackendConfigRequest.h:42
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::WithLoginAuthConfig
UpdateBackendConfigRequest & WithLoginAuthConfig(LoginAuthConfigReqObj &&value)
Definition: UpdateBackendConfigRequest.h:108
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: UpdateBackendConfigRequest.h:47
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::WithAppId
UpdateBackendConfigRequest & WithAppId(const Aws::String &value)
Definition: UpdateBackendConfigRequest.h:67
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::UpdateBackendConfigRequest
UpdateBackendConfigRequest()
AWSString.h
AmplifyBackend_EXPORTS.h
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SetLoginAuthConfig
void SetLoginAuthConfig(LoginAuthConfigReqObj &&value)
Definition: UpdateBackendConfigRequest.h:98
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::GetLoginAuthConfig
const LoginAuthConfigReqObj & GetLoginAuthConfig() const
Definition: UpdateBackendConfigRequest.h:83
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest
Definition: UpdateBackendConfigRequest.h:26
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: UpdateBackendConfigRequest.h:52
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateBackendConfigRequest.h:34
Aws::AmplifyBackend::Model::UpdateBackendConfigRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: UpdateBackendConfigRequest.h:57