AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotUserConfiguration.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/SnapshotAnonymousUser.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
34 {
35 public:
36 AWS_QUICKSIGHT_API SnapshotUserConfiguration();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<SnapshotAnonymousUser>& GetAnonymousUsers() const{ return m_anonymousUsers; }
48 inline bool AnonymousUsersHasBeenSet() const { return m_anonymousUsersHasBeenSet; }
49 inline void SetAnonymousUsers(const Aws::Vector<SnapshotAnonymousUser>& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = value; }
50 inline void SetAnonymousUsers(Aws::Vector<SnapshotAnonymousUser>&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers = std::move(value); }
53 inline SnapshotUserConfiguration& AddAnonymousUsers(const SnapshotAnonymousUser& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(value); return *this; }
54 inline SnapshotUserConfiguration& AddAnonymousUsers(SnapshotAnonymousUser&& value) { m_anonymousUsersHasBeenSet = true; m_anonymousUsers.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_anonymousUsersHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace QuickSight
64} // namespace Aws
SnapshotUserConfiguration & AddAnonymousUsers(const SnapshotAnonymousUser &value)
void SetAnonymousUsers(Aws::Vector< SnapshotAnonymousUser > &&value)
void SetAnonymousUsers(const Aws::Vector< SnapshotAnonymousUser > &value)
AWS_QUICKSIGHT_API SnapshotUserConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotUserConfiguration & AddAnonymousUsers(SnapshotAnonymousUser &&value)
AWS_QUICKSIGHT_API SnapshotUserConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< SnapshotAnonymousUser > & GetAnonymousUsers() const
SnapshotUserConfiguration & WithAnonymousUsers(Aws::Vector< SnapshotAnonymousUser > &&value)
SnapshotUserConfiguration & WithAnonymousUsers(const Aws::Vector< SnapshotAnonymousUser > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue