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/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/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 SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API AdminAccount();
37 AWS_SECURITYHUB_API AdminAccount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYHUB_API AdminAccount& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetAccountId() const{ return m_accountId; }
48 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
49 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
50 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
51 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
52 inline AdminAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline AdminAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline AdminAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
62 inline const AdminStatus& GetStatus() const{ return m_status; }
63 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
64 inline void SetStatus(const AdminStatus& value) { m_statusHasBeenSet = true; m_status = value; }
65 inline void SetStatus(AdminStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
66 inline AdminAccount& WithStatus(const AdminStatus& value) { SetStatus(value); return *this;}
67 inline AdminAccount& WithStatus(AdminStatus&& value) { SetStatus(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 AdminStatus m_status;
75 bool m_statusHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SecurityHub
80} // namespace Aws
void SetStatus(const AdminStatus &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AdminStatus & GetStatus() const
AdminAccount & WithAccountId(const char *value)
void SetAccountId(Aws::String &&value)
AWS_SECURITYHUB_API AdminAccount(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(AdminStatus &&value)
AdminAccount & WithAccountId(const Aws::String &value)
AdminAccount & WithStatus(const AdminStatus &value)
void SetAccountId(const Aws::String &value)
AdminAccount & WithStatus(AdminStatus &&value)
AWS_SECURITYHUB_API AdminAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AdminAccount()
const Aws::String & GetAccountId() const
void SetAccountId(const char *value)
AdminAccount & WithAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue