/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ManagedBlockchainQuery { namespace Model { /** *

The container for the identifier of the owner.

See Also:

AWS * API Reference

*/ class OwnerIdentifier { public: AWS_MANAGEDBLOCKCHAINQUERY_API OwnerIdentifier(); AWS_MANAGEDBLOCKCHAINQUERY_API OwnerIdentifier(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAINQUERY_API OwnerIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The contract or wallet address for the owner.

*/ inline const Aws::String& GetAddress() const{ return m_address; } /** *

The contract or wallet address for the owner.

*/ inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; } /** *

The contract or wallet address for the owner.

*/ inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; } /** *

The contract or wallet address for the owner.

*/ inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); } /** *

The contract or wallet address for the owner.

*/ inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); } /** *

The contract or wallet address for the owner.

*/ inline OwnerIdentifier& WithAddress(const Aws::String& value) { SetAddress(value); return *this;} /** *

The contract or wallet address for the owner.

*/ inline OwnerIdentifier& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;} /** *

The contract or wallet address for the owner.

*/ inline OwnerIdentifier& WithAddress(const char* value) { SetAddress(value); return *this;} private: Aws::String m_address; bool m_addressHasBeenSet = false; }; } // namespace Model } // namespace ManagedBlockchainQuery } // namespace Aws