7#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
8#include <aws/codestar-notifications/CodeStarNotificationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-notifications/model/Target.h>
15namespace CodeStarNotifications
44 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
45 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
55 inline void SetTarget(
const Target& value) { m_targetHasBeenSet =
true; m_target = value; }
56 inline void SetTarget(
Target&& value) { m_targetHasBeenSet =
true; m_target = std::move(value); }
70 inline void SetClientRequestToken(
const char* value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken.assign(value); }
78 bool m_arnHasBeenSet =
false;
81 bool m_targetHasBeenSet =
false;
84 bool m_clientRequestTokenHasBeenSet =
false;
SubscribeRequest & WithArn(const char *value)
void SetArn(const Aws::String &value)
SubscribeRequest & WithClientRequestToken(const Aws::String &value)
SubscribeRequest & WithArn(Aws::String &&value)
const Aws::String & GetClientRequestToken() const
bool TargetHasBeenSet() const
bool ArnHasBeenSet() const
void SetClientRequestToken(const char *value)
void SetClientRequestToken(Aws::String &&value)
const Aws::String & GetArn() const
void SetArn(Aws::String &&value)
void SetClientRequestToken(const Aws::String &value)
SubscribeRequest & WithTarget(const Target &value)
void SetTarget(const Target &value)
SubscribeRequest & WithClientRequestToken(const char *value)
void SetArn(const char *value)
SubscribeRequest & WithArn(const Aws::String &value)
SubscribeRequest & WithTarget(Target &&value)
AWS_CODESTARNOTIFICATIONS_API SubscribeRequest()
void SetTarget(Target &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODESTARNOTIFICATIONS_API Aws::String SerializePayload() const override
SubscribeRequest & WithClientRequestToken(Aws::String &&value)
bool ClientRequestTokenHasBeenSet() const
const Target & GetTarget() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String