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

The Amazon Resource Name (ARN) of the cluster.

*/ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** *

The Amazon Resource Name (ARN) of the cluster.

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

The Amazon Resource Name (ARN) of the cluster.

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

The Amazon Resource Name (ARN) of the cluster.

*/ inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline BatchDisassociateScramSecretResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline BatchDisassociateScramSecretResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the cluster.

*/ inline BatchDisassociateScramSecretResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** *

List of errors when disassociating secrets to cluster.

* */ inline const Aws::Vector& GetUnprocessedScramSecrets() const{ return m_unprocessedScramSecrets; } /** *

List of errors when disassociating secrets to cluster.

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

List of errors when disassociating secrets to cluster.

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

List of errors when disassociating secrets to cluster.

* */ inline BatchDisassociateScramSecretResult& WithUnprocessedScramSecrets(const Aws::Vector& value) { SetUnprocessedScramSecrets(value); return *this;} /** *

List of errors when disassociating secrets to cluster.

* */ inline BatchDisassociateScramSecretResult& WithUnprocessedScramSecrets(Aws::Vector&& value) { SetUnprocessedScramSecrets(std::move(value)); return *this;} /** *

List of errors when disassociating secrets to cluster.

* */ inline BatchDisassociateScramSecretResult& AddUnprocessedScramSecrets(const UnprocessedScramSecret& value) { m_unprocessedScramSecrets.push_back(value); return *this; } /** *

List of errors when disassociating secrets to cluster.

* */ inline BatchDisassociateScramSecretResult& AddUnprocessedScramSecrets(UnprocessedScramSecret&& value) { m_unprocessedScramSecrets.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 BatchDisassociateScramSecretResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline BatchDisassociateScramSecretResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline BatchDisassociateScramSecretResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_clusterArn; Aws::Vector m_unprocessedScramSecrets; Aws::String m_requestId; }; } // namespace Model } // namespace Kafka } // namespace Aws