/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace StorageGateway { namespace Model { /** *

SetSMBGuestPasswordInput

See Also:

AWS * API Reference

*/ class SetSMBGuestPasswordRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API SetSMBGuestPasswordRequest(); // 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 "SetSMBGuestPassword"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; } /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); } /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); } /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline SetSMBGuestPasswordRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline SetSMBGuestPasswordRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the S3 File Gateway the SMB file share is * associated with.

*/ inline SetSMBGuestPasswordRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} /** *

The password that you want to set for your SMB server.

*/ inline const Aws::String& GetPassword() const{ return m_password; } /** *

The password that you want to set for your SMB server.

*/ inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; } /** *

The password that you want to set for your SMB server.

*/ inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; } /** *

The password that you want to set for your SMB server.

*/ inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); } /** *

The password that you want to set for your SMB server.

*/ inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); } /** *

The password that you want to set for your SMB server.

*/ inline SetSMBGuestPasswordRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;} /** *

The password that you want to set for your SMB server.

*/ inline SetSMBGuestPasswordRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;} /** *

The password that you want to set for your SMB server.

*/ inline SetSMBGuestPasswordRequest& WithPassword(const char* value) { SetPassword(value); return *this;} private: Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; Aws::String m_password; bool m_passwordHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws