AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
44 inline void SetResourceId(const Aws::String& value) { m_resourceId = value; }
45 inline void SetResourceId(Aws::String&& value) { m_resourceId = std::move(value); }
46 inline void SetResourceId(const char* value) { m_resourceId.assign(value); }
47 inline DescribeResourceResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
48 inline DescribeResourceResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
49 inline DescribeResourceResult& WithResourceId(const char* value) { SetResourceId(value); return *this;}
51
53
56 inline const Aws::String& GetEmail() const{ return m_email; }
57 inline void SetEmail(const Aws::String& value) { m_email = value; }
58 inline void SetEmail(Aws::String&& value) { m_email = std::move(value); }
59 inline void SetEmail(const char* value) { m_email.assign(value); }
60 inline DescribeResourceResult& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
61 inline DescribeResourceResult& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
62 inline DescribeResourceResult& WithEmail(const char* value) { SetEmail(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline void SetName(const Aws::String& value) { m_name = value; }
71 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
72 inline void SetName(const char* value) { m_name.assign(value); }
73 inline DescribeResourceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline DescribeResourceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline DescribeResourceResult& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const ResourceType& GetType() const{ return m_type; }
83 inline void SetType(const ResourceType& value) { m_type = value; }
84 inline void SetType(ResourceType&& value) { m_type = std::move(value); }
85 inline DescribeResourceResult& WithType(const ResourceType& value) { SetType(value); return *this;}
86 inline DescribeResourceResult& WithType(ResourceType&& value) { SetType(std::move(value)); return *this;}
88
90
93 inline const BookingOptions& GetBookingOptions() const{ return m_bookingOptions; }
94 inline void SetBookingOptions(const BookingOptions& value) { m_bookingOptions = value; }
95 inline void SetBookingOptions(BookingOptions&& value) { m_bookingOptions = std::move(value); }
96 inline DescribeResourceResult& WithBookingOptions(const BookingOptions& value) { SetBookingOptions(value); return *this;}
97 inline DescribeResourceResult& WithBookingOptions(BookingOptions&& value) { SetBookingOptions(std::move(value)); return *this;}
99
101
105 inline const EntityState& GetState() const{ return m_state; }
106 inline void SetState(const EntityState& value) { m_state = value; }
107 inline void SetState(EntityState&& value) { m_state = std::move(value); }
108 inline DescribeResourceResult& WithState(const EntityState& value) { SetState(value); return *this;}
109 inline DescribeResourceResult& WithState(EntityState&& value) { SetState(std::move(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetEnabledDate() const{ return m_enabledDate; }
118 inline void SetEnabledDate(const Aws::Utils::DateTime& value) { m_enabledDate = value; }
119 inline void SetEnabledDate(Aws::Utils::DateTime&& value) { m_enabledDate = std::move(value); }
120 inline DescribeResourceResult& WithEnabledDate(const Aws::Utils::DateTime& value) { SetEnabledDate(value); return *this;}
121 inline DescribeResourceResult& WithEnabledDate(Aws::Utils::DateTime&& value) { SetEnabledDate(std::move(value)); return *this;}
123
125
129 inline const Aws::Utils::DateTime& GetDisabledDate() const{ return m_disabledDate; }
130 inline void SetDisabledDate(const Aws::Utils::DateTime& value) { m_disabledDate = value; }
131 inline void SetDisabledDate(Aws::Utils::DateTime&& value) { m_disabledDate = std::move(value); }
133 inline DescribeResourceResult& WithDisabledDate(Aws::Utils::DateTime&& value) { SetDisabledDate(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetDescription() const{ return m_description; }
141 inline void SetDescription(const Aws::String& value) { m_description = value; }
142 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
143 inline void SetDescription(const char* value) { m_description.assign(value); }
144 inline DescribeResourceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
145 inline DescribeResourceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
146 inline DescribeResourceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
148
150
153 inline bool GetHiddenFromGlobalAddressList() const{ return m_hiddenFromGlobalAddressList; }
154 inline void SetHiddenFromGlobalAddressList(bool value) { m_hiddenFromGlobalAddressList = value; }
157
159
160 inline const Aws::String& GetRequestId() const{ return m_requestId; }
161 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
162 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
163 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
164 inline DescribeResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
165 inline DescribeResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
166 inline DescribeResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
168 private:
169
170 Aws::String m_resourceId;
171
172 Aws::String m_email;
173
174 Aws::String m_name;
175
176 ResourceType m_type;
177
178 BookingOptions m_bookingOptions;
179
180 EntityState m_state;
181
182 Aws::Utils::DateTime m_enabledDate;
183
184 Aws::Utils::DateTime m_disabledDate;
185
186 Aws::String m_description;
187
188 bool m_hiddenFromGlobalAddressList;
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace WorkMail
195} // namespace Aws
void SetDisabledDate(Aws::Utils::DateTime &&value)
void SetBookingOptions(const BookingOptions &value)
void SetEnabledDate(const Aws::Utils::DateTime &value)
DescribeResourceResult & WithEnabledDate(Aws::Utils::DateTime &&value)
DescribeResourceResult & WithEmail(const Aws::String &value)
DescribeResourceResult & WithState(const EntityState &value)
DescribeResourceResult & WithName(Aws::String &&value)
DescribeResourceResult & WithType(const ResourceType &value)
DescribeResourceResult & WithDescription(const char *value)
DescribeResourceResult & WithState(EntityState &&value)
DescribeResourceResult & WithDisabledDate(const Aws::Utils::DateTime &value)
DescribeResourceResult & WithResourceId(const char *value)
DescribeResourceResult & WithEmail(Aws::String &&value)
DescribeResourceResult & WithHiddenFromGlobalAddressList(bool value)
DescribeResourceResult & WithName(const Aws::String &value)
DescribeResourceResult & WithType(ResourceType &&value)
DescribeResourceResult & WithDisabledDate(Aws::Utils::DateTime &&value)
void SetEnabledDate(Aws::Utils::DateTime &&value)
DescribeResourceResult & WithBookingOptions(const BookingOptions &value)
DescribeResourceResult & WithRequestId(const char *value)
DescribeResourceResult & WithName(const char *value)
DescribeResourceResult & WithEnabledDate(const Aws::Utils::DateTime &value)
AWS_WORKMAIL_API DescribeResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceResult & WithResourceId(const Aws::String &value)
DescribeResourceResult & WithDescription(const Aws::String &value)
DescribeResourceResult & WithBookingOptions(BookingOptions &&value)
AWS_WORKMAIL_API DescribeResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourceResult & WithRequestId(const Aws::String &value)
DescribeResourceResult & WithResourceId(Aws::String &&value)
DescribeResourceResult & WithRequestId(Aws::String &&value)
DescribeResourceResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetDisabledDate() const
void SetDisabledDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEnabledDate() const
DescribeResourceResult & WithEmail(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue