AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
50 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
51 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
52 inline BatchDeleteAgentError& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
53 inline BatchDeleteAgentError& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
54 inline BatchDeleteAgentError& WithAgentId(const char* value) { SetAgentId(value); return *this;}
56
58
61 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
62 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
63 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
64 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
65 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
66 inline BatchDeleteAgentError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
67 inline BatchDeleteAgentError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
68 inline BatchDeleteAgentError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
70
72
76 inline const DeleteAgentErrorCode& GetErrorCode() const{ return m_errorCode; }
77 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
78 inline void SetErrorCode(const DeleteAgentErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
79 inline void SetErrorCode(DeleteAgentErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
80 inline BatchDeleteAgentError& WithErrorCode(const DeleteAgentErrorCode& value) { SetErrorCode(value); return *this;}
81 inline BatchDeleteAgentError& WithErrorCode(DeleteAgentErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_agentId;
86 bool m_agentIdHasBeenSet = false;
87
88 Aws::String m_errorMessage;
89 bool m_errorMessageHasBeenSet = false;
90
91 DeleteAgentErrorCode m_errorCode;
92 bool m_errorCodeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ApplicationDiscoveryService
97} // namespace Aws
BatchDeleteAgentError & WithErrorMessage(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API BatchDeleteAgentError()
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDeleteAgentError & WithErrorMessage(const Aws::String &value)
BatchDeleteAgentError & WithErrorCode(const DeleteAgentErrorCode &value)
BatchDeleteAgentError & WithAgentId(const Aws::String &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