AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ItemDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/AdditionalInfo.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GuardDuty {
21namespace Model {
22
30 public:
31 AWS_GUARDDUTY_API ItemDetails() = default;
32 AWS_GUARDDUTY_API ItemDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GUARDDUTY_API ItemDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
41 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
42 template <typename ResourceArnT = Aws::String>
43 void SetResourceArn(ResourceArnT&& value) {
44 m_resourceArnHasBeenSet = true;
45 m_resourceArn = std::forward<ResourceArnT>(value);
46 }
47 template <typename ResourceArnT = Aws::String>
48 ItemDetails& WithResourceArn(ResourceArnT&& value) {
49 SetResourceArn(std::forward<ResourceArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetItemPath() const { return m_itemPath; }
59 inline bool ItemPathHasBeenSet() const { return m_itemPathHasBeenSet; }
60 template <typename ItemPathT = Aws::String>
61 void SetItemPath(ItemPathT&& value) {
62 m_itemPathHasBeenSet = true;
63 m_itemPath = std::forward<ItemPathT>(value);
64 }
65 template <typename ItemPathT = Aws::String>
66 ItemDetails& WithItemPath(ItemPathT&& value) {
67 SetItemPath(std::forward<ItemPathT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetHash() const { return m_hash; }
77 inline bool HashHasBeenSet() const { return m_hashHasBeenSet; }
78 template <typename HashT = Aws::String>
79 void SetHash(HashT&& value) {
80 m_hashHasBeenSet = true;
81 m_hash = std::forward<HashT>(value);
82 }
83 template <typename HashT = Aws::String>
84 ItemDetails& WithHash(HashT&& value) {
85 SetHash(std::forward<HashT>(value));
86 return *this;
87 }
89
91
94 inline const AdditionalInfo& GetAdditionalInfo() const { return m_additionalInfo; }
95 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
96 template <typename AdditionalInfoT = AdditionalInfo>
97 void SetAdditionalInfo(AdditionalInfoT&& value) {
98 m_additionalInfoHasBeenSet = true;
99 m_additionalInfo = std::forward<AdditionalInfoT>(value);
100 }
101 template <typename AdditionalInfoT = AdditionalInfo>
102 ItemDetails& WithAdditionalInfo(AdditionalInfoT&& value) {
103 SetAdditionalInfo(std::forward<AdditionalInfoT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_resourceArn;
109
110 Aws::String m_itemPath;
111
112 Aws::String m_hash;
113
114 AdditionalInfo m_additionalInfo;
115 bool m_resourceArnHasBeenSet = false;
116 bool m_itemPathHasBeenSet = false;
117 bool m_hashHasBeenSet = false;
118 bool m_additionalInfoHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace GuardDuty
123} // namespace Aws
const Aws::String & GetItemPath() const
Definition ItemDetails.h:58
AWS_GUARDDUTY_API ItemDetails()=default
void SetAdditionalInfo(AdditionalInfoT &&value)
Definition ItemDetails.h:97
const Aws::String & GetHash() const
Definition ItemDetails.h:76
AWS_GUARDDUTY_API ItemDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const AdditionalInfo & GetAdditionalInfo() const
Definition ItemDetails.h:94
void SetResourceArn(ResourceArnT &&value)
Definition ItemDetails.h:43
ItemDetails & WithAdditionalInfo(AdditionalInfoT &&value)
AWS_GUARDDUTY_API ItemDetails(Aws::Utils::Json::JsonView jsonValue)
ItemDetails & WithItemPath(ItemPathT &&value)
Definition ItemDetails.h:66
const Aws::String & GetResourceArn() const
Definition ItemDetails.h:40
ItemDetails & WithHash(HashT &&value)
Definition ItemDetails.h:84
void SetItemPath(ItemPathT &&value)
Definition ItemDetails.h:61
ItemDetails & WithResourceArn(ResourceArnT &&value)
Definition ItemDetails.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue