/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AlexaForBusiness { namespace Model { /** *

The detailed information about an Alexa skill.

See Also:

AWS * API Reference

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

The ARN of the skill.

*/ inline const Aws::String& GetSkillId() const{ return m_skillId; } /** *

The ARN of the skill.

*/ inline bool SkillIdHasBeenSet() const { return m_skillIdHasBeenSet; } /** *

The ARN of the skill.

*/ inline void SetSkillId(const Aws::String& value) { m_skillIdHasBeenSet = true; m_skillId = value; } /** *

The ARN of the skill.

*/ inline void SetSkillId(Aws::String&& value) { m_skillIdHasBeenSet = true; m_skillId = std::move(value); } /** *

The ARN of the skill.

*/ inline void SetSkillId(const char* value) { m_skillIdHasBeenSet = true; m_skillId.assign(value); } /** *

The ARN of the skill.

*/ inline SkillsStoreSkill& WithSkillId(const Aws::String& value) { SetSkillId(value); return *this;} /** *

The ARN of the skill.

*/ inline SkillsStoreSkill& WithSkillId(Aws::String&& value) { SetSkillId(std::move(value)); return *this;} /** *

The ARN of the skill.

*/ inline SkillsStoreSkill& WithSkillId(const char* value) { SetSkillId(value); return *this;} /** *

The name of the skill.

*/ inline const Aws::String& GetSkillName() const{ return m_skillName; } /** *

The name of the skill.

*/ inline bool SkillNameHasBeenSet() const { return m_skillNameHasBeenSet; } /** *

The name of the skill.

*/ inline void SetSkillName(const Aws::String& value) { m_skillNameHasBeenSet = true; m_skillName = value; } /** *

The name of the skill.

*/ inline void SetSkillName(Aws::String&& value) { m_skillNameHasBeenSet = true; m_skillName = std::move(value); } /** *

The name of the skill.

*/ inline void SetSkillName(const char* value) { m_skillNameHasBeenSet = true; m_skillName.assign(value); } /** *

The name of the skill.

*/ inline SkillsStoreSkill& WithSkillName(const Aws::String& value) { SetSkillName(value); return *this;} /** *

The name of the skill.

*/ inline SkillsStoreSkill& WithSkillName(Aws::String&& value) { SetSkillName(std::move(value)); return *this;} /** *

The name of the skill.

*/ inline SkillsStoreSkill& WithSkillName(const char* value) { SetSkillName(value); return *this;} /** *

Short description about the skill.

*/ inline const Aws::String& GetShortDescription() const{ return m_shortDescription; } /** *

Short description about the skill.

*/ inline bool ShortDescriptionHasBeenSet() const { return m_shortDescriptionHasBeenSet; } /** *

Short description about the skill.

*/ inline void SetShortDescription(const Aws::String& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = value; } /** *

Short description about the skill.

*/ inline void SetShortDescription(Aws::String&& value) { m_shortDescriptionHasBeenSet = true; m_shortDescription = std::move(value); } /** *

Short description about the skill.

*/ inline void SetShortDescription(const char* value) { m_shortDescriptionHasBeenSet = true; m_shortDescription.assign(value); } /** *

Short description about the skill.

*/ inline SkillsStoreSkill& WithShortDescription(const Aws::String& value) { SetShortDescription(value); return *this;} /** *

Short description about the skill.

*/ inline SkillsStoreSkill& WithShortDescription(Aws::String&& value) { SetShortDescription(std::move(value)); return *this;} /** *

Short description about the skill.

*/ inline SkillsStoreSkill& WithShortDescription(const char* value) { SetShortDescription(value); return *this;} /** *

The URL where the skill icon resides.

*/ inline const Aws::String& GetIconUrl() const{ return m_iconUrl; } /** *

The URL where the skill icon resides.

*/ inline bool IconUrlHasBeenSet() const { return m_iconUrlHasBeenSet; } /** *

The URL where the skill icon resides.

*/ inline void SetIconUrl(const Aws::String& value) { m_iconUrlHasBeenSet = true; m_iconUrl = value; } /** *

The URL where the skill icon resides.

*/ inline void SetIconUrl(Aws::String&& value) { m_iconUrlHasBeenSet = true; m_iconUrl = std::move(value); } /** *

The URL where the skill icon resides.

*/ inline void SetIconUrl(const char* value) { m_iconUrlHasBeenSet = true; m_iconUrl.assign(value); } /** *

The URL where the skill icon resides.

*/ inline SkillsStoreSkill& WithIconUrl(const Aws::String& value) { SetIconUrl(value); return *this;} /** *

The URL where the skill icon resides.

*/ inline SkillsStoreSkill& WithIconUrl(Aws::String&& value) { SetIconUrl(std::move(value)); return *this;} /** *

The URL where the skill icon resides.

*/ inline SkillsStoreSkill& WithIconUrl(const char* value) { SetIconUrl(value); return *this;} /** *

Sample utterances that interact with the skill.

*/ inline const Aws::Vector& GetSampleUtterances() const{ return m_sampleUtterances; } /** *

Sample utterances that interact with the skill.

*/ inline bool SampleUtterancesHasBeenSet() const { return m_sampleUtterancesHasBeenSet; } /** *

Sample utterances that interact with the skill.

*/ inline void SetSampleUtterances(const Aws::Vector& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = value; } /** *

Sample utterances that interact with the skill.

*/ inline void SetSampleUtterances(Aws::Vector&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances = std::move(value); } /** *

Sample utterances that interact with the skill.

*/ inline SkillsStoreSkill& WithSampleUtterances(const Aws::Vector& value) { SetSampleUtterances(value); return *this;} /** *

Sample utterances that interact with the skill.

*/ inline SkillsStoreSkill& WithSampleUtterances(Aws::Vector&& value) { SetSampleUtterances(std::move(value)); return *this;} /** *

Sample utterances that interact with the skill.

*/ inline SkillsStoreSkill& AddSampleUtterances(const Aws::String& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(value); return *this; } /** *

Sample utterances that interact with the skill.

*/ inline SkillsStoreSkill& AddSampleUtterances(Aws::String&& value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(std::move(value)); return *this; } /** *

Sample utterances that interact with the skill.

*/ inline SkillsStoreSkill& AddSampleUtterances(const char* value) { m_sampleUtterancesHasBeenSet = true; m_sampleUtterances.push_back(value); return *this; } /** *

Information about the skill.

*/ inline const SkillDetails& GetSkillDetails() const{ return m_skillDetails; } /** *

Information about the skill.

*/ inline bool SkillDetailsHasBeenSet() const { return m_skillDetailsHasBeenSet; } /** *

Information about the skill.

*/ inline void SetSkillDetails(const SkillDetails& value) { m_skillDetailsHasBeenSet = true; m_skillDetails = value; } /** *

Information about the skill.

*/ inline void SetSkillDetails(SkillDetails&& value) { m_skillDetailsHasBeenSet = true; m_skillDetails = std::move(value); } /** *

Information about the skill.

*/ inline SkillsStoreSkill& WithSkillDetails(const SkillDetails& value) { SetSkillDetails(value); return *this;} /** *

Information about the skill.

*/ inline SkillsStoreSkill& WithSkillDetails(SkillDetails&& value) { SetSkillDetails(std::move(value)); return *this;} /** *

Linking support for a skill.

*/ inline bool GetSupportsLinking() const{ return m_supportsLinking; } /** *

Linking support for a skill.

*/ inline bool SupportsLinkingHasBeenSet() const { return m_supportsLinkingHasBeenSet; } /** *

Linking support for a skill.

*/ inline void SetSupportsLinking(bool value) { m_supportsLinkingHasBeenSet = true; m_supportsLinking = value; } /** *

Linking support for a skill.

*/ inline SkillsStoreSkill& WithSupportsLinking(bool value) { SetSupportsLinking(value); return *this;} private: Aws::String m_skillId; bool m_skillIdHasBeenSet = false; Aws::String m_skillName; bool m_skillNameHasBeenSet = false; Aws::String m_shortDescription; bool m_shortDescriptionHasBeenSet = false; Aws::String m_iconUrl; bool m_iconUrlHasBeenSet = false; Aws::Vector m_sampleUtterances; bool m_sampleUtterancesHasBeenSet = false; SkillDetails m_skillDetails; bool m_skillDetailsHasBeenSet = false; bool m_supportsLinking; bool m_supportsLinkingHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws