AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountDetail.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GUARDDUTY_API AccountDetail();
35 AWS_GUARDDUTY_API AccountDetail(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GUARDDUTY_API AccountDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
46 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
47 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
48 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
49 inline AccountDetail& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
50 inline AccountDetail& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
51 inline AccountDetail& WithAccountId(const char* value) { SetAccountId(value); return *this;}
53
55
58 inline const Aws::String& GetEmail() const{ return m_email; }
59 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
60 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
61 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
62 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
63 inline AccountDetail& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
64 inline AccountDetail& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
65 inline AccountDetail& WithEmail(const char* value) { SetEmail(value); return *this;}
67 private:
68
69 Aws::String m_accountId;
70 bool m_accountIdHasBeenSet = false;
71
72 Aws::String m_email;
73 bool m_emailHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace GuardDuty
78} // namespace Aws
AWS_GUARDDUTY_API AccountDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEmail(Aws::String &&value)
AccountDetail & WithAccountId(Aws::String &&value)
AccountDetail & WithEmail(const char *value)
AccountDetail & WithAccountId(const char *value)
void SetEmail(const Aws::String &value)
const Aws::String & GetAccountId() const
AccountDetail & WithEmail(const Aws::String &value)
AWS_GUARDDUTY_API AccountDetail(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
const Aws::String & GetEmail() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountId(Aws::String &&value)
void SetAccountId(const char *value)
AccountDetail & WithAccountId(const Aws::String &value)
void SetEmail(const char *value)
AccountDetail & WithEmail(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue