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/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API AdminAccount();
37 AWS_GUARDDUTY_API AdminAccount(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GUARDDUTY_API AdminAccount& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
47 inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; }
48 inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; }
49 inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); }
50 inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); }
51 inline AdminAccount& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;}
52 inline AdminAccount& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;}
53 inline AdminAccount& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
55
57
60 inline const AdminStatus& GetAdminStatus() const{ return m_adminStatus; }
61 inline bool AdminStatusHasBeenSet() const { return m_adminStatusHasBeenSet; }
62 inline void SetAdminStatus(const AdminStatus& value) { m_adminStatusHasBeenSet = true; m_adminStatus = value; }
63 inline void SetAdminStatus(AdminStatus&& value) { m_adminStatusHasBeenSet = true; m_adminStatus = std::move(value); }
64 inline AdminAccount& WithAdminStatus(const AdminStatus& value) { SetAdminStatus(value); return *this;}
65 inline AdminAccount& WithAdminStatus(AdminStatus&& value) { SetAdminStatus(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_adminAccountId;
70 bool m_adminAccountIdHasBeenSet = false;
71
72 AdminStatus m_adminStatus;
73 bool m_adminStatusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
AdminAccount & WithAdminAccountId(const Aws::String &value)
AWS_GUARDDUTY_API AdminAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAdminStatus(const AdminStatus &value)
void SetAdminAccountId(const Aws::String &value)
AdminAccount & WithAdminStatus(AdminStatus &&value)
const AdminStatus & GetAdminStatus() const
void SetAdminAccountId(const char *value)
AdminAccount & WithAdminStatus(const AdminStatus &value)
AdminAccount & WithAdminAccountId(Aws::String &&value)
void SetAdminAccountId(Aws::String &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAdminStatus(AdminStatus &&value)
const Aws::String & GetAdminAccountId() const
AWS_GUARDDUTY_API AdminAccount(Aws::Utils::Json::JsonView jsonValue)
AdminAccount & WithAdminAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue