AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3ClassificationScopeExclusionUpdate.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/ClassificationScopeUpdateOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Macie2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MACIE2_API S3ClassificationScopeExclusionUpdate() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::Vector<Aws::String>& GetBucketNames() const { return m_bucketNames; }
52 inline bool BucketNamesHasBeenSet() const { return m_bucketNamesHasBeenSet; }
53 template<typename BucketNamesT = Aws::Vector<Aws::String>>
54 void SetBucketNames(BucketNamesT&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = std::forward<BucketNamesT>(value); }
55 template<typename BucketNamesT = Aws::Vector<Aws::String>>
56 S3ClassificationScopeExclusionUpdate& WithBucketNames(BucketNamesT&& value) { SetBucketNames(std::forward<BucketNamesT>(value)); return *this;}
57 template<typename BucketNamesT = Aws::String>
58 S3ClassificationScopeExclusionUpdate& AddBucketNames(BucketNamesT&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.emplace_back(std::forward<BucketNamesT>(value)); return *this; }
60
62
71 inline ClassificationScopeUpdateOperation GetOperation() const { return m_operation; }
72 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
73 inline void SetOperation(ClassificationScopeUpdateOperation value) { m_operationHasBeenSet = true; m_operation = value; }
76 private:
77
78 Aws::Vector<Aws::String> m_bucketNames;
79 bool m_bucketNamesHasBeenSet = false;
80
82 bool m_operationHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Macie2
87} // namespace Aws
AWS_MACIE2_API S3ClassificationScopeExclusionUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API S3ClassificationScopeExclusionUpdate(Aws::Utils::Json::JsonView jsonValue)
S3ClassificationScopeExclusionUpdate & WithBucketNames(BucketNamesT &&value)
S3ClassificationScopeExclusionUpdate & WithOperation(ClassificationScopeUpdateOperation value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
S3ClassificationScopeExclusionUpdate & AddBucketNames(BucketNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue