AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CriteriaBlockForJob.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/model/CriteriaForJob.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MACIE2_API CriteriaBlockForJob();
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<CriteriaForJob>& GetAnd() const{ return m_and; }
50 inline bool AndHasBeenSet() const { return m_andHasBeenSet; }
51 inline void SetAnd(const Aws::Vector<CriteriaForJob>& value) { m_andHasBeenSet = true; m_and = value; }
52 inline void SetAnd(Aws::Vector<CriteriaForJob>&& value) { m_andHasBeenSet = true; m_and = std::move(value); }
53 inline CriteriaBlockForJob& WithAnd(const Aws::Vector<CriteriaForJob>& value) { SetAnd(value); return *this;}
54 inline CriteriaBlockForJob& WithAnd(Aws::Vector<CriteriaForJob>&& value) { SetAnd(std::move(value)); return *this;}
55 inline CriteriaBlockForJob& AddAnd(const CriteriaForJob& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; }
56 inline CriteriaBlockForJob& AddAnd(CriteriaForJob&& value) { m_andHasBeenSet = true; m_and.push_back(std::move(value)); return *this; }
58 private:
59
61 bool m_andHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Macie2
66} // namespace Aws
CriteriaBlockForJob & AddAnd(const CriteriaForJob &value)
CriteriaBlockForJob & AddAnd(CriteriaForJob &&value)
void SetAnd(Aws::Vector< CriteriaForJob > &&value)
AWS_MACIE2_API CriteriaBlockForJob(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API CriteriaBlockForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
CriteriaBlockForJob & WithAnd(Aws::Vector< CriteriaForJob > &&value)
CriteriaBlockForJob & WithAnd(const Aws::Vector< CriteriaForJob > &value)
void SetAnd(const Aws::Vector< CriteriaForJob > &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< CriteriaForJob > & GetAnd() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue