AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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