AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ManagedDataIdentifierSummary.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/SensitiveDataItemCategory.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
37 {
38 public:
42 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
54 inline const SensitiveDataItemCategory& GetCategory() const{ return m_category; }
55 inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
56 inline void SetCategory(const SensitiveDataItemCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
57 inline void SetCategory(SensitiveDataItemCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
59 inline ManagedDataIdentifierSummary& WithCategory(SensitiveDataItemCategory&& value) { SetCategory(std::move(value)); return *this;}
61
63
69 inline const Aws::String& GetId() const{ return m_id; }
70 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
71 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
72 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
73 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
74 inline ManagedDataIdentifierSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
75 inline ManagedDataIdentifierSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 inline ManagedDataIdentifierSummary& WithId(const char* value) { SetId(value); return *this;}
78 private:
79
81 bool m_categoryHasBeenSet = false;
82
83 Aws::String m_id;
84 bool m_idHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Macie2
89} // namespace Aws
ManagedDataIdentifierSummary & WithId(Aws::String &&value)
ManagedDataIdentifierSummary & WithCategory(SensitiveDataItemCategory &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedDataIdentifierSummary & WithId(const Aws::String &value)
const SensitiveDataItemCategory & GetCategory() const
AWS_MACIE2_API ManagedDataIdentifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedDataIdentifierSummary & WithId(const char *value)
void SetCategory(const SensitiveDataItemCategory &value)
AWS_MACIE2_API ManagedDataIdentifierSummary(Aws::Utils::Json::JsonView jsonValue)
ManagedDataIdentifierSummary & WithCategory(const SensitiveDataItemCategory &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue