AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline S3BucketDefinitionForJob& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline S3BucketDefinitionForJob& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline S3BucketDefinitionForJob& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetBuckets() const{ return m_buckets; }
63 inline bool BucketsHasBeenSet() const { return m_bucketsHasBeenSet; }
64 inline void SetBuckets(const Aws::Vector<Aws::String>& value) { m_bucketsHasBeenSet = true; m_buckets = value; }
65 inline void SetBuckets(Aws::Vector<Aws::String>&& value) { m_bucketsHasBeenSet = true; m_buckets = std::move(value); }
66 inline S3BucketDefinitionForJob& WithBuckets(const Aws::Vector<Aws::String>& value) { SetBuckets(value); return *this;}
67 inline S3BucketDefinitionForJob& WithBuckets(Aws::Vector<Aws::String>&& value) { SetBuckets(std::move(value)); return *this;}
68 inline S3BucketDefinitionForJob& AddBuckets(const Aws::String& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
69 inline S3BucketDefinitionForJob& AddBuckets(Aws::String&& value) { m_bucketsHasBeenSet = true; m_buckets.push_back(std::move(value)); return *this; }
70 inline S3BucketDefinitionForJob& AddBuckets(const char* value) { m_bucketsHasBeenSet = true; m_buckets.push_back(value); return *this; }
72 private:
73
74 Aws::String m_accountId;
75 bool m_accountIdHasBeenSet = false;
76
78 bool m_bucketsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Macie2
83} // namespace Aws
S3BucketDefinitionForJob & WithAccountId(Aws::String &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
S3BucketDefinitionForJob & AddBuckets(const Aws::String &value)
AWS_MACIE2_API S3BucketDefinitionForJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBuckets(Aws::Vector< Aws::String > &&value)
S3BucketDefinitionForJob & WithBuckets(Aws::Vector< Aws::String > &&value)
S3BucketDefinitionForJob & WithAccountId(const char *value)
void SetBuckets(const Aws::Vector< Aws::String > &value)
S3BucketDefinitionForJob & WithBuckets(const Aws::Vector< Aws::String > &value)
S3BucketDefinitionForJob & AddBuckets(Aws::String &&value)
S3BucketDefinitionForJob & WithAccountId(const Aws::String &value)
S3BucketDefinitionForJob & AddBuckets(const char *value)
AWS_MACIE2_API S3BucketDefinitionForJob(Aws::Utils::Json::JsonView jsonValue)
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