AWS SDK for C++  1.9.175
AWS SDK for C++
S3JobDefinition.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Macie2
25 {
26 namespace Model
27 {
28 
41  {
42  public:
47 
48 
55  inline const Aws::Vector<S3BucketDefinitionForJob>& GetBucketDefinitions() const{ return m_bucketDefinitions; }
56 
63  inline bool BucketDefinitionsHasBeenSet() const { return m_bucketDefinitionsHasBeenSet; }
64 
71  inline void SetBucketDefinitions(const Aws::Vector<S3BucketDefinitionForJob>& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions = value; }
72 
79  inline void SetBucketDefinitions(Aws::Vector<S3BucketDefinitionForJob>&& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions = std::move(value); }
80 
87  inline S3JobDefinition& WithBucketDefinitions(const Aws::Vector<S3BucketDefinitionForJob>& value) { SetBucketDefinitions(value); return *this;}
88 
95  inline S3JobDefinition& WithBucketDefinitions(Aws::Vector<S3BucketDefinitionForJob>&& value) { SetBucketDefinitions(std::move(value)); return *this;}
96 
103  inline S3JobDefinition& AddBucketDefinitions(const S3BucketDefinitionForJob& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions.push_back(value); return *this; }
104 
111  inline S3JobDefinition& AddBucketDefinitions(S3BucketDefinitionForJob&& value) { m_bucketDefinitionsHasBeenSet = true; m_bucketDefinitions.push_back(std::move(value)); return *this; }
112 
113 
119  inline const Scoping& GetScoping() const{ return m_scoping; }
120 
126  inline bool ScopingHasBeenSet() const { return m_scopingHasBeenSet; }
127 
133  inline void SetScoping(const Scoping& value) { m_scopingHasBeenSet = true; m_scoping = value; }
134 
140  inline void SetScoping(Scoping&& value) { m_scopingHasBeenSet = true; m_scoping = std::move(value); }
141 
147  inline S3JobDefinition& WithScoping(const Scoping& value) { SetScoping(value); return *this;}
148 
154  inline S3JobDefinition& WithScoping(Scoping&& value) { SetScoping(std::move(value)); return *this;}
155 
156 
164  inline const S3BucketCriteriaForJob& GetBucketCriteria() const{ return m_bucketCriteria; }
165 
173  inline bool BucketCriteriaHasBeenSet() const { return m_bucketCriteriaHasBeenSet; }
174 
182  inline void SetBucketCriteria(const S3BucketCriteriaForJob& value) { m_bucketCriteriaHasBeenSet = true; m_bucketCriteria = value; }
183 
191  inline void SetBucketCriteria(S3BucketCriteriaForJob&& value) { m_bucketCriteriaHasBeenSet = true; m_bucketCriteria = std::move(value); }
192 
200  inline S3JobDefinition& WithBucketCriteria(const S3BucketCriteriaForJob& value) { SetBucketCriteria(value); return *this;}
201 
209  inline S3JobDefinition& WithBucketCriteria(S3BucketCriteriaForJob&& value) { SetBucketCriteria(std::move(value)); return *this;}
210 
211  private:
212 
213  Aws::Vector<S3BucketDefinitionForJob> m_bucketDefinitions;
214  bool m_bucketDefinitionsHasBeenSet;
215 
216  Scoping m_scoping;
217  bool m_scopingHasBeenSet;
218 
219  S3BucketCriteriaForJob m_bucketCriteria;
220  bool m_bucketCriteriaHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Macie2
225 } // namespace Aws
Aws::Macie2::Model::S3JobDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
S3BucketCriteriaForJob.h
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::S3JobDefinition::SetBucketCriteria
void SetBucketCriteria(S3BucketCriteriaForJob &&value)
Definition: S3JobDefinition.h:191
Aws::Macie2::Model::S3JobDefinition::WithScoping
S3JobDefinition & WithScoping(Scoping &&value)
Definition: S3JobDefinition.h:154
Aws::Macie2::Model::S3JobDefinition::AddBucketDefinitions
S3JobDefinition & AddBucketDefinitions(const S3BucketDefinitionForJob &value)
Definition: S3JobDefinition.h:103
Aws::Macie2::Model::S3JobDefinition::ScopingHasBeenSet
bool ScopingHasBeenSet() const
Definition: S3JobDefinition.h:126
Macie2_EXPORTS.h
S3BucketDefinitionForJob.h
Aws::Macie2::Model::S3JobDefinition::BucketCriteriaHasBeenSet
bool BucketCriteriaHasBeenSet() const
Definition: S3JobDefinition.h:173
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Macie2::Model::S3JobDefinition::WithBucketDefinitions
S3JobDefinition & WithBucketDefinitions(const Aws::Vector< S3BucketDefinitionForJob > &value)
Definition: S3JobDefinition.h:87
AWSVector.h
Aws::Macie2::Model::S3BucketCriteriaForJob
Definition: S3BucketCriteriaForJob.h:34
Aws::Macie2::Model::S3JobDefinition::S3JobDefinition
S3JobDefinition()
Aws::Macie2::Model::S3JobDefinition::WithScoping
S3JobDefinition & WithScoping(const Scoping &value)
Definition: S3JobDefinition.h:147
Aws::Macie2::Model::Scoping
Definition: Scoping.h:34
Aws::Macie2::Model::S3JobDefinition::S3JobDefinition
S3JobDefinition(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::S3JobDefinition
Definition: S3JobDefinition.h:41
Aws::Macie2::Model::S3BucketDefinitionForJob
Definition: S3BucketDefinitionForJob.h:35
Aws::Macie2::Model::S3JobDefinition::SetScoping
void SetScoping(Scoping &&value)
Definition: S3JobDefinition.h:140
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Scoping.h
Aws::Macie2::Model::S3JobDefinition::SetBucketCriteria
void SetBucketCriteria(const S3BucketCriteriaForJob &value)
Definition: S3JobDefinition.h:182
Aws::Macie2::Model::S3JobDefinition::SetScoping
void SetScoping(const Scoping &value)
Definition: S3JobDefinition.h:133
Aws::Macie2::Model::S3JobDefinition::AddBucketDefinitions
S3JobDefinition & AddBucketDefinitions(S3BucketDefinitionForJob &&value)
Definition: S3JobDefinition.h:111
Aws::Macie2::Model::S3JobDefinition::SetBucketDefinitions
void SetBucketDefinitions(const Aws::Vector< S3BucketDefinitionForJob > &value)
Definition: S3JobDefinition.h:71
Aws::Macie2::Model::S3JobDefinition::WithBucketDefinitions
S3JobDefinition & WithBucketDefinitions(Aws::Vector< S3BucketDefinitionForJob > &&value)
Definition: S3JobDefinition.h:95
Aws::Macie2::Model::S3JobDefinition::WithBucketCriteria
S3JobDefinition & WithBucketCriteria(S3BucketCriteriaForJob &&value)
Definition: S3JobDefinition.h:209
Aws::Macie2::Model::S3JobDefinition::WithBucketCriteria
S3JobDefinition & WithBucketCriteria(const S3BucketCriteriaForJob &value)
Definition: S3JobDefinition.h:200
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::S3JobDefinition::GetBucketCriteria
const S3BucketCriteriaForJob & GetBucketCriteria() const
Definition: S3JobDefinition.h:164
Aws::Macie2::Model::S3JobDefinition::BucketDefinitionsHasBeenSet
bool BucketDefinitionsHasBeenSet() const
Definition: S3JobDefinition.h:63
Aws::Macie2::Model::S3JobDefinition::SetBucketDefinitions
void SetBucketDefinitions(Aws::Vector< S3BucketDefinitionForJob > &&value)
Definition: S3JobDefinition.h:79
Aws::Macie2::Model::S3JobDefinition::GetScoping
const Scoping & GetScoping() const
Definition: S3JobDefinition.h:119
Aws::Macie2::Model::S3JobDefinition::operator=
S3JobDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Macie2::Model::S3JobDefinition::GetBucketDefinitions
const Aws::Vector< S3BucketDefinitionForJob > & GetBucketDefinitions() const
Definition: S3JobDefinition.h:55