AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SsoUserProfileDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
28 public:
29 AWS_DATAZONE_API SsoUserProfileDetails() = default;
32 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetUsername() const { return m_username; }
39 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
40 template <typename UsernameT = Aws::String>
41 void SetUsername(UsernameT&& value) {
42 m_usernameHasBeenSet = true;
43 m_username = std::forward<UsernameT>(value);
44 }
45 template <typename UsernameT = Aws::String>
46 SsoUserProfileDetails& WithUsername(UsernameT&& value) {
47 SetUsername(std::forward<UsernameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetFirstName() const { return m_firstName; }
57 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
58 template <typename FirstNameT = Aws::String>
59 void SetFirstName(FirstNameT&& value) {
60 m_firstNameHasBeenSet = true;
61 m_firstName = std::forward<FirstNameT>(value);
62 }
63 template <typename FirstNameT = Aws::String>
64 SsoUserProfileDetails& WithFirstName(FirstNameT&& value) {
65 SetFirstName(std::forward<FirstNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetLastName() const { return m_lastName; }
75 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
76 template <typename LastNameT = Aws::String>
77 void SetLastName(LastNameT&& value) {
78 m_lastNameHasBeenSet = true;
79 m_lastName = std::forward<LastNameT>(value);
80 }
81 template <typename LastNameT = Aws::String>
82 SsoUserProfileDetails& WithLastName(LastNameT&& value) {
83 SetLastName(std::forward<LastNameT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_username;
89
90 Aws::String m_firstName;
91
92 Aws::String m_lastName;
93 bool m_usernameHasBeenSet = false;
94 bool m_firstNameHasBeenSet = false;
95 bool m_lastNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
AWS_DATAZONE_API SsoUserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
SsoUserProfileDetails & WithLastName(LastNameT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SsoUserProfileDetails & WithUsername(UsernameT &&value)
AWS_DATAZONE_API SsoUserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
SsoUserProfileDetails & WithFirstName(FirstNameT &&value)
AWS_DATAZONE_API SsoUserProfileDetails()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue