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

The ID of the discoverer.

*/ inline const Aws::String& GetDiscovererId() const{ return m_discovererId; } /** *

The ID of the discoverer.

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

The ID of the discoverer.

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

The ID of the discoverer.

*/ inline void SetDiscovererId(const char* value) { m_discovererId.assign(value); } /** *

The ID of the discoverer.

*/ inline StopDiscovererResult& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;} /** *

The ID of the discoverer.

*/ inline StopDiscovererResult& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;} /** *

The ID of the discoverer.

*/ inline StopDiscovererResult& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;} /** *

The state of the discoverer.

*/ inline const DiscovererState& GetState() const{ return m_state; } /** *

The state of the discoverer.

*/ inline void SetState(const DiscovererState& value) { m_state = value; } /** *

The state of the discoverer.

*/ inline void SetState(DiscovererState&& value) { m_state = std::move(value); } /** *

The state of the discoverer.

*/ inline StopDiscovererResult& WithState(const DiscovererState& value) { SetState(value); return *this;} /** *

The state of the discoverer.

*/ inline StopDiscovererResult& WithState(DiscovererState&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_discovererId; DiscovererState m_state; }; } // namespace Model } // namespace Schemas } // namespace Aws