7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/MembershipType.h>
11#include <aws/qbusiness/model/GroupMembers.h>
44 template<
typename ApplicationIdT = Aws::String>
46 template<
typename ApplicationIdT = Aws::String>
57 template<
typename IndexIdT = Aws::String>
58 void SetIndexId(
IndexIdT&& value) { m_indexIdHasBeenSet =
true; m_indexId = std::forward<IndexIdT>(value); }
59 template<
typename IndexIdT = Aws::String>
71 template<
typename GroupNameT = Aws::String>
72 void SetGroupName(
GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
73 template<
typename GroupNameT = Aws::String>
89 template<
typename DataSourceIdT = Aws::String>
91 template<
typename DataSourceIdT = Aws::String>
109 template<
typename GroupMembersT = GroupMembers>
111 template<
typename GroupMembersT = GroupMembers>
122 template<
typename RoleArnT = Aws::String>
123 void SetRoleArn(
RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
124 template<
typename RoleArnT = Aws::String>
130 bool m_applicationIdHasBeenSet =
false;
133 bool m_indexIdHasBeenSet =
false;
136 bool m_groupNameHasBeenSet =
false;
139 bool m_dataSourceIdHasBeenSet =
false;
142 bool m_typeHasBeenSet =
false;
144 GroupMembers m_groupMembers;
145 bool m_groupMembersHasBeenSet =
false;
148 bool m_roleArnHasBeenSet =
false;
bool GroupNameHasBeenSet() const
PutGroupRequest & WithDataSourceId(DataSourceIdT &&value)
void SetDataSourceId(DataSourceIdT &&value)
void SetGroupName(GroupNameT &&value)
void SetGroupMembers(GroupMembersT &&value)
bool ApplicationIdHasBeenSet() const
bool DataSourceIdHasBeenSet() const
PutGroupRequest & WithIndexId(IndexIdT &&value)
const Aws::String & GetRoleArn() const
void SetIndexId(IndexIdT &&value)
void SetType(MembershipType value)
PutGroupRequest & WithGroupMembers(GroupMembersT &&value)
const Aws::String & GetGroupName() const
PutGroupRequest & WithRoleArn(RoleArnT &&value)
const GroupMembers & GetGroupMembers() const
PutGroupRequest & WithType(MembershipType value)
bool IndexIdHasBeenSet() const
AWS_QBUSINESS_API PutGroupRequest()=default
PutGroupRequest & WithGroupName(GroupNameT &&value)
const Aws::String & GetIndexId() const
const Aws::String & GetDataSourceId() const
void SetApplicationId(ApplicationIdT &&value)
PutGroupRequest & WithApplicationId(ApplicationIdT &&value)
bool GroupMembersHasBeenSet() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
bool TypeHasBeenSet() const
MembershipType GetType() const
const Aws::String & GetApplicationId() const
void SetRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String