7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
42 template<
typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
44 template<
typename ArnT = Aws::String>
55 template<
typename ClientTokenT = Aws::String>
56 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
57 template<
typename ClientTokenT = Aws::String>
67 inline void SetDeletionProtected(
bool value) { m_deletionProtectedHasBeenSet =
true; m_deletionProtected = value; }
73 bool m_arnHasBeenSet =
false;
76 bool m_clientTokenHasBeenSet =
true;
78 bool m_deletionProtected{
false};
79 bool m_deletionProtectedHasBeenSet =
false;
const Aws::String & GetClientToken() const
UpdateDeletionProtectionRequest & WithDeletionProtected(bool value)
void SetArn(ArnT &&value)
void SetClientToken(ClientTokenT &&value)
AWS_SSMINCIDENTS_API UpdateDeletionProtectionRequest()=default
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
UpdateDeletionProtectionRequest & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
bool GetDeletionProtected() const
virtual const char * GetServiceRequestName() const override
bool DeletionProtectedHasBeenSet() const
void SetDeletionProtected(bool value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetArn() const
UpdateDeletionProtectionRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String