AWS SDK for C++  1.9.104
AWS SDK for C++
Scoping.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Macie2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
46  inline const JobScopingBlock& GetExcludes() const{ return m_excludes; }
47 
52  inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; }
53 
58  inline void SetExcludes(const JobScopingBlock& value) { m_excludesHasBeenSet = true; m_excludes = value; }
59 
64  inline void SetExcludes(JobScopingBlock&& value) { m_excludesHasBeenSet = true; m_excludes = std::move(value); }
65 
70  inline Scoping& WithExcludes(const JobScopingBlock& value) { SetExcludes(value); return *this;}
71 
76  inline Scoping& WithExcludes(JobScopingBlock&& value) { SetExcludes(std::move(value)); return *this;}
77 
78 
83  inline const JobScopingBlock& GetIncludes() const{ return m_includes; }
84 
89  inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; }
90 
95  inline void SetIncludes(const JobScopingBlock& value) { m_includesHasBeenSet = true; m_includes = value; }
96 
101  inline void SetIncludes(JobScopingBlock&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); }
102 
107  inline Scoping& WithIncludes(const JobScopingBlock& value) { SetIncludes(value); return *this;}
108 
113  inline Scoping& WithIncludes(JobScopingBlock&& value) { SetIncludes(std::move(value)); return *this;}
114 
115  private:
116 
117  JobScopingBlock m_excludes;
118  bool m_excludesHasBeenSet;
119 
120  JobScopingBlock m_includes;
121  bool m_includesHasBeenSet;
122  };
123 
124 } // namespace Model
125 } // namespace Macie2
126 } // namespace Aws
Aws::Macie2::Model::Scoping::SetExcludes
void SetExcludes(const JobScopingBlock &value)
Definition: Scoping.h:58
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::Scoping::WithExcludes
Scoping & WithExcludes(const JobScopingBlock &value)
Definition: Scoping.h:70
Aws::Macie2::Model::Scoping::SetIncludes
void SetIncludes(const JobScopingBlock &value)
Definition: Scoping.h:95
Aws::Macie2::Model::Scoping::WithIncludes
Scoping & WithIncludes(JobScopingBlock &&value)
Definition: Scoping.h:113
Macie2_EXPORTS.h
Aws::Macie2::Model::Scoping::GetIncludes
const JobScopingBlock & GetIncludes() const
Definition: Scoping.h:83
Aws::Macie2::Model::Scoping
Definition: Scoping.h:34
JobScopingBlock.h
Aws::Macie2::Model::Scoping::Scoping
Scoping()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Macie2::Model::Scoping::SetIncludes
void SetIncludes(JobScopingBlock &&value)
Definition: Scoping.h:101
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::JobScopingBlock
Definition: JobScopingBlock.h:35
Aws::Macie2::Model::Scoping::ExcludesHasBeenSet
bool ExcludesHasBeenSet() const
Definition: Scoping.h:52
Aws::Macie2::Model::Scoping::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Macie2::Model::Scoping::operator=
Scoping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Scoping::Scoping
Scoping(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::Scoping::WithIncludes
Scoping & WithIncludes(const JobScopingBlock &value)
Definition: Scoping.h:107
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::Scoping::WithExcludes
Scoping & WithExcludes(JobScopingBlock &&value)
Definition: Scoping.h:76
Aws::Macie2::Model::Scoping::GetExcludes
const JobScopingBlock & GetExcludes() const
Definition: Scoping.h:46
Aws::Macie2::Model::Scoping::SetExcludes
void SetExcludes(JobScopingBlock &&value)
Definition: Scoping.h:64
Aws::Macie2::Model::Scoping::IncludesHasBeenSet
bool IncludesHasBeenSet() const
Definition: Scoping.h:89