/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { class AWS_COGNITOIDENTITYPROVIDER_API VerifySoftwareTokenResult { public: VerifySoftwareTokenResult(); VerifySoftwareTokenResult(const Aws::AmazonWebServiceResult& result); VerifySoftwareTokenResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The status of the verify software token.

*/ inline const VerifySoftwareTokenResponseType& GetStatus() const{ return m_status; } /** *

The status of the verify software token.

*/ inline void SetStatus(const VerifySoftwareTokenResponseType& value) { m_status = value; } /** *

The status of the verify software token.

*/ inline void SetStatus(VerifySoftwareTokenResponseType&& value) { m_status = std::move(value); } /** *

The status of the verify software token.

*/ inline VerifySoftwareTokenResult& WithStatus(const VerifySoftwareTokenResponseType& value) { SetStatus(value); return *this;} /** *

The status of the verify software token.

*/ inline VerifySoftwareTokenResult& WithStatus(VerifySoftwareTokenResponseType&& value) { SetStatus(std::move(value)); return *this;} /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline const Aws::String& GetSession() const{ return m_session; } /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline void SetSession(const Aws::String& value) { m_session = value; } /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline void SetSession(Aws::String&& value) { m_session = std::move(value); } /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline void SetSession(const char* value) { m_session.assign(value); } /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline VerifySoftwareTokenResult& WithSession(const Aws::String& value) { SetSession(value); return *this;} /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline VerifySoftwareTokenResult& WithSession(Aws::String&& value) { SetSession(std::move(value)); return *this;} /** *

The session which should be passed both ways in challenge-response calls to * the service.

*/ inline VerifySoftwareTokenResult& WithSession(const char* value) { SetSession(value); return *this;} private: VerifySoftwareTokenResponseType m_status; Aws::String m_session; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws