AWS SDK for C++  1.9.175
AWS SDK for C++
ManagedDataIdentifierSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Macie2
23 {
24 namespace Model
25 {
26 
37  {
38  public:
43 
44 
53  inline const SensitiveDataItemCategory& GetCategory() const{ return m_category; }
54 
63  inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; }
64 
73  inline void SetCategory(const SensitiveDataItemCategory& value) { m_categoryHasBeenSet = true; m_category = value; }
74 
83  inline void SetCategory(SensitiveDataItemCategory&& value) { m_categoryHasBeenSet = true; m_category = std::move(value); }
84 
93  inline ManagedDataIdentifierSummary& WithCategory(const SensitiveDataItemCategory& value) { SetCategory(value); return *this;}
94 
103  inline ManagedDataIdentifierSummary& WithCategory(SensitiveDataItemCategory&& value) { SetCategory(std::move(value)); return *this;}
104 
105 
112  inline const Aws::String& GetId() const{ return m_id; }
113 
120  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
121 
128  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
129 
136  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
137 
144  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
145 
152  inline ManagedDataIdentifierSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
153 
160  inline ManagedDataIdentifierSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
161 
168  inline ManagedDataIdentifierSummary& WithId(const char* value) { SetId(value); return *this;}
169 
170  private:
171 
172  SensitiveDataItemCategory m_category;
173  bool m_categoryHasBeenSet;
174 
175  Aws::String m_id;
176  bool m_idHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Macie2
181 } // namespace Aws
Aws::Macie2::Model::ManagedDataIdentifierSummary::CategoryHasBeenSet
bool CategoryHasBeenSet() const
Definition: ManagedDataIdentifierSummary.h:63
Aws::Macie2::Model::SensitiveDataItemCategory
SensitiveDataItemCategory
Definition: SensitiveDataItemCategory.h:17
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::ManagedDataIdentifierSummary::SetCategory
void SetCategory(const SensitiveDataItemCategory &value)
Definition: ManagedDataIdentifierSummary.h:73
Aws::Macie2::Model::ManagedDataIdentifierSummary::SetId
void SetId(const Aws::String &value)
Definition: ManagedDataIdentifierSummary.h:128
Aws::Macie2::Model::ManagedDataIdentifierSummary::GetCategory
const SensitiveDataItemCategory & GetCategory() const
Definition: ManagedDataIdentifierSummary.h:53
Macie2_EXPORTS.h
Aws::Macie2::Model::ManagedDataIdentifierSummary::operator=
ManagedDataIdentifierSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::ManagedDataIdentifierSummary::WithId
ManagedDataIdentifierSummary & WithId(const char *value)
Definition: ManagedDataIdentifierSummary.h:168
Aws::Macie2::Model::ManagedDataIdentifierSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ManagedDataIdentifierSummary.h:120
SensitiveDataItemCategory.h
Aws::Macie2::Model::ManagedDataIdentifierSummary::ManagedDataIdentifierSummary
ManagedDataIdentifierSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::ManagedDataIdentifierSummary::GetId
const Aws::String & GetId() const
Definition: ManagedDataIdentifierSummary.h:112
Aws::Macie2::Model::ManagedDataIdentifierSummary::ManagedDataIdentifierSummary
ManagedDataIdentifierSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::ManagedDataIdentifierSummary::WithId
ManagedDataIdentifierSummary & WithId(Aws::String &&value)
Definition: ManagedDataIdentifierSummary.h:160
Aws::Macie2::Model::ManagedDataIdentifierSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::ManagedDataIdentifierSummary
Definition: ManagedDataIdentifierSummary.h:37
Aws::Macie2::Model::ManagedDataIdentifierSummary::WithCategory
ManagedDataIdentifierSummary & WithCategory(SensitiveDataItemCategory &&value)
Definition: ManagedDataIdentifierSummary.h:103
Aws::Macie2::Model::ManagedDataIdentifierSummary::SetId
void SetId(const char *value)
Definition: ManagedDataIdentifierSummary.h:144
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Macie2::Model::ManagedDataIdentifierSummary::SetId
void SetId(Aws::String &&value)
Definition: ManagedDataIdentifierSummary.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::ManagedDataIdentifierSummary::WithCategory
ManagedDataIdentifierSummary & WithCategory(const SensitiveDataItemCategory &value)
Definition: ManagedDataIdentifierSummary.h:93
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Macie2::Model::ManagedDataIdentifierSummary::WithId
ManagedDataIdentifierSummary & WithId(const Aws::String &value)
Definition: ManagedDataIdentifierSummary.h:152
Aws::Macie2::Model::ManagedDataIdentifierSummary::SetCategory
void SetCategory(SensitiveDataItemCategory &&value)
Definition: ManagedDataIdentifierSummary.h:83