AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
AccountDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace GuardDuty {
20namespace Model {
21
28 public:
29 AWS_GUARDDUTY_API AccountDetail() = default;
30 AWS_GUARDDUTY_API AccountDetail(Aws::Utils::Json::JsonView jsonValue);
31 AWS_GUARDDUTY_API AccountDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GUARDDUTY_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 AccountDetail& WithAccountId(AccountIdT&& value) {
47 SetAccountId(std::forward<AccountIdT>(value));
48 return *this;
49 }
51
53
67 inline const Aws::String& GetEmail() const { return m_email; }
68 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
69 template <typename EmailT = Aws::String>
70 void SetEmail(EmailT&& value) {
71 m_emailHasBeenSet = true;
72 m_email = std::forward<EmailT>(value);
73 }
74 template <typename EmailT = Aws::String>
75 AccountDetail& WithEmail(EmailT&& value) {
76 SetEmail(std::forward<EmailT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_accountId;
82
83 Aws::String m_email;
84 bool m_accountIdHasBeenSet = false;
85 bool m_emailHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace GuardDuty
90} // namespace Aws
void SetAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API AccountDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountDetail & WithEmail(EmailT &&value)
AWS_GUARDDUTY_API AccountDetail()=default
const Aws::String & GetAccountId() const
AWS_GUARDDUTY_API AccountDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEmail() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AccountDetail & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue