7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/AssociationMode.h>
12#include <aws/guardduty/model/DetectionRuleConfigurationStatus.h>
45 template <
typename RuleIdT = Aws::String>
47 m_ruleIdHasBeenSet =
true;
48 m_ruleId = std::forward<RuleIdT>(value);
50 template <
typename RuleIdT = Aws::String>
65 m_modeHasBeenSet =
true;
82 m_statusHasBeenSet =
true;
97 template <
typename StatusReasonT = Aws::String>
99 m_statusReasonHasBeenSet =
true;
100 m_statusReason = std::forward<StatusReasonT>(value);
102 template <
typename StatusReasonT = Aws::String>
116 template <
typename IncludeAccountIdsT = Aws::Vector<Aws::String>>
118 m_includeAccountIdsHasBeenSet =
true;
119 m_includeAccountIds = std::forward<IncludeAccountIdsT>(value);
121 template <
typename IncludeAccountIdsT = Aws::Vector<Aws::String>>
126 template <
typename IncludeAccountIdsT = Aws::String>
128 m_includeAccountIdsHasBeenSet =
true;
129 m_includeAccountIds.emplace_back(std::forward<IncludeAccountIdsT>(value));
141 template <
typename ExcludeAccountIdsT = Aws::Vector<Aws::String>>
143 m_excludeAccountIdsHasBeenSet =
true;
144 m_excludeAccountIds = std::forward<ExcludeAccountIdsT>(value);
146 template <
typename ExcludeAccountIdsT = Aws::Vector<Aws::String>>
151 template <
typename ExcludeAccountIdsT = Aws::String>
153 m_excludeAccountIdsHasBeenSet =
true;
154 m_excludeAccountIds.emplace_back(std::forward<ExcludeAccountIdsT>(value));
165 template <
typename CreatedAtT = Aws::Utils::DateTime>
167 m_createdAtHasBeenSet =
true;
168 m_createdAt = std::forward<CreatedAtT>(value);
170 template <
typename CreatedAtT = Aws::Utils::DateTime>
183 template <
typename UpdatedAtT = Aws::Utils::DateTime>
185 m_updatedAtHasBeenSet =
true;
186 m_updatedAt = std::forward<UpdatedAtT>(value);
188 template <
typename UpdatedAtT = Aws::Utils::DateTime>
201 template <
typename ExpiresAtT = Aws::Utils::DateTime>
203 m_expiresAtHasBeenSet =
true;
204 m_expiresAt = std::forward<ExpiresAtT>(value);
206 template <
typename ExpiresAtT = Aws::Utils::DateTime>
230 bool m_ruleIdHasBeenSet =
false;
231 bool m_modeHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
233 bool m_statusReasonHasBeenSet =
false;
234 bool m_includeAccountIdsHasBeenSet =
false;
235 bool m_excludeAccountIdsHasBeenSet =
false;
236 bool m_createdAtHasBeenSet =
false;
237 bool m_updatedAtHasBeenSet =
false;
238 bool m_expiresAtHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetExcludeAccountIds() const
bool RuleIdHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const Aws::Utils::DateTime & GetExpiresAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_GUARDDUTY_API DetectionRuleOrgConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DetectionRuleOrgConfiguration & AddExcludeAccountIds(ExcludeAccountIdsT &&value)
DetectionRuleOrgConfiguration & WithStatusReason(StatusReasonT &&value)
DetectionRuleOrgConfiguration & AddIncludeAccountIds(IncludeAccountIdsT &&value)
AWS_GUARDDUTY_API DetectionRuleOrgConfiguration(Aws::Utils::Json::JsonView jsonValue)
DetectionRuleOrgConfiguration & WithUpdatedAt(UpdatedAtT &&value)
DetectionRuleOrgConfiguration & WithRuleId(RuleIdT &&value)
void SetStatus(DetectionRuleConfigurationStatus value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetMode(AssociationMode value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
DetectionRuleOrgConfiguration & WithMode(AssociationMode value)
AWS_GUARDDUTY_API DetectionRuleOrgConfiguration()=default
void SetRuleId(RuleIdT &&value)
DetectionRuleOrgConfiguration & WithCreatedAt(CreatedAtT &&value)
void SetExcludeAccountIds(ExcludeAccountIdsT &&value)
bool StatusHasBeenSet() const
bool StatusReasonHasBeenSet() const
DetectionRuleOrgConfiguration & WithIncludeAccountIds(IncludeAccountIdsT &&value)
DetectionRuleOrgConfiguration & WithExcludeAccountIds(ExcludeAccountIdsT &&value)
bool ExcludeAccountIdsHasBeenSet() const
DetectionRuleOrgConfiguration & WithStatus(DetectionRuleConfigurationStatus value)
DetectionRuleConfigurationStatus GetStatus() const
const Aws::Vector< Aws::String > & GetIncludeAccountIds() const
const Aws::String & GetRuleId() const
bool IncludeAccountIdsHasBeenSet() const
void SetStatusReason(StatusReasonT &&value)
bool ModeHasBeenSet() const
void SetIncludeAccountIds(IncludeAccountIdsT &&value)
bool CreatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
AssociationMode GetMode() const
DetectionRuleOrgConfiguration & WithExpiresAt(ExpiresAtT &&value)
bool ExpiresAtHasBeenSet() const
const Aws::String & GetStatusReason() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetExpiresAt(ExpiresAtT &&value)
DetectionRuleConfigurationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue