AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API UserProfileDetails() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const IamUserProfileDetails& GetIam() const { return m_iam; }
47 inline bool IamHasBeenSet() const { return m_iamHasBeenSet; }
48 template<typename IamT = IamUserProfileDetails>
49 void SetIam(IamT&& value) { m_iamHasBeenSet = true; m_iam = std::forward<IamT>(value); }
50 template<typename IamT = IamUserProfileDetails>
51 UserProfileDetails& WithIam(IamT&& value) { SetIam(std::forward<IamT>(value)); return *this;}
53
55
58 inline const SsoUserProfileDetails& GetSso() const { return m_sso; }
59 inline bool SsoHasBeenSet() const { return m_ssoHasBeenSet; }
60 template<typename SsoT = SsoUserProfileDetails>
61 void SetSso(SsoT&& value) { m_ssoHasBeenSet = true; m_sso = std::forward<SsoT>(value); }
62 template<typename SsoT = SsoUserProfileDetails>
63 UserProfileDetails& WithSso(SsoT&& value) { SetSso(std::forward<SsoT>(value)); return *this;}
65 private:
66
68 bool m_iamHasBeenSet = false;
69
71 bool m_ssoHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace DataZone
76} // 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