7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lex/model/ContentType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lex/model/GenericAttachment.h>
24namespace LexRuntimeService
53 template<
typename VersionT = Aws::String>
54 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
55 template<
typename VersionT = Aws::String>
75 template<
typename GenericAttachmentsT = Aws::Vector<GenericAttachment>>
76 void SetGenericAttachments(GenericAttachmentsT&& value) { m_genericAttachmentsHasBeenSet =
true; m_genericAttachments = std::forward<GenericAttachmentsT>(value); }
77 template<
typename GenericAttachmentsT = Aws::Vector<GenericAttachment>>
79 template<
typename GenericAttachmentsT = GenericAttachment>
80 ResponseCard&
AddGenericAttachments(GenericAttachmentsT&& value) { m_genericAttachmentsHasBeenSet =
true; m_genericAttachments.emplace_back(std::forward<GenericAttachmentsT>(value));
return *
this; }
85 bool m_versionHasBeenSet =
false;
88 bool m_contentTypeHasBeenSet =
false;
91 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