/** * 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 WorkSpacesWeb { namespace Model { /** */ class UpdateUserAccessLoggingSettingsRequest : public WorkSpacesWebRequest { public: AWS_WORKSPACESWEB_API UpdateUserAccessLoggingSettingsRequest(); // 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 "UpdateUserAccessLoggingSettings"; } AWS_WORKSPACESWEB_API Aws::String SerializePayload() const override; /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique, case-sensitive identifier that you provide to ensure the * idempotency of the request. Idempotency ensures that an API request completes * only once. With an idempotent request, if the original request completes * successfully, subsequent retries with the same client token return the result * from the original successful request.

If you do not specify a client * token, one is automatically generated by the AWS SDK.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The ARN of the Kinesis stream.

*/ inline const Aws::String& GetKinesisStreamArn() const{ return m_kinesisStreamArn; } /** *

The ARN of the Kinesis stream.

*/ inline bool KinesisStreamArnHasBeenSet() const { return m_kinesisStreamArnHasBeenSet; } /** *

The ARN of the Kinesis stream.

*/ inline void SetKinesisStreamArn(const Aws::String& value) { m_kinesisStreamArnHasBeenSet = true; m_kinesisStreamArn = value; } /** *

The ARN of the Kinesis stream.

*/ inline void SetKinesisStreamArn(Aws::String&& value) { m_kinesisStreamArnHasBeenSet = true; m_kinesisStreamArn = std::move(value); } /** *

The ARN of the Kinesis stream.

*/ inline void SetKinesisStreamArn(const char* value) { m_kinesisStreamArnHasBeenSet = true; m_kinesisStreamArn.assign(value); } /** *

The ARN of the Kinesis stream.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithKinesisStreamArn(const Aws::String& value) { SetKinesisStreamArn(value); return *this;} /** *

The ARN of the Kinesis stream.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithKinesisStreamArn(Aws::String&& value) { SetKinesisStreamArn(std::move(value)); return *this;} /** *

The ARN of the Kinesis stream.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithKinesisStreamArn(const char* value) { SetKinesisStreamArn(value); return *this;} /** *

The ARN of the user access logging settings.

*/ inline const Aws::String& GetUserAccessLoggingSettingsArn() const{ return m_userAccessLoggingSettingsArn; } /** *

The ARN of the user access logging settings.

*/ inline bool UserAccessLoggingSettingsArnHasBeenSet() const { return m_userAccessLoggingSettingsArnHasBeenSet; } /** *

The ARN of the user access logging settings.

*/ inline void SetUserAccessLoggingSettingsArn(const Aws::String& value) { m_userAccessLoggingSettingsArnHasBeenSet = true; m_userAccessLoggingSettingsArn = value; } /** *

The ARN of the user access logging settings.

*/ inline void SetUserAccessLoggingSettingsArn(Aws::String&& value) { m_userAccessLoggingSettingsArnHasBeenSet = true; m_userAccessLoggingSettingsArn = std::move(value); } /** *

The ARN of the user access logging settings.

*/ inline void SetUserAccessLoggingSettingsArn(const char* value) { m_userAccessLoggingSettingsArnHasBeenSet = true; m_userAccessLoggingSettingsArn.assign(value); } /** *

The ARN of the user access logging settings.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithUserAccessLoggingSettingsArn(const Aws::String& value) { SetUserAccessLoggingSettingsArn(value); return *this;} /** *

The ARN of the user access logging settings.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithUserAccessLoggingSettingsArn(Aws::String&& value) { SetUserAccessLoggingSettingsArn(std::move(value)); return *this;} /** *

The ARN of the user access logging settings.

*/ inline UpdateUserAccessLoggingSettingsRequest& WithUserAccessLoggingSettingsArn(const char* value) { SetUserAccessLoggingSettingsArn(value); return *this;} private: Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_kinesisStreamArn; bool m_kinesisStreamArnHasBeenSet = false; Aws::String m_userAccessLoggingSettingsArn; bool m_userAccessLoggingSettingsArnHasBeenSet = false; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws