AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetGroupProfileResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DATAZONE_API GetGroupProfileResult() = default;
34
35
37
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 template<typename DomainIdT = Aws::String>
43 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
44 template<typename DomainIdT = Aws::String>
45 GetGroupProfileResult& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetGroupName() const { return m_groupName; }
53 template<typename GroupNameT = Aws::String>
54 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
55 template<typename GroupNameT = Aws::String>
56 GetGroupProfileResult& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetId() const { return m_id; }
64 template<typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
66 template<typename IdT = Aws::String>
67 GetGroupProfileResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
69
71
74 inline GroupProfileStatus GetStatus() const { return m_status; }
75 inline void SetStatus(GroupProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline GetGroupProfileResult& WithStatus(GroupProfileStatus value) { SetStatus(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 GetGroupProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_domainId;
90 bool m_domainIdHasBeenSet = false;
91
92 Aws::String m_groupName;
93 bool m_groupNameHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
99 bool m_statusHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace DataZone
107} // namespace Aws
GetGroupProfileResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API GetGroupProfileResult()=default
GetGroupProfileResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API GetGroupProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupProfileResult & WithGroupName(GroupNameT &&value)
GetGroupProfileResult & WithStatus(GroupProfileStatus value)
AWS_DATAZONE_API GetGroupProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGroupProfileResult & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue