AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAnd(const Aws::Vector<JobScopeTerm>& value) { m_andHasBeenSet = true; m_and = value; }
52 inline void SetAnd(Aws::Vector<JobScopeTerm>&& value) { m_andHasBeenSet = true; m_and = std::move(value); }
53 inline JobScopingBlock& WithAnd(const Aws::Vector<JobScopeTerm>& value) { SetAnd(value); return *this;}
54 inline JobScopingBlock& WithAnd(Aws::Vector<JobScopeTerm>&& value) { SetAnd(std::move(value)); return *this;}
55 inline JobScopingBlock& AddAnd(const JobScopeTerm& value) { m_andHasBeenSet = true; m_and.push_back(value); return *this; }
56 inline JobScopingBlock& AddAnd(JobScopeTerm&& 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 JobScopingBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnd(Aws::Vector< JobScopeTerm > &&value)
JobScopingBlock & AddAnd(JobScopeTerm &&value)
void SetAnd(const Aws::Vector< JobScopeTerm > &value)
JobScopingBlock & AddAnd(const JobScopeTerm &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< JobScopeTerm > & GetAnd() const
AWS_MACIE2_API JobScopingBlock(Aws::Utils::Json::JsonView jsonValue)
JobScopingBlock & WithAnd(const Aws::Vector< JobScopeTerm > &value)
JobScopingBlock & WithAnd(Aws::Vector< JobScopeTerm > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue