AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeResourceResult.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/ResourceType.h>
10#include <aws/workmail/model/BookingOptions.h>
11#include <aws/workmail/model/EntityState.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace WorkMail
28{
29namespace Model
30{
32 {
33 public:
34 AWS_WORKMAIL_API DescribeResourceResult() = default;
37
38
40
43 inline const Aws::String& GetResourceId() const { return m_resourceId; }
44 template<typename ResourceIdT = Aws::String>
45 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
46 template<typename ResourceIdT = Aws::String>
47 DescribeResourceResult& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetEmail() const { return m_email; }
55 template<typename EmailT = Aws::String>
56 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
57 template<typename EmailT = Aws::String>
58 DescribeResourceResult& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 DescribeResourceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline ResourceType GetType() const { return m_type; }
77 inline void SetType(ResourceType value) { m_typeHasBeenSet = true; m_type = value; }
78 inline DescribeResourceResult& WithType(ResourceType value) { SetType(value); return *this;}
80
82
85 inline const BookingOptions& GetBookingOptions() const { return m_bookingOptions; }
86 template<typename BookingOptionsT = BookingOptions>
87 void SetBookingOptions(BookingOptionsT&& value) { m_bookingOptionsHasBeenSet = true; m_bookingOptions = std::forward<BookingOptionsT>(value); }
88 template<typename BookingOptionsT = BookingOptions>
89 DescribeResourceResult& WithBookingOptions(BookingOptionsT&& value) { SetBookingOptions(std::forward<BookingOptionsT>(value)); return *this;}
91
93
97 inline EntityState GetState() const { return m_state; }
98 inline void SetState(EntityState value) { m_stateHasBeenSet = true; m_state = value; }
99 inline DescribeResourceResult& WithState(EntityState value) { SetState(value); return *this;}
101
103
107 inline const Aws::Utils::DateTime& GetEnabledDate() const { return m_enabledDate; }
108 template<typename EnabledDateT = Aws::Utils::DateTime>
109 void SetEnabledDate(EnabledDateT&& value) { m_enabledDateHasBeenSet = true; m_enabledDate = std::forward<EnabledDateT>(value); }
110 template<typename EnabledDateT = Aws::Utils::DateTime>
111 DescribeResourceResult& WithEnabledDate(EnabledDateT&& value) { SetEnabledDate(std::forward<EnabledDateT>(value)); return *this;}
113
115
119 inline const Aws::Utils::DateTime& GetDisabledDate() const { return m_disabledDate; }
120 template<typename DisabledDateT = Aws::Utils::DateTime>
121 void SetDisabledDate(DisabledDateT&& value) { m_disabledDateHasBeenSet = true; m_disabledDate = std::forward<DisabledDateT>(value); }
122 template<typename DisabledDateT = Aws::Utils::DateTime>
123 DescribeResourceResult& WithDisabledDate(DisabledDateT&& value) { SetDisabledDate(std::forward<DisabledDateT>(value)); return *this;}
125
127
130 inline const Aws::String& GetDescription() const { return m_description; }
131 template<typename DescriptionT = Aws::String>
132 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
133 template<typename DescriptionT = Aws::String>
134 DescribeResourceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
136
138
141 inline bool GetHiddenFromGlobalAddressList() const { return m_hiddenFromGlobalAddressList; }
142 inline void SetHiddenFromGlobalAddressList(bool value) { m_hiddenFromGlobalAddressListHasBeenSet = true; m_hiddenFromGlobalAddressList = value; }
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template<typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
151 template<typename RequestIdT = Aws::String>
152 DescribeResourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
154 private:
155
156 Aws::String m_resourceId;
157 bool m_resourceIdHasBeenSet = false;
158
159 Aws::String m_email;
160 bool m_emailHasBeenSet = false;
161
162 Aws::String m_name;
163 bool m_nameHasBeenSet = false;
164
166 bool m_typeHasBeenSet = false;
167
168 BookingOptions m_bookingOptions;
169 bool m_bookingOptionsHasBeenSet = false;
170
172 bool m_stateHasBeenSet = false;
173
174 Aws::Utils::DateTime m_enabledDate{};
175 bool m_enabledDateHasBeenSet = false;
176
177 Aws::Utils::DateTime m_disabledDate{};
178 bool m_disabledDateHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 bool m_hiddenFromGlobalAddressList{false};
184 bool m_hiddenFromGlobalAddressListHasBeenSet = false;
185
186 Aws::String m_requestId;
187 bool m_requestIdHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace WorkMail
192} // namespace Aws
DescribeResourceResult & WithBookingOptions(BookingOptionsT &&value)
DescribeResourceResult & WithResourceId(ResourceIdT &&value)
DescribeResourceResult & WithType(ResourceType value)
DescribeResourceResult & WithDisabledDate(DisabledDateT &&value)
DescribeResourceResult & WithEnabledDate(EnabledDateT &&value)
DescribeResourceResult & WithHiddenFromGlobalAddressList(bool value)
DescribeResourceResult & WithState(EntityState value)
DescribeResourceResult & WithRequestId(RequestIdT &&value)
AWS_WORKMAIL_API DescribeResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WORKMAIL_API DescribeResourceResult()=default
AWS_WORKMAIL_API DescribeResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceResult & WithName(NameT &&value)
DescribeResourceResult & WithEmail(EmailT &&value)
const Aws::Utils::DateTime & GetDisabledDate() const
DescribeResourceResult & WithDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetEnabledDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue