AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
37 AWS_MACIE2_API AutomatedDiscoveryAccountUpdateError() = default;
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 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 AutomatedDiscoveryAccountUpdateError& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
64 inline AutomatedDiscoveryAccountUpdateErrorCode GetErrorCode() const { return m_errorCode; }
65 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
66 inline void SetErrorCode(AutomatedDiscoveryAccountUpdateErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
75 bool m_errorCodeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Macie2
80} // namespace Aws
AutomatedDiscoveryAccountUpdateError & WithAccountId(AccountIdT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API AutomatedDiscoveryAccountUpdateError(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdateError & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedDiscoveryAccountUpdateError & WithErrorCode(AutomatedDiscoveryAccountUpdateErrorCode value)
void SetErrorCode(AutomatedDiscoveryAccountUpdateErrorCode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue