AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
48 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
49 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
50 inline Account& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
51 inline Account& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
52 inline Account& WithAccountId(const char* value) { SetAccountId(value); return *this;}
54
56
60 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
61 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
62 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
63 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
64 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
65 inline Account& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
66 inline Account& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
67 inline Account& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
74 Aws::String m_emailAddress;
75 bool m_emailAddressHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Detective
80} // namespace Aws
void SetEmailAddress(const Aws::String &value)
Definition Account.h:62
AWS_DETECTIVE_API Account(Aws::Utils::Json::JsonView jsonValue)
void SetEmailAddress(Aws::String &&value)
Definition Account.h:63
Account & WithAccountId(const char *value)
Definition Account.h:52
Account & WithEmailAddress(const char *value)
Definition Account.h:67
Account & WithAccountId(Aws::String &&value)
Definition Account.h:51
AWS_DETECTIVE_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
Definition Account.h:46
void SetAccountId(const Aws::String &value)
Definition Account.h:47
AWS_DETECTIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(const char *value)
Definition Account.h:49
Account & WithEmailAddress(const Aws::String &value)
Definition Account.h:65
const Aws::String & GetEmailAddress() const
Definition Account.h:60
bool EmailAddressHasBeenSet() const
Definition Account.h:61
Account & WithAccountId(const Aws::String &value)
Definition Account.h:50
AWS_DETECTIVE_API Account()
void SetEmailAddress(const char *value)
Definition Account.h:64
const Aws::String & GetAccountId() const
Definition Account.h:45
void SetAccountId(Aws::String &&value)
Definition Account.h:48
Account & WithEmailAddress(Aws::String &&value)
Definition Account.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue