7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/EventBridgeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/model/Condition.h>
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); }
100 inline void SetStatementId(
const char* value) { m_statementIdHasBeenSet =
true; m_statementId.assign(value); }
139 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
147 bool m_eventBusNameHasBeenSet =
false;
150 bool m_actionHasBeenSet =
false;
153 bool m_principalHasBeenSet =
false;
156 bool m_statementIdHasBeenSet =
false;
159 bool m_conditionHasBeenSet =
false;
162 bool m_policyHasBeenSet =
false;
void SetPolicy(const char *value)
void SetPolicy(const Aws::String &value)
const Aws::String & GetAction() const
void SetPrincipal(const char *value)
void SetAction(const Aws::String &value)
bool EventBusNameHasBeenSet() const
PutPermissionRequest & WithEventBusName(Aws::String &&value)
PutPermissionRequest & WithAction(Aws::String &&value)
PutPermissionRequest & WithEventBusName(const Aws::String &value)
PutPermissionRequest & WithStatementId(const Aws::String &value)
PutPermissionRequest & WithPrincipal(const Aws::String &value)
void SetAction(const char *value)
bool ConditionHasBeenSet() const
void SetEventBusName(const Aws::String &value)
PutPermissionRequest & WithCondition(Condition &&value)
void SetPrincipal(const Aws::String &value)
PutPermissionRequest & WithPolicy(Aws::String &&value)
void SetPolicy(Aws::String &&value)
AWS_EVENTBRIDGE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStatementId(const Aws::String &value)
PutPermissionRequest & WithStatementId(Aws::String &&value)
PutPermissionRequest & WithStatementId(const char *value)
void SetPrincipal(Aws::String &&value)
PutPermissionRequest & WithPrincipal(const char *value)
PutPermissionRequest & WithPolicy(const Aws::String &value)
const Aws::String & GetStatementId() const
const Aws::String & GetEventBusName() const
bool ActionHasBeenSet() const
const Aws::String & GetPolicy() const
AWS_EVENTBRIDGE_API PutPermissionRequest()
void SetEventBusName(Aws::String &&value)
void SetStatementId(Aws::String &&value)
const Condition & GetCondition() const
PutPermissionRequest & WithAction(const char *value)
void SetCondition(const Condition &value)
PutPermissionRequest & WithEventBusName(const char *value)
virtual const char * GetServiceRequestName() const override
PutPermissionRequest & WithAction(const Aws::String &value)
bool StatementIdHasBeenSet() const
const Aws::String & GetPrincipal() const
bool PolicyHasBeenSet() const
PutPermissionRequest & WithPrincipal(Aws::String &&value)
void SetEventBusName(const char *value)
void SetStatementId(const char *value)
void SetCondition(Condition &&value)
void SetAction(Aws::String &&value)
bool PrincipalHasBeenSet() const
PutPermissionRequest & WithPolicy(const char *value)
PutPermissionRequest & WithCondition(const Condition &value)
AWS_EVENTBRIDGE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String