/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Kafka { namespace Model { /** */ class UpdateSecurityRequest : public KafkaRequest { public: AWS_KAFKA_API UpdateSecurityRequest(); // 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 "UpdateSecurity"; } AWS_KAFKA_API Aws::String SerializePayload() const override; /** *

Includes all client authentication related information.

* */ inline const ClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; } /** *

Includes all client authentication related information.

* */ inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; } /** *

Includes all client authentication related information.

* */ inline void SetClientAuthentication(const ClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; } /** *

Includes all client authentication related information.

* */ inline void SetClientAuthentication(ClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); } /** *

Includes all client authentication related information.

* */ inline UpdateSecurityRequest& WithClientAuthentication(const ClientAuthentication& value) { SetClientAuthentication(value); return *this;} /** *

Includes all client authentication related information.

* */ inline UpdateSecurityRequest& WithClientAuthentication(ClientAuthentication&& value) { SetClientAuthentication(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The Amazon Resource Name (ARN) that uniquely identifies the * cluster.

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

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline UpdateSecurityRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline UpdateSecurityRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} /** *

The version of the MSK cluster to update. Cluster versions * aren't simple numbers. You can describe an MSK cluster to find its version. When * this update operation is successful, it generates a new cluster version.

* */ inline UpdateSecurityRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} /** *

Includes all encryption-related information.

*/ inline const EncryptionInfo& GetEncryptionInfo() const{ return m_encryptionInfo; } /** *

Includes all encryption-related information.

*/ inline bool EncryptionInfoHasBeenSet() const { return m_encryptionInfoHasBeenSet; } /** *

Includes all encryption-related information.

*/ inline void SetEncryptionInfo(const EncryptionInfo& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = value; } /** *

Includes all encryption-related information.

*/ inline void SetEncryptionInfo(EncryptionInfo&& value) { m_encryptionInfoHasBeenSet = true; m_encryptionInfo = std::move(value); } /** *

Includes all encryption-related information.

*/ inline UpdateSecurityRequest& WithEncryptionInfo(const EncryptionInfo& value) { SetEncryptionInfo(value); return *this;} /** *

Includes all encryption-related information.

*/ inline UpdateSecurityRequest& WithEncryptionInfo(EncryptionInfo&& value) { SetEncryptionInfo(std::move(value)); return *this;} private: ClientAuthentication m_clientAuthentication; bool m_clientAuthenticationHasBeenSet = false; Aws::String m_clusterArn; bool m_clusterArnHasBeenSet = false; Aws::String m_currentVersion; bool m_currentVersionHasBeenSet = false; EncryptionInfo m_encryptionInfo; bool m_encryptionInfoHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws