AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomDataIdentifierSummary.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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
34 {
35 public:
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline CustomDataIdentifierSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline CustomDataIdentifierSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline CustomDataIdentifierSummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
62 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
63 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
64 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
65 inline CustomDataIdentifierSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
66 inline CustomDataIdentifierSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline CustomDataIdentifierSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline CustomDataIdentifierSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline CustomDataIdentifierSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::String& GetId() const{ return m_id; }
88 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
89 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
90 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
91 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
92 inline CustomDataIdentifierSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline CustomDataIdentifierSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline CustomDataIdentifierSummary& WithId(const char* value) { SetId(value); return *this;}
96
98
101 inline const Aws::String& GetName() const{ return m_name; }
102 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
103 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
104 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
105 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 inline CustomDataIdentifierSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline CustomDataIdentifierSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline CustomDataIdentifierSummary& WithName(const char* value) { SetName(value); return *this;}
110 private:
111
112 Aws::String m_arn;
113 bool m_arnHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdAt;
116 bool m_createdAtHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_id;
122 bool m_idHasBeenSet = false;
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace Macie2
130} // namespace Aws
AWS_MACIE2_API CustomDataIdentifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifierSummary & WithName(Aws::String &&value)
CustomDataIdentifierSummary & WithName(const char *value)
CustomDataIdentifierSummary & WithDescription(const Aws::String &value)
CustomDataIdentifierSummary & WithArn(Aws::String &&value)
CustomDataIdentifierSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
CustomDataIdentifierSummary & WithDescription(const char *value)
CustomDataIdentifierSummary & WithId(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CustomDataIdentifierSummary & WithDescription(Aws::String &&value)
CustomDataIdentifierSummary & WithId(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
CustomDataIdentifierSummary & WithId(Aws::String &&value)
CustomDataIdentifierSummary & WithArn(const Aws::String &value)
AWS_MACIE2_API CustomDataIdentifierSummary(Aws::Utils::Json::JsonView jsonValue)
CustomDataIdentifierSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
CustomDataIdentifierSummary & WithArn(const char *value)
CustomDataIdentifierSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue