AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetGroupId() const{ return m_groupId; }
42 inline void SetGroupId(const Aws::String& value) { m_groupId = value; }
43 inline void SetGroupId(Aws::String&& value) { m_groupId = std::move(value); }
44 inline void SetGroupId(const char* value) { m_groupId.assign(value); }
45 inline DescribeGroupResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
46 inline DescribeGroupResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
47 inline DescribeGroupResult& WithGroupId(const char* value) { SetGroupId(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline DescribeGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline DescribeGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline DescribeGroupResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetEmail() const{ return m_email; }
68 inline void SetEmail(const Aws::String& value) { m_email = value; }
69 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
70 inline void SetEmail(const char* value) { m_email.assign(value); }
71 inline DescribeGroupResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
72 inline DescribeGroupResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
73 inline DescribeGroupResult& WithEmail(const char* value) { SetEmail(value); return *this;}
75
77
81 inline const EntityState& GetState() const{ return m_state; }
82 inline void SetState(const EntityState& value) { m_state = value; }
83 inline void SetState(EntityState&& value) { m_state = std::move(value); }
84 inline DescribeGroupResult& WithState(const EntityState& value) { SetState(value); return *this;}
85 inline DescribeGroupResult& WithState(EntityState&& value) { SetState(std::move(value)); return *this;}
87
89
93 inline const Aws::Utils::DateTime& GetEnabledDate() const{ return m_enabledDate; }
94 inline void SetEnabledDate(const Aws::Utils::DateTime& value) { m_enabledDate = value; }
95 inline void SetEnabledDate(Aws::Utils::DateTime&& value) { m_enabledDate = std::move(value); }
96 inline DescribeGroupResult& WithEnabledDate(const Aws::Utils::DateTime& value) { SetEnabledDate(value); return *this;}
97 inline DescribeGroupResult& WithEnabledDate(Aws::Utils::DateTime&& value) { SetEnabledDate(std::move(value)); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetDisabledDate() const{ return m_disabledDate; }
106 inline void SetDisabledDate(const Aws::Utils::DateTime& value) { m_disabledDate = value; }
107 inline void SetDisabledDate(Aws::Utils::DateTime&& value) { m_disabledDate = std::move(value); }
108 inline DescribeGroupResult& WithDisabledDate(const Aws::Utils::DateTime& value) { SetDisabledDate(value); return *this;}
109 inline DescribeGroupResult& WithDisabledDate(Aws::Utils::DateTime&& value) { SetDisabledDate(std::move(value)); return *this;}
111
113
117 inline bool GetHiddenFromGlobalAddressList() const{ return m_hiddenFromGlobalAddressList; }
118 inline void SetHiddenFromGlobalAddressList(bool value) { m_hiddenFromGlobalAddressList = value; }
121
123
124 inline const Aws::String& GetRequestId() const{ return m_requestId; }
125 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
126 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
127 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
128 inline DescribeGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 inline DescribeGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
130 inline DescribeGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
132 private:
133
134 Aws::String m_groupId;
135
136 Aws::String m_name;
137
138 Aws::String m_email;
139
140 EntityState m_state;
141
142 Aws::Utils::DateTime m_enabledDate;
143
144 Aws::Utils::DateTime m_disabledDate;
145
146 bool m_hiddenFromGlobalAddressList;
147
148 Aws::String m_requestId;
149 };
150
151} // namespace Model
152} // namespace WorkMail
153} // namespace Aws
void SetDisabledDate(Aws::Utils::DateTime &&value)
void SetDisabledDate(const Aws::Utils::DateTime &value)
DescribeGroupResult & WithDisabledDate(Aws::Utils::DateTime &&value)
DescribeGroupResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetGroupId(const Aws::String &value)
DescribeGroupResult & WithDisabledDate(const Aws::Utils::DateTime &value)
DescribeGroupResult & WithName(const char *value)
DescribeGroupResult & WithEnabledDate(const Aws::Utils::DateTime &value)
DescribeGroupResult & WithGroupId(const Aws::String &value)
DescribeGroupResult & WithEmail(Aws::String &&value)
DescribeGroupResult & WithState(EntityState &&value)
DescribeGroupResult & WithRequestId(const char *value)
AWS_WORKMAIL_API DescribeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGroupResult & WithHiddenFromGlobalAddressList(bool value)
DescribeGroupResult & WithEmail(const char *value)
AWS_WORKMAIL_API DescribeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeGroupResult & WithState(const EntityState &value)
const Aws::Utils::DateTime & GetEnabledDate() const
void SetEnabledDate(Aws::Utils::DateTime &&value)
DescribeGroupResult & WithGroupId(Aws::String &&value)
DescribeGroupResult & WithEnabledDate(Aws::Utils::DateTime &&value)
DescribeGroupResult & WithName(const Aws::String &value)
DescribeGroupResult & WithRequestId(Aws::String &&value)
DescribeGroupResult & WithName(Aws::String &&value)
DescribeGroupResult & WithGroupId(const char *value)
void SetEnabledDate(const Aws::Utils::DateTime &value)
void SetEmail(const Aws::String &value)
DescribeGroupResult & WithEmail(const Aws::String &value)
const Aws::Utils::DateTime & GetDisabledDate() const
void SetState(const EntityState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue