AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutomatedDiscoveryAccountUpdateError.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/AutomatedDiscoveryAccountUpdateErrorCode.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 Macie2
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AutomatedDiscoveryAccountUpdateError& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AutomatedDiscoveryAccountUpdateError& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AutomatedDiscoveryAccountUpdateError& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
66 inline const AutomatedDiscoveryAccountUpdateErrorCode& GetErrorCode() const{ return m_errorCode; }
67 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
68 inline void SetErrorCode(const AutomatedDiscoveryAccountUpdateErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
69 inline void SetErrorCode(AutomatedDiscoveryAccountUpdateErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
73 private:
74
75 Aws::String m_accountId;
76 bool m_accountIdHasBeenSet = false;
77
79 bool m_errorCodeHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Macie2
84} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedDiscoveryAccountUpdateError & WithAccountId(const char *value)
const AutomatedDiscoveryAccountUpdateErrorCode & GetErrorCode() const
void SetErrorCode(const AutomatedDiscoveryAccountUpdateErrorCode &value)
AutomatedDiscoveryAccountUpdateError & WithErrorCode(AutomatedDiscoveryAccountUpdateErrorCode &&value)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdateError(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdateError & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedDiscoveryAccountUpdateError & WithErrorCode(const AutomatedDiscoveryAccountUpdateErrorCode &value)
AutomatedDiscoveryAccountUpdateError & WithAccountId(Aws::String &&value)
AutomatedDiscoveryAccountUpdateError & WithAccountId(const Aws::String &value)
void SetErrorCode(AutomatedDiscoveryAccountUpdateErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue