AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Account.h
1
6#pragma once
7#include <aws/detective/Detective_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Detective
22{
23namespace Model
24{
25
32 class Account
33 {
34 public:
35 AWS_DETECTIVE_API Account() = default;
36 AWS_DETECTIVE_API Account(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DETECTIVE_API Account& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAccountId() const { return m_accountId; }
46 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
47 template<typename AccountIdT = Aws::String>
48 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
49 template<typename AccountIdT = Aws::String>
50 Account& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
52
54
58 inline const Aws::String& GetEmailAddress() const { return m_emailAddress; }
59 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
60 template<typename EmailAddressT = Aws::String>
61 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::forward<EmailAddressT>(value); }
62 template<typename EmailAddressT = Aws::String>
63 Account& WithEmailAddress(EmailAddressT&& value) { SetEmailAddress(std::forward<EmailAddressT>(value)); return *this;}
65 private:
66
67 Aws::String m_accountId;
68 bool m_accountIdHasBeenSet = false;
69
70 Aws::String m_emailAddress;
71 bool m_emailAddressHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Detective
76} // namespace Aws
void SetAccountId(AccountIdT &&value)
Definition Account.h:48
AWS_DETECTIVE_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithAccountId(AccountIdT &&value)
Definition Account.h:50
AWS_DETECTIVE_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
Account & WithEmailAddress(EmailAddressT &&value)
Definition Account.h:63
bool AccountIdHasBeenSet() const
Definition Account.h:46
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEmailAddress() const
Definition Account.h:58
AWS_DETECTIVE_API Account()=default
bool EmailAddressHasBeenSet() const
Definition Account.h:59
void SetEmailAddress(EmailAddressT &&value)
Definition Account.h:61
const Aws::String & GetAccountId() const
Definition Account.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue