AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFirstName(const Aws::String& value) { m_firstNameHasBeenSet = true; m_firstName = value; }
48 inline void SetFirstName(Aws::String&& value) { m_firstNameHasBeenSet = true; m_firstName = std::move(value); }
49 inline void SetFirstName(const char* value) { m_firstNameHasBeenSet = true; m_firstName.assign(value); }
50 inline SsoUserProfileDetails& WithFirstName(const Aws::String& value) { SetFirstName(value); return *this;}
51 inline SsoUserProfileDetails& WithFirstName(Aws::String&& value) { SetFirstName(std::move(value)); return *this;}
52 inline SsoUserProfileDetails& WithFirstName(const char* value) { SetFirstName(value); return *this;}
54
56
59 inline const Aws::String& GetLastName() const{ return m_lastName; }
60 inline bool LastNameHasBeenSet() const { return m_lastNameHasBeenSet; }
61 inline void SetLastName(const Aws::String& value) { m_lastNameHasBeenSet = true; m_lastName = value; }
62 inline void SetLastName(Aws::String&& value) { m_lastNameHasBeenSet = true; m_lastName = std::move(value); }
63 inline void SetLastName(const char* value) { m_lastNameHasBeenSet = true; m_lastName.assign(value); }
64 inline SsoUserProfileDetails& WithLastName(const Aws::String& value) { SetLastName(value); return *this;}
65 inline SsoUserProfileDetails& WithLastName(Aws::String&& value) { SetLastName(std::move(value)); return *this;}
66 inline SsoUserProfileDetails& WithLastName(const char* value) { SetLastName(value); return *this;}
68
70
73 inline const Aws::String& GetUsername() const{ return m_username; }
74 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
75 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
76 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
77 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
78 inline SsoUserProfileDetails& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
79 inline SsoUserProfileDetails& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
80 inline SsoUserProfileDetails& WithUsername(const char* value) { SetUsername(value); return *this;}
82 private:
83
84 Aws::String m_firstName;
85 bool m_firstNameHasBeenSet = false;
86
87 Aws::String m_lastName;
88 bool m_lastNameHasBeenSet = false;
89
90 Aws::String m_username;
91 bool m_usernameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace DataZone
96} // namespace Aws
SsoUserProfileDetails & WithFirstName(Aws::String &&value)
AWS_DATAZONE_API SsoUserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
SsoUserProfileDetails & WithLastName(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
SsoUserProfileDetails & WithLastName(const Aws::String &value)
SsoUserProfileDetails & WithFirstName(const Aws::String &value)
SsoUserProfileDetails & WithFirstName(const char *value)
SsoUserProfileDetails & WithUsername(const char *value)
AWS_DATAZONE_API SsoUserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
SsoUserProfileDetails & WithUsername(const Aws::String &value)
SsoUserProfileDetails & WithLastName(const char *value)
SsoUserProfileDetails & WithUsername(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue