/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/kafka/Kafka_EXPORTS.h> #include <aws/kafka/KafkaRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Kafka { namespace Model { /** */ class RejectClientVpcConnectionRequest : public KafkaRequest { public: AWS_KAFKA_API RejectClientVpcConnectionRequest(); // 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 "RejectClientVpcConnection"; } AWS_KAFKA_API Aws::String SerializePayload() const override; /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline const Aws::String& GetClusterArn() const{ return m_clusterArn; } /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; } /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; } /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); } /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); } /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline RejectClientVpcConnectionRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;} /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline RejectClientVpcConnectionRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;} /** * <p>The Amazon Resource Name (ARN) of the cluster.</p> */ inline RejectClientVpcConnectionRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;} /** * <p>The VPC connection ARN.</p> */ inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; } /** * <p>The VPC connection ARN.</p> */ inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; } /** * <p>The VPC connection ARN.</p> */ inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; } /** * <p>The VPC connection ARN.</p> */ inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); } /** * <p>The VPC connection ARN.</p> */ inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); } /** * <p>The VPC connection ARN.</p> */ inline RejectClientVpcConnectionRequest& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;} /** * <p>The VPC connection ARN.</p> */ inline RejectClientVpcConnectionRequest& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;} /** * <p>The VPC connection ARN.</p> */ inline RejectClientVpcConnectionRequest& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;} private: Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_vpcConnectionArn; bool m_vpcConnectionArnHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws