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/model/Group.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace XRay 24 { 25 namespace Model 26 { 27 class AWS_XRAY_API UpdateGroupResult 28 { 29 public: 30 UpdateGroupResult(); 31 UpdateGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 UpdateGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 /** 36 * <p>The group that was updated. Contains the name of the group that was updated, 37 * the ARN of the group that was updated, the updated filter expression, and the 38 * updated insight configuration assigned to the group.</p> 39 */ GetGroup()40 inline const Group& GetGroup() const{ return m_group; } 41 42 /** 43 * <p>The group that was updated. Contains the name of the group that was updated, 44 * the ARN of the group that was updated, the updated filter expression, and the 45 * updated insight configuration assigned to the group.</p> 46 */ SetGroup(const Group & value)47 inline void SetGroup(const Group& value) { m_group = value; } 48 49 /** 50 * <p>The group that was updated. Contains the name of the group that was updated, 51 * the ARN of the group that was updated, the updated filter expression, and the 52 * updated insight configuration assigned to the group.</p> 53 */ SetGroup(Group && value)54 inline void SetGroup(Group&& value) { m_group = std::move(value); } 55 56 /** 57 * <p>The group that was updated. Contains the name of the group that was updated, 58 * the ARN of the group that was updated, the updated filter expression, and the 59 * updated insight configuration assigned to the group.</p> 60 */ WithGroup(const Group & value)61 inline UpdateGroupResult& WithGroup(const Group& value) { SetGroup(value); return *this;} 62 63 /** 64 * <p>The group that was updated. Contains the name of the group that was updated, 65 * the ARN of the group that was updated, the updated filter expression, and the 66 * updated insight configuration assigned to the group.</p> 67 */ WithGroup(Group && value)68 inline UpdateGroupResult& WithGroup(Group&& value) { SetGroup(std::move(value)); return *this;} 69 70 private: 71 72 Group m_group; 73 }; 74 75 } // namespace Model 76 } // namespace XRay 77 } // namespace Aws 78