/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

A list of all identities that you have attempted to verify under your AWS * account, regardless of verification status.

See Also:

AWS * API Reference

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

A list of identities.

*/ inline const Aws::Vector& GetIdentities() const{ return m_identities; } /** *

A list of identities.

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

A list of identities.

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

A list of identities.

*/ inline ListIdentitiesResult& WithIdentities(const Aws::Vector& value) { SetIdentities(value); return *this;} /** *

A list of identities.

*/ inline ListIdentitiesResult& WithIdentities(Aws::Vector&& value) { SetIdentities(std::move(value)); return *this;} /** *

A list of identities.

*/ inline ListIdentitiesResult& AddIdentities(const Aws::String& value) { m_identities.push_back(value); return *this; } /** *

A list of identities.

*/ inline ListIdentitiesResult& AddIdentities(Aws::String&& value) { m_identities.push_back(std::move(value)); return *this; } /** *

A list of identities.

*/ inline ListIdentitiesResult& AddIdentities(const char* value) { m_identities.push_back(value); return *this; } /** *

The token used for pagination.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token used for pagination.

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

The token used for pagination.

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

The token used for pagination.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The token used for pagination.

*/ inline ListIdentitiesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token used for pagination.

*/ inline ListIdentitiesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token used for pagination.

*/ inline ListIdentitiesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ListIdentitiesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListIdentitiesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_identities; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws