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/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/RulePublishStatus.h>
12#include <aws/connect/model/RuleAction.h>
46 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
62 inline void SetInstanceId(
const char* value) { m_instanceIdHasBeenSet =
true; m_instanceId.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetFunction(
const char* value) { m_functionHasBeenSet =
true; m_function.assign(value); }
127 bool m_ruleIdHasBeenSet =
false;
130 bool m_instanceIdHasBeenSet =
false;
133 bool m_nameHasBeenSet =
false;
136 bool m_functionHasBeenSet =
false;
139 bool m_actionsHasBeenSet =
false;
142 bool m_publishStatusHasBeenSet =
false;
void SetInstanceId(const char *value)
bool FunctionHasBeenSet() const
void SetRuleId(Aws::String &&value)
bool RuleIdHasBeenSet() const
const Aws::String & GetInstanceId() const
UpdateRuleRequest & WithPublishStatus(const RulePublishStatus &value)
UpdateRuleRequest & AddActions(const RuleAction &value)
const RulePublishStatus & GetPublishStatus() const
bool PublishStatusHasBeenSet() const
void SetFunction(const char *value)
UpdateRuleRequest & WithInstanceId(const char *value)
void SetRuleId(const Aws::String &value)
UpdateRuleRequest & WithFunction(Aws::String &&value)
UpdateRuleRequest & WithRuleId(Aws::String &&value)
void SetActions(Aws::Vector< RuleAction > &&value)
UpdateRuleRequest & AddActions(RuleAction &&value)
void SetFunction(const Aws::String &value)
bool InstanceIdHasBeenSet() const
void SetActions(const Aws::Vector< RuleAction > &value)
virtual const char * GetServiceRequestName() const override
UpdateRuleRequest & WithInstanceId(Aws::String &&value)
void SetName(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::String & GetName() const
UpdateRuleRequest & WithName(Aws::String &&value)
void SetInstanceId(Aws::String &&value)
UpdateRuleRequest & WithName(const char *value)
UpdateRuleRequest & WithRuleId(const Aws::String &value)
bool ActionsHasBeenSet() const
UpdateRuleRequest & WithActions(const Aws::Vector< RuleAction > &value)
void SetFunction(Aws::String &&value)
const Aws::Vector< RuleAction > & GetActions() const
UpdateRuleRequest & WithPublishStatus(RulePublishStatus &&value)
const Aws::String & GetRuleId() const
void SetName(const char *value)
UpdateRuleRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
void SetInstanceId(const Aws::String &value)
void SetPublishStatus(const RulePublishStatus &value)
void SetRuleId(const char *value)
void SetName(Aws::String &&value)
UpdateRuleRequest & WithFunction(const char *value)
UpdateRuleRequest & WithActions(Aws::Vector< RuleAction > &&value)
AWS_CONNECT_API UpdateRuleRequest()
UpdateRuleRequest & WithName(const Aws::String &value)
UpdateRuleRequest & WithFunction(const Aws::String &value)
const Aws::String & GetFunction() const
UpdateRuleRequest & WithRuleId(const char *value)
void SetPublishStatus(RulePublishStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector