AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SearchResourcesCriteriaBlock.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/SearchResourcesCriteria.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:
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::Vector<SearchResourcesCriteria>& GetAnd() const{ return m_and; }
50 inline bool AndHasBeenSet() const { return m_andHasBeenSet; }
51 inline void SetAnd(const Aws::Vector<SearchResourcesCriteria>& value) { m_andHasBeenSet = true; m_and = value; }
52 inline void SetAnd(Aws::Vector<SearchResourcesCriteria>&& value) { m_andHasBeenSet = true; m_and = std::move(value); }
54 inline SearchResourcesCriteriaBlock& WithAnd(Aws::Vector<SearchResourcesCriteria>&& value) { SetAnd(std::move(value)); return *this;}
55 inline SearchResourcesCriteriaBlock& AddAnd(const SearchResourcesCriteria& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; }
56 inline SearchResourcesCriteriaBlock& AddAnd(SearchResourcesCriteria&& 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
AWS_MACIE2_API SearchResourcesCriteriaBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchResourcesCriteriaBlock & AddAnd(const SearchResourcesCriteria &value)
SearchResourcesCriteriaBlock & WithAnd(const Aws::Vector< SearchResourcesCriteria > &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
SearchResourcesCriteriaBlock & WithAnd(Aws::Vector< SearchResourcesCriteria > &&value)
const Aws::Vector< SearchResourcesCriteria > & GetAnd() const
void SetAnd(Aws::Vector< SearchResourcesCriteria > &&value)
void SetAnd(const Aws::Vector< SearchResourcesCriteria > &value)
SearchResourcesCriteriaBlock & AddAnd(SearchResourcesCriteria &&value)
AWS_MACIE2_API SearchResourcesCriteriaBlock(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue