/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WorkSpacesWeb { namespace Model { /** *

The summary of user access logging settings.

See Also:

AWS * API Reference

*/ class UserAccessLoggingSettingsSummary { public: AWS_WORKSPACESWEB_API UserAccessLoggingSettingsSummary(); AWS_WORKSPACESWEB_API UserAccessLoggingSettingsSummary(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API UserAccessLoggingSettingsSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 UserAccessLoggingSettingsSummary& WithKinesisStreamArn(const Aws::String& value) { SetKinesisStreamArn(value); return *this;} /** *

The ARN of the Kinesis stream.

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

The ARN of the Kinesis stream.

*/ inline UserAccessLoggingSettingsSummary& 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 UserAccessLoggingSettingsSummary& WithUserAccessLoggingSettingsArn(const Aws::String& value) { SetUserAccessLoggingSettingsArn(value); return *this;} /** *

The ARN of the user access logging settings.

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

The ARN of the user access logging settings.

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