7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FindingResourceType.h>
11#include <aws/guardduty/model/ResourceData.h>
12#include <aws/guardduty/model/Tag.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));
81 template <
typename AccountIdT = Aws::String>
83 m_accountIdHasBeenSet =
true;
84 m_accountId = std::forward<AccountIdT>(value);
86 template <
typename AccountIdT = Aws::String>
100 m_resourceTypeHasBeenSet =
true;
101 m_resourceType = value;
115 template <
typename RegionT = Aws::String>
117 m_regionHasBeenSet =
true;
118 m_region = std::forward<RegionT>(value);
120 template <
typename RegionT = Aws::String>
133 template <
typename ServiceT = Aws::String>
135 m_serviceHasBeenSet =
true;
136 m_service = std::forward<ServiceT>(value);
138 template <
typename ServiceT = Aws::String>
152 template <
typename CloudPartitionT = Aws::String>
154 m_cloudPartitionHasBeenSet =
true;
155 m_cloudPartition = std::forward<CloudPartitionT>(value);
157 template <
typename CloudPartitionT = Aws::String>
170 template <
typename TagsT = Aws::Vector<Tag>>
172 m_tagsHasBeenSet =
true;
173 m_tags = std::forward<TagsT>(value);
175 template <
typename TagsT = Aws::Vector<Tag>>
177 SetTags(std::forward<TagsT>(value));
180 template <
typename TagsT = Tag>
182 m_tagsHasBeenSet =
true;
183 m_tags.emplace_back(std::forward<TagsT>(value));
195 template <
typename DataT = ResourceData>
197 m_dataHasBeenSet =
true;
198 m_data = std::forward<DataT>(value);
200 template <
typename DataT = ResourceData>
202 SetData(std::forward<DataT>(value));
224 bool m_uidHasBeenSet =
false;
225 bool m_nameHasBeenSet =
false;
226 bool m_accountIdHasBeenSet =
false;
227 bool m_resourceTypeHasBeenSet =
false;
228 bool m_regionHasBeenSet =
false;
229 bool m_serviceHasBeenSet =
false;
230 bool m_cloudPartitionHasBeenSet =
false;
231 bool m_tagsHasBeenSet =
false;
232 bool m_dataHasBeenSet =
false;
ResourceV2 & WithName(NameT &&value)
ResourceV2 & WithTags(TagsT &&value)
const Aws::String & GetUid() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceV2 & WithAccountId(AccountIdT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_GUARDDUTY_API ResourceV2 & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceV2 & WithResourceType(FindingResourceType value)
void SetTags(TagsT &&value)
void SetCloudPartition(CloudPartitionT &&value)
const Aws::String & GetName() const
const Aws::String & GetCloudPartition() const
bool TagsHasBeenSet() const
bool ResourceTypeHasBeenSet() const
ResourceV2 & WithUid(UidT &&value)
void SetUid(UidT &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetService() const
bool RegionHasBeenSet() const
ResourceV2 & WithService(ServiceT &&value)
FindingResourceType GetResourceType() const
ResourceV2 & WithCloudPartition(CloudPartitionT &&value)
const ResourceData & GetData() const
const Aws::String & GetAccountId() const
ResourceV2 & WithRegion(RegionT &&value)
void SetData(DataT &&value)
void SetAccountId(AccountIdT &&value)
void SetName(NameT &&value)
bool UidHasBeenSet() const
AWS_GUARDDUTY_API ResourceV2(Aws::Utils::Json::JsonView jsonValue)
ResourceV2 & WithData(DataT &&value)
bool CloudPartitionHasBeenSet() const
const Aws::String & GetRegion() const
ResourceV2 & AddTags(TagsT &&value)
bool ServiceHasBeenSet() const
void SetService(ServiceT &&value)
bool DataHasBeenSet() const
bool NameHasBeenSet() const
AWS_GUARDDUTY_API ResourceV2()=default
void SetRegion(RegionT &&value)
void SetResourceType(FindingResourceType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue