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

The Region code that was passed in.

*/ inline const Aws::String& GetRegionName() const{ return m_regionName; } /** *

The Region code that was passed in.

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

The Region code that was passed in.

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

The Region code that was passed in.

*/ inline void SetRegionName(const char* value) { m_regionName.assign(value); } /** *

The Region code that was passed in.

*/ inline GetRegionOptStatusResult& WithRegionName(const Aws::String& value) { SetRegionName(value); return *this;} /** *

The Region code that was passed in.

*/ inline GetRegionOptStatusResult& WithRegionName(Aws::String&& value) { SetRegionName(std::move(value)); return *this;} /** *

The Region code that was passed in.

*/ inline GetRegionOptStatusResult& WithRegionName(const char* value) { SetRegionName(value); return *this;} /** *

One of the potential statuses a Region can undergo (Enabled, Enabling, * Disabled, Disabling, Enabled_By_Default).

*/ inline const RegionOptStatus& GetRegionOptStatus() const{ return m_regionOptStatus; } /** *

One of the potential statuses a Region can undergo (Enabled, Enabling, * Disabled, Disabling, Enabled_By_Default).

*/ inline void SetRegionOptStatus(const RegionOptStatus& value) { m_regionOptStatus = value; } /** *

One of the potential statuses a Region can undergo (Enabled, Enabling, * Disabled, Disabling, Enabled_By_Default).

*/ inline void SetRegionOptStatus(RegionOptStatus&& value) { m_regionOptStatus = std::move(value); } /** *

One of the potential statuses a Region can undergo (Enabled, Enabling, * Disabled, Disabling, Enabled_By_Default).

*/ inline GetRegionOptStatusResult& WithRegionOptStatus(const RegionOptStatus& value) { SetRegionOptStatus(value); return *this;} /** *

One of the potential statuses a Region can undergo (Enabled, Enabling, * Disabled, Disabling, Enabled_By_Default).

*/ inline GetRegionOptStatusResult& WithRegionOptStatus(RegionOptStatus&& value) { SetRegionOptStatus(std::move(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 GetRegionOptStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRegionOptStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRegionOptStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_regionName; RegionOptStatus m_regionOptStatus; Aws::String m_requestId; }; } // namespace Model } // namespace Account } // namespace Aws