AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3BucketDefinitionForJob.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
35 {
36 public:
37 AWS_MACIE2_API S3BucketDefinitionForJob() = default;
40 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetAccountId() const { return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 S3BucketDefinitionForJob& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetBuckets() const { return m_buckets; }
61 inline bool BucketsHasBeenSet() const { return m_bucketsHasBeenSet; }
62 template<typename BucketsT = Aws::Vector<Aws::String>>
63 void SetBuckets(BucketsT&& value) { m_bucketsHasBeenSet = true; m_buckets = std::forward<BucketsT>(value); }
64 template<typename BucketsT = Aws::Vector<Aws::String>>
65 S3BucketDefinitionForJob& WithBuckets(BucketsT&& value) { SetBuckets(std::forward<BucketsT>(value)); return *this;}
66 template<typename BucketsT = Aws::String>
67 S3BucketDefinitionForJob& AddBuckets(BucketsT&& value) { m_bucketsHasBeenSet = true; m_buckets.emplace_back(std::forward<BucketsT>(value)); return *this; }
69 private:
70
71 Aws::String m_accountId;
72 bool m_accountIdHasBeenSet = false;
73
75 bool m_bucketsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Macie2
80} // namespace Aws
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API S3BucketDefinitionForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
S3BucketDefinitionForJob & WithAccountId(AccountIdT &&value)
S3BucketDefinitionForJob & WithBuckets(BucketsT &&value)
S3BucketDefinitionForJob & AddBuckets(BucketsT &&value)
AWS_MACIE2_API S3BucketDefinitionForJob(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API S3BucketDefinitionForJob()=default
const Aws::Vector< Aws::String > & GetBuckets() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue