/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the request to set user settings.See Also:
AWS
* API Reference
A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline const Aws::String& GetAccessToken() const{ return m_accessToken; } /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline SetUserSettingsRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline SetUserSettingsRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose user * settings you want to configure.
*/ inline SetUserSettingsRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} /** *You can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline const Aws::VectorYou can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline bool MFAOptionsHasBeenSet() const { return m_mFAOptionsHasBeenSet; } /** *You can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline void SetMFAOptions(const Aws::VectorYou can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline void SetMFAOptions(Aws::VectorYou can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline SetUserSettingsRequest& WithMFAOptions(const Aws::VectorYou can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline SetUserSettingsRequest& WithMFAOptions(Aws::VectorYou can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline SetUserSettingsRequest& AddMFAOptions(const MFAOptionType& value) { m_mFAOptionsHasBeenSet = true; m_mFAOptions.push_back(value); return *this; } /** *You can use this parameter only to set an SMS configuration that uses SMS for * delivery.
*/ inline SetUserSettingsRequest& AddMFAOptions(MFAOptionType&& value) { m_mFAOptionsHasBeenSet = true; m_mFAOptions.push_back(std::move(value)); return *this; } private: Aws::String m_accessToken; bool m_accessTokenHasBeenSet = false; Aws::Vector