7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/events/CloudWatchEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/events/model/Condition.h>
15namespace CloudWatchEvents
47 inline void SetEventBusName(
const char* value) { m_eventBusNameHasBeenSet =
true; m_eventBusName.assign(value); }
61 inline void SetAction(
const char* value) { m_actionHasBeenSet =
true; m_action.assign(value); }
82 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
99 inline void SetStatementId(
const char* value) { m_statementIdHasBeenSet =
true; m_statementId.assign(value); }
138 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
146 bool m_eventBusNameHasBeenSet =
false;
149 bool m_actionHasBeenSet =
false;
152 bool m_principalHasBeenSet =
false;
155 bool m_statementIdHasBeenSet =
false;
158 bool m_conditionHasBeenSet =
false;
161 bool m_policyHasBeenSet =
false;
void SetAction(const Aws::String &value)
PutPermissionRequest & WithPrincipal(const Aws::String &value)
void SetPrincipal(const char *value)
PutPermissionRequest & WithPolicy(const char *value)
bool StatementIdHasBeenSet() const
PutPermissionRequest & WithAction(const Aws::String &value)
PutPermissionRequest & WithPrincipal(Aws::String &&value)
PutPermissionRequest & WithAction(Aws::String &&value)
PutPermissionRequest & WithStatementId(const char *value)
PutPermissionRequest & WithCondition(const Condition &value)
bool EventBusNameHasBeenSet() const
PutPermissionRequest & WithPolicy(Aws::String &&value)
void SetCondition(const Condition &value)
bool ActionHasBeenSet() const
PutPermissionRequest & WithEventBusName(Aws::String &&value)
PutPermissionRequest & WithEventBusName(const Aws::String &value)
void SetAction(const char *value)
void SetAction(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(Aws::String &&value)
void SetStatementId(const char *value)
void SetPrincipal(const Aws::String &value)
PutPermissionRequest & WithAction(const char *value)
PutPermissionRequest & WithStatementId(Aws::String &&value)
void SetEventBusName(const Aws::String &value)
void SetPolicy(const char *value)
void SetEventBusName(Aws::String &&value)
bool PolicyHasBeenSet() const
AWS_CLOUDWATCHEVENTS_API PutPermissionRequest()
void SetPrincipal(Aws::String &&value)
const Aws::String & GetStatementId() const
const Condition & GetCondition() const
void SetPolicy(const Aws::String &value)
PutPermissionRequest & WithCondition(Condition &&value)
void SetEventBusName(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEventBusName() const
PutPermissionRequest & WithStatementId(const Aws::String &value)
PutPermissionRequest & WithPolicy(const Aws::String &value)
const Aws::String & GetAction() const
void SetStatementId(const Aws::String &value)
PutPermissionRequest & WithPrincipal(const char *value)
AWS_CLOUDWATCHEVENTS_API Aws::String SerializePayload() const override
PutPermissionRequest & WithEventBusName(const char *value)
void SetStatementId(Aws::String &&value)
void SetCondition(Condition &&value)
bool ConditionHasBeenSet() const
const Aws::String & GetPolicy() const
bool PrincipalHasBeenSet() const
const Aws::String & GetPrincipal() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String