AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdminAccountSummary.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fms/model/OrganizationStatus.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 FMS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FMS_API AdminAccountSummary();
40
41
43
47 inline const Aws::String& GetAdminAccount() const{ return m_adminAccount; }
48 inline bool AdminAccountHasBeenSet() const { return m_adminAccountHasBeenSet; }
49 inline void SetAdminAccount(const Aws::String& value) { m_adminAccountHasBeenSet = true; m_adminAccount = value; }
50 inline void SetAdminAccount(Aws::String&& value) { m_adminAccountHasBeenSet = true; m_adminAccount = std::move(value); }
51 inline void SetAdminAccount(const char* value) { m_adminAccountHasBeenSet = true; m_adminAccount.assign(value); }
52 inline AdminAccountSummary& WithAdminAccount(const Aws::String& value) { SetAdminAccount(value); return *this;}
53 inline AdminAccountSummary& WithAdminAccount(Aws::String&& value) { SetAdminAccount(std::move(value)); return *this;}
54 inline AdminAccountSummary& WithAdminAccount(const char* value) { SetAdminAccount(value); return *this;}
56
58
69 inline bool GetDefaultAdmin() const{ return m_defaultAdmin; }
70 inline bool DefaultAdminHasBeenSet() const { return m_defaultAdminHasBeenSet; }
71 inline void SetDefaultAdmin(bool value) { m_defaultAdminHasBeenSet = true; m_defaultAdmin = value; }
72 inline AdminAccountSummary& WithDefaultAdmin(bool value) { SetDefaultAdmin(value); return *this;}
74
76
87 inline const OrganizationStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const OrganizationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(OrganizationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline AdminAccountSummary& WithStatus(const OrganizationStatus& value) { SetStatus(value); return *this;}
92 inline AdminAccountSummary& WithStatus(OrganizationStatus&& value) { SetStatus(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_adminAccount;
97 bool m_adminAccountHasBeenSet = false;
98
99 bool m_defaultAdmin;
100 bool m_defaultAdminHasBeenSet = false;
101
102 OrganizationStatus m_status;
103 bool m_statusHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace FMS
108} // namespace Aws
void SetAdminAccount(Aws::String &&value)
void SetAdminAccount(const Aws::String &value)
AdminAccountSummary & WithStatus(OrganizationStatus &&value)
AdminAccountSummary & WithAdminAccount(const Aws::String &value)
const OrganizationStatus & GetStatus() const
AdminAccountSummary & WithStatus(const OrganizationStatus &value)
AWS_FMS_API AdminAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AdminAccountSummary & WithDefaultAdmin(bool value)
void SetStatus(OrganizationStatus &&value)
AdminAccountSummary & WithAdminAccount(Aws::String &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(const OrganizationStatus &value)
AWS_FMS_API AdminAccountSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAdminAccount() const
AdminAccountSummary & WithAdminAccount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue