7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10#include <aws/lex/model/ContentType.h>
11#include <aws/lex/model/GenericAttachment.h>
22namespace LexRuntimeService {
47 template <
typename VersionT = Aws::String>
49 m_versionHasBeenSet =
true;
50 m_version = std::forward<VersionT>(value);
52 template <
typename VersionT = Aws::String>
66 m_contentTypeHasBeenSet =
true;
67 m_contentType = value;
81 template <
typename GenericAttachmentsT = Aws::Vector<GenericAttachment>>
83 m_genericAttachmentsHasBeenSet =
true;
84 m_genericAttachments = std::forward<GenericAttachmentsT>(value);
86 template <
typename GenericAttachmentsT = Aws::Vector<GenericAttachment>>
91 template <
typename GenericAttachmentsT = GenericAttachment>
93 m_genericAttachmentsHasBeenSet =
true;
94 m_genericAttachments.emplace_back(std::forward<GenericAttachmentsT>(value));
104 bool m_versionHasBeenSet =
false;
105 bool m_contentTypeHasBeenSet =
false;
106 bool m_genericAttachmentsHasBeenSet =
false;
void SetVersion(VersionT &&value)
ResponseCard & AddGenericAttachments(GenericAttachmentsT &&value)
ResponseCard & WithContentType(ContentType value)
bool ContentTypeHasBeenSet() const
const Aws::Vector< GenericAttachment > & GetGenericAttachments() const
bool GenericAttachmentsHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API ResponseCard()=default
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseCard & WithGenericAttachments(GenericAttachmentsT &&value)
ContentType GetContentType() const
ResponseCard & WithVersion(VersionT &&value)
void SetContentType(ContentType value)
bool VersionHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API ResponseCard(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API ResponseCard & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVersion() const
void SetGenericAttachments(GenericAttachmentsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue