7#include <aws/codestar-notifications/CodeStarNotificationsRequest.h>
8#include <aws/codestar-notifications/CodeStarNotifications_EXPORTS.h>
9#include <aws/codestar-notifications/model/Target.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
15namespace CodeStarNotifications {
39 template <
typename ArnT = Aws::String>
41 m_arnHasBeenSet =
true;
42 m_arn = std::forward<ArnT>(value);
44 template <
typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
55 template <
typename TargetT = Target>
57 m_targetHasBeenSet =
true;
58 m_target = std::forward<TargetT>(value);
60 template <
typename TargetT = Target>
74 template <
typename ClientRequestTokenT = Aws::String>
76 m_clientRequestTokenHasBeenSet =
true;
77 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
79 template <
typename ClientRequestTokenT = Aws::String>
91 bool m_arnHasBeenSet =
false;
92 bool m_targetHasBeenSet =
false;
93 bool m_clientRequestTokenHasBeenSet =
false;
SubscribeRequest & WithTarget(TargetT &&value)
void SetArn(ArnT &&value)
AWS_CODESTARNOTIFICATIONS_API SubscribeRequest()=default
const Aws::String & GetClientRequestToken() const
bool TargetHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetArn() const
SubscribeRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
virtual const char * GetServiceRequestName() const override
SubscribeRequest & WithArn(ArnT &&value)
AWS_CODESTARNOTIFICATIONS_API Aws::String SerializePayload() const override
bool ClientRequestTokenHasBeenSet() const
const Target & GetTarget() const
void SetTarget(TargetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String