7#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
8#include <aws/codestar-notifications/CodeStarNotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CodeStarNotifications
42 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
43 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
57 inline void SetTargetAddress(
const char* value) { m_targetAddressHasBeenSet =
true; m_targetAddress.assign(value); }
65 bool m_arnHasBeenSet =
false;
68 bool m_targetAddressHasBeenSet =
false;
UnsubscribeRequest & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTargetAddress(const Aws::String &value)
UnsubscribeRequest & WithTargetAddress(const Aws::String &value)
UnsubscribeRequest & WithArn(const char *value)
UnsubscribeRequest & WithTargetAddress(const char *value)
void SetTargetAddress(Aws::String &&value)
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
AWS_CODESTARNOTIFICATIONS_API UnsubscribeRequest()
UnsubscribeRequest & WithTargetAddress(Aws::String &&value)
const Aws::String & GetTargetAddress() const
void SetArn(const Aws::String &value)
void SetArn(const char *value)
bool TargetAddressHasBeenSet() const
UnsubscribeRequest & WithArn(const Aws::String &value)
void SetTargetAddress(const char *value)
AWS_CODESTARNOTIFICATIONS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String