AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UserProfileDetails.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/IamUserProfileDetails.h>
9#include <aws/datazone/model/SsoUserProfileDetails.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API UserProfileDetails() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const IamUserProfileDetails& GetIam() const { return m_iam; }
40 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
41 template <typename IamT = IamUserProfileDetails>
42 void SetIam(IamT&& value) {
43 m_iamHasBeenSet = true;
44 m_iam = std::forward<IamT>(value);
45 }
46 template <typename IamT = IamUserProfileDetails>
47 UserProfileDetails& WithIam(IamT&& value) {
48 SetIam(std::forward<IamT>(value));
49 return *this;
50 }
52
54
57 inline const SsoUserProfileDetails& GetSso() const { return m_sso; }
58 inline bool SsoHasBeenSet() const { return m_ssoHasBeenSet; }
59 template <typename SsoT = SsoUserProfileDetails>
60 void SetSso(SsoT&& value) {
61 m_ssoHasBeenSet = true;
62 m_sso = std::forward<SsoT>(value);
63 }
64 template <typename SsoT = SsoUserProfileDetails>
65 UserProfileDetails& WithSso(SsoT&& value) {
66 SetSso(std::forward<SsoT>(value));
67 return *this;
68 }
70 private:
72
74 bool m_iamHasBeenSet = false;
75 bool m_ssoHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace DataZone
80} // namespace Aws
UserProfileDetails & WithIam(IamT &&value)
AWS_DATAZONE_API UserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const IamUserProfileDetails & GetIam() const
const SsoUserProfileDetails & GetSso() const
UserProfileDetails & WithSso(SsoT &&value)
AWS_DATAZONE_API UserProfileDetails()=default
Aws::Utils::Json::JsonValue JsonValue