AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
S3ClassificationScopeExclusionUpdate.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#include <aws/macie2/model/ClassificationScopeUpdateOperation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Macie2 {
22namespace Model {
23
31 public:
32 AWS_MACIE2_API S3ClassificationScopeExclusionUpdate() = default;
35 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline const Aws::Vector<Aws::String>& GetBucketNames() const { return m_bucketNames; }
46 inline bool BucketNamesHasBeenSet() const { return m_bucketNamesHasBeenSet; }
47 template <typename BucketNamesT = Aws::Vector<Aws::String>>
48 void SetBucketNames(BucketNamesT&& value) {
49 m_bucketNamesHasBeenSet = true;
50 m_bucketNames = std::forward<BucketNamesT>(value);
51 }
52 template <typename BucketNamesT = Aws::Vector<Aws::String>>
54 SetBucketNames(std::forward<BucketNamesT>(value));
55 return *this;
56 }
57 template <typename BucketNamesT = Aws::String>
59 m_bucketNamesHasBeenSet = true;
60 m_bucketNames.emplace_back(std::forward<BucketNamesT>(value));
61 return *this;
62 }
64
66
75 inline ClassificationScopeUpdateOperation GetOperation() const { return m_operation; }
76 inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
78 m_operationHasBeenSet = true;
79 m_operation = value;
80 }
82 SetOperation(value);
83 return *this;
84 }
86 private:
87 Aws::Vector<Aws::String> m_bucketNames;
88
90 bool m_bucketNamesHasBeenSet = false;
91 bool m_operationHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace Macie2
96} // 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