7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/workmail/WorkMailRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/model/BookingOptions.h>
11#include <aws/workmail/model/ResourceType.h>
46 template<
typename OrganizationIdT = Aws::String>
47 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet =
true; m_organizationId = std::forward<OrganizationIdT>(value); }
48 template<
typename OrganizationIdT = Aws::String>
62 template<
typename ResourceIdT = Aws::String>
63 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
64 template<
typename ResourceIdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename BookingOptionsT = BookingOptions>
87 void SetBookingOptions(BookingOptionsT&& value) { m_bookingOptionsHasBeenSet =
true; m_bookingOptions = std::forward<BookingOptionsT>(value); }
88 template<
typename BookingOptionsT = BookingOptions>
98 template<
typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
100 template<
typename DescriptionT = Aws::String>
126 bool m_organizationIdHasBeenSet =
false;
129 bool m_resourceIdHasBeenSet =
false;
132 bool m_nameHasBeenSet =
false;
135 bool m_bookingOptionsHasBeenSet =
false;
138 bool m_descriptionHasBeenSet =
false;
141 bool m_typeHasBeenSet =
false;
143 bool m_hiddenFromGlobalAddressList{
false};
144 bool m_hiddenFromGlobalAddressListHasBeenSet =
false;
void SetOrganizationId(OrganizationIdT &&value)
UpdateResourceRequest & WithOrganizationId(OrganizationIdT &&value)
UpdateResourceRequest & WithBookingOptions(BookingOptionsT &&value)
bool OrganizationIdHasBeenSet() const
ResourceType GetType() const
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetOrganizationId() const
UpdateResourceRequest & WithName(NameT &&value)
UpdateResourceRequest & WithResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool BookingOptionsHasBeenSet() const
UpdateResourceRequest & WithType(ResourceType value)
UpdateResourceRequest & WithDescription(DescriptionT &&value)
bool ResourceIdHasBeenSet() const
bool GetHiddenFromGlobalAddressList() const
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const BookingOptions & GetBookingOptions() const
bool HiddenFromGlobalAddressListHasBeenSet() const
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetHiddenFromGlobalAddressList(bool value)
void SetType(ResourceType value)
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
void SetBookingOptions(BookingOptionsT &&value)
bool TypeHasBeenSet() const
AWS_WORKMAIL_API UpdateResourceRequest()=default
void SetResourceId(ResourceIdT &&value)
UpdateResourceRequest & WithHiddenFromGlobalAddressList(bool value)
const Aws::String & GetDescription() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String