AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SuppressDataIdentifier.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/macie2/model/DataIdentifierType.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
35 {
36 public:
37 AWS_MACIE2_API SuppressDataIdentifier();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline SuppressDataIdentifier& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline SuppressDataIdentifier& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline SuppressDataIdentifier& WithId(const char* value) { SetId(value); return *this;}
58
60
65 inline const DataIdentifierType& GetType() const{ return m_type; }
66 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
67 inline void SetType(const DataIdentifierType& value) { m_typeHasBeenSet = true; m_type = value; }
68 inline void SetType(DataIdentifierType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
69 inline SuppressDataIdentifier& WithType(const DataIdentifierType& value) { SetType(value); return *this;}
70 inline SuppressDataIdentifier& WithType(DataIdentifierType&& value) { SetType(std::move(value)); return *this;}
72 private:
73
74 Aws::String m_id;
75 bool m_idHasBeenSet = false;
76
77 DataIdentifierType m_type;
78 bool m_typeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Macie2
83} // namespace Aws
SuppressDataIdentifier & WithId(Aws::String &&value)
const DataIdentifierType & GetType() const
SuppressDataIdentifier & WithId(const char *value)
SuppressDataIdentifier & WithType(DataIdentifierType &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
SuppressDataIdentifier & WithId(const Aws::String &value)
void SetType(const DataIdentifierType &value)
SuppressDataIdentifier & WithType(const DataIdentifierType &value)
AWS_MACIE2_API SuppressDataIdentifier(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API SuppressDataIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue