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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

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

When nextToken is returned, there are more results available. * The value of nextToken is a unique pagination token for each page. * Make the call again using the returned token to retrieve the next page.

*/ inline ListSecurityConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Details about the security configurations in your account.

*/ inline const Aws::Vector& GetSecurityConfigSummaries() const{ return m_securityConfigSummaries; } /** *

Details about the security configurations in your account.

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

Details about the security configurations in your account.

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

Details about the security configurations in your account.

*/ inline ListSecurityConfigsResult& WithSecurityConfigSummaries(const Aws::Vector& value) { SetSecurityConfigSummaries(value); return *this;} /** *

Details about the security configurations in your account.

*/ inline ListSecurityConfigsResult& WithSecurityConfigSummaries(Aws::Vector&& value) { SetSecurityConfigSummaries(std::move(value)); return *this;} /** *

Details about the security configurations in your account.

*/ inline ListSecurityConfigsResult& AddSecurityConfigSummaries(const SecurityConfigSummary& value) { m_securityConfigSummaries.push_back(value); return *this; } /** *

Details about the security configurations in your account.

*/ inline ListSecurityConfigsResult& AddSecurityConfigSummaries(SecurityConfigSummary&& value) { m_securityConfigSummaries.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 ListSecurityConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListSecurityConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListSecurityConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_securityConfigSummaries; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchServerless } // namespace Aws