/** * 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 XRay { namespace Model { /** */ class GetGroupRequest : public XRayRequest { public: AWS_XRAY_API GetGroupRequest(); // 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 "GetGroup"; } AWS_XRAY_API Aws::String SerializePayload() const override; /** *

The case-sensitive name of the group.

*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *

The case-sensitive name of the group.

*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *

The case-sensitive name of the group.

*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *

The case-sensitive name of the group.

*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *

The case-sensitive name of the group.

*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *

The case-sensitive name of the group.

*/ inline GetGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *

The case-sensitive name of the group.

*/ inline GetGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *

The case-sensitive name of the group.

*/ inline GetGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *

The ARN of the group that was generated on creation.

*/ inline const Aws::String& GetGroupARN() const{ return m_groupARN; } /** *

The ARN of the group that was generated on creation.

*/ inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; } /** *

The ARN of the group that was generated on creation.

*/ inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; } /** *

The ARN of the group that was generated on creation.

*/ inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); } /** *

The ARN of the group that was generated on creation.

*/ inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); } /** *

The ARN of the group that was generated on creation.

*/ inline GetGroupRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;} /** *

The ARN of the group that was generated on creation.

*/ inline GetGroupRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;} /** *

The ARN of the group that was generated on creation.

*/ inline GetGroupRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;} private: Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::String m_groupARN; bool m_groupARNHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws