/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 configuration sets associated with your AWS account. Configuration * sets enable you to publish email sending events. For information about using * configuration sets, see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

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

A list of configuration sets.

*/ inline const Aws::Vector& GetConfigurationSets() const{ return m_configurationSets; } /** *

A list of configuration sets.

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

A list of configuration sets.

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

A list of configuration sets.

*/ inline ListConfigurationSetsResult& WithConfigurationSets(const Aws::Vector& value) { SetConfigurationSets(value); return *this;} /** *

A list of configuration sets.

*/ inline ListConfigurationSetsResult& WithConfigurationSets(Aws::Vector&& value) { SetConfigurationSets(std::move(value)); return *this;} /** *

A list of configuration sets.

*/ inline ListConfigurationSetsResult& AddConfigurationSets(const ConfigurationSet& value) { m_configurationSets.push_back(value); return *this; } /** *

A list of configuration sets.

*/ inline ListConfigurationSetsResult& AddConfigurationSets(ConfigurationSet&& value) { m_configurationSets.push_back(std::move(value)); return *this; } /** *

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

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

A token indicating that there are additional configuration sets available to * be listed. Pass this token to successive calls of * ListConfigurationSets.

*/ inline ListConfigurationSetsResult& 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 ListConfigurationSetsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListConfigurationSetsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_configurationSets; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SES } // namespace Aws