/** * 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 VerifySoftwareTokenResult { public: AWS_COGNITOIDENTITYPROVIDER_API VerifySoftwareTokenResult(); AWS_COGNITOIDENTITYPROVIDER_API VerifySoftwareTokenResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITYPROVIDER_API 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 that should be passed both ways in challenge-response calls to * the service.

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

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

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

The session that 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 that should be passed both ways in challenge-response calls to * the service.

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

The session that 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 that 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 that should be passed both ways in challenge-response calls to * the service.

*/ inline VerifySoftwareTokenResult& WithSession(const char* value) { SetSession(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline VerifySoftwareTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline VerifySoftwareTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline VerifySoftwareTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: VerifySoftwareTokenResponseType m_status; Aws::String m_session; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws