AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIam(const IamUserProfileDetails& value) { m_iamHasBeenSet = true; m_iam = value; }
49 inline void SetIam(IamUserProfileDetails&& value) { m_iamHasBeenSet = true; m_iam = std::move(value); }
50 inline UserProfileDetails& WithIam(const IamUserProfileDetails& value) { SetIam(value); return *this;}
51 inline UserProfileDetails& WithIam(IamUserProfileDetails&& value) { SetIam(std::move(value)); return *this;}
53
55
58 inline const SsoUserProfileDetails& GetSso() const{ return m_sso; }
59 inline bool SsoHasBeenSet() const { return m_ssoHasBeenSet; }
60 inline void SetSso(const SsoUserProfileDetails& value) { m_ssoHasBeenSet = true; m_sso = value; }
61 inline void SetSso(SsoUserProfileDetails&& value) { m_ssoHasBeenSet = true; m_sso = std::move(value); }
62 inline UserProfileDetails& WithSso(const SsoUserProfileDetails& value) { SetSso(value); return *this;}
63 inline UserProfileDetails& WithSso(SsoUserProfileDetails&& value) { SetSso(std::move(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
void SetSso(const SsoUserProfileDetails &value)
AWS_DATAZONE_API UserProfileDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileDetails(Aws::Utils::Json::JsonView jsonValue)
void SetIam(const IamUserProfileDetails &value)
UserProfileDetails & WithIam(const IamUserProfileDetails &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIam(IamUserProfileDetails &&value)
const IamUserProfileDetails & GetIam() const
const SsoUserProfileDetails & GetSso() const
UserProfileDetails & WithSso(const SsoUserProfileDetails &value)
void SetSso(SsoUserProfileDetails &&value)
UserProfileDetails & WithSso(SsoUserProfileDetails &&value)
UserProfileDetails & WithIam(IamUserProfileDetails &&value)
Aws::Utils::Json::JsonValue JsonValue