AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UserProfileSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/UserProfileDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API UserProfileSummary() = default;
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const UserProfileDetails& GetDetails() const { return m_details; }
48 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
49 template<typename DetailsT = UserProfileDetails>
50 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
51 template<typename DetailsT = UserProfileDetails>
52 UserProfileSummary& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
54
56
59 inline const Aws::String& GetDomainId() const { return m_domainId; }
60 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
61 template<typename DomainIdT = Aws::String>
62 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
63 template<typename DomainIdT = Aws::String>
64 UserProfileSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetId() const { return m_id; }
72 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
73 template<typename IdT = Aws::String>
74 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
75 template<typename IdT = Aws::String>
76 UserProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
78
80
83 inline UserProfileStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(UserProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline UserProfileSummary& WithStatus(UserProfileStatus value) { SetStatus(value); return *this;}
88
90
93 inline UserProfileType GetType() const { return m_type; }
94 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
95 inline void SetType(UserProfileType value) { m_typeHasBeenSet = true; m_type = value; }
96 inline UserProfileSummary& WithType(UserProfileType value) { SetType(value); return *this;}
98 private:
99
100 UserProfileDetails m_details;
101 bool m_detailsHasBeenSet = false;
102
103 Aws::String m_domainId;
104 bool m_domainIdHasBeenSet = false;
105
106 Aws::String m_id;
107 bool m_idHasBeenSet = false;
108
110 bool m_statusHasBeenSet = false;
111
113 bool m_typeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace DataZone
118} // namespace Aws
UserProfileSummary & WithStatus(UserProfileStatus value)
void SetStatus(UserProfileStatus value)
AWS_DATAZONE_API UserProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileSummary()=default
UserProfileSummary & WithType(UserProfileType value)
UserProfileSummary & WithDetails(DetailsT &&value)
const UserProfileDetails & GetDetails() const
UserProfileSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
UserProfileSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue