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

Paginated results marker.

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

Paginated results marker.

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

Paginated results marker.

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

Paginated results marker.

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

Paginated results marker.

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

Paginated results marker.

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

Paginated results marker.

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

The list of scram secrets associated with the cluster.

* */ inline const Aws::Vector& GetSecretArnList() const{ return m_secretArnList; } /** *

The list of scram secrets associated with the cluster.

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

The list of scram secrets associated with the cluster.

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

The list of scram secrets associated with the cluster.

* */ inline ListScramSecretsResult& WithSecretArnList(const Aws::Vector& value) { SetSecretArnList(value); return *this;} /** *

The list of scram secrets associated with the cluster.

* */ inline ListScramSecretsResult& WithSecretArnList(Aws::Vector&& value) { SetSecretArnList(std::move(value)); return *this;} /** *

The list of scram secrets associated with the cluster.

* */ inline ListScramSecretsResult& AddSecretArnList(const Aws::String& value) { m_secretArnList.push_back(value); return *this; } /** *

The list of scram secrets associated with the cluster.

* */ inline ListScramSecretsResult& AddSecretArnList(Aws::String&& value) { m_secretArnList.push_back(std::move(value)); return *this; } /** *

The list of scram secrets associated with the cluster.

* */ inline ListScramSecretsResult& AddSecretArnList(const char* value) { m_secretArnList.push_back(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 ListScramSecretsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListScramSecretsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListScramSecretsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_secretArnList; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws