Skip to content

Commit b724f08

Browse files
Code regeneration example
1 parent 7596265 commit b724f08

File tree

1,065 files changed

+14753
-201963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,065 files changed

+14753
-201963
lines changed

generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/AccountRecoverySettingType.h

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -39,46 +39,19 @@ namespace Model
3939
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
4040

4141

42+
///@{
4243
/**
4344
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
4445
*/
4546
inline const Aws::Vector<RecoveryOptionType>& GetRecoveryMechanisms() const{ return m_recoveryMechanisms; }
46-
47-
/**
48-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
49-
*/
5047
inline bool RecoveryMechanismsHasBeenSet() const { return m_recoveryMechanismsHasBeenSet; }
51-
52-
/**
53-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
54-
*/
5548
inline void SetRecoveryMechanisms(const Aws::Vector<RecoveryOptionType>& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms = value; }
56-
57-
/**
58-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
59-
*/
6049
inline void SetRecoveryMechanisms(Aws::Vector<RecoveryOptionType>&& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms = std::move(value); }
61-
62-
/**
63-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
64-
*/
6550
inline AccountRecoverySettingType& WithRecoveryMechanisms(const Aws::Vector<RecoveryOptionType>& value) { SetRecoveryMechanisms(value); return *this;}
66-
67-
/**
68-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
69-
*/
7051
inline AccountRecoverySettingType& WithRecoveryMechanisms(Aws::Vector<RecoveryOptionType>&& value) { SetRecoveryMechanisms(std::move(value)); return *this;}
71-
72-
/**
73-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
74-
*/
7552
inline AccountRecoverySettingType& AddRecoveryMechanisms(const RecoveryOptionType& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms.push_back(value); return *this; }
76-
77-
/**
78-
* <p>The list of <code>RecoveryOptionTypes</code>.</p>
79-
*/
8053
inline AccountRecoverySettingType& AddRecoveryMechanisms(RecoveryOptionType&& value) { m_recoveryMechanismsHasBeenSet = true; m_recoveryMechanisms.push_back(std::move(value)); return *this; }
81-
54+
///@}
8255
private:
8356

8457
Aws::Vector<RecoveryOptionType> m_recoveryMechanisms;

generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/AccountTakeoverActionType.h

Lines changed: 4 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,17 @@ namespace Model
3737
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
3838

3939

40+
///@{
4041
/**
4142
* <p>Flag specifying whether to send a notification.</p>
4243
*/
4344
inline bool GetNotify() const{ return m_notify; }
44-
45-
/**
46-
* <p>Flag specifying whether to send a notification.</p>
47-
*/
4845
inline bool NotifyHasBeenSet() const { return m_notifyHasBeenSet; }
49-
50-
/**
51-
* <p>Flag specifying whether to send a notification.</p>
52-
*/
5346
inline void SetNotify(bool value) { m_notifyHasBeenSet = true; m_notify = value; }
54-
55-
/**
56-
* <p>Flag specifying whether to send a notification.</p>
57-
*/
5847
inline AccountTakeoverActionType& WithNotify(bool value) { SetNotify(value); return *this;}
48+
///@}
5949

60-
50+
///@{
6151
/**
6252
* <p>The action to take in response to the account takeover action. Valid values
6353
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
@@ -68,62 +58,12 @@ namespace Model
6858
* user to sign in.</p> </li> </ul>
6959
*/
7060
inline const AccountTakeoverEventActionType& GetEventAction() const{ return m_eventAction; }
71-
72-
/**
73-
* <p>The action to take in response to the account takeover action. Valid values
74-
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
75-
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
76-
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
77-
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
78-
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
79-
* user to sign in.</p> </li> </ul>
80-
*/
8161
inline bool EventActionHasBeenSet() const { return m_eventActionHasBeenSet; }
82-
83-
/**
84-
* <p>The action to take in response to the account takeover action. Valid values
85-
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
86-
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
87-
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
88-
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
89-
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
90-
* user to sign in.</p> </li> </ul>
91-
*/
9262
inline void SetEventAction(const AccountTakeoverEventActionType& value) { m_eventActionHasBeenSet = true; m_eventAction = value; }
93-
94-
/**
95-
* <p>The action to take in response to the account takeover action. Valid values
96-
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
97-
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
98-
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
99-
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
100-
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
101-
* user to sign in.</p> </li> </ul>
102-
*/
10363
inline void SetEventAction(AccountTakeoverEventActionType&& value) { m_eventActionHasBeenSet = true; m_eventAction = std::move(value); }
104-
105-
/**
106-
* <p>The action to take in response to the account takeover action. Valid values
107-
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
108-
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
109-
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
110-
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
111-
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
112-
* user to sign in.</p> </li> </ul>
113-
*/
11464
inline AccountTakeoverActionType& WithEventAction(const AccountTakeoverEventActionType& value) { SetEventAction(value); return *this;}
115-
116-
/**
117-
* <p>The action to take in response to the account takeover action. Valid values
118-
* are as follows:</p> <ul> <li> <p> <code>BLOCK</code> Choosing this action will
119-
* block the request.</p> </li> <li> <p> <code>MFA_IF_CONFIGURED</code> Present an
120-
* MFA challenge if user has configured it, else allow the request.</p> </li> <li>
121-
* <p> <code>MFA_REQUIRED</code> Present an MFA challenge if user has configured
122-
* it, else block the request.</p> </li> <li> <p> <code>NO_ACTION</code> Allow the
123-
* user to sign in.</p> </li> </ul>
124-
*/
12565
inline AccountTakeoverActionType& WithEventAction(AccountTakeoverEventActionType&& value) { SetEventAction(std::move(value)); return *this;}
126-
66+
///@}
12767
private:
12868

