AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ResourceProfileArtifact.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/macie2/Macie2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Macie2 {
20namespace Model {
21
32 public:
33 AWS_MACIE2_API ResourceProfileArtifact() = default;
36 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetArn() const { return m_arn; }
43 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
44 template <typename ArnT = Aws::String>
45 void SetArn(ArnT&& value) {
46 m_arnHasBeenSet = true;
47 m_arn = std::forward<ArnT>(value);
48 }
49 template <typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
52 return *this;
53 }
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) {
69 m_classificationResultStatusHasBeenSet = true;
70 m_classificationResultStatus = std::forward<ClassificationResultStatusT>(value);
71 }
72 template <typename ClassificationResultStatusT = Aws::String>
73 ResourceProfileArtifact& WithClassificationResultStatus(ClassificationResultStatusT&& value) {
74 SetClassificationResultStatus(std::forward<ClassificationResultStatusT>(value));
75 return *this;
76 }
78
80
83 inline bool GetSensitive() const { return m_sensitive; }
84 inline bool SensitiveHasBeenSet() const { return m_sensitiveHasBeenSet; }
85 inline void SetSensitive(bool value) {
86 m_sensitiveHasBeenSet = true;
87 m_sensitive = value;
88 }
90 SetSensitive(value);
91 return *this;
92 }
94 private:
95 Aws::String m_arn;
96
97 Aws::String m_classificationResultStatus;
98
99 bool m_sensitive{false};
100 bool m_arnHasBeenSet = false;
101 bool m_classificationResultStatusHasBeenSet = false;
102 bool m_sensitiveHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Macie2
107} // 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