AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
S3ClassificationScope.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/S3ClassificationScopeExclusion.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
29 public:
30 AWS_MACIE2_API S3ClassificationScope() = default;
33 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const S3ClassificationScopeExclusion& GetExcludes() const { return m_excludes; }
40 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
41 template <typename ExcludesT = S3ClassificationScopeExclusion>
42 void SetExcludes(ExcludesT&& value) {
43 m_excludesHasBeenSet = true;
44 m_excludes = std::forward<ExcludesT>(value);
45 }
46 template <typename ExcludesT = S3ClassificationScopeExclusion>
47 S3ClassificationScope& WithExcludes(ExcludesT&& value) {
48 SetExcludes(std::forward<ExcludesT>(value));
49 return *this;
50 }
52 private:
54 bool m_excludesHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Macie2
59} // namespace Aws
AWS_MACIE2_API S3ClassificationScope()=default
AWS_MACIE2_API S3ClassificationScope & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API S3ClassificationScope(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const S3ClassificationScopeExclusion & GetExcludes() const
S3ClassificationScope & WithExcludes(ExcludesT &&value)
Aws::Utils::Json::JsonValue JsonValue