AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsIamGroupDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsIamAttachedManagedPolicy.h>
11#include <aws/securityhub/model/AwsIamGroupPolicy.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SECURITYHUB_API AwsIamGroupDetails();
38 AWS_SECURITYHUB_API AwsIamGroupDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<AwsIamAttachedManagedPolicy>& GetAttachedManagedPolicies() const{ return m_attachedManagedPolicies; }
48 inline bool AttachedManagedPoliciesHasBeenSet() const { return m_attachedManagedPoliciesHasBeenSet; }
49 inline void SetAttachedManagedPolicies(const Aws::Vector<AwsIamAttachedManagedPolicy>& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies = value; }
50 inline void SetAttachedManagedPolicies(Aws::Vector<AwsIamAttachedManagedPolicy>&& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies = std::move(value); }
53 inline AwsIamGroupDetails& AddAttachedManagedPolicies(const AwsIamAttachedManagedPolicy& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(value); return *this; }
54 inline AwsIamGroupDetails& AddAttachedManagedPolicies(AwsIamAttachedManagedPolicy&& value) { m_attachedManagedPoliciesHasBeenSet = true; m_attachedManagedPolicies.push_back(std::move(value)); return *this; }
56
58
75 inline const Aws::String& GetCreateDate() const{ return m_createDate; }
76 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
77 inline void SetCreateDate(const Aws::String& value) { m_createDateHasBeenSet = true; m_createDate = value; }
78 inline void SetCreateDate(Aws::String&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
79 inline void SetCreateDate(const char* value) { m_createDateHasBeenSet = true; m_createDate.assign(value); }
80 inline AwsIamGroupDetails& WithCreateDate(const Aws::String& value) { SetCreateDate(value); return *this;}
81 inline AwsIamGroupDetails& WithCreateDate(Aws::String&& value) { SetCreateDate(std::move(value)); return *this;}
82 inline AwsIamGroupDetails& WithCreateDate(const char* value) { SetCreateDate(value); return *this;}
84
86
89 inline const Aws::String& GetGroupId() const{ return m_groupId; }
90 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
91 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
92 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
93 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
94 inline AwsIamGroupDetails& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
95 inline AwsIamGroupDetails& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
96 inline AwsIamGroupDetails& WithGroupId(const char* value) { SetGroupId(value); return *this;}
98
100
103 inline const Aws::String& GetGroupName() const{ return m_groupName; }
104 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
105 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
106 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
107 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
108 inline AwsIamGroupDetails& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
109 inline AwsIamGroupDetails& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
110 inline AwsIamGroupDetails& WithGroupName(const char* value) { SetGroupName(value); return *this;}
112
114
117 inline const Aws::Vector<AwsIamGroupPolicy>& GetGroupPolicyList() const{ return m_groupPolicyList; }
118 inline bool GroupPolicyListHasBeenSet() const { return m_groupPolicyListHasBeenSet; }
119 inline void SetGroupPolicyList(const Aws::Vector<AwsIamGroupPolicy>& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList = value; }
120 inline void SetGroupPolicyList(Aws::Vector<AwsIamGroupPolicy>&& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList = std::move(value); }
123 inline AwsIamGroupDetails& AddGroupPolicyList(const AwsIamGroupPolicy& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(value); return *this; }
124 inline AwsIamGroupDetails& AddGroupPolicyList(AwsIamGroupPolicy&& value) { m_groupPolicyListHasBeenSet = true; m_groupPolicyList.push_back(std::move(value)); return *this; }
126
128
131 inline const Aws::String& GetPath() const{ return m_path; }
132 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
133 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
134 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
135 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
136 inline AwsIamGroupDetails& WithPath(const Aws::String& value) { SetPath(value); return *this;}
137 inline AwsIamGroupDetails& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
138 inline AwsIamGroupDetails& WithPath(const char* value) { SetPath(value); return *this;}
140 private:
141
142 Aws::Vector<AwsIamAttachedManagedPolicy> m_attachedManagedPolicies;
143 bool m_attachedManagedPoliciesHasBeenSet = false;
144
145 Aws::String m_createDate;
146 bool m_createDateHasBeenSet = false;
147
148 Aws::String m_groupId;
149 bool m_groupIdHasBeenSet = false;
150
151 Aws::String m_groupName;
152 bool m_groupNameHasBeenSet = false;
153
154 Aws::Vector<AwsIamGroupPolicy> m_groupPolicyList;
155 bool m_groupPolicyListHasBeenSet = false;
156
157 Aws::String m_path;
158 bool m_pathHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace SecurityHub
163} // namespace Aws
AwsIamGroupDetails & AddGroupPolicyList(AwsIamGroupPolicy &&value)
const Aws::Vector< AwsIamGroupPolicy > & GetGroupPolicyList() const
AwsIamGroupDetails & WithGroupPolicyList(Aws::Vector< AwsIamGroupPolicy > &&value)
AwsIamGroupDetails & WithCreateDate(Aws::String &&value)
void SetGroupPolicyList(Aws::Vector< AwsIamGroupPolicy > &&value)
AwsIamGroupDetails & WithPath(const char *value)
AwsIamGroupDetails & WithAttachedManagedPolicies(const Aws::Vector< AwsIamAttachedManagedPolicy > &value)
AwsIamGroupDetails & WithGroupName(const char *value)
AwsIamGroupDetails & AddGroupPolicyList(const AwsIamGroupPolicy &value)
AwsIamGroupDetails & WithPath(const Aws::String &value)
AwsIamGroupDetails & WithGroupId(const char *value)
AwsIamGroupDetails & WithCreateDate(const char *value)
AwsIamGroupDetails & AddAttachedManagedPolicies(AwsIamAttachedManagedPolicy &&value)
void SetGroupPolicyList(const Aws::Vector< AwsIamGroupPolicy > &value)
AwsIamGroupDetails & WithAttachedManagedPolicies(Aws::Vector< AwsIamAttachedManagedPolicy > &&value)
AwsIamGroupDetails & WithGroupPolicyList(const Aws::Vector< AwsIamGroupPolicy > &value)
AwsIamGroupDetails & AddAttachedManagedPolicies(const AwsIamAttachedManagedPolicy &value)
AwsIamGroupDetails & WithGroupId(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateDate(const Aws::String &value)
const Aws::Vector< AwsIamAttachedManagedPolicy > & GetAttachedManagedPolicies() const
void SetGroupName(const Aws::String &value)
void SetGroupId(const Aws::String &value)
AwsIamGroupDetails & WithGroupName(Aws::String &&value)
AwsIamGroupDetails & WithCreateDate(const Aws::String &value)
AwsIamGroupDetails & WithGroupId(Aws::String &&value)
void SetAttachedManagedPolicies(Aws::Vector< AwsIamAttachedManagedPolicy > &&value)
AwsIamGroupDetails & WithGroupName(const Aws::String &value)
AWS_SECURITYHUB_API AwsIamGroupDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsIamGroupDetails & WithPath(Aws::String &&value)
AWS_SECURITYHUB_API AwsIamGroupDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAttachedManagedPolicies(const Aws::Vector< AwsIamAttachedManagedPolicy > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue