/** * 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 { /** *

Represents the response from the server to the request to get the header * information of the CSV file for the user import job.

See Also:

* AWS * API Reference

*/ class GetCSVHeaderResult { public: AWS_COGNITOIDENTITYPROVIDER_API GetCSVHeaderResult(); AWS_COGNITOIDENTITYPROVIDER_API GetCSVHeaderResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITYPROVIDER_API GetCSVHeaderResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The user pool ID for the user pool that the users are to be imported * into.

*/ inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; } /** *

The user pool ID for the user pool that the users are to be imported * into.

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

The user pool ID for the user pool that the users are to be imported * into.

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

The user pool ID for the user pool that the users are to be imported * into.

*/ inline void SetUserPoolId(const char* value) { m_userPoolId.assign(value); } /** *

The user pool ID for the user pool that the users are to be imported * into.

*/ inline GetCSVHeaderResult& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;} /** *

The user pool ID for the user pool that the users are to be imported * into.

*/ inline GetCSVHeaderResult& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;} /** *

The user pool ID for the user pool that the users are to be imported * into.

*/ inline GetCSVHeaderResult& WithUserPoolId(const char* value) { SetUserPoolId(value); return *this;} /** *

The header information of the CSV file for the user import job.

*/ inline const Aws::Vector& GetCSVHeader() const{ return m_cSVHeader; } /** *

The header information of the CSV file for the user import job.

*/ inline void SetCSVHeader(const Aws::Vector& value) { m_cSVHeader = value; } /** *

The header information of the CSV file for the user import job.

*/ inline void SetCSVHeader(Aws::Vector&& value) { m_cSVHeader = std::move(value); } /** *

The header information of the CSV file for the user import job.

*/ inline GetCSVHeaderResult& WithCSVHeader(const Aws::Vector& value) { SetCSVHeader(value); return *this;} /** *

The header information of the CSV file for the user import job.

*/ inline GetCSVHeaderResult& WithCSVHeader(Aws::Vector&& value) { SetCSVHeader(std::move(value)); return *this;} /** *

The header information of the CSV file for the user import job.

*/ inline GetCSVHeaderResult& AddCSVHeader(const Aws::String& value) { m_cSVHeader.push_back(value); return *this; } /** *

The header information of the CSV file for the user import job.

*/ inline GetCSVHeaderResult& AddCSVHeader(Aws::String&& value) { m_cSVHeader.push_back(std::move(value)); return *this; } /** *

The header information of the CSV file for the user import job.

*/ inline GetCSVHeaderResult& AddCSVHeader(const char* value) { m_cSVHeader.push_back(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 GetCSVHeaderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCSVHeaderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCSVHeaderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_userPoolId; Aws::Vector m_cSVHeader; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws