AWS SDK for C++  1.9.104
AWS SDK for C++
PermissionSet.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SSOAdmin
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline PermissionSet& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline PermissionSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline PermissionSet& WithName(const char* value) { SetName(value); return *this;}
80 
81 
88  inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
89 
96  inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
97 
104  inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
105 
112  inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
113 
120  inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
121 
128  inline PermissionSet& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
129 
136  inline PermissionSet& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
137 
144  inline PermissionSet& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
145 
146 
150  inline const Aws::String& GetDescription() const{ return m_description; }
151 
155  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
156 
160  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
161 
165  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
166 
170  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
171 
175  inline PermissionSet& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
176 
180  inline PermissionSet& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
181 
185  inline PermissionSet& WithDescription(const char* value) { SetDescription(value); return *this;}
186 
187 
191  inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
192 
196  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
197 
201  inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
202 
206  inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
207 
211  inline PermissionSet& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
212 
216  inline PermissionSet& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
217 
218 
223  inline const Aws::String& GetSessionDuration() const{ return m_sessionDuration; }
224 
229  inline bool SessionDurationHasBeenSet() const { return m_sessionDurationHasBeenSet; }
230 
235  inline void SetSessionDuration(const Aws::String& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = value; }
236 
241  inline void SetSessionDuration(Aws::String&& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = std::move(value); }
242 
247  inline void SetSessionDuration(const char* value) { m_sessionDurationHasBeenSet = true; m_sessionDuration.assign(value); }
248 
253  inline PermissionSet& WithSessionDuration(const Aws::String& value) { SetSessionDuration(value); return *this;}
254 
259  inline PermissionSet& WithSessionDuration(Aws::String&& value) { SetSessionDuration(std::move(value)); return *this;}
260 
265  inline PermissionSet& WithSessionDuration(const char* value) { SetSessionDuration(value); return *this;}
266 
267 
272  inline const Aws::String& GetRelayState() const{ return m_relayState; }
273 
278  inline bool RelayStateHasBeenSet() const { return m_relayStateHasBeenSet; }
279 
284  inline void SetRelayState(const Aws::String& value) { m_relayStateHasBeenSet = true; m_relayState = value; }
285 
290  inline void SetRelayState(Aws::String&& value) { m_relayStateHasBeenSet = true; m_relayState = std::move(value); }
291 
296  inline void SetRelayState(const char* value) { m_relayStateHasBeenSet = true; m_relayState.assign(value); }
297 
302  inline PermissionSet& WithRelayState(const Aws::String& value) { SetRelayState(value); return *this;}
303 
308  inline PermissionSet& WithRelayState(Aws::String&& value) { SetRelayState(std::move(value)); return *this;}
309 
314  inline PermissionSet& WithRelayState(const char* value) { SetRelayState(value); return *this;}
315 
316  private:
317 
318  Aws::String m_name;
319  bool m_nameHasBeenSet;
320 
321  Aws::String m_permissionSetArn;
322  bool m_permissionSetArnHasBeenSet;
323 
324  Aws::String m_description;
325  bool m_descriptionHasBeenSet;
326 
327  Aws::Utils::DateTime m_createdDate;
328  bool m_createdDateHasBeenSet;
329 
330  Aws::String m_sessionDuration;
331  bool m_sessionDurationHasBeenSet;
332 
333  Aws::String m_relayState;
334  bool m_relayStateHasBeenSet;
335  };
336 
337 } // namespace Model
338 } // namespace SSOAdmin
339 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SSOAdmin::Model::PermissionSet::WithRelayState
PermissionSet & WithRelayState(const char *value)
Definition: PermissionSet.h:314
Aws::SSOAdmin::Model::PermissionSet::SetPermissionSetArn
void SetPermissionSetArn(const Aws::String &value)
Definition: PermissionSet.h:104
Aws::SSOAdmin::Model::PermissionSet::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: PermissionSet.h:196
Aws::SSOAdmin::Model::PermissionSet::SetName
void SetName(const Aws::String &value)
Definition: PermissionSet.h:54
Aws::SSOAdmin::Model::PermissionSet::SetSessionDuration
void SetSessionDuration(Aws::String &&value)
Definition: PermissionSet.h:241
Aws::SSOAdmin::Model::PermissionSet::SetRelayState
void SetRelayState(const Aws::String &value)
Definition: PermissionSet.h:284
Aws::SSOAdmin::Model::PermissionSet::SetName
void SetName(const char *value)
Definition: PermissionSet.h:64
Aws::SSOAdmin::Model::PermissionSet::PermissionSetArnHasBeenSet
bool PermissionSetArnHasBeenSet() const
Definition: PermissionSet.h:96
Aws::SSOAdmin::Model::PermissionSet::GetRelayState
const Aws::String & GetRelayState() const
Definition: PermissionSet.h:272
DateTime.h
Aws::SSOAdmin::Model::PermissionSet::WithName
PermissionSet & WithName(const Aws::String &value)
Definition: PermissionSet.h:69
Aws::SSOAdmin::Model::PermissionSet::WithSessionDuration
PermissionSet & WithSessionDuration(Aws::String &&value)
Definition: PermissionSet.h:259
Aws::SSOAdmin::Model::PermissionSet::SetSessionDuration
void SetSessionDuration(const Aws::String &value)
Definition: PermissionSet.h:235
AWS_SSOADMIN_API
#define AWS_SSOADMIN_API
Definition: SSOAdmin_EXPORTS.h:28
Aws::SSOAdmin::Model::PermissionSet::GetDescription
const Aws::String & GetDescription() const
Definition: PermissionSet.h:150
Aws::SSOAdmin::Model::PermissionSet::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: PermissionSet.h:155
Aws::SSOAdmin::Model::PermissionSet::SetCreatedDate
void SetCreatedDate(Aws::Utils::DateTime &&value)
Definition: PermissionSet.h:206
Aws::SSOAdmin::Model::PermissionSet::WithPermissionSetArn
PermissionSet & WithPermissionSetArn(const char *value)
Definition: PermissionSet.h:144
Aws::SSOAdmin::Model::PermissionSet::WithRelayState
PermissionSet & WithRelayState(const Aws::String &value)
Definition: PermissionSet.h:302
Aws::SSOAdmin::Model::PermissionSet::WithRelayState
PermissionSet & WithRelayState(Aws::String &&value)
Definition: PermissionSet.h:308
Aws::SSOAdmin::Model::PermissionSet::operator=
PermissionSet & operator=(Aws::Utils::Json::JsonView jsonValue)
SSOAdmin_EXPORTS.h
Aws::SSOAdmin::Model::PermissionSet::SetDescription
void SetDescription(const Aws::String &value)
Definition: PermissionSet.h:160
Aws::SSOAdmin::Model::PermissionSet::WithDescription
PermissionSet & WithDescription(const Aws::String &value)
Definition: PermissionSet.h:175
Aws::SSOAdmin::Model::PermissionSet::GetPermissionSetArn
const Aws::String & GetPermissionSetArn() const
Definition: PermissionSet.h:88
Aws::SSOAdmin::Model::PermissionSet::SetSessionDuration
void SetSessionDuration(const char *value)
Definition: PermissionSet.h:247
Aws::SSOAdmin::Model::PermissionSet::WithPermissionSetArn
PermissionSet & WithPermissionSetArn(const Aws::String &value)
Definition: PermissionSet.h:128
Aws::SSOAdmin::Model::PermissionSet::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PermissionSet.h:49
Aws::SSOAdmin::Model::PermissionSet::PermissionSet
PermissionSet(Aws::Utils::Json::JsonView jsonValue)
Aws::SSOAdmin::Model::PermissionSet::WithName
PermissionSet & WithName(const char *value)
Definition: PermissionSet.h:79
Aws::SSOAdmin::Model::PermissionSet::GetCreatedDate
const Aws::Utils::DateTime & GetCreatedDate() const
Definition: PermissionSet.h:191
Aws::SSOAdmin::Model::PermissionSet::PermissionSet
PermissionSet()
Aws::SSOAdmin::Model::PermissionSet::WithSessionDuration
PermissionSet & WithSessionDuration(const char *value)
Definition: PermissionSet.h:265
Aws::SSOAdmin::Model::PermissionSet::SetPermissionSetArn
void SetPermissionSetArn(Aws::String &&value)
Definition: PermissionSet.h:112
Aws::SSOAdmin::Model::PermissionSet::SetRelayState
void SetRelayState(Aws::String &&value)
Definition: PermissionSet.h:290
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SSOAdmin::Model::PermissionSet::WithDescription
PermissionSet & WithDescription(const char *value)
Definition: PermissionSet.h:185
Aws::SSOAdmin::Model::PermissionSet::SetRelayState
void SetRelayState(const char *value)
Definition: PermissionSet.h:296
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SSOAdmin::Model::PermissionSet::SetDescription
void SetDescription(Aws::String &&value)
Definition: PermissionSet.h:165
Aws::SSOAdmin::Model::PermissionSet::SetPermissionSetArn
void SetPermissionSetArn(const char *value)
Definition: PermissionSet.h:120
Aws::SSOAdmin::Model::PermissionSet::GetName
const Aws::String & GetName() const
Definition: PermissionSet.h:44
Aws::SSOAdmin::Model::PermissionSet::WithName
PermissionSet & WithName(Aws::String &&value)
Definition: PermissionSet.h:74
Aws::SSOAdmin::Model::PermissionSet::SetName
void SetName(Aws::String &&value)
Definition: PermissionSet.h:59
Aws::SSOAdmin::Model::PermissionSet::RelayStateHasBeenSet
bool RelayStateHasBeenSet() const
Definition: PermissionSet.h:278
Aws::SSOAdmin::Model::PermissionSet
Definition: PermissionSet.h:33
Aws::SSOAdmin::Model::PermissionSet::WithCreatedDate
PermissionSet & WithCreatedDate(const Aws::Utils::DateTime &value)
Definition: PermissionSet.h:211
Aws::SSOAdmin::Model::PermissionSet::WithPermissionSetArn
PermissionSet & WithPermissionSetArn(Aws::String &&value)
Definition: PermissionSet.h:136
Aws::SSOAdmin::Model::PermissionSet::GetSessionDuration
const Aws::String & GetSessionDuration() const
Definition: PermissionSet.h:223
Aws
Definition: AccessManagementClient.h:15
Aws::SSOAdmin::Model::PermissionSet::SetCreatedDate
void SetCreatedDate(const Aws::Utils::DateTime &value)
Definition: PermissionSet.h:201
Aws::SSOAdmin::Model::PermissionSet::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SSOAdmin::Model::PermissionSet::SessionDurationHasBeenSet
bool SessionDurationHasBeenSet() const
Definition: PermissionSet.h:229
Aws::SSOAdmin::Model::PermissionSet::WithSessionDuration
PermissionSet & WithSessionDuration(const Aws::String &value)
Definition: PermissionSet.h:253
Aws::SSOAdmin::Model::PermissionSet::SetDescription
void SetDescription(const char *value)
Definition: PermissionSet.h:170
Aws::SSOAdmin::Model::PermissionSet::WithDescription
PermissionSet & WithDescription(Aws::String &&value)
Definition: PermissionSet.h:180
Aws::SSOAdmin::Model::PermissionSet::WithCreatedDate
PermissionSet & WithCreatedDate(Aws::Utils::DateTime &&value)
Definition: PermissionSet.h:216