7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/RuleTriggerEventSource.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/connect/model/RulePublishStatus.h>
13#include <aws/connect/model/RuleAction.h>
15#include <aws/core/utils/UUID.h>
50 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
64 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
90 inline void SetFunction(
const char* value) { m_functionHasBeenSet =
true; m_function.assign(value); }
134 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
142 bool m_instanceIdHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_triggerEventSourceHasBeenSet =
false;
151 bool m_functionHasBeenSet =
false;
154 bool m_actionsHasBeenSet =
false;
157 bool m_publishStatusHasBeenSet =
false;
160 bool m_clientTokenHasBeenSet =
false;
CreateRuleRequest & WithPublishStatus(const RulePublishStatus &value)
void SetTriggerEventSource(const RuleTriggerEventSource &value)
CreateRuleRequest & WithName(Aws::String &&value)
AWS_CONNECT_API CreateRuleRequest()
CreateRuleRequest & WithTriggerEventSource(RuleTriggerEventSource &&value)
CreateRuleRequest & WithInstanceId(const char *value)
void SetClientToken(const Aws::String &value)
CreateRuleRequest & WithFunction(const Aws::String &value)
const Aws::String & GetInstanceId() const
CreateRuleRequest & WithFunction(const char *value)
void SetName(const Aws::String &value)
const RulePublishStatus & GetPublishStatus() const
void SetClientToken(const char *value)
CreateRuleRequest & WithInstanceId(const Aws::String &value)
void SetTriggerEventSource(RuleTriggerEventSource &&value)
void SetFunction(Aws::String &&value)
CreateRuleRequest & WithClientToken(const char *value)
bool TriggerEventSourceHasBeenSet() const
bool NameHasBeenSet() const
void SetClientToken(Aws::String &&value)
const Aws::String & GetFunction() const
void SetActions(const Aws::Vector< RuleAction > &value)
CreateRuleRequest & WithTriggerEventSource(const RuleTriggerEventSource &value)
void SetName(Aws::String &&value)
const Aws::String & GetName() const
void SetName(const char *value)
CreateRuleRequest & WithPublishStatus(RulePublishStatus &&value)
const Aws::Vector< RuleAction > & GetActions() const
bool FunctionHasBeenSet() const
bool PublishStatusHasBeenSet() const
void SetInstanceId(const Aws::String &value)
CreateRuleRequest & AddActions(const RuleAction &value)
CreateRuleRequest & WithFunction(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateRuleRequest & AddActions(RuleAction &&value)
const RuleTriggerEventSource & GetTriggerEventSource() const
CreateRuleRequest & WithClientToken(const Aws::String &value)
void SetInstanceId(const char *value)
const Aws::String & GetClientToken() const
bool ActionsHasBeenSet() const
void SetFunction(const Aws::String &value)
CreateRuleRequest & WithName(const Aws::String &value)
void SetPublishStatus(const RulePublishStatus &value)
void SetInstanceId(Aws::String &&value)
CreateRuleRequest & WithActions(const Aws::Vector< RuleAction > &value)
CreateRuleRequest & WithClientToken(Aws::String &&value)
void SetFunction(const char *value)
CreateRuleRequest & WithActions(Aws::Vector< RuleAction > &&value)
bool ClientTokenHasBeenSet() const
bool InstanceIdHasBeenSet() const
void SetPublishStatus(RulePublishStatus &&value)
CreateRuleRequest & WithName(const char *value)
CreateRuleRequest & WithInstanceId(Aws::String &&value)
void SetActions(Aws::Vector< RuleAction > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector