AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GroupProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/GroupProfileStatus.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 GroupProfileSummary() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
47 GroupProfileSummary& WithDomainId(DomainIdT&& value) {
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline GroupProfileStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(GroupProfileStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetGroupName() const { return m_groupName; }
92 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
93 template <typename GroupNameT = Aws::String>
94 void SetGroupName(GroupNameT&& value) {
95 m_groupNameHasBeenSet = true;
96 m_groupName = std::forward<GroupNameT>(value);
97 }
98 template <typename GroupNameT = Aws::String>
99 GroupProfileSummary& WithGroupName(GroupNameT&& value) {
100 SetGroupName(std::forward<GroupNameT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_domainId;
106
107 Aws::String m_id;
108
110
111 Aws::String m_groupName;
112 bool m_domainIdHasBeenSet = false;
113 bool m_idHasBeenSet = false;
114 bool m_statusHasBeenSet = false;
115 bool m_groupNameHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace DataZone
120} // 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