AWS SDK for C++

AWS SDK for C++ Version 1.11.939

Loading...
Searching...
No Matches
AccountAffectedResource.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/InvestigationResourceType.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 AccountAffectedResource() = default;
34 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
64 inline InvestigationResourceType GetType() const { return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 m_typeHasBeenSet = true;
68 m_type = value;
69 }
71 SetType(value);
72 return *this;
73 }
75
77
80 inline int GetFindingCount() const { return m_findingCount; }
81 inline bool FindingCountHasBeenSet() const { return m_findingCountHasBeenSet; }
82 inline void SetFindingCount(int value) {
83 m_findingCountHasBeenSet = true;
84 m_findingCount = value;
85 }
87 SetFindingCount(value);
88 return *this;
89 }
91 private:
92 Aws::String m_identifier;
93
95
96 int m_findingCount{0};
97 bool m_identifierHasBeenSet = false;
98 bool m_typeHasBeenSet = false;
99 bool m_findingCountHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GuardDuty
104} // namespace Aws
AWS_GUARDDUTY_API AccountAffectedResource(Aws::Utils::Json::JsonView jsonValue)
void SetType(InvestigationResourceType value)
AccountAffectedResource & WithType(InvestigationResourceType value)
AccountAffectedResource & WithFindingCount(int value)
AccountAffectedResource & WithIdentifier(IdentifierT &&value)
AWS_GUARDDUTY_API AccountAffectedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API AccountAffectedResource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue