AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
S3ClassificationScopeExclusion.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/macie2/Macie2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Macie2 {
21namespace Model {
22
30 public:
31 AWS_MACIE2_API S3ClassificationScopeExclusion() = default;
34 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::Vector<Aws::String>& GetBucketNames() const { return m_bucketNames; }
42 inline bool BucketNamesHasBeenSet() const { return m_bucketNamesHasBeenSet; }
43 template <typename BucketNamesT = Aws::Vector<Aws::String>>
44 void SetBucketNames(BucketNamesT&& value) {
45 m_bucketNamesHasBeenSet = true;
46 m_bucketNames = std::forward<BucketNamesT>(value);
47 }
48 template <typename BucketNamesT = Aws::Vector<Aws::String>>
50 SetBucketNames(std::forward<BucketNamesT>(value));
51 return *this;
52 }
53 template <typename BucketNamesT = Aws::String>
55 m_bucketNamesHasBeenSet = true;
56 m_bucketNames.emplace_back(std::forward<BucketNamesT>(value));
57 return *this;
58 }
60 private:
61 Aws::Vector<Aws::String> m_bucketNames;
62 bool m_bucketNamesHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace Macie2
67} // 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