AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResourceProfileArtifact.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_MACIE2_API ResourceProfileArtifact() = default;
41 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 template<typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
52 template<typename ArnT = Aws::String>
53 ResourceProfileArtifact& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
55
57
65 inline const Aws::String& GetClassificationResultStatus() const { return m_classificationResultStatus; }
66 inline bool ClassificationResultStatusHasBeenSet() const { return m_classificationResultStatusHasBeenSet; }
67 template<typename ClassificationResultStatusT = Aws::String>
68 void SetClassificationResultStatus(ClassificationResultStatusT&& value) { m_classificationResultStatusHasBeenSet = true; m_classificationResultStatus = std::forward<ClassificationResultStatusT>(value); }
69 template<typename ClassificationResultStatusT = Aws::String>
70 ResourceProfileArtifact& WithClassificationResultStatus(ClassificationResultStatusT&& value) { SetClassificationResultStatus(std::forward<ClassificationResultStatusT>(value)); return *this;}
72
74
77 inline bool GetSensitive() const { return m_sensitive; }
78 inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; }
79 inline void SetSensitive(bool value) { m_sensitiveHasBeenSet = true; m_sensitive = value; }
80 inline ResourceProfileArtifact& WithSensitive(bool value) { SetSensitive(value); return *this;}
82 private:
83
84 Aws::String m_arn;
85 bool m_arnHasBeenSet = false;
86
87 Aws::String m_classificationResultStatus;
88 bool m_classificationResultStatusHasBeenSet = false;
89
90 bool m_sensitive{false};
91 bool m_sensitiveHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Macie2
96} // namespace Aws
ResourceProfileArtifact & WithClassificationResultStatus(ClassificationResultStatusT &&value)
ResourceProfileArtifact & WithSensitive(bool value)
AWS_MACIE2_API ResourceProfileArtifact()=default
AWS_MACIE2_API ResourceProfileArtifact(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API ResourceProfileArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClassificationResultStatus(ClassificationResultStatusT &&value)
ResourceProfileArtifact & WithArn(ArnT &&value)
const Aws::String & GetClassificationResultStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue