7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workdocs/model/SubscriptionProtocolType.h>
49 inline void SetSubscriptionId(
const char* value) { m_subscriptionIdHasBeenSet =
true; m_subscriptionId.assign(value); }
63 inline void SetEndPoint(
const char* value) { m_endPointHasBeenSet =
true; m_endPoint.assign(value); }
83 bool m_subscriptionIdHasBeenSet =
false;
86 bool m_endPointHasBeenSet =
false;
89 bool m_protocolHasBeenSet =
false;
Subscription & WithProtocol(const SubscriptionProtocolType &value)
void SetEndPoint(Aws::String &&value)
bool SubscriptionIdHasBeenSet() const
bool EndPointHasBeenSet() const
void SetProtocol(const SubscriptionProtocolType &value)
void SetSubscriptionId(const char *value)
Subscription & WithEndPoint(const Aws::String &value)
AWS_WORKDOCS_API Subscription & operator=(Aws::Utils::Json::JsonView jsonValue)
Subscription & WithProtocol(SubscriptionProtocolType &&value)
const Aws::String & GetSubscriptionId() const
Subscription & WithSubscriptionId(Aws::String &&value)
Subscription & WithEndPoint(Aws::String &&value)
void SetSubscriptionId(const Aws::String &value)
void SetSubscriptionId(Aws::String &&value)
Subscription & WithEndPoint(const char *value)
void SetEndPoint(const Aws::String &value)
void SetProtocol(SubscriptionProtocolType &&value)
bool ProtocolHasBeenSet() const
Subscription & WithSubscriptionId(const Aws::String &value)
const Aws::String & GetEndPoint() const
void SetEndPoint(const char *value)
Subscription & WithSubscriptionId(const char *value)
const SubscriptionProtocolType & GetProtocol() const
AWS_WORKDOCS_API Subscription(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKDOCS_API Subscription()
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue