AWS SDK for C++  1.9.104
AWS SDK for C++
JobScopeTerm.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Macie2
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
48  inline const SimpleScopeTerm& GetSimpleScopeTerm() const{ return m_simpleScopeTerm; }
49 
54  inline bool SimpleScopeTermHasBeenSet() const { return m_simpleScopeTermHasBeenSet; }
55 
60  inline void SetSimpleScopeTerm(const SimpleScopeTerm& value) { m_simpleScopeTermHasBeenSet = true; m_simpleScopeTerm = value; }
61 
66  inline void SetSimpleScopeTerm(SimpleScopeTerm&& value) { m_simpleScopeTermHasBeenSet = true; m_simpleScopeTerm = std::move(value); }
67 
72  inline JobScopeTerm& WithSimpleScopeTerm(const SimpleScopeTerm& value) { SetSimpleScopeTerm(value); return *this;}
73 
78  inline JobScopeTerm& WithSimpleScopeTerm(SimpleScopeTerm&& value) { SetSimpleScopeTerm(std::move(value)); return *this;}
79 
80 
85  inline const TagScopeTerm& GetTagScopeTerm() const{ return m_tagScopeTerm; }
86 
91  inline bool TagScopeTermHasBeenSet() const { return m_tagScopeTermHasBeenSet; }
92 
97  inline void SetTagScopeTerm(const TagScopeTerm& value) { m_tagScopeTermHasBeenSet = true; m_tagScopeTerm = value; }
98 
103  inline void SetTagScopeTerm(TagScopeTerm&& value) { m_tagScopeTermHasBeenSet = true; m_tagScopeTerm = std::move(value); }
104 
109  inline JobScopeTerm& WithTagScopeTerm(const TagScopeTerm& value) { SetTagScopeTerm(value); return *this;}
110 
115  inline JobScopeTerm& WithTagScopeTerm(TagScopeTerm&& value) { SetTagScopeTerm(std::move(value)); return *this;}
116 
117  private:
118 
119  SimpleScopeTerm m_simpleScopeTerm;
120  bool m_simpleScopeTermHasBeenSet;
121 
122  TagScopeTerm m_tagScopeTerm;
123  bool m_tagScopeTermHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace Macie2
128 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::TagScopeTerm
Definition: TagScopeTerm.h:37
Aws::Macie2::Model::JobScopeTerm::SetSimpleScopeTerm
void SetSimpleScopeTerm(const SimpleScopeTerm &value)
Definition: JobScopeTerm.h:60
Aws::Macie2::Model::JobScopeTerm::GetSimpleScopeTerm
const SimpleScopeTerm & GetSimpleScopeTerm() const
Definition: JobScopeTerm.h:48
Aws::Macie2::Model::JobScopeTerm
Definition: JobScopeTerm.h:36
Aws::Macie2::Model::JobScopeTerm::SetTagScopeTerm
void SetTagScopeTerm(TagScopeTerm &&value)
Definition: JobScopeTerm.h:103
Aws::Macie2::Model::JobScopeTerm::TagScopeTermHasBeenSet
bool TagScopeTermHasBeenSet() const
Definition: JobScopeTerm.h:91
Macie2_EXPORTS.h
Aws::Macie2::Model::JobScopeTerm::WithTagScopeTerm
JobScopeTerm & WithTagScopeTerm(TagScopeTerm &&value)
Definition: JobScopeTerm.h:115
Aws::Macie2::Model::JobScopeTerm::WithSimpleScopeTerm
JobScopeTerm & WithSimpleScopeTerm(const SimpleScopeTerm &value)
Definition: JobScopeTerm.h:72
Aws::Macie2::Model::JobScopeTerm::SimpleScopeTermHasBeenSet
bool SimpleScopeTermHasBeenSet() const
Definition: JobScopeTerm.h:54
Aws::Macie2::Model::SimpleScopeTerm
Definition: SimpleScopeTerm.h:36
Aws::Macie2::Model::JobScopeTerm::JobScopeTerm
JobScopeTerm()
Aws::Macie2::Model::JobScopeTerm::WithTagScopeTerm
JobScopeTerm & WithTagScopeTerm(const TagScopeTerm &value)
Definition: JobScopeTerm.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Macie2::Model::JobScopeTerm::SetSimpleScopeTerm
void SetSimpleScopeTerm(SimpleScopeTerm &&value)
Definition: JobScopeTerm.h:66
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::JobScopeTerm::operator=
JobScopeTerm & operator=(Aws::Utils::Json::JsonView jsonValue)
SimpleScopeTerm.h
Aws::Macie2::Model::JobScopeTerm::WithSimpleScopeTerm
JobScopeTerm & WithSimpleScopeTerm(SimpleScopeTerm &&value)
Definition: JobScopeTerm.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::JobScopeTerm::JobScopeTerm
JobScopeTerm(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::JobScopeTerm::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
TagScopeTerm.h
Aws::Macie2::Model::JobScopeTerm::SetTagScopeTerm
void SetTagScopeTerm(const TagScopeTerm &value)
Definition: JobScopeTerm.h:97
Aws::Macie2::Model::JobScopeTerm::GetTagScopeTerm
const TagScopeTerm & GetTagScopeTerm() const
Definition: JobScopeTerm.h:85