AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBucketNames(const Aws::Vector<Aws::String>& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = value; }
50 inline void SetBucketNames(Aws::Vector<Aws::String>&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = std::move(value); }
53 inline S3ClassificationScopeExclusion& AddBucketNames(const Aws::String& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; }
54 inline S3ClassificationScopeExclusion& AddBucketNames(Aws::String&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(std::move(value)); return *this; }
55 inline S3ClassificationScopeExclusion& AddBucketNames(const char* value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_bucketNames;
60 bool m_bucketNamesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Macie2
65} // namespace Aws
AWS_MACIE2_API S3ClassificationScopeExclusion & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ClassificationScopeExclusion & AddBucketNames(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBucketNames(const Aws::Vector< Aws::String > &value)
S3ClassificationScopeExclusion & WithBucketNames(const Aws::Vector< Aws::String > &value)
S3ClassificationScopeExclusion & AddBucketNames(Aws::String &&value)
const Aws::Vector< Aws::String > & GetBucketNames() const
S3ClassificationScopeExclusion & AddBucketNames(const Aws::String &value)
AWS_MACIE2_API S3ClassificationScopeExclusion(Aws::Utils::Json::JsonView jsonValue)
S3ClassificationScopeExclusion & WithBucketNames(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue