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/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/identitystore/model/ExternalId.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IdentityStore
24{
25namespace Model
26{
27
34 class Group
35 {
36 public:
37 AWS_IDENTITYSTORE_API Group();
38 AWS_IDENTITYSTORE_API Group(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IDENTITYSTORE_API Group& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetGroupId() const{ return m_groupId; }
48 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
49 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
50 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
51 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
52 inline Group& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
53 inline Group& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
54 inline Group& WithGroupId(const char* value) { SetGroupId(value); return *this;}
56
58
65 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
66 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
67 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
68 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
69 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
70 inline Group& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
71 inline Group& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
72 inline Group& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
74
76
80 inline const Aws::Vector<ExternalId>& GetExternalIds() const{ return m_externalIds; }
81 inline bool ExternalIdsHasBeenSet() const { return m_externalIdsHasBeenSet; }
82 inline void SetExternalIds(const Aws::Vector<ExternalId>& value) { m_externalIdsHasBeenSet = true; m_externalIds = value; }
83 inline void SetExternalIds(Aws::Vector<ExternalId>&& value) { m_externalIdsHasBeenSet = true; m_externalIds = std::move(value); }
84 inline Group& WithExternalIds(const Aws::Vector<ExternalId>& value) { SetExternalIds(value); return *this;}
85 inline Group& WithExternalIds(Aws::Vector<ExternalId>&& value) { SetExternalIds(std::move(value)); return *this;}
86 inline Group& AddExternalIds(const ExternalId& value) { m_externalIdsHasBeenSet = true; m_externalIds.push_back(value); return *this; }
87 inline Group& AddExternalIds(ExternalId&& value) { m_externalIdsHasBeenSet = true; m_externalIds.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline Group& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline Group& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline Group& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
109 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
110 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
111 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
112 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
113 inline Group& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
114 inline Group& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
115 inline Group& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
117 private:
118
119 Aws::String m_groupId;
120 bool m_groupIdHasBeenSet = false;
121
122 Aws::String m_displayName;
123 bool m_displayNameHasBeenSet = false;
124
125 Aws::Vector<ExternalId> m_externalIds;
126 bool m_externalIdsHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_identityStoreId;
132 bool m_identityStoreIdHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace IdentityStore
137} // namespace Aws
Group & AddExternalIds(ExternalId &&value)
Definition Group.h:87
const Aws::String & GetDisplayName() const
Definition Group.h:65
AWS_IDENTITYSTORE_API Group(Aws::Utils::Json::JsonView jsonValue)
Group & WithDescription(const Aws::String &value)
Definition Group.h:99
bool ExternalIdsHasBeenSet() const
Definition Group.h:81
void SetIdentityStoreId(Aws::String &&value)
Definition Group.h:111
Group & WithDisplayName(Aws::String &&value)
Definition Group.h:71
bool DescriptionHasBeenSet() const
Definition Group.h:95
void SetGroupId(Aws::String &&value)
Definition Group.h:50
void SetGroupId(const Aws::String &value)
Definition Group.h:49
bool IdentityStoreIdHasBeenSet() const
Definition Group.h:109
Group & WithExternalIds(const Aws::Vector< ExternalId > &value)
Definition Group.h:84
Group & WithDescription(Aws::String &&value)
Definition Group.h:100
void SetExternalIds(const Aws::Vector< ExternalId > &value)
Definition Group.h:82
void SetGroupId(const char *value)
Definition Group.h:51
void SetDescription(Aws::String &&value)
Definition Group.h:97
void SetDisplayName(const char *value)
Definition Group.h:69
Group & WithGroupId(const Aws::String &value)
Definition Group.h:52
Group & WithIdentityStoreId(Aws::String &&value)
Definition Group.h:114
Group & WithGroupId(const char *value)
Definition Group.h:54
Group & WithIdentityStoreId(const Aws::String &value)
Definition Group.h:113
const Aws::String & GetIdentityStoreId() const
Definition Group.h:108
void SetDescription(const Aws::String &value)
Definition Group.h:96
void SetIdentityStoreId(const char *value)
Definition Group.h:112
void SetDescription(const char *value)
Definition Group.h:98
Group & WithDisplayName(const char *value)
Definition Group.h:72
const Aws::Vector< ExternalId > & GetExternalIds() const
Definition Group.h:80
Group & AddExternalIds(const ExternalId &value)
Definition Group.h:86
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IDENTITYSTORE_API Group()
Group & WithIdentityStoreId(const char *value)
Definition Group.h:115
Group & WithDisplayName(const Aws::String &value)
Definition Group.h:70
AWS_IDENTITYSTORE_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
Definition Group.h:66
bool GroupIdHasBeenSet() const
Definition Group.h:48
void SetExternalIds(Aws::Vector< ExternalId > &&value)
Definition Group.h:83
const Aws::String & GetGroupId() const
Definition Group.h:47
void SetDisplayName(Aws::String &&value)
Definition Group.h:68
Group & WithExternalIds(Aws::Vector< ExternalId > &&value)
Definition Group.h:85
void SetIdentityStoreId(const Aws::String &value)
Definition Group.h:110
Group & WithDescription(const char *value)
Definition Group.h:101
Group & WithGroupId(Aws::String &&value)
Definition Group.h:53
const Aws::String & GetDescription() const
Definition Group.h:94
void SetDisplayName(const Aws::String &value)
Definition Group.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue