/** * 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 LexModelsV2 { namespace Model { /** *

A bot that is a member of a network of bots.

See Also:

AWS * API Reference

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

The unique ID of a bot that is a member of this network of bots.

*/ inline const Aws::String& GetBotMemberId() const{ return m_botMemberId; } /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline bool BotMemberIdHasBeenSet() const { return m_botMemberIdHasBeenSet; } /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberId(const Aws::String& value) { m_botMemberIdHasBeenSet = true; m_botMemberId = value; } /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberId(Aws::String&& value) { m_botMemberIdHasBeenSet = true; m_botMemberId = std::move(value); } /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberId(const char* value) { m_botMemberIdHasBeenSet = true; m_botMemberId.assign(value); } /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberId(const Aws::String& value) { SetBotMemberId(value); return *this;} /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberId(Aws::String&& value) { SetBotMemberId(std::move(value)); return *this;} /** *

The unique ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberId(const char* value) { SetBotMemberId(value); return *this;} /** *

The unique name of a bot that is a member of this network of bots.

*/ inline const Aws::String& GetBotMemberName() const{ return m_botMemberName; } /** *

The unique name of a bot that is a member of this network of bots.

*/ inline bool BotMemberNameHasBeenSet() const { return m_botMemberNameHasBeenSet; } /** *

The unique name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberName(const Aws::String& value) { m_botMemberNameHasBeenSet = true; m_botMemberName = value; } /** *

The unique name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberName(Aws::String&& value) { m_botMemberNameHasBeenSet = true; m_botMemberName = std::move(value); } /** *

The unique name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberName(const char* value) { m_botMemberNameHasBeenSet = true; m_botMemberName.assign(value); } /** *

The unique name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberName(const Aws::String& value) { SetBotMemberName(value); return *this;} /** *

The unique name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberName(Aws::String&& value) { SetBotMemberName(std::move(value)); return *this;} /** *

The unique name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberName(const char* value) { SetBotMemberName(value); return *this;} /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline const Aws::String& GetBotMemberAliasId() const{ return m_botMemberAliasId; } /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline bool BotMemberAliasIdHasBeenSet() const { return m_botMemberAliasIdHasBeenSet; } /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasId(const Aws::String& value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId = value; } /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasId(Aws::String&& value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId = std::move(value); } /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasId(const char* value) { m_botMemberAliasIdHasBeenSet = true; m_botMemberAliasId.assign(value); } /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasId(const Aws::String& value) { SetBotMemberAliasId(value); return *this;} /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasId(Aws::String&& value) { SetBotMemberAliasId(std::move(value)); return *this;} /** *

The alias ID of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasId(const char* value) { SetBotMemberAliasId(value); return *this;} /** *

The alias name of a bot that is a member of this network of bots.

*/ inline const Aws::String& GetBotMemberAliasName() const{ return m_botMemberAliasName; } /** *

The alias name of a bot that is a member of this network of bots.

*/ inline bool BotMemberAliasNameHasBeenSet() const { return m_botMemberAliasNameHasBeenSet; } /** *

The alias name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasName(const Aws::String& value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName = value; } /** *

The alias name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasName(Aws::String&& value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName = std::move(value); } /** *

The alias name of a bot that is a member of this network of bots.

*/ inline void SetBotMemberAliasName(const char* value) { m_botMemberAliasNameHasBeenSet = true; m_botMemberAliasName.assign(value); } /** *

The alias name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasName(const Aws::String& value) { SetBotMemberAliasName(value); return *this;} /** *

The alias name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasName(Aws::String&& value) { SetBotMemberAliasName(std::move(value)); return *this;} /** *

The alias name of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberAliasName(const char* value) { SetBotMemberAliasName(value); return *this;} /** *

The version of a bot that is a member of this network of bots.

*/ inline const Aws::String& GetBotMemberVersion() const{ return m_botMemberVersion; } /** *

The version of a bot that is a member of this network of bots.

*/ inline bool BotMemberVersionHasBeenSet() const { return m_botMemberVersionHasBeenSet; } /** *

The version of a bot that is a member of this network of bots.

*/ inline void SetBotMemberVersion(const Aws::String& value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion = value; } /** *

The version of a bot that is a member of this network of bots.

*/ inline void SetBotMemberVersion(Aws::String&& value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion = std::move(value); } /** *

The version of a bot that is a member of this network of bots.

*/ inline void SetBotMemberVersion(const char* value) { m_botMemberVersionHasBeenSet = true; m_botMemberVersion.assign(value); } /** *

The version of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberVersion(const Aws::String& value) { SetBotMemberVersion(value); return *this;} /** *

The version of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberVersion(Aws::String&& value) { SetBotMemberVersion(std::move(value)); return *this;} /** *

The version of a bot that is a member of this network of bots.

*/ inline BotMember& WithBotMemberVersion(const char* value) { SetBotMemberVersion(value); return *this;} private: Aws::String m_botMemberId; bool m_botMemberIdHasBeenSet = false; Aws::String m_botMemberName; bool m_botMemberNameHasBeenSet = false; Aws::String m_botMemberAliasId; bool m_botMemberAliasIdHasBeenSet = false; Aws::String m_botMemberAliasName; bool m_botMemberAliasNameHasBeenSet = false; Aws::String m_botMemberVersion; bool m_botMemberVersionHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws