AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DelegatedAdminAccount.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/DelegatedAdminStatus.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 Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API DelegatedAdminAccount();
39 AWS_INSPECTOR2_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 DelegatedAdminAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
53 inline DelegatedAdminAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
54 inline DelegatedAdminAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
56
58
61 inline const DelegatedAdminStatus& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const DelegatedAdminStatus& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(DelegatedAdminStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline DelegatedAdminAccount& WithStatus(const DelegatedAdminStatus& value) { SetStatus(value); return *this;}
66 inline DelegatedAdminAccount& WithStatus(DelegatedAdminStatus&& value) { SetStatus(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_accountId;
71 bool m_accountIdHasBeenSet = false;
72
73 DelegatedAdminStatus m_status;
74 bool m_statusHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Inspector2
79} // namespace Aws
DelegatedAdminAccount & WithStatus(DelegatedAdminStatus &&value)
void SetStatus(const DelegatedAdminStatus &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API DelegatedAdminAccount(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(DelegatedAdminStatus &&value)
AWS_INSPECTOR2_API DelegatedAdminAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
const DelegatedAdminStatus & GetStatus() const
DelegatedAdminAccount & WithAccountId(Aws::String &&value)
DelegatedAdminAccount & WithAccountId(const char *value)
DelegatedAdminAccount & WithStatus(const DelegatedAdminStatus &value)
DelegatedAdminAccount & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue