AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AutomatedDiscoveryAccountUpdate.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/AutomatedDiscoveryAccountStatus.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
34 {
35 public:
36 AWS_MACIE2_API AutomatedDiscoveryAccountUpdate() = default;
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const { return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 AutomatedDiscoveryAccountUpdate& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
53
55
61 inline AutomatedDiscoveryAccountStatus GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(AutomatedDiscoveryAccountStatus value) { m_statusHasBeenSet = true; m_status = value; }
66 private:
67
68 Aws::String m_accountId;
69 bool m_accountIdHasBeenSet = false;
70
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Macie2
77} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API AutomatedDiscoveryAccountUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdate()=default
AutomatedDiscoveryAccountUpdate & WithStatus(AutomatedDiscoveryAccountStatus value)
AutomatedDiscoveryAccountUpdate & WithAccountId(AccountIdT &&value)
AWS_MACIE2_API AutomatedDiscoveryAccountUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue