7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/model/MessageSelectionStrategy.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lexv2-models/model/MessageGroup.h>
12#include <aws/lexv2-models/model/PromptAttempt.h>
13#include <aws/lexv2-models/model/PromptAttemptSpecification.h>
68 inline void SetMaxRetries(
int value) { m_maxRetriesHasBeenSet =
true; m_maxRetries = value; }
78 inline void SetAllowInterrupt(
bool value) { m_allowInterruptHasBeenSet =
true; m_allowInterrupt = value; }
112 bool m_messageGroupsHasBeenSet =
false;
115 bool m_maxRetriesHasBeenSet =
false;
117 bool m_allowInterrupt;
118 bool m_allowInterruptHasBeenSet =
false;
121 bool m_messageSelectionStrategyHasBeenSet =
false;
124 bool m_promptAttemptsSpecificationHasBeenSet =
false;
PromptSpecification & AddMessageGroups(MessageGroup &&value)
PromptSpecification & AddPromptAttemptsSpecification(PromptAttempt &&key, PromptAttemptSpecification &&value)
int GetMaxRetries() const
AWS_LEXMODELSV2_API PromptSpecification()
PromptSpecification & WithMessageGroups(const Aws::Vector< MessageGroup > &value)
void SetPromptAttemptsSpecification(Aws::Map< PromptAttempt, PromptAttemptSpecification > &&value)
void SetMaxRetries(int value)
PromptSpecification & WithMaxRetries(int value)
PromptSpecification & WithPromptAttemptsSpecification(const Aws::Map< PromptAttempt, PromptAttemptSpecification > &value)
AWS_LEXMODELSV2_API PromptSpecification(Aws::Utils::Json::JsonView jsonValue)
PromptSpecification & AddPromptAttemptsSpecification(const PromptAttempt &key, const PromptAttemptSpecification &value)
const Aws::Vector< MessageGroup > & GetMessageGroups() const
const MessageSelectionStrategy & GetMessageSelectionStrategy() const
bool MaxRetriesHasBeenSet() const
PromptSpecification & WithMessageSelectionStrategy(const MessageSelectionStrategy &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool GetAllowInterrupt() const
void SetMessageGroups(Aws::Vector< MessageGroup > &&value)
bool MessageSelectionStrategyHasBeenSet() const
void SetPromptAttemptsSpecification(const Aws::Map< PromptAttempt, PromptAttemptSpecification > &value)
const Aws::Map< PromptAttempt, PromptAttemptSpecification > & GetPromptAttemptsSpecification() const
bool MessageGroupsHasBeenSet() const
PromptSpecification & AddMessageGroups(const MessageGroup &value)
PromptSpecification & WithPromptAttemptsSpecification(Aws::Map< PromptAttempt, PromptAttemptSpecification > &&value)
void SetMessageSelectionStrategy(const MessageSelectionStrategy &value)
void SetAllowInterrupt(bool value)
void SetMessageGroups(const Aws::Vector< MessageGroup > &value)
void SetMessageSelectionStrategy(MessageSelectionStrategy &&value)
PromptSpecification & WithMessageGroups(Aws::Vector< MessageGroup > &&value)
AWS_LEXMODELSV2_API PromptSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PromptAttemptsSpecificationHasBeenSet() const
PromptSpecification & WithMessageSelectionStrategy(MessageSelectionStrategy &&value)
PromptSpecification & WithAllowInterrupt(bool value)
PromptSpecification & AddPromptAttemptsSpecification(const PromptAttempt &key, PromptAttemptSpecification &&value)
bool AllowInterruptHasBeenSet() const
PromptSpecification & AddPromptAttemptsSpecification(PromptAttempt &&key, const PromptAttemptSpecification &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue