AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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
33 class Scoping
34 {
35 public:
36 AWS_MACIE2_API Scoping() = default;
37 AWS_MACIE2_API Scoping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MACIE2_API Scoping& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const JobScopingBlock& GetExcludes() const { return m_excludes; }
48 inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
49 template<typename ExcludesT = JobScopingBlock>
50 void SetExcludes(ExcludesT&& value) { m_excludesHasBeenSet = true; m_excludes = std::forward<ExcludesT>(value); }
51 template<typename ExcludesT = JobScopingBlock>
52 Scoping& WithExcludes(ExcludesT&& value) { SetExcludes(std::forward<ExcludesT>(value)); return *this;}
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) { m_includesHasBeenSet = true; m_includes = std::forward<IncludesT>(value); }
64 template<typename IncludesT = JobScopingBlock>
65 Scoping& WithIncludes(IncludesT&& value) { SetIncludes(std::forward<IncludesT>(value)); return *this;}
67 private:
68
69 JobScopingBlock m_excludes;
70 bool m_excludesHasBeenSet = false;
71
72 JobScopingBlock m_includes;
73 bool m_includesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Macie2
78} // namespace Aws
bool ExcludesHasBeenSet() const
Definition Scoping.h:48
void SetExcludes(ExcludesT &&value)
Definition Scoping.h:50
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:65
void SetIncludes(IncludesT &&value)
Definition Scoping.h:63
Scoping & WithExcludes(ExcludesT &&value)
Definition Scoping.h:52
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:47
Aws::Utils::Json::JsonValue JsonValue