AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ManagedDataIdentifierSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9#include <aws/macie2/model/SensitiveDataItemCategory.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
33 public:
34 AWS_MACIE2_API ManagedDataIdentifierSummary() = default;
37 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
48 inline SensitiveDataItemCategory GetCategory() const { return m_category; }
49 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
51 m_categoryHasBeenSet = true;
52 m_category = value;
53 }
55 SetCategory(value);
56 return *this;
57 }
59
61
67 inline const Aws::String& GetId() const { return m_id; }
68 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
69 template <typename IdT = Aws::String>
70 void SetId(IdT&& value) {
71 m_idHasBeenSet = true;
72 m_id = std::forward<IdT>(value);
73 }
74 template <typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
77 return *this;
78 }
80 private:
82
83 Aws::String m_id;
84 bool m_categoryHasBeenSet = false;
85 bool m_idHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace Macie2
90} // namespace Aws
ManagedDataIdentifierSummary & WithId(IdT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API ManagedDataIdentifierSummary()=default
ManagedDataIdentifierSummary & WithCategory(SensitiveDataItemCategory value)
AWS_MACIE2_API ManagedDataIdentifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ManagedDataIdentifierSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue