AWS SDK for C++  1.9.154
AWS SDK for C++
Group.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace QuickSight
22 {
23 namespace Model
24 {
25 
34  {
35  public:
36  Group();
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline Group& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline Group& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline Group& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetGroupName() const{ return m_groupName; }
87 
91  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
92 
96  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
97 
101  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
102 
106  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
107 
111  inline Group& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
112 
116  inline Group& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
117 
121  inline Group& WithGroupName(const char* value) { SetGroupName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline Group& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline Group& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline Group& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const Aws::String& GetPrincipalId() const{ return m_principalId; }
169 
173  inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; }
174 
178  inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; }
179 
183  inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); }
184 
188  inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); }
189 
193  inline Group& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;}
194 
198  inline Group& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;}
199 
203  inline Group& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;}
204 
205  private:
206 
207  Aws::String m_arn;
208  bool m_arnHasBeenSet;
209 
210  Aws::String m_groupName;
211  bool m_groupNameHasBeenSet;
212 
213  Aws::String m_description;
214  bool m_descriptionHasBeenSet;
215 
216  Aws::String m_principalId;
217  bool m_principalIdHasBeenSet;
218  };
219 
220 } // namespace Model
221 } // namespace QuickSight
222 } // namespace Aws
Aws::QuickSight::Model::Group::PrincipalIdHasBeenSet
bool PrincipalIdHasBeenSet() const
Definition: Group.h:173
Aws::QuickSight::Model::Group::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Group.h:50
Aws::QuickSight::Model::Group::WithGroupName
Group & WithGroupName(const char *value)
Definition: Group.h:121
QuickSight_EXPORTS.h
Aws::QuickSight::Model::Group::SetArn
void SetArn(const Aws::String &value)
Definition: Group.h:55
Aws::QuickSight::Model::Group::SetArn
void SetArn(const char *value)
Definition: Group.h:65
Aws::QuickSight::Model::Group::GetArn
const Aws::String & GetArn() const
Definition: Group.h:45
Aws::QuickSight::Model::Group::SetPrincipalId
void SetPrincipalId(Aws::String &&value)
Definition: Group.h:183
Aws::QuickSight::Model::Group::SetPrincipalId
void SetPrincipalId(const char *value)
Definition: Group.h:188
Aws::QuickSight::Model::Group::SetArn
void SetArn(Aws::String &&value)
Definition: Group.h:60
Aws::QuickSight::Model::Group::operator=
Group & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::Group::WithPrincipalId
Group & WithPrincipalId(Aws::String &&value)
Definition: Group.h:198
Aws::QuickSight::Model::Group::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::QuickSight::Model::Group::GetPrincipalId
const Aws::String & GetPrincipalId() const
Definition: Group.h:168
Aws::QuickSight::Model::Group::WithArn
Group & WithArn(const char *value)
Definition: Group.h:80
Aws::QuickSight::Model::Group::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: Group.h:96
Aws::QuickSight::Model::Group::WithDescription
Group & WithDescription(Aws::String &&value)
Definition: Group.h:157
Aws::QuickSight::Model::Group::GetDescription
const Aws::String & GetDescription() const
Definition: Group.h:127
Aws::QuickSight::Model::Group::SetDescription
void SetDescription(const char *value)
Definition: Group.h:147
Aws::QuickSight::Model::Group::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Group.h:132
Aws::QuickSight::Model::Group::Group
Group()
Aws::QuickSight::Model::Group::WithPrincipalId
Group & WithPrincipalId(const Aws::String &value)
Definition: Group.h:193
Aws::QuickSight::Model::Group::WithGroupName
Group & WithGroupName(const Aws::String &value)
Definition: Group.h:111
Aws::QuickSight::Model::Group::WithArn
Group & WithArn(Aws::String &&value)
Definition: Group.h:75
Aws::QuickSight::Model::Group::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: Group.h:101
Aws::QuickSight::Model::Group::SetDescription
void SetDescription(Aws::String &&value)
Definition: Group.h:142
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::QuickSight::Model::Group::WithArn
Group & WithArn(const Aws::String &value)
Definition: Group.h:70
Aws::QuickSight::Model::Group::WithGroupName
Group & WithGroupName(Aws::String &&value)
Definition: Group.h:116
Aws::QuickSight::Model::Group::WithPrincipalId
Group & WithPrincipalId(const char *value)
Definition: Group.h:203
Aws::QuickSight::Model::Group::GetGroupName
const Aws::String & GetGroupName() const
Definition: Group.h:86
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::QuickSight::Model::Group::WithDescription
Group & WithDescription(const char *value)
Definition: Group.h:162
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::Group
Definition: Group.h:34
Aws::QuickSight::Model::Group::SetDescription
void SetDescription(const Aws::String &value)
Definition: Group.h:137
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::Group::Group
Group(Aws::Utils::Json::JsonView jsonValue)
Aws::QuickSight::Model::Group::SetPrincipalId
void SetPrincipalId(const Aws::String &value)
Definition: Group.h:178
Aws::QuickSight::Model::Group::WithDescription
Group & WithDescription(const Aws::String &value)
Definition: Group.h:152
Aws::QuickSight::Model::Group::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: Group.h:91
Aws::QuickSight::Model::Group::SetGroupName
void SetGroupName(const char *value)
Definition: Group.h:106