/** * 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 { namespace Kafka { namespace Model { /** *

Disassociates sasl scram secrets to cluster.

*

See Also:

AWS * API Reference

*/ class BatchDisassociateScramSecretRequest : public KafkaRequest { public: AWS_KAFKA_API BatchDisassociateScramSecretRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateScramSecret"; } AWS_KAFKA_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

*/ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

The Amazon Resource Name (ARN) of the cluster to be * updated.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

*/ inline bool SecretArnListHasBeenSet() const { return m_secretArnListHasBeenSet; } /** *

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

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

List of AWS Secrets Manager secret ARNs.

*/ inline BatchDisassociateScramSecretRequest& AddSecretArnList(const char* value) { m_secretArnListHasBeenSet = true; m_secretArnList.push_back(value); return *this; } private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::Vector m_secretArnList; bool m_secretArnListHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws