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

The response that is returned from your API Gateway or your Lambda * function.

*/ inline const Aws::String& GetResponse() const{ return m_response; } /** *

The response that is returned from your API Gateway or your Lambda * function.

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

The response that is returned from your API Gateway or your Lambda * function.

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

The response that is returned from your API Gateway or your Lambda * function.

*/ inline void SetResponse(const char* value) { m_response.assign(value); } /** *

The response that is returned from your API Gateway or your Lambda * function.

*/ inline TestIdentityProviderResult& WithResponse(const Aws::String& value) { SetResponse(value); return *this;} /** *

The response that is returned from your API Gateway or your Lambda * function.

*/ inline TestIdentityProviderResult& WithResponse(Aws::String&& value) { SetResponse(std::move(value)); return *this;} /** *

The response that is returned from your API Gateway or your Lambda * function.

*/ inline TestIdentityProviderResult& WithResponse(const char* value) { SetResponse(value); return *this;} /** *

The HTTP status code that is the response from your API Gateway or your * Lambda function.

*/ inline int GetStatusCode() const{ return m_statusCode; } /** *

The HTTP status code that is the response from your API Gateway or your * Lambda function.

*/ inline void SetStatusCode(int value) { m_statusCode = value; } /** *

The HTTP status code that is the response from your API Gateway or your * Lambda function.

*/ inline TestIdentityProviderResult& WithStatusCode(int value) { SetStatusCode(value); return *this;} /** *

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

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

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

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

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

*/ inline void SetMessage(const char* value) { m_message.assign(value); } /** *

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

*/ inline TestIdentityProviderResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

*/ inline TestIdentityProviderResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *

A message that indicates whether the test was successful or not.

*

If an empty string is returned, the most likely cause is that the * authentication failed due to an incorrect username or password.

*/ inline TestIdentityProviderResult& WithMessage(const char* value) { SetMessage(value); return *this;} /** *

The endpoint of the service used to authenticate a user.

*/ inline const Aws::String& GetUrl() const{ return m_url; } /** *

The endpoint of the service used to authenticate a user.

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

The endpoint of the service used to authenticate a user.

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

The endpoint of the service used to authenticate a user.

*/ inline void SetUrl(const char* value) { m_url.assign(value); } /** *

The endpoint of the service used to authenticate a user.

*/ inline TestIdentityProviderResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;} /** *

The endpoint of the service used to authenticate a user.

*/ inline TestIdentityProviderResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;} /** *

The endpoint of the service used to authenticate a user.

*/ inline TestIdentityProviderResult& WithUrl(const char* value) { SetUrl(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 TestIdentityProviderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline TestIdentityProviderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline TestIdentityProviderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_response; int m_statusCode; Aws::String m_message; Aws::String m_url; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws