7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/WorkDocsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/SubscriptionProtocolType.h>
11#include <aws/workdocs/model/SubscriptionType.h>
45 inline void SetOrganizationId(
const char* value) { m_organizationIdHasBeenSet =
true; m_organizationId.assign(value); }
60 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
93 bool m_organizationIdHasBeenSet =
false;
96 bool m_endpointHasBeenSet =
false;
99 bool m_protocolHasBeenSet =
false;
102 bool m_subscriptionTypeHasBeenSet =
false;
void SetProtocol(const SubscriptionProtocolType &value)
CreateNotificationSubscriptionRequest & WithEndpoint(Aws::String &&value)
bool OrganizationIdHasBeenSet() const
CreateNotificationSubscriptionRequest & WithEndpoint(const char *value)
void SetSubscriptionType(const SubscriptionType &value)
bool SubscriptionTypeHasBeenSet() const
void SetOrganizationId(const Aws::String &value)
CreateNotificationSubscriptionRequest & WithOrganizationId(Aws::String &&value)
bool ProtocolHasBeenSet() const
const SubscriptionType & GetSubscriptionType() const
void SetEndpoint(Aws::String &&value)
CreateNotificationSubscriptionRequest & WithProtocol(SubscriptionProtocolType &&value)
const Aws::String & GetOrganizationId() const
const SubscriptionProtocolType & GetProtocol() const
CreateNotificationSubscriptionRequest & WithSubscriptionType(SubscriptionType &&value)
bool EndpointHasBeenSet() const
CreateNotificationSubscriptionRequest & WithProtocol(const SubscriptionProtocolType &value)
CreateNotificationSubscriptionRequest & WithOrganizationId(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
void SetProtocol(SubscriptionProtocolType &&value)
AWS_WORKDOCS_API Aws::String SerializePayload() const override
const Aws::String & GetEndpoint() const
CreateNotificationSubscriptionRequest & WithOrganizationId(const char *value)
void SetOrganizationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateNotificationSubscriptionRequest & WithEndpoint(const Aws::String &value)
CreateNotificationSubscriptionRequest & WithSubscriptionType(const SubscriptionType &value)
void SetOrganizationId(const char *value)
void SetEndpoint(const char *value)
void SetSubscriptionType(SubscriptionType &&value)
AWS_WORKDOCS_API CreateNotificationSubscriptionRequest()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String