7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
45 inline void SetDestinationName(
const char* value) { m_destinationNameHasBeenSet =
true; m_destinationName.assign(value); }
60 inline void SetAccessPolicy(
const char* value) { m_accessPolicyHasBeenSet =
true; m_accessPolicy.assign(value); }
82 inline void SetForceUpdate(
bool value) { m_forceUpdateHasBeenSet =
true; m_forceUpdate = value; }
88 bool m_destinationNameHasBeenSet =
false;
91 bool m_accessPolicyHasBeenSet =
false;
94 bool m_forceUpdateHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutDestinationPolicyRequest & WithDestinationName(Aws::String &&value)
PutDestinationPolicyRequest & WithAccessPolicy(const char *value)
void SetForceUpdate(bool value)
AWS_CLOUDWATCHLOGS_API PutDestinationPolicyRequest()
virtual const char * GetServiceRequestName() const override
PutDestinationPolicyRequest & WithForceUpdate(bool value)
PutDestinationPolicyRequest & WithAccessPolicy(Aws::String &&value)
const Aws::String & GetAccessPolicy() const
void SetDestinationName(const char *value)
void SetAccessPolicy(const Aws::String &value)
bool DestinationNameHasBeenSet() const
void SetDestinationName(Aws::String &&value)
void SetDestinationName(const Aws::String &value)
PutDestinationPolicyRequest & WithAccessPolicy(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetAccessPolicy(Aws::String &&value)
const Aws::String & GetDestinationName() const
bool AccessPolicyHasBeenSet() const
void SetAccessPolicy(const char *value)
PutDestinationPolicyRequest & WithDestinationName(const Aws::String &value)
bool ForceUpdateHasBeenSet() const
bool GetForceUpdate() const
PutDestinationPolicyRequest & WithDestinationName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String