AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAttributesRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PINPOINT_API UpdateAttributesRequest();
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::Vector<Aws::String>& GetBlacklist() const{ return m_blacklist; }
50 inline bool BlacklistHasBeenSet() const { return m_blacklistHasBeenSet; }
51 inline void SetBlacklist(const Aws::Vector<Aws::String>& value) { m_blacklistHasBeenSet = true; m_blacklist = value; }
52 inline void SetBlacklist(Aws::Vector<Aws::String>&& value) { m_blacklistHasBeenSet = true; m_blacklist = std::move(value); }
53 inline UpdateAttributesRequest& WithBlacklist(const Aws::Vector<Aws::String>& value) { SetBlacklist(value); return *this;}
54 inline UpdateAttributesRequest& WithBlacklist(Aws::Vector<Aws::String>&& value) { SetBlacklist(std::move(value)); return *this;}
55 inline UpdateAttributesRequest& AddBlacklist(const Aws::String& value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(value); return *this; }
56 inline UpdateAttributesRequest& AddBlacklist(Aws::String&& value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(std::move(value)); return *this; }
57 inline UpdateAttributesRequest& AddBlacklist(const char* value) { m_blacklistHasBeenSet = true; m_blacklist.push_back(value); return *this; }
59 private:
60
61 Aws::Vector<Aws::String> m_blacklist;
62 bool m_blacklistHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Pinpoint
67} // namespace Aws
const Aws::Vector< Aws::String > & GetBlacklist() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API UpdateAttributesRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateAttributesRequest & WithBlacklist(const Aws::Vector< Aws::String > &value)
AWS_PINPOINT_API UpdateAttributesRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBlacklist(const Aws::Vector< Aws::String > &value)
UpdateAttributesRequest & AddBlacklist(Aws::String &&value)
void SetBlacklist(Aws::Vector< Aws::String > &&value)
UpdateAttributesRequest & AddBlacklist(const char *value)
UpdateAttributesRequest & WithBlacklist(Aws::Vector< Aws::String > &&value)
UpdateAttributesRequest & AddBlacklist(const 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