AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GroupProfileSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/GroupProfileStatus.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
33 {
34 public:
35 AWS_DATAZONE_API GroupProfileSummary() = default;
38 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDomainId() const { return m_domainId; }
46 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 template<typename DomainIdT = Aws::String>
48 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
49 template<typename DomainIdT = Aws::String>
50 GroupProfileSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetGroupName() const { return m_groupName; }
58 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
59 template<typename GroupNameT = Aws::String>
60 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
61 template<typename GroupNameT = Aws::String>
62 GroupProfileSummary& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetId() const { return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 template<typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
73 template<typename IdT = Aws::String>
74 GroupProfileSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
76
78
81 inline GroupProfileStatus GetStatus() const { return m_status; }
82 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
83 inline void SetStatus(GroupProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
84 inline GroupProfileSummary& WithStatus(GroupProfileStatus value) { SetStatus(value); return *this;}
86 private:
87
88 Aws::String m_domainId;
89 bool m_domainIdHasBeenSet = false;
90
91 Aws::String m_groupName;
92 bool m_groupNameHasBeenSet = false;
93
94 Aws::String m_id;
95 bool m_idHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace DataZone
103} // namespace Aws
void SetStatus(GroupProfileStatus value)
AWS_DATAZONE_API GroupProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API GroupProfileSummary()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
GroupProfileSummary & WithDomainId(DomainIdT &&value)
GroupProfileSummary & WithGroupName(GroupNameT &&value)
AWS_DATAZONE_API GroupProfileSummary(Aws::Utils::Json::JsonView jsonValue)
GroupProfileSummary & WithId(IdT &&value)
GroupProfileSummary & WithStatus(GroupProfileStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue