Skip to content

Commit

Permalink
Code regeneration example
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyRyabinin committed Jun 11, 2024
1 parent 7596265 commit b724f08
Show file tree
Hide file tree
Showing 1,065 changed files with 14,753 additions and 201,963 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,46 +39,19 @@ namespace Model
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline const Aws::Vector<RecoveryOptionType>& GetRecoveryMechanisms() const{ return m_recoveryMechanisms; }

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline bool RecoveryMechanismsHasBeenSet() const { return m_recoveryMechanismsHasBeenSet; }

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline void SetRecoveryMechanisms(const Aws::Vector<RecoveryOptionType>& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms = value; }

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline void SetRecoveryMechanisms(Aws::Vector<RecoveryOptionType>&& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms = std::move(value); }

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline AccountRecoverySettingType& WithRecoveryMechanisms(const Aws::Vector<RecoveryOptionType>& value) { SetRecoveryMechanisms(value); return *this;}

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline AccountRecoverySettingType& WithRecoveryMechanisms(Aws::Vector<RecoveryOptionType>&& value) { SetRecoveryMechanisms(std::move(value)); return *this;}

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline AccountRecoverySettingType& AddRecoveryMechanisms(const RecoveryOptionType& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms.push_back(value); return *this; }

/**
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
*/
inline AccountRecoverySettingType& AddRecoveryMechanisms(RecoveryOptionType&& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms.push_back(std::move(value)); return *this; }

///@}
private:

Aws::Vector<RecoveryOptionType> m_recoveryMechanisms;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,17 @@ namespace Model
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>Flag specifying whether to send a notification.</p>
*/
inline bool GetNotify() const{ return m_notify; }

/**
* <p>Flag specifying whether to send a notification.</p>
*/
inline bool NotifyHasBeenSet() const { return m_notifyHasBeenSet; }

/**
* <p>Flag specifying whether to send a notification.</p>
*/
inline void SetNotify(bool value) { m_notifyHasBeenSet = true; m_notify = value; }

/**
* <p>Flag specifying whether to send a notification.</p>
*/
inline AccountTakeoverActionType& WithNotify(bool value) { SetNotify(value); return *this;}
///@}


///@{
/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
Expand All @@ -68,62 +58,12 @@ namespace Model
* user to sign in.</p> </li> </ul>
*/
inline const AccountTakeoverEventActionType& GetEventAction() const{ return m_eventAction; }

/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
* user to sign in.</p> </li> </ul>
*/
inline bool EventActionHasBeenSet() const { return m_eventActionHasBeenSet; }

/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
* user to sign in.</p> </li> </ul>
*/
inline void SetEventAction(const AccountTakeoverEventActionType& value) { m_eventActionHasBeenSet = true; m_eventAction = value; }

/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
* user to sign in.</p> </li> </ul>
*/
inline void SetEventAction(AccountTakeoverEventActionType&& value) { m_eventActionHasBeenSet = true; m_eventAction = std::move(value); }

/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
* user to sign in.</p> </li> </ul>
*/
inline AccountTakeoverActionType& WithEventAction(const AccountTakeoverEventActionType& value) { SetEventAction(value); return *this;}

/**
* <p>The action to take in response to the account takeover action. Valid values
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
* user to sign in.</p> </li> </ul>
*/
inline AccountTakeoverActionType& WithEventAction(AccountTakeoverEventActionType&& value) { SetEventAction(std::move(value)); return *this;}

///@}
private:

bool m_notify;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,98 +37,41 @@ namespace Model
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>Action to take for a low risk.</p>
*/
inline const AccountTakeoverActionType& GetLowAction() const{ return m_lowAction; }

/**
* <p>Action to take for a low risk.</p>
*/
inline bool LowActionHasBeenSet() const { return m_lowActionHasBeenSet; }

/**
* <p>Action to take for a low risk.</p>
*/
inline void SetLowAction(const AccountTakeoverActionType& value) { m_lowActionHasBeenSet = true; m_lowAction = value; }

/**
* <p>Action to take for a low risk.</p>
*/
inline void SetLowAction(AccountTakeoverActionType&& value) { m_lowActionHasBeenSet = true; m_lowAction = std::move(value); }

/**
* <p>Action to take for a low risk.</p>
*/
inline AccountTakeoverActionsType& WithLowAction(const AccountTakeoverActionType& value) { SetLowAction(value); return *this;}

/**
* <p>Action to take for a low risk.</p>
*/
inline AccountTakeoverActionsType& WithLowAction(AccountTakeoverActionType&& value) { SetLowAction(std::move(value)); return *this;}
///@}


///@{
/**
* <p>Action to take for a medium risk.</p>
*/
inline const AccountTakeoverActionType& GetMediumAction() const{ return m_mediumAction; }

/**
* <p>Action to take for a medium risk.</p>
*/
inline bool MediumActionHasBeenSet() const { return m_mediumActionHasBeenSet; }

/**
* <p>Action to take for a medium risk.</p>
*/
inline void SetMediumAction(const AccountTakeoverActionType& value) { m_mediumActionHasBeenSet = true; m_mediumAction = value; }

/**
* <p>Action to take for a medium risk.</p>
*/
inline void SetMediumAction(AccountTakeoverActionType&& value) { m_mediumActionHasBeenSet = true; m_mediumAction = std::move(value); }

/**
* <p>Action to take for a medium risk.</p>
*/
inline AccountTakeoverActionsType& WithMediumAction(const AccountTakeoverActionType& value) { SetMediumAction(value); return *this;}

/**
* <p>Action to take for a medium risk.</p>
*/
inline AccountTakeoverActionsType& WithMediumAction(AccountTakeoverActionType&& value) { SetMediumAction(std::move(value)); return *this;}
///@}


///@{
/**
* <p>Action to take for a high risk.</p>
*/
inline const AccountTakeoverActionType& GetHighAction() const{ return m_highAction; }

/**
* <p>Action to take for a high risk.</p>
*/
inline bool HighActionHasBeenSet() const { return m_highActionHasBeenSet; }

/**
* <p>Action to take for a high risk.</p>
*/
inline void SetHighAction(const AccountTakeoverActionType& value) { m_highActionHasBeenSet = true; m_highAction = value; }

/**
* <p>Action to take for a high risk.</p>
*/
inline void SetHighAction(AccountTakeoverActionType&& value) { m_highActionHasBeenSet = true; m_highAction = std::move(value); }

/**
* <p>Action to take for a high risk.</p>
*/
inline AccountTakeoverActionsType& WithHighAction(const AccountTakeoverActionType& value) { SetHighAction(value); return *this;}

/**
* <p>Action to take for a high risk.</p>
*/
inline AccountTakeoverActionsType& WithHighAction(AccountTakeoverActionType&& value) { SetHighAction(std::move(value)); return *this;}

///@}
private:

AccountTakeoverActionType m_lowAction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,67 +39,29 @@ namespace Model
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;


///@{
/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline const NotifyConfigurationType& GetNotifyConfiguration() const{ return m_notifyConfiguration; }

/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline bool NotifyConfigurationHasBeenSet() const { return m_notifyConfigurationHasBeenSet; }

/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline void SetNotifyConfiguration(const NotifyConfigurationType& value) { m_notifyConfigurationHasBeenSet = true; m_notifyConfiguration = value; }

/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline void SetNotifyConfiguration(NotifyConfigurationType&& value) { m_notifyConfigurationHasBeenSet = true; m_notifyConfiguration = std::move(value); }

/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline AccountTakeoverRiskConfigurationType& WithNotifyConfiguration(const NotifyConfigurationType& value) { SetNotifyConfiguration(value); return *this;}

/**
* <p>The notify configuration used to construct email notifications.</p>
*/
inline AccountTakeoverRiskConfigurationType& WithNotifyConfiguration(NotifyConfigurationType&& value) { SetNotifyConfiguration(std::move(value)); return *this;}
///@}


///@{
/**
* <p>Account takeover risk configuration actions.</p>
*/
inline const AccountTakeoverActionsType& GetActions() const{ return m_actions; }

/**
* <p>Account takeover risk configuration actions.</p>
*/
inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }

/**
* <p>Account takeover risk configuration actions.</p>
*/
inline void SetActions(const AccountTakeoverActionsType& value) { m_actionsHasBeenSet = true; m_actions = value; }

/**
* <p>Account takeover risk configuration actions.</p>
*/
inline void SetActions(AccountTakeoverActionsType&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }

/**
* <p>Account takeover risk configuration actions.</p>
*/
inline AccountTakeoverRiskConfigurationType& WithActions(const AccountTakeoverActionsType& value) { SetActions(value); return *this;}

/**
* <p>Account takeover risk configuration actions.</p>
*/
inline AccountTakeoverRiskConfigurationType& WithActions(AccountTakeoverActionsType&& value) { SetActions(std::move(value)); return *this;}

///@}
private:

NotifyConfigurationType m_notifyConfiguration;
Expand Down
Loading

0 comments on commit b724f08

Please sign in to comment.