AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateS3BucketResource.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GUARDDUTY_API UpdateS3BucketResource();
39 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetObjectPrefixes() const{ return m_objectPrefixes; }
48 inline bool ObjectPrefixesHasBeenSet() const { return m_objectPrefixesHasBeenSet; }
49 inline void SetObjectPrefixes(const Aws::Vector<Aws::String>& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = value; }
50 inline void SetObjectPrefixes(Aws::Vector<Aws::String>&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes = std::move(value); }
52 inline UpdateS3BucketResource& WithObjectPrefixes(Aws::Vector<Aws::String>&& value) { SetObjectPrefixes(std::move(value)); return *this;}
53 inline UpdateS3BucketResource& AddObjectPrefixes(const Aws::String& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; }
54 inline UpdateS3BucketResource& AddObjectPrefixes(Aws::String&& value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(std::move(value)); return *this; }
55 inline UpdateS3BucketResource& AddObjectPrefixes(const char* value) { m_objectPrefixesHasBeenSet = true; m_objectPrefixes.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_objectPrefixes;
60 bool m_objectPrefixesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace GuardDuty
65} // namespace Aws
UpdateS3BucketResource & AddObjectPrefixes(const char *value)
AWS_GUARDDUTY_API UpdateS3BucketResource(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetObjectPrefixes() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateS3BucketResource & AddObjectPrefixes(const Aws::String &value)
void SetObjectPrefixes(const Aws::Vector< Aws::String > &value)
UpdateS3BucketResource & AddObjectPrefixes(Aws::String &&value)
UpdateS3BucketResource & WithObjectPrefixes(const Aws::Vector< Aws::String > &value)
AWS_GUARDDUTY_API UpdateS3BucketResource & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateS3BucketResource & WithObjectPrefixes(Aws::Vector< Aws::String > &&value)
void SetObjectPrefixes(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