/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace IdentityStore { namespace Model { /** */ class UpdateGroupRequest : public IdentityStoreRequest { public: AWS_IDENTITYSTORE_API UpdateGroupRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; } AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override; AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The globally unique identifier for the identity store.

*/ inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; } /** *

The globally unique identifier for the identity store.

*/ inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); } /** *

The globally unique identifier for the identity store.

*/ inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); } /** *

The globally unique identifier for the identity store.

*/ inline UpdateGroupRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline UpdateGroupRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;} /** *

The globally unique identifier for the identity store.

*/ inline UpdateGroupRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;} /** *

The identifier for a group in the identity store.

*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *

The identifier for a group in the identity store.

*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *

The identifier for a group in the identity store.

*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *

The identifier for a group in the identity store.

*/ inline UpdateGroupRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *

The identifier for a group in the identity store.

*/ inline UpdateGroupRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *

The identifier for a group in the identity store.

*/ inline UpdateGroupRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; } /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline void SetOperations(const Aws::Vector& value) { m_operationsHasBeenSet = true; m_operations = value; } /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline void SetOperations(Aws::Vector&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); } /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline UpdateGroupRequest& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline UpdateGroupRequest& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline UpdateGroupRequest& AddOperations(const AttributeOperation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } /** *

A list of AttributeOperation objects to apply to the requested * group. These operations might add, replace, or remove an attribute.

*/ inline UpdateGroupRequest& AddOperations(AttributeOperation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; } private: Aws::String m_identityStoreId; bool m_identityStoreIdHasBeenSet = false; Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::Vector m_operations; bool m_operationsHasBeenSet = false; }; } // namespace Model } // namespace IdentityStore } // namespace Aws