AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AccountDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
28 public:
29 AWS_SECURITYHUB_API AccountDetails() = default;
30 AWS_SECURITYHUB_API AccountDetails(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYHUB_API AccountDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetAccountId() const { return m_accountId; }
39 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
40 template <typename AccountIdT = Aws::String>
41 void SetAccountId(AccountIdT&& value) {
42 m_accountIdHasBeenSet = true;
43 m_accountId = std::forward<AccountIdT>(value);
44 }
45 template <typename AccountIdT = Aws::String>
46 AccountDetails& WithAccountId(AccountIdT&& value) {
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetEmail() const { return m_email; }
57 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
58 template <typename EmailT = Aws::String>
59 void SetEmail(EmailT&& value) {
60 m_emailHasBeenSet = true;
61 m_email = std::forward<EmailT>(value);
62 }
63 template <typename EmailT = Aws::String>
64 AccountDetails& WithEmail(EmailT&& value) {
65 SetEmail(std::forward<EmailT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_accountId;
71
72 Aws::String m_email;
73 bool m_accountIdHasBeenSet = false;
74 bool m_emailHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityHub
79} // namespace Aws
AccountDetails & WithAccountId(AccountIdT &&value)
AWS_SECURITYHUB_API AccountDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
AccountDetails & WithEmail(EmailT &&value)
AWS_SECURITYHUB_API AccountDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AccountDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(AccountIdT &&value)
const Aws::String & GetEmail() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue