/** * 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 ResourceExplorer2 { namespace Model { class GetDefaultViewResult { public: AWS_RESOURCEEXPLORER2_API GetDefaultViewResult(); AWS_RESOURCEEXPLORER2_API GetDefaultViewResult(const Aws::AmazonWebServiceResult& result); AWS_RESOURCEEXPLORER2_API GetDefaultViewResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

*/ inline const Aws::String& GetViewArn() const{ return m_viewArn; } /** *

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

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

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

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

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

*/ inline void SetViewArn(const char* value) { m_viewArn.assign(value); } /** *

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

*/ inline GetDefaultViewResult& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;} /** *

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

*/ inline GetDefaultViewResult& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;} /** *

The Amazon * resource name (ARN) of the view that is the current default for the Amazon * Web Services Region in which you called this operation.

*/ inline GetDefaultViewResult& WithViewArn(const char* value) { SetViewArn(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 GetDefaultViewResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDefaultViewResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDefaultViewResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_viewArn; Aws::String m_requestId; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws