AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SsoUserProfileDetails.h
1
6#pragma once
7#include <aws/datazone/DataZone_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 DataZone
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_DATAZONE_API SsoUserProfileDetails() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetFirstName() const { return m_firstName; }
46 inline bool FirstNameHasBeenSet() const { return m_firstNameHasBeenSet; }
47 template<typename FirstNameT = Aws::String>
48 void SetFirstName(FirstNameT&& value) { m_firstNameHasBeenSet = true; m_firstName = std::forward<FirstNameT>(value); }
49 template<typename FirstNameT = Aws::String>
50 SsoUserProfileDetails& WithFirstName(FirstNameT&& value) { SetFirstName(std::forward<FirstNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetLastName() const { return m_lastName; }
58 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
59 template<typename LastNameT = Aws::String>
60 void SetLastName(LastNameT&& value) { m_lastNameHasBeenSet = true; m_lastName = std::forward<LastNameT>(value); }
61 template<typename LastNameT = Aws::String>
62 SsoUserProfileDetails& WithLastName(LastNameT&& value) { SetLastName(std::forward<LastNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetUsername() const { return m_username; }
70 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
71 template<typename UsernameT = Aws::String>
72 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
73 template<typename UsernameT = Aws::String>
74 SsoUserProfileDetails& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
76 private:
77
78 Aws::String m_firstName;
79 bool m_firstNameHasBeenSet = false;
80
81 Aws::String m_lastName;
82 bool m_lastNameHasBeenSet = false;
83
84 Aws::String m_username;
85 bool m_usernameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace DataZone
90} // 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