/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If you configure a response card when creating your bots, Amazon Lex
* substitutes the session attributes and slot values that are available, and then
* returns it. The response card can also come from a Lambda function (
* dialogCodeHook
and fulfillmentActivity
on an
* intent).See Also:
AWS
* API Reference
The version of the response card format.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the response card format.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the response card format.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the response card format.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the response card format.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the response card format.
*/ inline ResponseCard& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the response card format.
*/ inline ResponseCard& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the response card format.
*/ inline ResponseCard& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The content type of the response.
*/ inline const ContentType& GetContentType() const{ return m_contentType; } /** *The content type of the response.
*/ inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; } /** *The content type of the response.
*/ inline void SetContentType(const ContentType& value) { m_contentTypeHasBeenSet = true; m_contentType = value; } /** *The content type of the response.
*/ inline void SetContentType(ContentType&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); } /** *The content type of the response.
*/ inline ResponseCard& WithContentType(const ContentType& value) { SetContentType(value); return *this;} /** *The content type of the response.
*/ inline ResponseCard& WithContentType(ContentType&& value) { SetContentType(std::move(value)); return *this;} /** *An array of attachment objects representing options.
*/ inline const Aws::VectorAn array of attachment objects representing options.
*/ inline bool GenericAttachmentsHasBeenSet() const { return m_genericAttachmentsHasBeenSet; } /** *An array of attachment objects representing options.
*/ inline void SetGenericAttachments(const Aws::VectorAn array of attachment objects representing options.
*/ inline void SetGenericAttachments(Aws::VectorAn array of attachment objects representing options.
*/ inline ResponseCard& WithGenericAttachments(const Aws::VectorAn array of attachment objects representing options.
*/ inline ResponseCard& WithGenericAttachments(Aws::VectorAn array of attachment objects representing options.
*/ inline ResponseCard& AddGenericAttachments(const GenericAttachment& value) { m_genericAttachmentsHasBeenSet = true; m_genericAttachments.push_back(value); return *this; } /** *An array of attachment objects representing options.
*/ inline ResponseCard& AddGenericAttachments(GenericAttachment&& value) { m_genericAttachmentsHasBeenSet = true; m_genericAttachments.push_back(std::move(value)); return *this; } private: Aws::String m_version; bool m_versionHasBeenSet = false; ContentType m_contentType; bool m_contentTypeHasBeenSet = false; Aws::Vector