AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Group.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28class Group {
29 public:
30 AWS_QUICKSIGHT_API Group() = default;
31 AWS_QUICKSIGHT_API Group(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Group& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
47 Group& WithArn(ArnT&& value) {
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetGroupName() const { return m_groupName; }
58 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
59 template <typename GroupNameT = Aws::String>
60 void SetGroupName(GroupNameT&& value) {
61 m_groupNameHasBeenSet = true;
62 m_groupName = std::forward<GroupNameT>(value);
63 }
64 template <typename GroupNameT = Aws::String>
65 Group& WithGroupName(GroupNameT&& value) {
66 SetGroupName(std::forward<GroupNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 Group& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetPrincipalId() const { return m_principalId; }
94 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
95 template <typename PrincipalIdT = Aws::String>
96 void SetPrincipalId(PrincipalIdT&& value) {
97 m_principalIdHasBeenSet = true;
98 m_principalId = std::forward<PrincipalIdT>(value);
99 }
100 template <typename PrincipalIdT = Aws::String>
101 Group& WithPrincipalId(PrincipalIdT&& value) {
102 SetPrincipalId(std::forward<PrincipalIdT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_arn;
108
109 Aws::String m_groupName;
110
111 Aws::String m_description;
112
113 Aws::String m_principalId;
114 bool m_arnHasBeenSet = false;
115 bool m_groupNameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_principalIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
const Aws::String & GetDescription() const
Definition Group.h:75
const Aws::String & GetPrincipalId() const
Definition Group.h:93
bool DescriptionHasBeenSet() const
Definition Group.h:76
void SetGroupName(GroupNameT &&value)
Definition Group.h:60
Group & WithGroupName(GroupNameT &&value)
Definition Group.h:65
bool ArnHasBeenSet() const
Definition Group.h:40
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Group & WithDescription(DescriptionT &&value)
Definition Group.h:83
void SetDescription(DescriptionT &&value)
Definition Group.h:78
void SetPrincipalId(PrincipalIdT &&value)
Definition Group.h:96
AWS_QUICKSIGHT_API Group()=default
void SetArn(ArnT &&value)
Definition Group.h:42
Group & WithArn(ArnT &&value)
Definition Group.h:47
const Aws::String & GetArn() const
Definition Group.h:39
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:57
Group & WithPrincipalId(PrincipalIdT &&value)
Definition Group.h:101
bool GroupNameHasBeenSet() const
Definition Group.h:58
bool PrincipalIdHasBeenSet() const
Definition Group.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue