AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeGroupResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace WorkMail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetGroupId() const{ return m_groupId; }
41 
45  inline void SetGroupId(const Aws::String& value) { m_groupId = value; }
46 
50  inline void SetGroupId(Aws::String&& value) { m_groupId = std::move(value); }
51 
55  inline void SetGroupId(const char* value) { m_groupId.assign(value); }
56 
60  inline DescribeGroupResult& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
61 
65  inline DescribeGroupResult& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
66 
70  inline DescribeGroupResult& WithGroupId(const char* value) { SetGroupId(value); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline void SetName(const Aws::String& value) { m_name = value; }
82 
86  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
87 
91  inline void SetName(const char* value) { m_name.assign(value); }
92 
96  inline DescribeGroupResult& WithName(const Aws::String& value) { SetName(value); return *this;}
97 
101  inline DescribeGroupResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
106  inline DescribeGroupResult& WithName(const char* value) { SetName(value); return *this;}
107 
108 
112  inline const Aws::String& GetEmail() const{ return m_email; }
113 
117  inline void SetEmail(const Aws::String& value) { m_email = value; }
118 
122  inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
123 
127  inline void SetEmail(const char* value) { m_email.assign(value); }
128 
132  inline DescribeGroupResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
133 
137  inline DescribeGroupResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
138 
142  inline DescribeGroupResult& WithEmail(const char* value) { SetEmail(value); return *this;}
143 
144 
149  inline const EntityState& GetState() const{ return m_state; }
150 
155  inline void SetState(const EntityState& value) { m_state = value; }
156 
161  inline void SetState(EntityState&& value) { m_state = std::move(value); }
162 
167  inline DescribeGroupResult& WithState(const EntityState& value) { SetState(value); return *this;}
168 
173  inline DescribeGroupResult& WithState(EntityState&& value) { SetState(std::move(value)); return *this;}
174 
175 
180  inline const Aws::Utils::DateTime& GetEnabledDate() const{ return m_enabledDate; }
181 
186  inline void SetEnabledDate(const Aws::Utils::DateTime& value) { m_enabledDate = value; }
187 
192  inline void SetEnabledDate(Aws::Utils::DateTime&& value) { m_enabledDate = std::move(value); }
193 
198  inline DescribeGroupResult& WithEnabledDate(const Aws::Utils::DateTime& value) { SetEnabledDate(value); return *this;}
199 
204  inline DescribeGroupResult& WithEnabledDate(Aws::Utils::DateTime&& value) { SetEnabledDate(std::move(value)); return *this;}
205 
206 
211  inline const Aws::Utils::DateTime& GetDisabledDate() const{ return m_disabledDate; }
212 
217  inline void SetDisabledDate(const Aws::Utils::DateTime& value) { m_disabledDate = value; }
218 
223  inline void SetDisabledDate(Aws::Utils::DateTime&& value) { m_disabledDate = std::move(value); }
224 
229  inline DescribeGroupResult& WithDisabledDate(const Aws::Utils::DateTime& value) { SetDisabledDate(value); return *this;}
230 
235  inline DescribeGroupResult& WithDisabledDate(Aws::Utils::DateTime&& value) { SetDisabledDate(std::move(value)); return *this;}
236 
237  private:
238 
239  Aws::String m_groupId;
240 
241  Aws::String m_name;
242 
243  Aws::String m_email;
244 
245  EntityState m_state;
246 
247  Aws::Utils::DateTime m_enabledDate;
248 
249  Aws::Utils::DateTime m_disabledDate;
250  };
251 
252 } // namespace Model
253 } // namespace WorkMail
254 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::WorkMail::Model::DescribeGroupResult::WithName
DescribeGroupResult & WithName(const Aws::String &value)
Definition: DescribeGroupResult.h:96
Aws::WorkMail::Model::DescribeGroupResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeGroupResult.h:81
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WorkMail::Model::DescribeGroupResult::WithState
DescribeGroupResult & WithState(const EntityState &value)
Definition: DescribeGroupResult.h:167
Aws::WorkMail::Model::DescribeGroupResult::SetGroupId
void SetGroupId(const char *value)
Definition: DescribeGroupResult.h:55
Aws::WorkMail::Model::DescribeGroupResult::SetState
void SetState(EntityState &&value)
Definition: DescribeGroupResult.h:161
Aws::WorkMail::Model::DescribeGroupResult::WithEnabledDate
DescribeGroupResult & WithEnabledDate(const Aws::Utils::DateTime &value)
Definition: DescribeGroupResult.h:198
Aws::WorkMail::Model::DescribeGroupResult::SetEmail
void SetEmail(const Aws::String &value)
Definition: DescribeGroupResult.h:117
Aws::WorkMail::Model::DescribeGroupResult::WithState
DescribeGroupResult & WithState(EntityState &&value)
Definition: DescribeGroupResult.h:173
Aws::WorkMail::Model::DescribeGroupResult::WithDisabledDate
DescribeGroupResult & WithDisabledDate(const Aws::Utils::DateTime &value)
Definition: DescribeGroupResult.h:229
Aws::WorkMail::Model::DescribeGroupResult::WithGroupId
DescribeGroupResult & WithGroupId(Aws::String &&value)
Definition: DescribeGroupResult.h:65
DateTime.h
Aws::WorkMail::Model::DescribeGroupResult::GetEnabledDate
const Aws::Utils::DateTime & GetEnabledDate() const
Definition: DescribeGroupResult.h:180
Aws::WorkMail::Model::DescribeGroupResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeGroupResult.h:86
Aws::WorkMail::Model::DescribeGroupResult::SetEmail
void SetEmail(const char *value)
Definition: DescribeGroupResult.h:127
WorkMail_EXPORTS.h
Aws::WorkMail::Model::DescribeGroupResult::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: DescribeGroupResult.h:50
Aws::WorkMail::Model::DescribeGroupResult::WithDisabledDate
DescribeGroupResult & WithDisabledDate(Aws::Utils::DateTime &&value)
Definition: DescribeGroupResult.h:235
Aws::WorkMail::Model::DescribeGroupResult::WithName
DescribeGroupResult & WithName(const char *value)
Definition: DescribeGroupResult.h:106
Aws::WorkMail::Model::DescribeGroupResult::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: DescribeGroupResult.h:45
Aws::WorkMail::Model::DescribeGroupResult::DescribeGroupResult
DescribeGroupResult()
Aws::WorkMail::Model::DescribeGroupResult::WithGroupId
DescribeGroupResult & WithGroupId(const char *value)
Definition: DescribeGroupResult.h:70
Aws::WorkMail::Model::DescribeGroupResult::SetDisabledDate
void SetDisabledDate(Aws::Utils::DateTime &&value)
Definition: DescribeGroupResult.h:223
Aws::WorkMail::Model::DescribeGroupResult::WithEmail
DescribeGroupResult & WithEmail(Aws::String &&value)
Definition: DescribeGroupResult.h:137
Aws::WorkMail::Model::DescribeGroupResult::WithEnabledDate
DescribeGroupResult & WithEnabledDate(Aws::Utils::DateTime &&value)
Definition: DescribeGroupResult.h:204
Aws::WorkMail::Model::DescribeGroupResult
Definition: DescribeGroupResult.h:30
Aws::WorkMail::Model::DescribeGroupResult::SetState
void SetState(const EntityState &value)
Definition: DescribeGroupResult.h:155
Aws::WorkMail::Model::DescribeGroupResult::GetGroupId
const Aws::String & GetGroupId() const
Definition: DescribeGroupResult.h:40
Aws::WorkMail::Model::DescribeGroupResult::SetEmail
void SetEmail(Aws::String &&value)
Definition: DescribeGroupResult.h:122
Aws::WorkMail::Model::DescribeGroupResult::WithName
DescribeGroupResult & WithName(Aws::String &&value)
Definition: DescribeGroupResult.h:101
Aws::WorkMail::Model::DescribeGroupResult::GetEmail
const Aws::String & GetEmail() const
Definition: DescribeGroupResult.h:112
AWSString.h
Aws::WorkMail::Model::DescribeGroupResult::SetName
void SetName(const char *value)
Definition: DescribeGroupResult.h:91
Aws::WorkMail::Model::DescribeGroupResult::GetDisabledDate
const Aws::Utils::DateTime & GetDisabledDate() const
Definition: DescribeGroupResult.h:211
Aws::WorkMail::Model::DescribeGroupResult::GetName
const Aws::String & GetName() const
Definition: DescribeGroupResult.h:76
Aws::WorkMail::Model::DescribeGroupResult::WithGroupId
DescribeGroupResult & WithGroupId(const Aws::String &value)
Definition: DescribeGroupResult.h:60
Aws::WorkMail::Model::DescribeGroupResult::WithEmail
DescribeGroupResult & WithEmail(const char *value)
Definition: DescribeGroupResult.h:142
Aws::WorkMail::Model::DescribeGroupResult::SetEnabledDate
void SetEnabledDate(const Aws::Utils::DateTime &value)
Definition: DescribeGroupResult.h:186
Aws
Definition: AccessManagementClient.h:15
AWS_WORKMAIL_API
#define AWS_WORKMAIL_API
Definition: WorkMail_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WorkMail::Model::DescribeGroupResult::SetEnabledDate
void SetEnabledDate(Aws::Utils::DateTime &&value)
Definition: DescribeGroupResult.h:192
EntityState.h
Aws::WorkMail::Model::DescribeGroupResult::SetDisabledDate
void SetDisabledDate(const Aws::Utils::DateTime &value)
Definition: DescribeGroupResult.h:217
Aws::WorkMail::Model::DescribeGroupResult::operator=
DescribeGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::DescribeGroupResult::WithEmail
DescribeGroupResult & WithEmail(const Aws::String &value)
Definition: DescribeGroupResult.h:132
Aws::WorkMail::Model::DescribeGroupResult::DescribeGroupResult
DescribeGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WorkMail::Model::EntityState
EntityState
Definition: EntityState.h:17
Aws::WorkMail::Model::DescribeGroupResult::GetState
const EntityState & GetState() const
Definition: DescribeGroupResult.h:149