/** * 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 for the .csv file for the user import job.

See Also:

* AWS * API Reference

*/ class AWS_COGNITOIDENTITYPROVIDER_API GetCSVHeaderResult { public: GetCSVHeaderResult(); GetCSVHeaderResult(const Aws::AmazonWebServiceResult& result); 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 for the .csv file for the user import job.

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

The header information for the .csv file for the user import job.

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

The header information for the .csv file for the user import job.

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

The header information for the .csv file for the user import job.

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

The header information for the .csv file for the user import job.

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

The header information for 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 for 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 for the .csv file for the user import job.

*/ inline GetCSVHeaderResult& AddCSVHeader(const char* value) { m_cSVHeader.push_back(value); return *this; } private: Aws::String m_userPoolId; Aws::Vector m_cSVHeader; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws