AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountInfo.h
1
6#pragma once
7#include <aws/sso/SSO_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 SSO
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SSO_API AccountInfo();
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 AccountInfo& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
50 inline AccountInfo& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
51 inline AccountInfo& WithAccountId(const char* value) { SetAccountId(value); return *this;}
53
55
58 inline const Aws::String& GetAccountName() const{ return m_accountName; }
59 inline bool AccountNameHasBeenSet() const { return m_accountNameHasBeenSet; }
60 inline void SetAccountName(const Aws::String& value) { m_accountNameHasBeenSet = true; m_accountName = value; }
61 inline void SetAccountName(Aws::String&& value) { m_accountNameHasBeenSet = true; m_accountName = std::move(value); }
62 inline void SetAccountName(const char* value) { m_accountNameHasBeenSet = true; m_accountName.assign(value); }
63 inline AccountInfo& WithAccountName(const Aws::String& value) { SetAccountName(value); return *this;}
64 inline AccountInfo& WithAccountName(Aws::String&& value) { SetAccountName(std::move(value)); return *this;}
65 inline AccountInfo& WithAccountName(const char* value) { SetAccountName(value); return *this;}
67
69
72 inline const Aws::String& GetEmailAddress() const{ return m_emailAddress; }
73 inline bool EmailAddressHasBeenSet() const { return m_emailAddressHasBeenSet; }
74 inline void SetEmailAddress(const Aws::String& value) { m_emailAddressHasBeenSet = true; m_emailAddress = value; }
75 inline void SetEmailAddress(Aws::String&& value) { m_emailAddressHasBeenSet = true; m_emailAddress = std::move(value); }
76 inline void SetEmailAddress(const char* value) { m_emailAddressHasBeenSet = true; m_emailAddress.assign(value); }
77 inline AccountInfo& WithEmailAddress(const Aws::String& value) { SetEmailAddress(value); return *this;}
78 inline AccountInfo& WithEmailAddress(Aws::String&& value) { SetEmailAddress(std::move(value)); return *this;}
79 inline AccountInfo& WithEmailAddress(const char* value) { SetEmailAddress(value); return *this;}
81 private:
82
83 Aws::String m_accountId;
84 bool m_accountIdHasBeenSet = false;
85
86 Aws::String m_accountName;
87 bool m_accountNameHasBeenSet = false;
88
89 Aws::String m_emailAddress;
90 bool m_emailAddressHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SSO
95} // namespace Aws
AWS_SSO_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountName(const Aws::String &value)
Definition AccountInfo.h:60
AWS_SSO_API AccountInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAccountId(const Aws::String &value)
Definition AccountInfo.h:46
AccountInfo & WithAccountId(const Aws::String &value)
Definition AccountInfo.h:49
void SetEmailAddress(Aws::String &&value)
Definition AccountInfo.h:75
void SetAccountId(Aws::String &&value)
Definition AccountInfo.h:47
void SetEmailAddress(const Aws::String &value)
Definition AccountInfo.h:74
AccountInfo & WithAccountId(Aws::String &&value)
Definition AccountInfo.h:50
void SetAccountName(const char *value)
Definition AccountInfo.h:62
AccountInfo & WithAccountName(Aws::String &&value)
Definition AccountInfo.h:64
AccountInfo & WithEmailAddress(const Aws::String &value)
Definition AccountInfo.h:77
void SetAccountId(const char *value)
Definition AccountInfo.h:48
AccountInfo & WithAccountName(const char *value)
Definition AccountInfo.h:65
void SetEmailAddress(const char *value)
Definition AccountInfo.h:76
void SetAccountName(Aws::String &&value)
Definition AccountInfo.h:61
AWS_SSO_API AccountInfo(Aws::Utils::Json::JsonView jsonValue)
bool EmailAddressHasBeenSet() const
Definition AccountInfo.h:73
AccountInfo & WithAccountId(const char *value)
Definition AccountInfo.h:51
AccountInfo & WithAccountName(const Aws::String &value)
Definition AccountInfo.h:63
AccountInfo & WithEmailAddress(const char *value)
Definition AccountInfo.h:79
AccountInfo & WithEmailAddress(Aws::String &&value)
Definition AccountInfo.h:78
bool AccountNameHasBeenSet() const
Definition AccountInfo.h:59
const Aws::String & GetAccountName() const
Definition AccountInfo.h:58
const Aws::String & GetEmailAddress() const
Definition AccountInfo.h:72
const Aws::String & GetAccountId() const
Definition AccountInfo.h:44
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue