7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
47 template<
typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
49 template<
typename ArnT = Aws::String>
59 template<
typename CreatedAtT = Aws::Utils::DateTime>
60 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
61 template<
typename CreatedAtT = Aws::Utils::DateTime>
71 template<
typename IdT = Aws::String>
72 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
73 template<
typename IdT = Aws::String>
83 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
94 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
95 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet =
true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
96 template<
typename LastUpdatedAtT = Aws::Utils::DateTime>
106 template<
typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
108 template<
typename NameT = Aws::String>
118 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
124 bool m_arnHasBeenSet =
false;
127 bool m_createdAtHasBeenSet =
false;
130 bool m_idHasBeenSet =
false;
132 bool m_isDefault{
false};
133 bool m_isDefaultHasBeenSet =
false;
136 bool m_lastUpdatedAtHasBeenSet =
false;
139 bool m_nameHasBeenSet =
false;
142 bool m_priorityHasBeenSet =
false;
RuleSummary & WithId(IdT &&value)
void SetPriority(int value)
RuleSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedAt() const
RuleSummary & WithIsDefault(bool value)
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
RuleSummary & WithPriority(int value)
bool LastUpdatedAtHasBeenSet() const
AWS_VPCLATTICE_API RuleSummary()=default
void SetIsDefault(bool value)
const Aws::String & GetId() const
void SetCreatedAt(CreatedAtT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
bool ArnHasBeenSet() const
void SetName(NameT &&value)
RuleSummary & WithArn(ArnT &&value)
bool CreatedAtHasBeenSet() const
bool IsDefaultHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
bool NameHasBeenSet() const
AWS_VPCLATTICE_API RuleSummary(Aws::Utils::Json::JsonView jsonValue)
RuleSummary & WithName(NameT &&value)
const Aws::String & GetName() const
void SetArn(ArnT &&value)
RuleSummary & WithLastUpdatedAt(LastUpdatedAtT &&value)
bool PriorityHasBeenSet() const
AWS_VPCLATTICE_API RuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetIsDefault() const
bool IdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue