AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UserIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API UserIdentifier() = default;
31 AWS_QUICKSIGHT_API UserIdentifier(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API UserIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetUserName() const { return m_userName; }
40 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
41 template <typename UserNameT = Aws::String>
42 void SetUserName(UserNameT&& value) {
43 m_userNameHasBeenSet = true;
44 m_userName = std::forward<UserNameT>(value);
45 }
46 template <typename UserNameT = Aws::String>
47 UserIdentifier& WithUserName(UserNameT&& value) {
48 SetUserName(std::forward<UserNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEmail() const { return m_email; }
58 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
59 template <typename EmailT = Aws::String>
60 void SetEmail(EmailT&& value) {
61 m_emailHasBeenSet = true;
62 m_email = std::forward<EmailT>(value);
63 }
64 template <typename EmailT = Aws::String>
65 UserIdentifier& WithEmail(EmailT&& value) {
66 SetEmail(std::forward<EmailT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetUserArn() const { return m_userArn; }
77 inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; }
78 template <typename UserArnT = Aws::String>
79 void SetUserArn(UserArnT&& value) {
80 m_userArnHasBeenSet = true;
81 m_userArn = std::forward<UserArnT>(value);
82 }
83 template <typename UserArnT = Aws::String>
84 UserIdentifier& WithUserArn(UserArnT&& value) {
85 SetUserArn(std::forward<UserArnT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_userName;
91
92 Aws::String m_email;
93
94 Aws::String m_userArn;
95 bool m_userNameHasBeenSet = false;
96 bool m_emailHasBeenSet = false;
97 bool m_userArnHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
UserIdentifier & WithEmail(EmailT &&value)
const Aws::String & GetUserName() const
const Aws::String & GetEmail() const
AWS_QUICKSIGHT_API UserIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API UserIdentifier(Aws::Utils::Json::JsonView jsonValue)
UserIdentifier & WithUserName(UserNameT &&value)
AWS_QUICKSIGHT_API UserIdentifier()=default
UserIdentifier & WithUserArn(UserArnT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUserArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue