/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Inspector { namespace Model { class CreateResourceGroupResult { public: AWS_INSPECTOR_API CreateResourceGroupResult(); AWS_INSPECTOR_API CreateResourceGroupResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR_API CreateResourceGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN that specifies the resource group that is created.

*/ inline const Aws::String& GetResourceGroupArn() const{ return m_resourceGroupArn; } /** *

The ARN that specifies the resource group that is created.

*/ inline void SetResourceGroupArn(const Aws::String& value) { m_resourceGroupArn = value; } /** *

The ARN that specifies the resource group that is created.

*/ inline void SetResourceGroupArn(Aws::String&& value) { m_resourceGroupArn = std::move(value); } /** *

The ARN that specifies the resource group that is created.

*/ inline void SetResourceGroupArn(const char* value) { m_resourceGroupArn.assign(value); } /** *

The ARN that specifies the resource group that is created.

*/ inline CreateResourceGroupResult& WithResourceGroupArn(const Aws::String& value) { SetResourceGroupArn(value); return *this;} /** *

The ARN that specifies the resource group that is created.

*/ inline CreateResourceGroupResult& WithResourceGroupArn(Aws::String&& value) { SetResourceGroupArn(std::move(value)); return *this;} /** *

The ARN that specifies the resource group that is created.

*/ inline CreateResourceGroupResult& WithResourceGroupArn(const char* value) { SetResourceGroupArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateResourceGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateResourceGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateResourceGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_resourceGroupArn; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector } // namespace Aws