AWS SDK for C++  1.9.109
AWS SDK for C++
CriteriaBlockForJob.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 
35  {
36  public:
41 
42 
48  inline const Aws::Vector<CriteriaForJob>& GetAnd() const{ return m_and; }
49 
55  inline bool AndHasBeenSet() const { return m_andHasBeenSet; }
56 
62  inline void SetAnd(const Aws::Vector<CriteriaForJob>& value) { m_andHasBeenSet = true; m_and = value; }
63 
69  inline void SetAnd(Aws::Vector<CriteriaForJob>&& value) { m_andHasBeenSet = true; m_and = std::move(value); }
70 
76  inline CriteriaBlockForJob& WithAnd(const Aws::Vector<CriteriaForJob>& value) { SetAnd(value); return *this;}
77 
83  inline CriteriaBlockForJob& WithAnd(Aws::Vector<CriteriaForJob>&& value) { SetAnd(std::move(value)); return *this;}
84 
90  inline CriteriaBlockForJob& AddAnd(const CriteriaForJob& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; }
91 
97  inline CriteriaBlockForJob& AddAnd(CriteriaForJob&& value) { m_andHasBeenSet = true; m_and.push_back(std::move(value)); return *this; }
98 
99  private:
100 
102  bool m_andHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace Macie2
107 } // namespace Aws
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::CriteriaBlockForJob::GetAnd
const Aws::Vector< CriteriaForJob > & GetAnd() const
Definition: CriteriaBlockForJob.h:48
Aws::Macie2::Model::CriteriaBlockForJob::CriteriaBlockForJob
CriteriaBlockForJob()
Macie2_EXPORTS.h
Aws::Macie2::Model::CriteriaBlockForJob
Definition: CriteriaBlockForJob.h:35
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CriteriaForJob.h
AWSVector.h
Aws::Macie2::Model::CriteriaBlockForJob::WithAnd
CriteriaBlockForJob & WithAnd(Aws::Vector< CriteriaForJob > &&value)
Definition: CriteriaBlockForJob.h:83
Aws::Macie2::Model::CriteriaBlockForJob::operator=
CriteriaBlockForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::CriteriaBlockForJob::SetAnd
void SetAnd(Aws::Vector< CriteriaForJob > &&value)
Definition: CriteriaBlockForJob.h:69
Aws::Macie2::Model::CriteriaBlockForJob::AddAnd
CriteriaBlockForJob & AddAnd(const CriteriaForJob &value)
Definition: CriteriaBlockForJob.h:90
Aws::Macie2::Model::CriteriaForJob
Definition: CriteriaForJob.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Macie2::Model::CriteriaBlockForJob::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Macie2::Model::CriteriaBlockForJob::CriteriaBlockForJob
CriteriaBlockForJob(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::CriteriaBlockForJob::AndHasBeenSet
bool AndHasBeenSet() const
Definition: CriteriaBlockForJob.h:55
Aws::Macie2::Model::CriteriaBlockForJob::SetAnd
void SetAnd(const Aws::Vector< CriteriaForJob > &value)
Definition: CriteriaBlockForJob.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::CriteriaBlockForJob::AddAnd
CriteriaBlockForJob & AddAnd(CriteriaForJob &&value)
Definition: CriteriaBlockForJob.h:97
Aws::Macie2::Model::CriteriaBlockForJob::WithAnd
CriteriaBlockForJob & WithAnd(const Aws::Vector< CriteriaForJob > &value)
Definition: CriteriaBlockForJob.h:76