AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PermissionSet.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSOAdmin
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SSOADMIN_API PermissionSet();
36 AWS_SSOADMIN_API PermissionSet(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
46 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
47 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
48 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
49 inline PermissionSet& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
50 inline PermissionSet& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline PermissionSet& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline PermissionSet& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline PermissionSet& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline PermissionSet& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline PermissionSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline PermissionSet& WithName(const char* value) { SetName(value); return *this;}
80
82
88 inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
89 inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
90 inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
91 inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
92 inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
93 inline PermissionSet& WithPermissionSetArn(const Aws::String& value) { SetPermissionSetArn(value); return *this;}
94 inline PermissionSet& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
95 inline PermissionSet& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
97
99
103 inline const Aws::String& GetRelayState() const{ return m_relayState; }
104 inline bool RelayStateHasBeenSet() const { return m_relayStateHasBeenSet; }
105 inline void SetRelayState(const Aws::String& value) { m_relayStateHasBeenSet = true; m_relayState = value; }
106 inline void SetRelayState(Aws::String&& value) { m_relayStateHasBeenSet = true; m_relayState = std::move(value); }
107 inline void SetRelayState(const char* value) { m_relayStateHasBeenSet = true; m_relayState.assign(value); }
108 inline PermissionSet& WithRelayState(const Aws::String& value) { SetRelayState(value); return *this;}
109 inline PermissionSet& WithRelayState(Aws::String&& value) { SetRelayState(std::move(value)); return *this;}
110 inline PermissionSet& WithRelayState(const char* value) { SetRelayState(value); return *this;}
112
114
118 inline const Aws::String& GetSessionDuration() const{ return m_sessionDuration; }
119 inline bool SessionDurationHasBeenSet() const { return m_sessionDurationHasBeenSet; }
120 inline void SetSessionDuration(const Aws::String& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = value; }
121 inline void SetSessionDuration(Aws::String&& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = std::move(value); }
122 inline void SetSessionDuration(const char* value) { m_sessionDurationHasBeenSet = true; m_sessionDuration.assign(value); }
123 inline PermissionSet& WithSessionDuration(const Aws::String& value) { SetSessionDuration(value); return *this;}
124 inline PermissionSet& WithSessionDuration(Aws::String&& value) { SetSessionDuration(std::move(value)); return *this;}
125 inline PermissionSet& WithSessionDuration(const char* value) { SetSessionDuration(value); return *this;}
127 private:
128
129 Aws::Utils::DateTime m_createdDate;
130 bool m_createdDateHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
138 Aws::String m_permissionSetArn;
139 bool m_permissionSetArnHasBeenSet = false;
140
141 Aws::String m_relayState;
142 bool m_relayStateHasBeenSet = false;
143
144 Aws::String m_sessionDuration;
145 bool m_sessionDurationHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace SSOAdmin
150} // namespace Aws
PermissionSet & WithSessionDuration(Aws::String &&value)
const Aws::String & GetName() const
PermissionSet & WithRelayState(const char *value)
void SetName(const char *value)
void SetRelayState(const Aws::String &value)
void SetPermissionSetArn(Aws::String &&value)
const Aws::String & GetSessionDuration() const
AWS_SSOADMIN_API PermissionSet(Aws::Utils::Json::JsonView jsonValue)
PermissionSet & WithPermissionSetArn(const Aws::String &value)
void SetPermissionSetArn(const Aws::String &value)
PermissionSet & WithSessionDuration(const char *value)
void SetName(Aws::String &&value)
void SetSessionDuration(const char *value)
AWS_SSOADMIN_API PermissionSet & operator=(Aws::Utils::Json::JsonView jsonValue)
PermissionSet & WithName(const char *value)
const Aws::String & GetPermissionSetArn() const
void SetName(const Aws::String &value)
PermissionSet & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
void SetPermissionSetArn(const char *value)
PermissionSet & WithDescription(Aws::String &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
PermissionSet & WithSessionDuration(const Aws::String &value)
PermissionSet & WithPermissionSetArn(Aws::String &&value)
void SetDescription(const Aws::String &value)
void SetRelayState(const char *value)
PermissionSet & WithPermissionSetArn(const char *value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetDescription() const
PermissionSet & WithCreatedDate(const Aws::Utils::DateTime &value)
void SetSessionDuration(Aws::String &&value)
PermissionSet & WithDescription(const char *value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
PermissionSet & WithRelayState(Aws::String &&value)
PermissionSet & WithName(const Aws::String &value)
PermissionSet & WithRelayState(const Aws::String &value)
void SetSessionDuration(const Aws::String &value)
PermissionSet & WithName(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
PermissionSet & WithDescription(const Aws::String &value)
void SetRelayState(Aws::String &&value)
const Aws::String & GetRelayState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue