/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The message object that provides the message text and its type.See
* Also:
AWS
* API Reference
The content type of the message string.
*/ inline const ContentType& GetContentType() const{ return m_contentType; } /** *The content type of the message string.
*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *The content type of the message string.
*/ inline void SetContentType(const ContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *The content type of the message string.
*/ inline void SetContentType(ContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *The content type of the message string.
*/ inline Message& WithContentType(const ContentType& value) { SetContentType(value); return *this;} /** *The content type of the message string.
*/ inline Message& WithContentType(ContentType&& value) { SetContentType(std::move(value)); return *this;} /** *The text of the message.
*/ inline const Aws::String& GetContent() const{ return m_content; } /** *The text of the message.
*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *The text of the message.
*/ inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; } /** *The text of the message.
*/ inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *The text of the message.
*/ inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); } /** *The text of the message.
*/ inline Message& WithContent(const Aws::String& value) { SetContent(value); return *this;} /** *The text of the message.
*/ inline Message& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;} /** *The text of the message.
*/ inline Message& WithContent(const char* value) { SetContent(value); return *this;} /** *Identifies the message group that the message belongs to. When a group is * assigned to a message, Amazon Lex returns one message from each group in the * response.
*/ inline int GetGroupNumber() const{ return m_groupNumber; } /** *Identifies the message group that the message belongs to. When a group is * assigned to a message, Amazon Lex returns one message from each group in the * response.
*/ inline bool GroupNumberHasBeenSet() const { return m_groupNumberHasBeenSet; } /** *Identifies the message group that the message belongs to. When a group is * assigned to a message, Amazon Lex returns one message from each group in the * response.
*/ inline void SetGroupNumber(int value) { m_groupNumberHasBeenSet = true; m_groupNumber = value; } /** *Identifies the message group that the message belongs to. When a group is * assigned to a message, Amazon Lex returns one message from each group in the * response.
*/ inline Message& WithGroupNumber(int value) { SetGroupNumber(value); return *this;} private: ContentType m_contentType; bool m_contentTypeHasBeenSet; Aws::String m_content; bool m_contentHasBeenSet; int m_groupNumber; bool m_groupNumberHasBeenSet; }; } // namespace Model } // namespace LexModelBuildingService } // namespace Aws