7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/InvestigationResourceType.h>
42 template <
typename IdentifierT = Aws::String>
44 m_identifierHasBeenSet =
true;
45 m_identifier = std::forward<IdentifierT>(value);
47 template <
typename IdentifierT = Aws::String>
67 m_typeHasBeenSet =
true;
82 template <
typename ArnT = Aws::String>
84 m_arnHasBeenSet =
true;
85 m_arn = std::forward<ArnT>(value);
87 template <
typename ArnT = Aws::String>
89 SetArn(std::forward<ArnT>(value));
99 bool m_identifierHasBeenSet =
false;
100 bool m_typeHasBeenSet =
false;
101 bool m_arnHasBeenSet =
false;
bool IdentifierHasBeenSet() const
void SetIdentifier(IdentifierT &&value)
InvestigationResourceType GetType() const
bool ArnHasBeenSet() const
AWS_GUARDDUTY_API AffectedResource()=default
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
AffectedResource & WithArn(ArnT &&value)
void SetType(InvestigationResourceType value)
AffectedResource & WithType(InvestigationResourceType value)
const Aws::String & GetIdentifier() const
AffectedResource & WithIdentifier(IdentifierT &&value)
const Aws::String & GetArn() const
AWS_GUARDDUTY_API AffectedResource(Aws::Utils::Json::JsonView jsonValue)
void SetArn(ArnT &&value)
AWS_GUARDDUTY_API AffectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
InvestigationResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue