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

Lists configurations for multiple domain names.

*/ inline const Aws::Vector& GetDomainNameConfigs() const{ return m_domainNameConfigs; } /** *

Lists configurations for multiple domain names.

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

Lists configurations for multiple domain names.

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

Lists configurations for multiple domain names.

*/ inline ListDomainNamesResult& WithDomainNameConfigs(const Aws::Vector& value) { SetDomainNameConfigs(value); return *this;} /** *

Lists configurations for multiple domain names.

*/ inline ListDomainNamesResult& WithDomainNameConfigs(Aws::Vector&& value) { SetDomainNameConfigs(std::move(value)); return *this;} /** *

Lists configurations for multiple domain names.

*/ inline ListDomainNamesResult& AddDomainNameConfigs(const DomainNameConfig& value) { m_domainNameConfigs.push_back(value); return *this; } /** *

Lists configurations for multiple domain names.

*/ inline ListDomainNamesResult& AddDomainNameConfigs(DomainNameConfig&& value) { m_domainNameConfigs.push_back(std::move(value)); return *this; } /** *

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which you can use to return the next set of items in the list.

*/ inline ListDomainNamesResult& WithNextToken(const char* value) { SetNextToken(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 ListDomainNamesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDomainNamesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDomainNamesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_domainNameConfigs; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace AppSync } // namespace Aws