AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Scoping.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/JobScopingBlock.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
29class Scoping {
30 public:
31 AWS_MACIE2_API Scoping() = default;
32 AWS_MACIE2_API Scoping(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MACIE2_API Scoping& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const JobScopingBlock& GetExcludes() const { return m_excludes; }
42 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
43 template <typename ExcludesT = JobScopingBlock>
44 void SetExcludes(ExcludesT&& value) {
45 m_excludesHasBeenSet = true;
46 m_excludes = std::forward<ExcludesT>(value);
47 }
48 template <typename ExcludesT = JobScopingBlock>
49 Scoping& WithExcludes(ExcludesT&& value) {
50 SetExcludes(std::forward<ExcludesT>(value));
51 return *this;
52 }
54
56
60 inline const JobScopingBlock& GetIncludes() const { return m_includes; }
61 inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
62 template <typename IncludesT = JobScopingBlock>
63 void SetIncludes(IncludesT&& value) {
64 m_includesHasBeenSet = true;
65 m_includes = std::forward<IncludesT>(value);
66 }
67 template <typename IncludesT = JobScopingBlock>
68 Scoping& WithIncludes(IncludesT&& value) {
69 SetIncludes(std::forward<IncludesT>(value));
70 return *this;
71 }
73 private:
74 JobScopingBlock m_excludes;
75
76 JobScopingBlock m_includes;
77 bool m_excludesHasBeenSet = false;
78 bool m_includesHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Macie2
83} // namespace Aws
bool ExcludesHasBeenSet() const
Definition Scoping.h:42
void SetExcludes(ExcludesT &&value)
Definition Scoping.h:44
AWS_MACIE2_API Scoping()=default
const JobScopingBlock & GetIncludes() const
Definition Scoping.h:60
AWS_MACIE2_API Scoping(Aws::Utils::Json::JsonView jsonValue)
bool IncludesHasBeenSet() const
Definition Scoping.h:61
Scoping & WithIncludes(IncludesT &&value)
Definition Scoping.h:68
void SetIncludes(IncludesT &&value)
Definition Scoping.h:63
Scoping & WithExcludes(ExcludesT &&value)
Definition Scoping.h:49
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API Scoping & operator=(Aws::Utils::Json::JsonView jsonValue)
const JobScopingBlock & GetExcludes() const
Definition Scoping.h:41
Aws::Utils::Json::JsonValue JsonValue