AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline Group& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline Group& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline Group& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetGroupName() const{ return m_groupName; }
61 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
62 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
63 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
64 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
65 inline Group& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
66 inline Group& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
67 inline Group& WithGroupName(const char* value) { SetGroupName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline Group& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline Group& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline Group& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
88 inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
89 inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
90 inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
91 inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
92 inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
93 inline Group& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
94 inline Group& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
95 inline Group& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
97 private:
98
99 Aws::String m_arn;
100 bool m_arnHasBeenSet = false;
101
102 Aws::String m_groupName;
103 bool m_groupNameHasBeenSet = false;
104
105 Aws::String m_description;
106 bool m_descriptionHasBeenSet = false;
107
108 Aws::String m_principalId;
109 bool m_principalIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
Group & WithPrincipalId(const Aws::String &value)
Definition Group.h:93
void SetPrincipalId(const char *value)
Definition Group.h:92
const Aws::String & GetDescription() const
Definition Group.h:74
const Aws::String & GetPrincipalId() const
Definition Group.h:88
Group & WithArn(Aws::String &&value)
Definition Group.h:52
Group & WithGroupName(const Aws::String &value)
Definition Group.h:65
void SetGroupName(const char *value)
Definition Group.h:64
Group & WithPrincipalId(const char *value)
Definition Group.h:95
bool DescriptionHasBeenSet() const
Definition Group.h:75
void SetDescription(const char *value)
Definition Group.h:78
Group & WithDescription(const char *value)
Definition Group.h:81
Group & WithPrincipalId(Aws::String &&value)
Definition Group.h:94
AWS_QUICKSIGHT_API Group()
bool ArnHasBeenSet() const
Definition Group.h:47
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupName(Aws::String &&value)
Definition Group.h:63
Group & WithArn(const Aws::String &value)
Definition Group.h:51
void SetDescription(const Aws::String &value)
Definition Group.h:76
void SetGroupName(const Aws::String &value)
Definition Group.h:62
const Aws::String & GetArn() const
Definition Group.h:46
AWS_QUICKSIGHT_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
Group & WithDescription(const Aws::String &value)
Definition Group.h:79
void SetArn(Aws::String &&value)
Definition Group.h:49
void SetPrincipalId(const Aws::String &value)
Definition Group.h:90
Group & WithArn(const char *value)
Definition Group.h:53
void SetPrincipalId(Aws::String &&value)
Definition Group.h:91
AWS_QUICKSIGHT_API Group(Aws::Utils::Json::JsonView jsonValue)
Group & WithDescription(Aws::String &&value)
Definition Group.h:80
Group & WithGroupName(Aws::String &&value)
Definition Group.h:66
const Aws::String & GetGroupName() const
Definition Group.h:60
Group & WithGroupName(const char *value)
Definition Group.h:67
void SetDescription(Aws::String &&value)
Definition Group.h:77
void SetArn(const Aws::String &value)
Definition Group.h:48
void SetArn(const char *value)
Definition Group.h:50
bool GroupNameHasBeenSet() const
Definition Group.h:61
bool PrincipalIdHasBeenSet() const
Definition Group.h:89
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue