7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/DeleteAgentErrorCode.h>
22namespace ApplicationDiscoveryService
49 template<
typename AgentIdT = Aws::String>
50 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet =
true; m_agentId = std::forward<AgentIdT>(value); }
51 template<
typename AgentIdT = Aws::String>
61 template<
typename ErrorMessageT = Aws::String>
62 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
63 template<
typename ErrorMessageT = Aws::String>
80 bool m_agentIdHasBeenSet =
false;
83 bool m_errorMessageHasBeenSet =
false;
86 bool m_errorCodeHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
bool AgentIdHasBeenSet() const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetAgentId() const
BatchDeleteAgentError & WithAgentId(AgentIdT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError(Aws::Utils::Json::JsonView jsonValue)
bool ErrorMessageHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(DeleteAgentErrorCode value)
bool ErrorCodeHasBeenSet() const
BatchDeleteAgentError & WithErrorMessage(ErrorMessageT &&value)
DeleteAgentErrorCode GetErrorCode() const
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError()=default
void SetAgentId(AgentIdT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDeleteAgentError & WithErrorCode(DeleteAgentErrorCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue