/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a ListDomainNames
request. Contains a list of the
* domains owned by an account.See Also:
AWS
* API Reference
The names of the search domains owned by an account.
*/ inline const Aws::MapThe names of the search domains owned by an account.
*/ inline void SetDomainNames(const Aws::MapThe names of the search domains owned by an account.
*/ inline void SetDomainNames(Aws::MapThe names of the search domains owned by an account.
*/ inline ListDomainNamesResult& WithDomainNames(const Aws::MapThe names of the search domains owned by an account.
*/ inline ListDomainNamesResult& WithDomainNames(Aws::MapThe names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(const Aws::String& key, const Aws::String& value) { m_domainNames.emplace(key, value); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, const Aws::String& value) { m_domainNames.emplace(std::move(key), value); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(const Aws::String& key, Aws::String&& value) { m_domainNames.emplace(key, std::move(value)); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, Aws::String&& value) { m_domainNames.emplace(std::move(key), std::move(value)); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(const char* key, Aws::String&& value) { m_domainNames.emplace(key, std::move(value)); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(Aws::String&& key, const char* value) { m_domainNames.emplace(std::move(key), value); return *this; } /** *The names of the search domains owned by an account.
*/ inline ListDomainNamesResult& AddDomainNames(const char* key, const char* value) { m_domainNames.emplace(key, 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 ListDomainNamesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ListDomainNamesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map