AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
AutomatedDiscoveryAccount.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/AutomatedDiscoveryAccountStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
30 public:
31 AWS_MACIE2_API AutomatedDiscoveryAccount() = default;
34 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
61 inline AutomatedDiscoveryAccountStatus GetStatus() const { return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 m_statusHasBeenSet = true;
65 m_status = value;
66 }
68 SetStatus(value);
69 return *this;
70 }
72 private:
73 Aws::String m_accountId;
74
76 bool m_accountIdHasBeenSet = false;
77 bool m_statusHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Macie2
82} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AutomatedDiscoveryAccount & WithStatus(AutomatedDiscoveryAccountStatus value)
AWS_MACIE2_API AutomatedDiscoveryAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomatedDiscoveryAccountStatus GetStatus() const
AWS_MACIE2_API AutomatedDiscoveryAccount()=default
AWS_MACIE2_API AutomatedDiscoveryAccount(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(AutomatedDiscoveryAccountStatus value)
AutomatedDiscoveryAccount & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue