7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/AssociationMode.h>
43 template <
typename AssociationIdT = Aws::String>
45 m_associationIdHasBeenSet =
true;
46 m_associationId = std::forward<AssociationIdT>(value);
48 template <
typename AssociationIdT = Aws::String>
61 template <
typename ArnT = Aws::String>
63 m_arnHasBeenSet =
true;
64 m_arn = std::forward<ArnT>(value);
66 template <
typename ArnT = Aws::String>
68 SetArn(std::forward<ArnT>(value));
79 template <
typename RuleIdT = Aws::String>
81 m_ruleIdHasBeenSet =
true;
82 m_ruleId = std::forward<RuleIdT>(value);
84 template <
typename RuleIdT = Aws::String>
97 template <
typename AccountIdT = Aws::String>
99 m_accountIdHasBeenSet =
true;
100 m_accountId = std::forward<AccountIdT>(value);
102 template <
typename AccountIdT = Aws::String>
117 m_modeHasBeenSet =
true;
132 template <
typename CreatedAtT = Aws::Utils::DateTime>
134 m_createdAtHasBeenSet =
true;
135 m_createdAt = std::forward<CreatedAtT>(value);
137 template <
typename CreatedAtT = Aws::Utils::DateTime>
150 template <
typename UpdatedAtT = Aws::Utils::DateTime>
152 m_updatedAtHasBeenSet =
true;
153 m_updatedAt = std::forward<UpdatedAtT>(value);
155 template <
typename UpdatedAtT = Aws::Utils::DateTime>
168 template <
typename ExpiresAtT = Aws::Utils::DateTime>
170 m_expiresAtHasBeenSet =
true;
171 m_expiresAt = std::forward<ExpiresAtT>(value);
173 template <
typename ExpiresAtT = Aws::Utils::DateTime>
195 bool m_associationIdHasBeenSet =
false;
196 bool m_arnHasBeenSet =
false;
197 bool m_ruleIdHasBeenSet =
false;
198 bool m_accountIdHasBeenSet =
false;
199 bool m_modeHasBeenSet =
false;
200 bool m_createdAtHasBeenSet =
false;
201 bool m_updatedAtHasBeenSet =
false;
202 bool m_expiresAtHasBeenSet =
false;
AssociationDetail & WithUpdatedAt(UpdatedAtT &&value)
void SetAccountId(AccountIdT &&value)
AWS_GUARDDUTY_API AssociationDetail(Aws::Utils::Json::JsonView jsonValue)
AssociationDetail & WithAssociationId(AssociationIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetAccountId() const
AssociationDetail & WithRuleId(RuleIdT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AssociationDetail & WithMode(AssociationMode value)
bool ModeHasBeenSet() const
bool AccountIdHasBeenSet() const
AssociationDetail & WithCreatedAt(CreatedAtT &&value)
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetAssociationId() const
AssociationDetail & WithExpiresAt(ExpiresAtT &&value)
void SetMode(AssociationMode value)
const Aws::Utils::DateTime & GetExpiresAt() const
AssociationDetail & WithAccountId(AccountIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
AssociationMode GetMode() const
bool CreatedAtHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRuleId(RuleIdT &&value)
const Aws::String & GetArn() const
AWS_GUARDDUTY_API AssociationDetail()=default
bool AssociationIdHasBeenSet() const
bool ExpiresAtHasBeenSet() const
const Aws::String & GetRuleId() const
bool UpdatedAtHasBeenSet() const
void SetExpiresAt(ExpiresAtT &&value)
bool RuleIdHasBeenSet() const
void SetAssociationId(AssociationIdT &&value)
AssociationDetail & WithArn(ArnT &&value)
AWS_GUARDDUTY_API AssociationDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue