/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Provides details for all file system operations using this Amazon EFS access * point.

See Also:

AWS * API Reference

*/ class AwsEfsAccessPointPosixUserDetails { public: AWS_SECURITYHUB_API AwsEfsAccessPointPosixUserDetails(); AWS_SECURITYHUB_API AwsEfsAccessPointPosixUserDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsEfsAccessPointPosixUserDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline const Aws::String& GetGid() const{ return m_gid; } /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline bool GidHasBeenSet() const { return m_gidHasBeenSet; } /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline void SetGid(const Aws::String& value) { m_gidHasBeenSet = true; m_gid = value; } /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline void SetGid(Aws::String&& value) { m_gidHasBeenSet = true; m_gid = std::move(value); } /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline void SetGid(const char* value) { m_gidHasBeenSet = true; m_gid.assign(value); } /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithGid(const Aws::String& value) { SetGid(value); return *this;} /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithGid(Aws::String&& value) { SetGid(std::move(value)); return *this;} /** *

The POSIX group ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithGid(const char* value) { SetGid(value); return *this;} /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline const Aws::Vector& GetSecondaryGids() const{ return m_secondaryGids; } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline bool SecondaryGidsHasBeenSet() const { return m_secondaryGidsHasBeenSet; } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline void SetSecondaryGids(const Aws::Vector& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = value; } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline void SetSecondaryGids(Aws::Vector&& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids = std::move(value); } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithSecondaryGids(const Aws::Vector& value) { SetSecondaryGids(value); return *this;} /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithSecondaryGids(Aws::Vector&& value) { SetSecondaryGids(std::move(value)); return *this;} /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline AwsEfsAccessPointPosixUserDetails& AddSecondaryGids(const Aws::String& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids.push_back(value); return *this; } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline AwsEfsAccessPointPosixUserDetails& AddSecondaryGids(Aws::String&& value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids.push_back(std::move(value)); return *this; } /** *

Secondary POSIX group IDs used for all file system operations using this * access point.

*/ inline AwsEfsAccessPointPosixUserDetails& AddSecondaryGids(const char* value) { m_secondaryGidsHasBeenSet = true; m_secondaryGids.push_back(value); return *this; } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline const Aws::String& GetUid() const{ return m_uid; } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline bool UidHasBeenSet() const { return m_uidHasBeenSet; } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline void SetUid(const Aws::String& value) { m_uidHasBeenSet = true; m_uid = value; } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline void SetUid(Aws::String&& value) { m_uidHasBeenSet = true; m_uid = std::move(value); } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline void SetUid(const char* value) { m_uidHasBeenSet = true; m_uid.assign(value); } /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithUid(const Aws::String& value) { SetUid(value); return *this;} /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithUid(Aws::String&& value) { SetUid(std::move(value)); return *this;} /** *

The POSIX user ID used for all file system operations using this access * point.

*/ inline AwsEfsAccessPointPosixUserDetails& WithUid(const char* value) { SetUid(value); return *this;} private: Aws::String m_gid; bool m_gidHasBeenSet = false; Aws::Vector m_secondaryGids; bool m_secondaryGidsHasBeenSet = false; Aws::String m_uid; bool m_uidHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws