AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3JobDefinition.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/S3BucketCriteriaForJob.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/model/Scoping.h>
11#include <aws/macie2/model/S3BucketDefinitionForJob.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Macie2
25{
26namespace Model
27{
28
41 {
42 public:
43 AWS_MACIE2_API S3JobDefinition();
46 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
57 inline const S3BucketCriteriaForJob& GetBucketCriteria() const{ return m_bucketCriteria; }
58 inline bool BucketCriteriaHasBeenSet() const { return m_bucketCriteriaHasBeenSet; }
59 inline void SetBucketCriteria(const S3BucketCriteriaForJob& value) { m_bucketCriteriaHasBeenSet = true; m_bucketCriteria = value; }
60 inline void SetBucketCriteria(S3BucketCriteriaForJob&& value) { m_bucketCriteriaHasBeenSet = true; m_bucketCriteria = std::move(value); }
61 inline S3JobDefinition& WithBucketCriteria(const S3BucketCriteriaForJob& value) { SetBucketCriteria(value); return *this;}
62 inline S3JobDefinition& WithBucketCriteria(S3BucketCriteriaForJob&& value) { SetBucketCriteria(std::move(value)); return *this;}
64
66
72 inline const Aws::Vector<S3BucketDefinitionForJob>& GetBucketDefinitions() const{ return m_bucketDefinitions; }
73 inline bool BucketDefinitionsHasBeenSet() const { return m_bucketDefinitionsHasBeenSet; }
74 inline void SetBucketDefinitions(const Aws::Vector<S3BucketDefinitionForJob>& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions = value; }
75 inline void SetBucketDefinitions(Aws::Vector<S3BucketDefinitionForJob>&& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions = std::move(value); }
78 inline S3JobDefinition& AddBucketDefinitions(const S3BucketDefinitionForJob& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions.push_back(value); return *this; }
79 inline S3JobDefinition& AddBucketDefinitions(S3BucketDefinitionForJob&& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions.push_back(std::move(value)); return *this; }
81
83
88 inline const Scoping& GetScoping() const{ return m_scoping; }
89 inline bool ScopingHasBeenSet() const { return m_scopingHasBeenSet; }
90 inline void SetScoping(const Scoping& value) { m_scopingHasBeenSet = true; m_scoping = value; }
91 inline void SetScoping(Scoping&& value) { m_scopingHasBeenSet = true; m_scoping = std::move(value); }
92 inline S3JobDefinition& WithScoping(const Scoping& value) { SetScoping(value); return *this;}
93 inline S3JobDefinition& WithScoping(Scoping&& value) { SetScoping(std::move(value)); return *this;}
95 private:
96
97 S3BucketCriteriaForJob m_bucketCriteria;
98 bool m_bucketCriteriaHasBeenSet = false;
99
100 Aws::Vector<S3BucketDefinitionForJob> m_bucketDefinitions;
101 bool m_bucketDefinitionsHasBeenSet = false;
102
103 Scoping m_scoping;
104 bool m_scopingHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Macie2
109} // namespace Aws
const S3BucketCriteriaForJob & GetBucketCriteria() const
S3JobDefinition & WithBucketCriteria(const S3BucketCriteriaForJob &value)
S3JobDefinition & WithBucketCriteria(S3BucketCriteriaForJob &&value)
AWS_MACIE2_API S3JobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
S3JobDefinition & WithScoping(const Scoping &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBucketDefinitions(Aws::Vector< S3BucketDefinitionForJob > &&value)
void SetBucketCriteria(S3BucketCriteriaForJob &&value)
void SetBucketDefinitions(const Aws::Vector< S3BucketDefinitionForJob > &value)
void SetScoping(const Scoping &value)
void SetBucketCriteria(const S3BucketCriteriaForJob &value)
const Aws::Vector< S3BucketDefinitionForJob > & GetBucketDefinitions() const
S3JobDefinition & WithBucketDefinitions(const Aws::Vector< S3BucketDefinitionForJob > &value)
const Scoping & GetScoping() const
S3JobDefinition & WithBucketDefinitions(Aws::Vector< S3BucketDefinitionForJob > &&value)
S3JobDefinition & AddBucketDefinitions(const S3BucketDefinitionForJob &value)
S3JobDefinition & WithScoping(Scoping &&value)
S3JobDefinition & AddBucketDefinitions(S3BucketDefinitionForJob &&value)
AWS_MACIE2_API S3JobDefinition(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue