AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AllowListSummary.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:
36 AWS_MACIE2_API AllowListSummary();
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 AllowListSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline AllowListSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline AllowListSummary& 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 AllowListSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
66 inline AllowListSummary& 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 AllowListSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline AllowListSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline AllowListSummary& 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 AllowListSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
93 inline AllowListSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
94 inline AllowListSummary& 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 AllowListSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
107 inline AllowListSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
108 inline AllowListSummary& WithName(const char* value) { SetName(value); return *this;}
110
112
116 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
117 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
118 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
119 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
120 inline AllowListSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
121 inline AllowListSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_arn;
126 bool m_arnHasBeenSet = false;
127
128 Aws::Utils::DateTime m_createdAt;
129 bool m_createdAtHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_id;
135 bool m_idHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::Utils::DateTime m_updatedAt;
141 bool m_updatedAtHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Macie2
146} // namespace Aws
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetArn() const
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
AllowListSummary & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
AllowListSummary & WithName(Aws::String &&value)
AllowListSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AllowListSummary & WithDescription(Aws::String &&value)
AWS_MACIE2_API AllowListSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AllowListSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API AllowListSummary(Aws::Utils::Json::JsonView jsonValue)
AllowListSummary & WithName(const Aws::String &value)
AllowListSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
AllowListSummary & WithId(const char *value)
const Aws::String & GetName() const
AllowListSummary & WithName(const char *value)
AllowListSummary & WithId(Aws::String &&value)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AllowListSummary & WithId(const Aws::String &value)
AllowListSummary & WithArn(const Aws::String &value)
AllowListSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
AllowListSummary & WithArn(Aws::String &&value)
void SetArn(const Aws::String &value)
AllowListSummary & WithArn(const char *value)
AllowListSummary & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue