AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3ClassificationScopeExclusion.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_MACIE2_API S3ClassificationScopeExclusion() = default;
39 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetBucketNames() const { return m_bucketNames; }
48 inline bool BucketNamesHasBeenSet() const { return m_bucketNamesHasBeenSet; }
49 template<typename BucketNamesT = Aws::Vector<Aws::String>>
50 void SetBucketNames(BucketNamesT&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = std::forward<BucketNamesT>(value); }
51 template<typename BucketNamesT = Aws::Vector<Aws::String>>
52 S3ClassificationScopeExclusion& WithBucketNames(BucketNamesT&& value) { SetBucketNames(std::forward<BucketNamesT>(value)); return *this;}
53 template<typename BucketNamesT = Aws::String>
54 S3ClassificationScopeExclusion& AddBucketNames(BucketNamesT&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.emplace_back(std::forward<BucketNamesT>(value)); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_bucketNames;
59 bool m_bucketNamesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Macie2
64} // namespace Aws
AWS_MACIE2_API S3ClassificationScopeExclusion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API S3ClassificationScopeExclusion()=default
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
S3ClassificationScopeExclusion & AddBucketNames(BucketNamesT &&value)
S3ClassificationScopeExclusion & WithBucketNames(BucketNamesT &&value)
const Aws::Vector< Aws::String > & GetBucketNames() const
AWS_MACIE2_API S3ClassificationScopeExclusion(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue