AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetBucketNames(const Aws::Vector<Aws::String>& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = value; }
54 inline void SetBucketNames(Aws::Vector<Aws::String>&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = std::move(value); }
57 inline S3ClassificationScopeExclusionUpdate& AddBucketNames(const Aws::String& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; }
58 inline S3ClassificationScopeExclusionUpdate& AddBucketNames(Aws::String&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(std::move(value)); return *this; }
59 inline S3ClassificationScopeExclusionUpdate& AddBucketNames(const char* value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; }
61
63
72 inline const ClassificationScopeUpdateOperation& GetOperation() const{ return m_operation; }
73 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
74 inline void SetOperation(const ClassificationScopeUpdateOperation& value) { m_operationHasBeenSet = true; m_operation = value; }
75 inline void SetOperation(ClassificationScopeUpdateOperation&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
79 private:
80
81 Aws::Vector<Aws::String> m_bucketNames;
82 bool m_bucketNamesHasBeenSet = false;
83
85 bool m_operationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Macie2
90} // namespace Aws
AWS_MACIE2_API S3ClassificationScopeExclusionUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ClassificationScopeExclusionUpdate & AddBucketNames(const Aws::String &value)
const ClassificationScopeUpdateOperation & GetOperation() const
S3ClassificationScopeExclusionUpdate & WithOperation(ClassificationScopeUpdateOperation &&value)
AWS_MACIE2_API S3ClassificationScopeExclusionUpdate(Aws::Utils::Json::JsonView jsonValue)
S3ClassificationScopeExclusionUpdate & WithBucketNames(const Aws::Vector< Aws::String > &value)
S3ClassificationScopeExclusionUpdate & AddBucketNames(Aws::String &&value)
void SetOperation(const ClassificationScopeUpdateOperation &value)
S3ClassificationScopeExclusionUpdate & AddBucketNames(const char *value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
S3ClassificationScopeExclusionUpdate & WithBucketNames(Aws::Vector< Aws::String > &&value)
S3ClassificationScopeExclusionUpdate & WithOperation(const ClassificationScopeUpdateOperation &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