AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetRiskConfigurationRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/CompromisedCredentialsRiskConfigurationType.h>
11#include <aws/cognito-idp/model/AccountTakeoverRiskConfigurationType.h>
12#include <aws/cognito-idp/model/RiskExceptionConfigurationType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CognitoIdentityProvider
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_COGNITOIDENTITYPROVIDER_API SetRiskConfigurationRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "SetRiskConfiguration"; }
34
35 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
36
37 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
45 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
46 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
47 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
48 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
49 inline SetRiskConfigurationRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
50 inline SetRiskConfigurationRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
51 inline SetRiskConfigurationRequest& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;}
53
55
63 inline const Aws::String& GetClientId() const{ return m_clientId; }
64 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
65 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
66 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
67 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
68 inline SetRiskConfigurationRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
69 inline SetRiskConfigurationRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
70 inline SetRiskConfigurationRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
72
74
77 inline const CompromisedCredentialsRiskConfigurationType& GetCompromisedCredentialsRiskConfiguration() const{ return m_compromisedCredentialsRiskConfiguration; }
78 inline bool CompromisedCredentialsRiskConfigurationHasBeenSet() const { return m_compromisedCredentialsRiskConfigurationHasBeenSet; }
79 inline void SetCompromisedCredentialsRiskConfiguration(const CompromisedCredentialsRiskConfigurationType& value) { m_compromisedCredentialsRiskConfigurationHasBeenSet = true; m_compromisedCredentialsRiskConfiguration = value; }
80 inline void SetCompromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType&& value) { m_compromisedCredentialsRiskConfigurationHasBeenSet = true; m_compromisedCredentialsRiskConfiguration = std::move(value); }
84
86
89 inline const AccountTakeoverRiskConfigurationType& GetAccountTakeoverRiskConfiguration() const{ return m_accountTakeoverRiskConfiguration; }
90 inline bool AccountTakeoverRiskConfigurationHasBeenSet() const { return m_accountTakeoverRiskConfigurationHasBeenSet; }
91 inline void SetAccountTakeoverRiskConfiguration(const AccountTakeoverRiskConfigurationType& value) { m_accountTakeoverRiskConfigurationHasBeenSet = true; m_accountTakeoverRiskConfiguration = value; }
92 inline void SetAccountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType&& value) { m_accountTakeoverRiskConfigurationHasBeenSet = true; m_accountTakeoverRiskConfiguration = std::move(value); }
96
98
101 inline const RiskExceptionConfigurationType& GetRiskExceptionConfiguration() const{ return m_riskExceptionConfiguration; }
102 inline bool RiskExceptionConfigurationHasBeenSet() const { return m_riskExceptionConfigurationHasBeenSet; }
103 inline void SetRiskExceptionConfiguration(const RiskExceptionConfigurationType& value) { m_riskExceptionConfigurationHasBeenSet = true; m_riskExceptionConfiguration = value; }
104 inline void SetRiskExceptionConfiguration(RiskExceptionConfigurationType&& value) { m_riskExceptionConfigurationHasBeenSet = true; m_riskExceptionConfiguration = std::move(value); }
108 private:
109
110 Aws::String m_userPoolId;
111 bool m_userPoolIdHasBeenSet = false;
112
113 Aws::String m_clientId;
114 bool m_clientIdHasBeenSet = false;
115
116 CompromisedCredentialsRiskConfigurationType m_compromisedCredentialsRiskConfiguration;
117 bool m_compromisedCredentialsRiskConfigurationHasBeenSet = false;
118
119 AccountTakeoverRiskConfigurationType m_accountTakeoverRiskConfiguration;
120 bool m_accountTakeoverRiskConfigurationHasBeenSet = false;
121
122 RiskExceptionConfigurationType m_riskExceptionConfiguration;
123 bool m_riskExceptionConfigurationHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace CognitoIdentityProvider
128} // namespace Aws
const AccountTakeoverRiskConfigurationType & GetAccountTakeoverRiskConfiguration() const
void SetRiskExceptionConfiguration(const RiskExceptionConfigurationType &value)
void SetCompromisedCredentialsRiskConfiguration(const CompromisedCredentialsRiskConfigurationType &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
const CompromisedCredentialsRiskConfigurationType & GetCompromisedCredentialsRiskConfiguration() const
SetRiskConfigurationRequest & WithUserPoolId(const Aws::String &value)
void SetCompromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType &&value)
SetRiskConfigurationRequest & WithAccountTakeoverRiskConfiguration(const AccountTakeoverRiskConfigurationType &value)
SetRiskConfigurationRequest & WithUserPoolId(Aws::String &&value)
SetRiskConfigurationRequest & WithAccountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType &&value)
SetRiskConfigurationRequest & WithClientId(const Aws::String &value)
const RiskExceptionConfigurationType & GetRiskExceptionConfiguration() const
SetRiskConfigurationRequest & WithClientId(Aws::String &&value)
SetRiskConfigurationRequest & WithCompromisedCredentialsRiskConfiguration(const CompromisedCredentialsRiskConfigurationType &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SetRiskConfigurationRequest & WithRiskExceptionConfiguration(RiskExceptionConfigurationType &&value)
SetRiskConfigurationRequest & WithRiskExceptionConfiguration(const RiskExceptionConfigurationType &value)
void SetAccountTakeoverRiskConfiguration(const AccountTakeoverRiskConfigurationType &value)
SetRiskConfigurationRequest & WithCompromisedCredentialsRiskConfiguration(CompromisedCredentialsRiskConfigurationType &&value)
void SetAccountTakeoverRiskConfiguration(AccountTakeoverRiskConfigurationType &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String