AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeGroupResult.h
1
6#pragma once
7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workmail/model/EntityState.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace WorkMail
26{
27namespace Model
28{
30 {
31 public:
32 AWS_WORKMAIL_API DescribeGroupResult() = default;
35
36
38
41 inline const Aws::String& GetGroupId() const { return m_groupId; }
42 template<typename GroupIdT = Aws::String>
43 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
44 template<typename GroupIdT = Aws::String>
45 DescribeGroupResult& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 DescribeGroupResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetEmail() const { return m_email; }
64 template<typename EmailT = Aws::String>
65 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
66 template<typename EmailT = Aws::String>
67 DescribeGroupResult& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
69
71
75 inline EntityState GetState() const { return m_state; }
76 inline void SetState(EntityState value) { m_stateHasBeenSet = true; m_state = value; }
77 inline DescribeGroupResult& WithState(EntityState value) { SetState(value); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetEnabledDate() const { return m_enabledDate; }
86 template<typename EnabledDateT = Aws::Utils::DateTime>
87 void SetEnabledDate(EnabledDateT&& value) { m_enabledDateHasBeenSet = true; m_enabledDate = std::forward<EnabledDateT>(value); }
88 template<typename EnabledDateT = Aws::Utils::DateTime>
89 DescribeGroupResult& WithEnabledDate(EnabledDateT&& value) { SetEnabledDate(std::forward<EnabledDateT>(value)); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetDisabledDate() const { return m_disabledDate; }
98 template<typename DisabledDateT = Aws::Utils::DateTime>
99 void SetDisabledDate(DisabledDateT&& value) { m_disabledDateHasBeenSet = true; m_disabledDate = std::forward<DisabledDateT>(value); }
100 template<typename DisabledDateT = Aws::Utils::DateTime>
101 DescribeGroupResult& WithDisabledDate(DisabledDateT&& value) { SetDisabledDate(std::forward<DisabledDateT>(value)); return *this;}
103
105
109 inline bool GetHiddenFromGlobalAddressList() const { return m_hiddenFromGlobalAddressList; }
110 inline void SetHiddenFromGlobalAddressList(bool value) { m_hiddenFromGlobalAddressListHasBeenSet = true; m_hiddenFromGlobalAddressList = value; }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template<typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
119 template<typename RequestIdT = Aws::String>
120 DescribeGroupResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
122 private:
123
124 Aws::String m_groupId;
125 bool m_groupIdHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_email;
131 bool m_emailHasBeenSet = false;
132
134 bool m_stateHasBeenSet = false;
135
136 Aws::Utils::DateTime m_enabledDate{};
137 bool m_enabledDateHasBeenSet = false;
138
139 Aws::Utils::DateTime m_disabledDate{};
140 bool m_disabledDateHasBeenSet = false;
141
142 bool m_hiddenFromGlobalAddressList{false};
143 bool m_hiddenFromGlobalAddressListHasBeenSet = false;
144
145 Aws::String m_requestId;
146 bool m_requestIdHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace WorkMail
151} // namespace Aws
DescribeGroupResult & WithEnabledDate(EnabledDateT &&value)
DescribeGroupResult & WithRequestId(RequestIdT &&value)
DescribeGroupResult & WithState(EntityState value)
DescribeGroupResult & WithEmail(EmailT &&value)
AWS_WORKMAIL_API DescribeGroupResult()=default
DescribeGroupResult & WithName(NameT &&value)
AWS_WORKMAIL_API DescribeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGroupResult & WithHiddenFromGlobalAddressList(bool value)
AWS_WORKMAIL_API DescribeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGroupResult & WithDisabledDate(DisabledDateT &&value)
const Aws::Utils::DateTime & GetEnabledDate() const
DescribeGroupResult & WithGroupId(GroupIdT &&value)
const Aws::Utils::DateTime & GetDisabledDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue