/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53Domains { namespace Model { class GetDomainSuggestionsResult { public: AWS_ROUTE53DOMAINS_API GetDomainSuggestionsResult(); AWS_ROUTE53DOMAINS_API GetDomainSuggestionsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53DOMAINS_API 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; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetDomainSuggestionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDomainSuggestionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDomainSuggestionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_suggestionsList; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws