7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/model/RuleAction.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/RuleMatch.h>
61 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
62 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
75 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
76 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
88 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
99 inline void SetMatch(
RuleMatch&& value) { m_matchHasBeenSet =
true; m_match = std::move(value); }
112 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
124 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
130 bool m_actionHasBeenSet =
false;
133 bool m_arnHasBeenSet =
false;
136 bool m_idHasBeenSet =
false;
139 bool m_isDefaultHasBeenSet =
false;
142 bool m_matchHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
148 bool m_priorityHasBeenSet =
false;
bool ActionHasBeenSet() const
void SetArn(const Aws::String &value)
void SetName(const char *value)
const RuleMatch & GetMatch() const
AWS_VPCLATTICE_API RuleUpdateSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
RuleUpdateSuccess & WithAction(const RuleAction &value)
RuleUpdateSuccess & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetIsDefault(bool value)
void SetId(const char *value)
RuleUpdateSuccess & WithMatch(RuleMatch &&value)
void SetPriority(int value)
RuleUpdateSuccess & WithPriority(int value)
const RuleAction & GetAction() const
void SetArn(const char *value)
bool GetIsDefault() const
bool MatchHasBeenSet() const
bool NameHasBeenSet() const
RuleUpdateSuccess & WithMatch(const RuleMatch &value)
bool IsDefaultHasBeenSet() const
void SetId(Aws::String &&value)
RuleUpdateSuccess & WithId(const Aws::String &value)
RuleUpdateSuccess & WithName(const char *value)
const Aws::String & GetId() const
void SetName(Aws::String &&value)
const Aws::String & GetName() const
AWS_VPCLATTICE_API RuleUpdateSuccess()
RuleUpdateSuccess & WithName(const Aws::String &value)
void SetAction(const RuleAction &value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VPCLATTICE_API RuleUpdateSuccess(Aws::Utils::Json::JsonView jsonValue)
RuleUpdateSuccess & WithId(const char *value)
bool PriorityHasBeenSet() const
RuleUpdateSuccess & WithArn(const Aws::String &value)
RuleUpdateSuccess & WithArn(const char *value)
RuleUpdateSuccess & WithName(Aws::String &&value)
void SetMatch(RuleMatch &&value)
void SetName(const Aws::String &value)
RuleUpdateSuccess & WithAction(RuleAction &&value)
void SetAction(RuleAction &&value)
RuleUpdateSuccess & WithArn(Aws::String &&value)
bool ArnHasBeenSet() const
void SetArn(Aws::String &&value)
const Aws::String & GetArn() const
bool IdHasBeenSet() const
RuleUpdateSuccess & WithIsDefault(bool value)
void SetMatch(const RuleMatch &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue