1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/xray/XRay_EXPORTS.h> 8 #include <aws/xray/XRayRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace XRay 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_XRAY_API DeleteGroupRequest : public XRayRequest 22 { 23 public: 24 DeleteGroupRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DeleteGroup"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The case-sensitive name of the group.</p> 37 */ GetGroupName()38 inline const Aws::String& GetGroupName() const{ return m_groupName; } 39 40 /** 41 * <p>The case-sensitive name of the group.</p> 42 */ GroupNameHasBeenSet()43 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } 44 45 /** 46 * <p>The case-sensitive name of the group.</p> 47 */ SetGroupName(const Aws::String & value)48 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } 49 50 /** 51 * <p>The case-sensitive name of the group.</p> 52 */ SetGroupName(Aws::String && value)53 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } 54 55 /** 56 * <p>The case-sensitive name of the group.</p> 57 */ SetGroupName(const char * value)58 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } 59 60 /** 61 * <p>The case-sensitive name of the group.</p> 62 */ WithGroupName(const Aws::String & value)63 inline DeleteGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} 64 65 /** 66 * <p>The case-sensitive name of the group.</p> 67 */ WithGroupName(Aws::String && value)68 inline DeleteGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} 69 70 /** 71 * <p>The case-sensitive name of the group.</p> 72 */ WithGroupName(const char * value)73 inline DeleteGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;} 74 75 76 /** 77 * <p>The ARN of the group that was generated on creation.</p> 78 */ GetGroupARN()79 inline const Aws::String& GetGroupARN() const{ return m_groupARN; } 80 81 /** 82 * <p>The ARN of the group that was generated on creation.</p> 83 */ GroupARNHasBeenSet()84 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; } 85 86 /** 87 * <p>The ARN of the group that was generated on creation.</p> 88 */ SetGroupARN(const Aws::String & value)89 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; } 90 91 /** 92 * <p>The ARN of the group that was generated on creation.</p> 93 */ SetGroupARN(Aws::String && value)94 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); } 95 96 /** 97 * <p>The ARN of the group that was generated on creation.</p> 98 */ SetGroupARN(const char * value)99 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); } 100 101 /** 102 * <p>The ARN of the group that was generated on creation.</p> 103 */ WithGroupARN(const Aws::String & value)104 inline DeleteGroupRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;} 105 106 /** 107 * <p>The ARN of the group that was generated on creation.</p> 108 */ WithGroupARN(Aws::String && value)109 inline DeleteGroupRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;} 110 111 /** 112 * <p>The ARN of the group that was generated on creation.</p> 113 */ WithGroupARN(const char * value)114 inline DeleteGroupRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;} 115 116 private: 117 118 Aws::String m_groupName; 119 bool m_groupNameHasBeenSet; 120 121 Aws::String m_groupARN; 122 bool m_groupARNHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace XRay 127 } // namespace Aws 128