AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
S3DataAccessDetails.h
1
6#pragma once
7#include <aws/dataexchange/DataExchange_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 DataExchange
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAEXCHANGE_API S3DataAccessDetails();
37 AWS_DATAEXCHANGE_API S3DataAccessDetails(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetKeyPrefixes() const{ return m_keyPrefixes; }
48 inline bool KeyPrefixesHasBeenSet() const { return m_keyPrefixesHasBeenSet; }
49 inline void SetKeyPrefixes(const Aws::Vector<Aws::String>& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes = value; }
50 inline void SetKeyPrefixes(Aws::Vector<Aws::String>&& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes = std::move(value); }
51 inline S3DataAccessDetails& WithKeyPrefixes(const Aws::Vector<Aws::String>& value) { SetKeyPrefixes(value); return *this;}
52 inline S3DataAccessDetails& WithKeyPrefixes(Aws::Vector<Aws::String>&& value) { SetKeyPrefixes(std::move(value)); return *this;}
53 inline S3DataAccessDetails& AddKeyPrefixes(const Aws::String& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; }
54 inline S3DataAccessDetails& AddKeyPrefixes(Aws::String&& value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(std::move(value)); return *this; }
55 inline S3DataAccessDetails& AddKeyPrefixes(const char* value) { m_keyPrefixesHasBeenSet = true; m_keyPrefixes.push_back(value); return *this; }
57
59
63 inline const Aws::Vector<Aws::String>& GetKeys() const{ return m_keys; }
64 inline bool KeysHasBeenSet() const { return m_keysHasBeenSet; }
65 inline void SetKeys(const Aws::Vector<Aws::String>& value) { m_keysHasBeenSet = true; m_keys = value; }
66 inline void SetKeys(Aws::Vector<Aws::String>&& value) { m_keysHasBeenSet = true; m_keys = std::move(value); }
67 inline S3DataAccessDetails& WithKeys(const Aws::Vector<Aws::String>& value) { SetKeys(value); return *this;}
68 inline S3DataAccessDetails& WithKeys(Aws::Vector<Aws::String>&& value) { SetKeys(std::move(value)); return *this;}
69 inline S3DataAccessDetails& AddKeys(const Aws::String& value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
70 inline S3DataAccessDetails& AddKeys(Aws::String&& value) { m_keysHasBeenSet = true; m_keys.push_back(std::move(value)); return *this; }
71 inline S3DataAccessDetails& AddKeys(const char* value) { m_keysHasBeenSet = true; m_keys.push_back(value); return *this; }
73 private:
74
75 Aws::Vector<Aws::String> m_keyPrefixes;
76 bool m_keyPrefixesHasBeenSet = false;
77
79 bool m_keysHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace DataExchange
84} // namespace Aws
S3DataAccessDetails & AddKeyPrefixes(Aws::String &&value)
const Aws::Vector< Aws::String > & GetKeys() const
void SetKeyPrefixes(const Aws::Vector< Aws::String > &value)
S3DataAccessDetails & AddKeyPrefixes(const Aws::String &value)
S3DataAccessDetails & AddKeys(Aws::String &&value)
AWS_DATAEXCHANGE_API S3DataAccessDetails(Aws::Utils::Json::JsonView jsonValue)
S3DataAccessDetails & AddKeyPrefixes(const char *value)
S3DataAccessDetails & AddKeys(const Aws::String &value)
void SetKeys(const Aws::Vector< Aws::String > &value)
S3DataAccessDetails & WithKeys(Aws::Vector< Aws::String > &&value)
AWS_DATAEXCHANGE_API S3DataAccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyPrefixes(Aws::Vector< Aws::String > &&value)
S3DataAccessDetails & AddKeys(const char *value)
const Aws::Vector< Aws::String > & GetKeyPrefixes() const
void SetKeys(Aws::Vector< Aws::String > &&value)
S3DataAccessDetails & WithKeyPrefixes(Aws::Vector< Aws::String > &&value)
S3DataAccessDetails & WithKeyPrefixes(const Aws::Vector< Aws::String > &value)
AWS_DATAEXCHANGE_API Aws::Utils::Json::JsonValue Jsonize() const
S3DataAccessDetails & WithKeys(const 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