/** * 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 Route53Domains { namespace Model { class AWS_ROUTE53DOMAINS_API GetDomainSuggestionsResult { public: GetDomainSuggestionsResult(); GetDomainSuggestionsResult(const Aws::AmazonWebServiceResult& result); GetDomainSuggestionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

*/ inline const Aws::Vector& GetSuggestionsList() const{ return m_suggestionsList; } /** *

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

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

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

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

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

*/ inline GetDomainSuggestionsResult& WithSuggestionsList(const Aws::Vector& value) { SetSuggestionsList(value); return *this;} /** *

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

*/ inline GetDomainSuggestionsResult& WithSuggestionsList(Aws::Vector&& value) { SetSuggestionsList(std::move(value)); return *this;} /** *

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

*/ inline GetDomainSuggestionsResult& AddSuggestionsList(const DomainSuggestion& value) { m_suggestionsList.push_back(value); return *this; } /** *

A list of possible domain names. If you specified true for * OnlyAvailable in the request, the list contains only domains that * are available for registration.

*/ inline GetDomainSuggestionsResult& AddSuggestionsList(DomainSuggestion&& value) { m_suggestionsList.push_back(std::move(value)); return *this; } private: Aws::Vector m_suggestionsList; }; } // namespace Model } // namespace Route53Domains } // namespace Aws