7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/InvestigationResourceData.h>
10#include <aws/guardduty/model/InvestigationResourceType.h>
45 template <
typename U
idT = Aws::String>
47 m_uidHasBeenSet =
true;
48 m_uid = std::forward<UidT>(value);
50 template <
typename U
idT = Aws::String>
52 SetUid(std::forward<UidT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
88 m_resourceTypeHasBeenSet =
true;
89 m_resourceType = value;
103 template <
typename DataT = InvestigationResourceData>
105 m_dataHasBeenSet =
true;
106 m_data = std::forward<DataT>(value);
108 template <
typename DataT = InvestigationResourceData>
110 SetData(std::forward<DataT>(value));
121 InvestigationResourceData m_data;
122 bool m_uidHasBeenSet =
false;
123 bool m_nameHasBeenSet =
false;
124 bool m_resourceTypeHasBeenSet =
false;
125 bool m_dataHasBeenSet =
false;
bool NameHasBeenSet() const
bool UidHasBeenSet() const
InvestigationResource & WithResourceType(InvestigationResourceType value)
void SetName(NameT &&value)
AWS_GUARDDUTY_API InvestigationResource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetData(DataT &&value)
InvestigationResource & WithData(DataT &&value)
InvestigationResourceType GetResourceType() const
const InvestigationResourceData & GetData() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
InvestigationResource & WithUid(UidT &&value)
AWS_GUARDDUTY_API InvestigationResource(Aws::Utils::Json::JsonView jsonValue)
bool ResourceTypeHasBeenSet() const
InvestigationResource & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetUid() const
void SetUid(UidT &&value)
void SetResourceType(InvestigationResourceType value)
bool DataHasBeenSet() const
AWS_GUARDDUTY_API InvestigationResource()=default
InvestigationResourceType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue