AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Group.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 class Group
34 {
35 public:
36 AWS_QUICKSIGHT_API Group() = default;
37 AWS_QUICKSIGHT_API Group(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Group& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const { return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 Group& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetGroupName() const { return m_groupName; }
59 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
60 template<typename GroupNameT = Aws::String>
61 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
62 template<typename GroupNameT = Aws::String>
63 Group& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 Group& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
82 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
83 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
84 template<typename PrincipalIdT = Aws::String>
85 void SetPrincipalId(PrincipalIdT&& value) { m_principalIdHasBeenSet = true; m_principalId = std::forward<PrincipalIdT>(value); }
86 template<typename PrincipalIdT = Aws::String>
87 Group& WithPrincipalId(PrincipalIdT&& value) { SetPrincipalId(std::forward<PrincipalIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_arn;
92 bool m_arnHasBeenSet = false;
93
94 Aws::String m_groupName;
95 bool m_groupNameHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99
100 Aws::String m_principalId;
101 bool m_principalIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
const Aws::String & GetDescription() const
Definition Group.h:70
const Aws::String & GetPrincipalId() const
Definition Group.h:82
bool DescriptionHasBeenSet() const
Definition Group.h:71
void SetGroupName(GroupNameT &&value)
Definition Group.h:61
Group & WithGroupName(GroupNameT &&value)
Definition Group.h:63
bool ArnHasBeenSet() const
Definition Group.h:47
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Group & WithDescription(DescriptionT &&value)
Definition Group.h:75
void SetDescription(DescriptionT &&value)
Definition Group.h:73
void SetPrincipalId(PrincipalIdT &&value)
Definition Group.h:85
AWS_QUICKSIGHT_API Group()=default
void SetArn(ArnT &&value)
Definition Group.h:49
Group & WithArn(ArnT &&value)
Definition Group.h:51
const Aws::String & GetArn() const
Definition Group.h:46
AWS_QUICKSIGHT_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Group(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGroupName() const
Definition Group.h:58
Group & WithPrincipalId(PrincipalIdT &&value)
Definition Group.h:87
bool GroupNameHasBeenSet() const
Definition Group.h:59
bool PrincipalIdHasBeenSet() const
Definition Group.h:83
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue