AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchDeleteAgentError.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/DeleteAgentErrorCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationDiscoveryService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError() = default;
38 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAgentId() const { return m_agentId; }
48 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
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>
52 BatchDeleteAgentError& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
60 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
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>
64 BatchDeleteAgentError& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
66
68
72 inline DeleteAgentErrorCode GetErrorCode() const { return m_errorCode; }
73 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
74 inline void SetErrorCode(DeleteAgentErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
77 private:
78
79 Aws::String m_agentId;
80 bool m_agentIdHasBeenSet = false;
81
82 Aws::String m_errorMessage;
83 bool m_errorMessageHasBeenSet = false;
84
86 bool m_errorCodeHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ApplicationDiscoveryService
91} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteAgentError & WithErrorMessage(ErrorMessageT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError()=default
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