12969
bool m_notify;

generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/AccountTakeoverActionsType.h

Lines changed: 6 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -37,98 +37,41 @@ namespace Model
3737
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
3838

3939

40+
///@{
4041
/**
4142
* <p>Action to take for a low risk.</p>
4243
*/
4344
inline const AccountTakeoverActionType& GetLowAction() const{ return m_lowAction; }
44-
45-
/**
46-
* <p>Action to take for a low risk.</p>
47-
*/
4845
inline bool LowActionHasBeenSet() const { return m_lowActionHasBeenSet; }
49-
50-
/**
51-
* <p>Action to take for a low risk.</p>
52-
*/
5346
inline void SetLowAction(const AccountTakeoverActionType& value) { m_lowActionHasBeenSet = true; m_lowAction = value; }
54-
55-
/**
56-
* <p>Action to take for a low risk.</p>
57-
*/
5847
inline void SetLowAction(AccountTakeoverActionType&& value) { m_lowActionHasBeenSet = true; m_lowAction = std::move(value); }
59-
60-
/**
61-
* <p>Action to take for a low risk.</p>
62-
*/
6348
inline AccountTakeoverActionsType& WithLowAction(const AccountTakeoverActionType& value) { SetLowAction(value); return *this;}
64-
65-
/**
66-
* <p>Action to take for a low risk.</p>
67-
*/
6849
inline AccountTakeoverActionsType& WithLowAction(AccountTakeoverActionType&& value) { SetLowAction(std::move(value)); return *this;}
50+
///@}
6951

70-
52+
///@{
7153
/**
7254
* <p>Action to take for a medium risk.</p>
7355
*/
7456
inline const AccountTakeoverActionType& GetMediumAction() const{ return m_mediumAction; }
75-
76-
/**
77-
* <p>Action to take for a medium risk.</p>
78-
*/
7957
inline bool MediumActionHasBeenSet() const { return m_mediumActionHasBeenSet; }
80-
81-
/**
82-
* <p>Action to take for a medium risk.</p>
83-
*/
8458
inline void SetMediumAction(const AccountTakeoverActionType& value) { m_mediumActionHasBeenSet = true; m_mediumAction = value; }
85-
86-
/**
87-
* <p>Action to take for a medium risk.</p>
88-
*/
8959
inline void SetMediumAction(AccountTakeoverActionType&& value) { m_mediumActionHasBeenSet = true; m_mediumAction = std::move(value); }
90-
91-
/**
92-
* <p>Action to take for a medium risk.</p>
93-
*/
9460
inline AccountTakeoverActionsType& WithMediumAction(const AccountTakeoverActionType& value) { SetMediumAction(value); return *this;}
95-
96-
/**
97-
* <p>Action to take for a medium risk.</p>
98-
*/
9961
inline AccountTakeoverActionsType& WithMediumAction(AccountTakeoverActionType&& value) { SetMediumAction(std::move(value)); return *this;}
62+
///@}
10063

101-
64+
///@{
10265
/**
10366
* <p>Action to take for a high risk.</p>
10467
*/
10568
inline const AccountTakeoverActionType& GetHighAction() const{ return m_highAction; }
106-
107-
/**
108-
* <p>Action to take for a high risk.</p>
109-
*/
11069
inline bool HighActionHasBeenSet() const { return m_highActionHasBeenSet; }
111-
112-
/**
113-
* <p>Action to take for a high risk.</p>
114-
*/
11570
inline void SetHighAction(const AccountTakeoverActionType& value) { m_highActionHasBeenSet = true; m_highAction = value; }
116-
117-
/**
118-
* <p>Action to take for a high risk.</p>
119-
*/
12071
inline void SetHighAction(AccountTakeoverActionType&& value) { m_highActionHasBeenSet = true; m_highAction = std::move(value); }
121-
122-
/**
123-
* <p>Action to take for a high risk.</p>
124-
*/
12572
inline AccountTakeoverActionsType& WithHighAction(const AccountTakeoverActionType& value) { SetHighAction(value); return *this;}
126-
127-
/**
128-
* <p>Action to take for a high risk.</p>
129-
*/
13073
inline AccountTakeoverActionsType& WithHighAction(AccountTakeoverActionType&& value) { SetHighAction(std::move(value)); return *this;}
131-
74+
///@}
13275
private:
13376

13477
AccountTakeoverActionType m_lowAction;

generated/src/aws-cpp-sdk-cognito-idp/include/aws/cognito-idp/model/AccountTakeoverRiskConfigurationType.h

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -39,67 +39,29 @@ namespace Model
3939
AWS_COGNITOIDENTITYPROVIDER_API Aws::Utils::Json::JsonValue Jsonize() const;
4040

4141

42+
///@{
4243
/**
4344
* <p>The notify configuration used to construct email notifications.</p>
4445
*/
4546
inline const NotifyConfigurationType& GetNotifyConfiguration() const{ return m_notifyConfiguration; }
46-
47-
/**
48-
* <p>The notify configuration used to construct email notifications.</p>
49-
*/
5047
inline bool NotifyConfigurationHasBeenSet() const { return m_notifyConfigurationHasBeenSet; }
51-
52-
/**
53-
* <p>The notify configuration used to construct email notifications.</p>
54-
*/
5548
inline void SetNotifyConfiguration(const NotifyConfigurationType& value) { m_notifyConfigurationHasBeenSet = true; m_notifyConfiguration = value; }
56-
57-
/**
58-
* <p>The notify configuration used to construct email notifications.</p>
59-
*/
6049
inline void SetNotifyConfiguration(NotifyConfigurationType&& value) { m_notifyConfigurationHasBeenSet = true; m_notifyConfiguration = std::move(value); }
61-
62-
/**
63-
* <p>The notify configuration used to construct email notifications.</p>
64-
*/
6550
inline AccountTakeoverRiskConfigurationType& WithNotifyConfiguration(const NotifyConfigurationType& value) { SetNotifyConfiguration(value); return *this;}
66-
67-
/**
68-
* <p>The notify configuration used to construct email notifications.</p>
69-
*/
7051
inline AccountTakeoverRiskConfigurationType& WithNotifyConfiguration(NotifyConfigurationType&& value) { SetNotifyConfiguration(std::move(value)); return *this;}
52+
///@}
7153

72-
54+
///@{
7355
/**
7456
* <p>Account takeover risk configuration actions.</p>
7557
*/
7658
inline const AccountTakeoverActionsType& GetActions() const{ return m_actions; }
77-
78-
/**
79-
* <p>Account takeover risk configuration actions.</p>
80-
*/
8159
inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
82-
83-
/**
84-
* <p>Account takeover risk configuration actions.</p>
85-
*/
8660
inline void SetActions(const AccountTakeoverActionsType& value) { m_actionsHasBeenSet = true; m_actions = value; }
87-
88-
/**
89-
* <p>Account takeover risk configuration actions.</p>
90-
*/
9161
inline void SetActions(AccountTakeoverActionsType&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
92-
93-
/**
94-
* <p>Account takeover risk configuration actions.</p>
95-
*/
9662
inline AccountTakeoverRiskConfigurationType& WithActions(const AccountTakeoverActionsType& value) { SetActions(value); return *this;}
97-
98-
/**
99-
* <p>Account takeover risk configuration actions.</p>
100-
*/
10163
inline AccountTakeoverRiskConfigurationType& WithActions(AccountTakeoverActionsType&& value) { SetActions(std::move(value)); return *this;}
102-
64+
///@}
10365
private:
10466

10567
NotifyConfigurationType m_notifyConfiguration;

0 commit comments

Comments
 (0)