7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/PromptVariant.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
45 inline void SetArn(
const char* value) { m_arn.assign(value); }
96 inline void SetDescription(
const char* value) { m_description.assign(value); }
109 inline void SetId(
const char* value) { m_id.assign(value); }
122 inline void SetName(
const char* value) { m_name.assign(value); }
160 inline void SetVersion(
const char* value) { m_version.assign(value); }
171 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
CreatePromptResult & AddVariants(PromptVariant &&value)
void SetId(const char *value)
AWS_BEDROCKAGENT_API CreatePromptResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreatePromptResult & WithDefaultVariant(Aws::String &&value)
void SetArn(Aws::String &&value)
const Aws::String & GetDefaultVariant() const
CreatePromptResult & WithDescription(const char *value)
void SetCustomerEncryptionKeyArn(Aws::String &&value)
void SetVariants(Aws::Vector< PromptVariant > &&value)
void SetId(const Aws::String &value)
CreatePromptResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
CreatePromptResult & WithArn(const char *value)
void SetArn(const Aws::String &value)
void SetVariants(const Aws::Vector< PromptVariant > &value)
void SetVersion(const char *value)
void SetVersion(const Aws::String &value)
CreatePromptResult & WithVariants(const Aws::Vector< PromptVariant > &value)
void SetDefaultVariant(Aws::String &&value)
CreatePromptResult & WithDescription(Aws::String &&value)
const Aws::String & GetVersion() const
const Aws::String & GetCustomerEncryptionKeyArn() const
CreatePromptResult & WithVersion(const Aws::String &value)
void SetDefaultVariant(const Aws::String &value)
void SetRequestId(const char *value)
void SetName(const Aws::String &value)
CreatePromptResult & WithId(Aws::String &&value)
void SetId(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CreatePromptResult & WithCreatedAt(const Aws::Utils::DateTime &value)
AWS_BEDROCKAGENT_API CreatePromptResult()
void SetDefaultVariant(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetName() const
void SetDescription(const Aws::String &value)
CreatePromptResult & WithCustomerEncryptionKeyArn(Aws::String &&value)
CreatePromptResult & WithCreatedAt(Aws::Utils::DateTime &&value)
CreatePromptResult & WithDefaultVariant(const char *value)
const Aws::String & GetId() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetDescription(Aws::String &&value)
void SetCustomerEncryptionKeyArn(const Aws::String &value)
CreatePromptResult & AddVariants(const PromptVariant &value)
void SetRequestId(const Aws::String &value)
CreatePromptResult & WithArn(Aws::String &&value)
CreatePromptResult & WithName(const Aws::String &value)
void SetDescription(const char *value)
const Aws::Vector< PromptVariant > & GetVariants() const
CreatePromptResult & WithDefaultVariant(const Aws::String &value)
CreatePromptResult & WithVersion(Aws::String &&value)
CreatePromptResult & WithCustomerEncryptionKeyArn(const char *value)
void SetName(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
CreatePromptResult & WithId(const Aws::String &value)
CreatePromptResult & WithRequestId(const Aws::String &value)
const Aws::String & GetArn() const
CreatePromptResult & WithArn(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetName(const char *value)
CreatePromptResult & WithName(Aws::String &&value)
CreatePromptResult & WithVariants(Aws::Vector< PromptVariant > &&value)
CreatePromptResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
CreatePromptResult & WithRequestId(Aws::String &&value)
CreatePromptResult & WithDescription(const Aws::String &value)
CreatePromptResult & WithRequestId(const char *value)
void SetVersion(Aws::String &&value)
AWS_BEDROCKAGENT_API CreatePromptResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetArn(const char *value)
const Aws::String & GetDescription() const
CreatePromptResult & WithVersion(const char *value)
void SetCustomerEncryptionKeyArn(const char *value)
CreatePromptResult & WithId(const char *value)
CreatePromptResult & WithName(const char *value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
CreatePromptResult & WithCustomerEncryptionKeyArn(const Aws::String &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