AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdminAccount.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/AdminStatus.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 AdminAccount();
37 AWS_MACIE2_API AdminAccount(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline AdminAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline AdminAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline AdminAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
61 inline const AdminStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const AdminStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(AdminStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline AdminAccount& WithStatus(const AdminStatus& value) { SetStatus(value); return *this;}
66 inline AdminAccount& WithStatus(AdminStatus&& value) { SetStatus(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_accountId;
71 bool m_accountIdHasBeenSet = false;
72
73 AdminStatus m_status;
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Macie2
79} // namespace Aws
void SetAccountId(const char *value)
AdminAccount & WithStatus(const AdminStatus &value)
AWS_MACIE2_API AdminAccount(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(Aws::String &&value)
AdminAccount & WithAccountId(Aws::String &&value)
AWS_MACIE2_API AdminAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AdminAccount & WithAccountId(const char *value)
AdminAccount & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
void SetStatus(const AdminStatus &value)
void SetStatus(AdminStatus &&value)
const Aws::String & GetAccountId() const
AdminAccount & WithStatus(AdminStatus &&value)
const AdminStatus & GetStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue