7#include <aws/agent-discovery/AgentDiscovery_EXPORTS.h>
8#include <aws/agent-discovery/model/ArdErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AgentDiscovery {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
57 m_errorCodeHasBeenSet =
true;
69 bool m_messageHasBeenSet =
false;
70 bool m_errorCodeHasBeenSet =
false;
bool ErrorCodeHasBeenSet() const
ThrottlingException & WithErrorCode(ArdErrorCode value)
void SetMessage(MessageT &&value)
AWS_AGENTDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTDISCOVERY_API ThrottlingException()=default
const Aws::String & GetMessage() const
AWS_AGENTDISCOVERY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTDISCOVERY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithMessage(MessageT &&value)
void SetErrorCode(ArdErrorCode value)
bool MessageHasBeenSet() const
ArdErrorCode GetErrorCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue