AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotUserConfigurationRedacted.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/SnapshotAnonymousUserRedacted.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 QuickSight
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<SnapshotAnonymousUserRedacted>& GetAnonymousUsers() const{ return m_anonymousUsers; }
49 inline bool AnonymousUsersHasBeenSet() const { return m_anonymousUsersHasBeenSet; }
50 inline void SetAnonymousUsers(const Aws::Vector<SnapshotAnonymousUserRedacted>& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = value; }
51 inline void SetAnonymousUsers(Aws::Vector<SnapshotAnonymousUserRedacted>&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = std::move(value); }
54 inline SnapshotUserConfigurationRedacted& AddAnonymousUsers(const SnapshotAnonymousUserRedacted& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(value); return *this; }
55 inline SnapshotUserConfigurationRedacted& AddAnonymousUsers(SnapshotAnonymousUserRedacted&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_anonymousUsersHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QuickSight
65} // namespace Aws
void SetAnonymousUsers(const Aws::Vector< SnapshotAnonymousUserRedacted > &value)
AWS_QUICKSIGHT_API SnapshotUserConfigurationRedacted(Aws::Utils::Json::JsonView jsonValue)
void SetAnonymousUsers(Aws::Vector< SnapshotAnonymousUserRedacted > &&value)
SnapshotUserConfigurationRedacted & WithAnonymousUsers(const Aws::Vector< SnapshotAnonymousUserRedacted > &value)
SnapshotUserConfigurationRedacted & WithAnonymousUsers(Aws::Vector< SnapshotAnonymousUserRedacted > &&value)
AWS_QUICKSIGHT_API SnapshotUserConfigurationRedacted & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotUserConfigurationRedacted & AddAnonymousUsers(SnapshotAnonymousUserRedacted &&value)
SnapshotUserConfigurationRedacted & AddAnonymousUsers(const SnapshotAnonymousUserRedacted &value)
const Aws::Vector< SnapshotAnonymousUserRedacted > & GetAnonymousUsers() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue