AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename GroupIdT = Aws::String>
50 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
51 template<typename GroupIdT = Aws::String>
52 Group& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
54
56
63 inline const Aws::String& GetDisplayName() const { return m_displayName; }
64 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
65 template<typename DisplayNameT = Aws::String>
66 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
67 template<typename DisplayNameT = Aws::String>
68 Group& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
70
72
76 inline const Aws::Vector<ExternalId>& GetExternalIds() const { return m_externalIds; }
77 inline bool ExternalIdsHasBeenSet() const { return m_externalIdsHasBeenSet; }
78 template<typename ExternalIdsT = Aws::Vector<ExternalId>>
79 void SetExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds = std::forward<ExternalIdsT>(value); }
80 template<typename ExternalIdsT = Aws::Vector<ExternalId>>
81 Group& WithExternalIds(ExternalIdsT&& value) { SetExternalIds(std::forward<ExternalIdsT>(value)); return *this;}
82 template<typename ExternalIdsT = ExternalId>
83 Group& AddExternalIds(ExternalIdsT&& value) { m_externalIdsHasBeenSet = true; m_externalIds.emplace_back(std::forward<ExternalIdsT>(value)); return *this; }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template<typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
94 template<typename DescriptionT = Aws::String>
95 Group& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
97
99
102 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
103 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
104 template<typename IdentityStoreIdT = Aws::String>
105 void SetIdentityStoreId(IdentityStoreIdT&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::forward<IdentityStoreIdT>(value); }
106 template<typename IdentityStoreIdT = Aws::String>
107 Group& WithIdentityStoreId(IdentityStoreIdT&& value) { SetIdentityStoreId(std::forward<IdentityStoreIdT>(value)); return *this;}
109 private:
110
111 Aws::String m_groupId;
112 bool m_groupIdHasBeenSet = false;
113
114 Aws::String m_displayName;
115 bool m_displayNameHasBeenSet = false;
116
117 Aws::Vector<ExternalId> m_externalIds;
118 bool m_externalIdsHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::String m_identityStoreId;
124 bool m_identityStoreIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace IdentityStore
129} // namespace Aws
Group & AddExternalIds(ExternalIdsT &&value)
Definition Group.h:83
const Aws::String & GetDisplayName() const
Definition Group.h:63
AWS_IDENTITYSTORE_API Group(Aws::Utils::Json::JsonView jsonValue)
bool ExternalIdsHasBeenSet() const
Definition Group.h:77
bool DescriptionHasBeenSet() const
Definition Group.h:91
Group & WithDescription(DescriptionT &&value)
Definition Group.h:95
bool IdentityStoreIdHasBeenSet() const
Definition Group.h:103
Group & WithIdentityStoreId(IdentityStoreIdT &&value)
Definition Group.h:107
AWS_IDENTITYSTORE_API Group()=default
void SetDisplayName(DisplayNameT &&value)
Definition Group.h:66
Group & WithExternalIds(ExternalIdsT &&value)
Definition Group.h:81
const Aws::String & GetIdentityStoreId() const
Definition Group.h:102
void SetIdentityStoreId(IdentityStoreIdT &&value)
Definition Group.h:105
const Aws::Vector< ExternalId > & GetExternalIds() const
Definition Group.h:76
void SetExternalIds(ExternalIdsT &&value)
Definition Group.h:79
Group & WithGroupId(GroupIdT &&value)
Definition Group.h:52
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGroupId(GroupIdT &&value)
Definition Group.h:50
AWS_IDENTITYSTORE_API Group & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DisplayNameHasBeenSet() const
Definition Group.h:64
bool GroupIdHasBeenSet() const
Definition Group.h:48
Group & WithDisplayName(DisplayNameT &&value)
Definition Group.h:68
const Aws::String & GetGroupId() const
Definition Group.h:47
void SetDescription(DescriptionT &&value)
Definition Group.h:93
const Aws::String & GetDescription() const
Definition Group.h:90
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue